arm64: dts: allwinner: a64: Update the audio codec compatible
authorSamuel Holland <samuel@sholland.org>
Sun, 26 Jul 2020 01:25:57 +0000 (20:25 -0500)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 17 Sep 2020 16:37:32 +0000 (18:37 +0200)
The audio codec in the A64 has some differences from the A33 codec, so
it needs its own compatible. Since the two codecs are similar, the A33
codec compatible is kept as a fallback.

Using the correct compatible fixes a channel inversion issue and cleans
up some DAPM widgets that are no longer used.

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

index 88758af..dc23881 100644 (file)
 
                codec: codec@1c22e00 {
                        #sound-dai-cells = <0>;
-                       compatible = "allwinner,sun8i-a33-codec";
+                       compatible = "allwinner,sun50i-a64-codec",
+                                    "allwinner,sun8i-a33-codec";
                        reg = <0x01c22e00 0x600>;
                        interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&ccu CLK_BUS_CODEC>, <&ccu CLK_AC_DIG>;