[PATCH 4/5] ASoC: wm5100: Convert to GPIO descriptors
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Fri Dec 8 07:44:10 PST 2023
On 08/12/2023 11:09, Linus Walleij wrote:
> This converts the WM5100 codec to use GPIO descriptors, a pretty
> straight-forward conversion with the following peculiarities:
>
> - The driver is instantiating a GPIO chip named wm5100, and the
> headphone polarity detection GPIO is lifted from there. We add
> this to the GPIO descriptor table as well, and we can then get
> rid of also the base address for the GPIO chip from the
> platform data and just use dynamic numbering.
>
> - Fix up the only in-tree user which is the Cragganmore 6410
> module.
>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
> ---
> arch/arm/mach-s3c/mach-crag6410-module.c | 17 +++--
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list