Commit 6285fcce authored by Shawn Guo's avatar Shawn Guo Committed by Shawn Guo

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: default avatarShawn Guo <shawn.guo@linaro.org>
parent a9aa280a
...@@ -57,17 +57,9 @@ memory@40000000 { ...@@ -57,17 +57,9 @@ memory@40000000 {
reg = <0x40000000 0x40000000>; reg = <0x40000000 0x40000000>;
}; };
sound0 { sound-spdif0 {
compatible = "simple-audio-card"; compatible = "audio-graph-card";
simple-audio-card,name = "zx_snd_spdif0"; dais = <&spdif0_port>;
simple-audio-card,cpu {
sound-dai = <&spdif0>;
};
simple-audio-card,codec {
sound-dai = <&hdmi>;
};
}; };
}; };
...@@ -77,6 +69,12 @@ &emmc { ...@@ -77,6 +69,12 @@ &emmc {
&hdmi { &hdmi {
status = "okay"; status = "okay";
port {
hdmi_endpoint: endpoint {
remote-endpoint = <&spdif0_endpoint>;
};
};
}; };
&sd1 { &sd1 {
...@@ -85,6 +83,12 @@ &sd1 { ...@@ -85,6 +83,12 @@ &sd1 {
&spdif0 { &spdif0 {
status = "okay"; status = "okay";
spdif0_port: port {
spdif0_endpoint: endpoint {
remote-endpoint = <&hdmi_endpoint>;
};
};
}; };
&uart0 { &uart0 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment