mbox series

[0/5] GPIO descriptor cleanup for some Wolfson codecs

Message ID 20231208-descriptors-sound-wlf-v1-0-c4dab6f521ec@linaro.org
Headers show
Series GPIO descriptor cleanup for some Wolfson codecs | expand

Message

Linus Walleij Dec. 8, 2023, 10:09 a.m. UTC
This converts the remaining Wolfson ASoC codecs to
use GPIO descriptors.

These Wolfson codecs are mostly used with different
Samsung S3C (especially Cragganmore 6410) board files,
so the in-tree users are fixed up in the process.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
Linus Walleij (5):
      ASoC: wm0010: Convert to GPIO descriptors
      ASoC: wm1250-ev1: Convert to GPIO descriptors
      ASoC: wm2200: Convert to GPIO descriptors
      ASoC: wm5100: Convert to GPIO descriptors
      ASoC: wm8996: Convert to GPIO descriptors

 arch/arm/mach-s3c/mach-crag6410-module.c |  60 ++++++++++++----
 arch/arm/mach-s3c/mach-crag6410.c        |  24 +++----
 include/sound/wm0010.h                   |   6 --
 include/sound/wm1250-ev1.h               |  24 -------
 include/sound/wm2200.h                   |   2 -
 include/sound/wm5100.h                   |   4 --
 include/sound/wm8996.h                   |   3 -
 sound/soc/codecs/wm0010.c                |  44 +++---------
 sound/soc/codecs/wm1250-ev1.c            | 118 ++++++++++++-------------------
 sound/soc/codecs/wm2200.c                |  67 +++++++++---------
 sound/soc/codecs/wm5100.c                | 107 ++++++++++------------------
 sound/soc/codecs/wm8996.c                |  58 +++++++--------
 12 files changed, 211 insertions(+), 306 deletions(-)
---
base-commit: cbf5552fa580b78c690ca5829264f2fd2e2bafc1
change-id: 20231205-descriptors-sound-wlf-e6caec3cc642

Best regards,

Comments

Charles Keepax Dec. 8, 2023, 12:30 p.m. UTC | #1
On Fri, Dec 08, 2023 at 11:09:25AM +0100, Linus Walleij wrote:
> This converts the WM0010 codec to use GPIO descriptors.
> It's a pretty straight-forward conversion also switching over
> the single in-tree user in the S3C Cragganmore module
> for S3C 6410.
> 
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---

Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>

Thanks,
Charles
Krzysztof Kozlowski Dec. 8, 2023, 3:43 p.m. UTC | #2
On 08/12/2023 11:09, Linus Walleij wrote:
> This converts the WM0010 codec to use GPIO descriptors.
> It's a pretty straight-forward conversion also switching over
> the single in-tree user in the S3C Cragganmore module
> for S3C 6410.
> 
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
Krzysztof Kozlowski Dec. 8, 2023, 3:44 p.m. UTC | #3
On 08/12/2023 11:09, Linus Walleij wrote:
> 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>
> ---
>  arch/arm/mach-s3c/mach-crag6410-module.c | 14 ++++++--

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
Mark Brown Dec. 9, 2023, 1:07 a.m. UTC | #4
On Fri, 08 Dec 2023 11:09:24 +0100, Linus Walleij wrote:
> This converts the remaining Wolfson ASoC codecs to
> use GPIO descriptors.
> 
> These Wolfson codecs are mostly used with different
> Samsung S3C (especially Cragganmore 6410) board files,
> so the in-tree users are fixed up in the process.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/5] ASoC: wm0010: Convert to GPIO descriptors
      commit: b53d47775651aa51bb98cdeb968dedb45699d9a1
[2/5] ASoC: wm1250-ev1: Convert to GPIO descriptors
      commit: 10a366f36e2a2e240d9db6da90e501fa16655282
[3/5] ASoC: wm2200: Convert to GPIO descriptors
      commit: 0119b2a24eb592f967a2849b772887c96617ad80
[4/5] ASoC: wm5100: Convert to GPIO descriptors
      commit: 8563cfe39ba5d00d974df25e310fb61b5b3687e1
[5/5] ASoC: wm8996: Convert to GPIO descriptors
      commit: 729f02ec02ae12e5d8a53171bd37e9de56f33677

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark