|
rk3399平台的hdmi和dp如何同时输出不同的声音?
发表于 2021-9-4 15:22:35
浏览:5403
|
回复:0
打印
只看该作者
[复制链接]
楼主
目前的dts配置如下:
i2s2: i2s@ff8a0000 {
compatible = "rockchip,rk3399-i2s", "rockchip,rk3066-i2s";
reg = <0x0 0xff8a0000 0x0 0x1000>;
interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH 0>;
dmas = <&dmac_bus 4>, <&dmac_bus 5>;
dma-names = "tx";
clock-names = "i2s_clk", "i2s_hclk";
clocks = <&cru SCLK_I2S2_8CH>, <&cru HCLK_I2S2_8CH>;
resets = <&cru SRST_I2S2_8CH>, <&cru SRST_H_I2S2_8CH>;
reset-names = "reset-m", "reset-h";
power-domains = <&power RK3399_PD_SDIOAUDIO>;
status = "disabled";
};
hdmi_dp_sound: hdmi-dp-sound {
status = "okay";
compatible = "rockchip,rk3399-hdmi-dp";
rockchip,cpu = <&i2s2>;
rockchip,codec = <&hdmi>, <&cdn_dp>;
};
&i2s2 {
#sound-dai-cells = <0>;
//dmas = <&dmac_bus 4>;
//dma-names = "tx";
status = "okay";
};
哪位大神能帮忙告知如何操作才能使hdmi和dp同时输出不同的声音,万分感谢!!! |
|