aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/zte/zx296718-evb.dts
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2017-08-09 14:30:49 +0800
committerShawn Guo <shawnguo@kernel.org>2017-08-14 09:51:15 +0800
commit6285fccee56b9b90e638850594b0cd40b616e47b (patch)
treef393234ab36f6d6ff1b7be2cb71bbaf898ebd76d /arch/arm64/boot/dts/zte/zx296718-evb.dts
parentarm64: dts: zx296718: add irdec device for remote control (diff)
downloadlinux-dev-6285fccee56b9b90e638850594b0cd40b616e47b.tar.xz
linux-dev-6285fccee56b9b90e638850594b0cd40b616e47b.zip
arm64: dts: zx296718-evb: use audio-graph-card for HDMI audio
Instead of simple-audio-card, audio-graph-card is recommended for audio bindings. Let's change to it, so that the HDMI/SPDIF audio card can align with the new I2S/Codec card which will be added later. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm64/boot/dts/zte/zx296718-evb.dts')
-rw-r--r--arch/arm64/boot/dts/zte/zx296718-evb.dts26
1 files changed, 15 insertions, 11 deletions
diff --git a/arch/arm64/boot/dts/zte/zx296718-evb.dts b/arch/arm64/boot/dts/zte/zx296718-evb.dts
index bb900d2bbcfb..d34d4cae38cd 100644
--- a/arch/arm64/boot/dts/zte/zx296718-evb.dts
+++ b/arch/arm64/boot/dts/zte/zx296718-evb.dts
@@ -57,17 +57,9 @@
reg = <0x40000000 0x40000000>;
};
- sound0 {
- compatible = "simple-audio-card";
- simple-audio-card,name = "zx_snd_spdif0";
-
- simple-audio-card,cpu {
- sound-dai = <&spdif0>;
- };
-
- simple-audio-card,codec {
- sound-dai = <&hdmi>;
- };
+ sound-spdif0 {
+ compatible = "audio-graph-card";
+ dais = <&spdif0_port>;
};
};
@@ -77,6 +69,12 @@
&hdmi {
status = "okay";
+
+ port {
+ hdmi_endpoint: endpoint {
+ remote-endpoint = <&spdif0_endpoint>;
+ };
+ };
};
&sd1 {
@@ -85,6 +83,12 @@
&spdif0 {
status = "okay";
+
+ spdif0_port: port {
+ spdif0_endpoint: endpoint {
+ remote-endpoint = <&hdmi_endpoint>;
+ };
+ };
};
&uart0 {