arm: dts: rk3288-android: enable built-in hdmi and rt5640 sound

This patch use one cpudai->multicodecs card for built-in hdmi and
external codec which share the same i2s controller.

Change-Id: Ib56d7f10b6739b1c26ec8946470b9f0cd7215979
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
This commit is contained in:
Sugar Zhang
2017-06-27 09:48:45 +08:00
parent e66d174f6e
commit ec32dc61d2
6 changed files with 35 additions and 1 deletions

View File

@@ -257,6 +257,23 @@
clock-names = "clk_nandc", "hclk_nandc";
status = "disabled";
};
hdmi_analog_sound: hdmi-analog-sound {
status = "disabled";
compatible = "rockchip,rk3288-hdmi-analog",
"rockchip,rk3368-hdmi-analog";
rockchip,cpu = <&i2s>;
rockchip,codec = <&rt5640>, <&hdmi>;
rockchip,widgets =
"Microphone", "Microphone Jack",
"Headphone", "Headphone Jack";
rockchip,routing =
"MIC1", "Microphone Jack",
"MIC2", "Microphone Jack",
"Microphone Jack", "micbias1",
"Headphone Jack", "HPOL",
"Headphone Jack", "HPOR";
};
};
&edp_panel {

View File

@@ -96,6 +96,10 @@
mali-supply = <&vdd_gpu>;
};
&hdmi_analog_sound {
status = "okay";
};
&i2c0 {
clock-frequency = <400000>;

View File

@@ -73,6 +73,10 @@
cpu0-supply = <&vdd_cpu>;
};
&hdmi_analog_sound {
status = "okay";
};
&i2c0 {
clock-frequency = <400000>;

View File

@@ -130,6 +130,10 @@
mali-supply = <&vdd_gpu>;
};
&hdmi_analog_sound {
status = "okay";
};
&i2c0 {
clock-frequency = <400000>;

View File

@@ -92,6 +92,10 @@
mali-supply = <&vdd_gpu>;
};
&hdmi_analog_sound {
status = "okay";
};
&i2c0 {
clock-frequency = <400000>;

View File

@@ -59,7 +59,8 @@
};
};
sound {
sound: sound {
status = "disabled";
compatible = "simple-audio-card";
simple-audio-card,format = "i2s";
simple-audio-card,name = "rockchip,rt5640-codec";