]> git.itanic.dy.fi Git - linux-stable/commit
ASoC: wm8996: Convert to GPIO descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 8 Dec 2023 10:09:29 +0000 (11:09 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 8 Dec 2023 14:32:00 +0000 (14:32 +0000)
commit729f02ec02ae12e5d8a53171bd37e9de56f33677
tree729d57528d28da369c64c1c382dae4373c629c41
parent8563cfe39ba5d00d974df25e310fb61b5b3687e1
ASoC: wm8996: Convert to GPIO descriptors

This converts the WM8996 codec to use GPIO descriptors, an a similar
way to WM5100.

The driver is instantiating a GPIO chip named wm8996, and we get
rid of the base address for the GPIO chip from the platform data and
just use dynamic numbering. Move base and ngpio into the static
gpio_chip template.

Fix up the only in-tree user which is the Cragganmore 6410 module.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20231208-descriptors-sound-wlf-v1-5-c4dab6f521ec@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
arch/arm/mach-s3c/mach-crag6410-module.c
include/sound/wm8996.h
sound/soc/codecs/wm8996.c