mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
ARM64: dts: rk3399-android: add hdmi sound for android
Change-Id: I466c8611a135e1603606aedc5d987a5f5e435fd3 Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
This commit is contained in:
@@ -329,6 +329,29 @@
|
||||
clocks = <&cru SCLK_MIPIDPHY_REF>, <&cru PCLK_MIPI_DSI1>, <&cru SCLK_MIPIDPHY_CFG>;
|
||||
clock-names = "clk_mipi_24m", "pclk_mipi_dsi", "mipi_dphy_cfg";
|
||||
};
|
||||
|
||||
hdmi-sound {
|
||||
compatible = "simple-audio-card";
|
||||
simple-audio-card,format = "i2s";
|
||||
simple-audio-card,mclk-fs = <256>;
|
||||
simple-audio-card,name = "rockchip,hdmi";
|
||||
simple-audio-card,cpu {
|
||||
sound-dai = <&i2s2>;
|
||||
};
|
||||
simple-audio-card,codec {
|
||||
sound-dai = <&dw_hdmi_audio>;
|
||||
};
|
||||
};
|
||||
|
||||
dw_hdmi_audio: dw-hdmi-audio {
|
||||
compatible = "rockchip,dw-hdmi-audio";
|
||||
#sound-dai-cells = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
&i2s2 {
|
||||
status = "okay";
|
||||
#sound-dai-cells = <0>;
|
||||
};
|
||||
|
||||
&usbdrd_dwc3_0 {
|
||||
|
||||
Reference in New Issue
Block a user