40 lines
1.2 KiB
Diff
40 lines
1.2 KiB
Diff
From 5531e2247fb0e985f98c9d2d17383d1f1c71e2a0 Mon Sep 17 00:00:00 2001
|
|
From: Samuel Holland <samuel@sholland.org>
|
|
Date: Mon, 17 Feb 2020 21:37:13 -0600
|
|
Subject: [PATCH 303/323] arm64: dts: allwinner: a64: Allow using multiple
|
|
codec DAIs
|
|
|
|
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>
|
|
---
|
|
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
|
|
index cabd6510e..d52040d78 100644
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
|
|
@@ -176,7 +176,7 @@ cpudai: simple-audio-card,cpu {
|
|
};
|
|
|
|
link_codec: simple-audio-card,codec {
|
|
- sound-dai = <&codec>;
|
|
+ sound-dai = <&codec 0>;
|
|
};
|
|
};
|
|
|
|
@@ -918,7 +918,7 @@ dai: dai@1c22c00 {
|
|
};
|
|
|
|
codec: codec@1c22e00 {
|
|
- #sound-dai-cells = <0>;
|
|
+ #sound-dai-cells = <1>;
|
|
compatible = "allwinner,sun50i-a64-codec",
|
|
"allwinner,sun8i-a33-codec";
|
|
reg = <0x01c22e00 0x600>;
|
|
--
|
|
2.34.0
|
|
|