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

31 lines
971 B
Diff
Raw Normal View History

From b26fca3f72b9d79141a0355909602f5194dbd1b3 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";
};
};