Unverified Commit db9c6ad2 authored by Samuel Holland's avatar Samuel Holland Committed by Maxime Ripard
Browse files

arm64: dts: allwinner: a64: Update the audio codec compatible



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: default avatarSamuel Holland <samuel@sholland.org>
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20200726012557.38282-8-samuel@sholland.org
parent 631e6a35
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -861,7 +861,8 @@

		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>;