Skip to content

Commit

Permalink
arm64: dts: zx296718-evb: use audio-graph-card for HDMI audio
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
shawnguo2 authored and Shawn Guo committed Aug 14, 2017
1 parent a9aa280 commit 6285fcc
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions arch/arm64/boot/dts/zte/zx296718-evb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
};
};

Expand All @@ -77,6 +69,12 @@

&hdmi {
status = "okay";

port {
hdmi_endpoint: endpoint {
remote-endpoint = <&spdif0_endpoint>;
};
};
};

&sd1 {
Expand All @@ -85,6 +83,12 @@

&spdif0 {
status = "okay";

spdif0_port: port {
spdif0_endpoint: endpoint {
remote-endpoint = <&hdmi_endpoint>;
};
};
};

&uart0 {
Expand Down

0 comments on commit 6285fcc

Please sign in to comment.