arm64: dts: allwinner: a64: Allow using multiple codec DAIs
authorSamuel Holland <samuel@sholland.org>
Fri, 30 Apr 2021 03:58:55 +0000 (22:58 -0500)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 11 May 2021 08:17:51 +0000 (10:17 +0200)
Increase #sound-dai-cells on the digital codec to allow using the other
DAIs provided by the codec for AIF2 and AIF3.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20210430035859.3487-4-samuel@sholland.org
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi

index 08b37d0af529996145fb0d6bd5a11ee3691e6434..8d549b7b28c8aaee1f4647b7c85f2e64eccb2e0c 100644 (file)
                };
 
                link_codec: simple-audio-card,codec {
-                       sound-dai = <&codec>;
+                       sound-dai = <&codec 0>;
                };
        };
 
                };
 
                codec: codec@1c22e00 {
-                       #sound-dai-cells = <0>;
+                       #sound-dai-cells = <1>;
                        compatible = "allwinner,sun50i-a64-codec",
                                     "allwinner,sun8i-a33-codec";
                        reg = <0x01c22e00 0x600>;