Re: [PATCH] ASoC: codec: arizona: Convert to use GPIO descriptors

From: Krzysztof Kozlowski

Date: Sun Mar 15 2026 - 04:36:08 EST


On 14/03/2026 23:56, Linus Walleij wrote:
> This converts the Arizona driver to use GPIO descriptors
> exclusively, deletes the legacy code path an updates the
> in-tree user of legacy GPIO.
>
> The GPIO lines for mic detect polarity and headphone ID
> detection are made exclusively descriptor-oriented. The
> headphone ID detection could actually only be used by
> the legacy GPIO code, but I converted it to use a
> descriptor if someone would actually need it so we don't
> just drop useful code.
>
> The compatible "wlf,hpdet-id-gpio" is not in the device
> tree bindings and only intended to be used by software
> nodes if any. If someone insists I can try to add a
> binding for it, but I doubt there is any real user so
> it seems pointless.
>
> Signed-off-by: Linus Walleij <linusw@xxxxxxxxxx>
> ---
> This patch hits all over the place, but I think merging it to
> the ASoC tree would be the best.
> ---
> arch/arm/mach-s3c/mach-crag6410-module.c | 6 +-

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx> # s3c

Best regards,
Krzysztof