From df5949d10c710dd1e4536d7981cfef85a0deac4e Mon Sep 17 00:00:00 2001 From: Ben Payne Date: Mon, 19 Oct 2026 14:43:23 -0600 Subject: [PATCH] overlays: interludeaudio-analog: Fix codec reset polarity The CS4272 on the Interlude Audio Analog Hat has an active-low reset, but the overlay declared GPIO24 as active high. This was harmless while the cs4271 driver drove the reset pin with raw GPIO values, but since commit 42d1178d223b ("ASoC: cs4271: Convert to GPIO descriptors") the driver honours the polarity flag and leaves the codec held in reset, so the card fails to probe: cs4271 1-0010: ASoC error (-5): at snd_soc_component_probe() on cs4271.1-0010 asoc-simple-card soc:sound: ASoC: failed to instantiate card -5 Declare the reset GPIO as GPIO_ACTIVE_LOW. Kernels before the conversion ignore the flag, so this is a no-op there. Signed-off-by: Ben Payne --- arch/arm/boot/dts/overlays/interludeaudio-analog-overlay.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/overlays/interludeaudio-analog-overlay.dts b/arch/arm/boot/dts/overlays/interludeaudio-analog-overlay.dts index e2590135f91983..6e449a13d0e43e 100644 --- a/arch/arm/boot/dts/overlays/interludeaudio-analog-overlay.dts +++ b/arch/arm/boot/dts/overlays/interludeaudio-analog-overlay.dts @@ -1,4 +1,5 @@ // Definitions for Interlude audio analog hat +#include /dts-v1/; /plugin/; @@ -63,7 +64,7 @@ compatible = "cirrus,cs4271"; reg = <0x10>; status = "okay"; - reset-gpio = <&gpio 24 0>; /* Pin 26, active high */ + reset-gpio = <&gpio 24 GPIO_ACTIVE_LOW>; /* Pin 26 */ }; }; };