openwrt/target/linux/bcm27xx/patches-5.10/950-0392-Overlay-Update-Allo-Piano-Plus-dac-driver-for-5.4.y-.patch
Álvaro Fernández Rojas 8299d1f057 bcm27xx: add kernel 5.10 support
Rebased RPi foundation patches on linux 5.10.59, removed applied and reverted
patches, wireless patches and defconfig patches.

bcm2708: boot tested on RPi B+ v1.2
bcm2709: boot tested on RPi 4B v1.1 4G
bcm2711: boot tested on RPi 4B v1.1 4G

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-08-21 19:07:07 +02:00

31 lines
971 B
Diff

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