The dw-hdmi-audio driver could only work on FB dw-hdmi driver, we can't
use it on DRM display sub-system. So I think it's better to disable the
dw-hdmi-audio by default for Sapphire board, but enable this device node
for excavator-edp and excavator-box boards.
Change-Id: I8c2639d535510f1092a3da02e008986394608998
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
native-mode = <&timing1>; /* 1080p */
};
+&dw_hdmi_audio {
+ status = "okay";
+};
+
&fb {
rockchip,disp-mode = <NO_DUAL>;
rockchip,disp-policy = <DISPLAY_POLICY_BOX>;
rockchip,hdmi_video_source = <DISPLAY_SOURCE_LCDC0>;
};
+&hdmi_sound {
+ status = "okay";
+};
+
&pwm3 {
status = "okay";
interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH 0>;
status = "okay";
};
+&dw_hdmi_audio {
+ status = "okay";
+};
+
&edp_rk_fb {
status = "okay";
};
rockchip,hdmi_video_source = <DISPLAY_SOURCE_LCDC1>;
};
+&hdmi_sound {
+ status = "okay";
+};
+
&i2c1 {
status = "okay";
};
dw_hdmi_audio: dw-hdmi-audio {
- status = "okay";
+ status = "disabled";
compatible = "rockchip,dw-hdmi-audio";
#sound-dai-cells = <0>;
};
hdmi_sound: hdmi-sound {
- status = "okay";
+ status = "disabled";
compatible = "simple-audio-card";
simple-audio-card,format = "i2s";
simple-audio-card,mclk-fs = <256>;