[PATCH 4/5] ASoC: wm5100: Convert to GPIO descriptors
Charles Keepax
ckeepax at opensource.cirrus.com
Fri Dec 8 04:47:34 PST 2023
On Fri, Dec 08, 2023 at 11:09:28AM +0100, 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>
> ---
Reviewed-by: Charles Keepax <ckeepax at opensource.cirrus.com>
Thanks,
Charles
More information about the linux-arm-kernel
mailing list