openwrt/target/linux/bcm27xx/patches-5.4/950-1021-Overlay-Update-Allo-Piano-Plus-dac-driver-for-5.4.y-.patch

31 lines
971 B
Diff
Raw Normal View History

From 244817626f3f3f5d0e5f6e2881f7046087a225ff Mon Sep 17 00:00:00 2001
From: paul-1 <6473457+paul-1@users.noreply.github.com>
Date: Wed, 4 Nov 2020 19:17:48 -0500
Subject: [PATCH] Overlay: Update Allo Piano Plus dac driver for
5.4.y kernels.
Create unique names for the two instances of the codec driver.
Signed-off-by: Paul Hermann <paul@picoreplayer.org>
---
.../dts/overlays/allo-piano-dac-plus-pcm512x-audio-overlay.dts | 2 ++
1 file changed, 2 insertions(+)
--- a/arch/arm/boot/dts/overlays/allo-piano-dac-plus-pcm512x-audio-overlay.dts
+++ b/arch/arm/boot/dts/overlays/allo-piano-dac-plus-pcm512x-audio-overlay.dts
@@ -23,12 +23,14 @@
#sound-dai-cells = <0>;
compatible = "ti,pcm5122";
reg = <0x4c>;
+ sound-name-prefix = "Main";
status = "okay";
};
allo_pcm5122_4d: pcm5122@4d {
#sound-dai-cells = <0>;
compatible = "ti,pcm5122";
reg = <0x4d>;
+ sound-name-prefix = "Sub";
status = "okay";
};
};