include/sound/tlv320aic32x4.h | 9 ------- sound/soc/codecs/tlv320aic32x4.c | 53 +++++++++++++++++----------------------- 2 files changed, 23 insertions(+), 39 deletions(-)
This patchset is a pick up of patch 1,2 from [1]. And I also collect
Linus's R-b for patch 2. After this patchset, there is only one user of
of_gpio.h left in sound driver(pxa2xx-ac97).
of_gpio.h is deprecated, update the driver to use GPIO descriptors.
Patch 1 is to drop legacy platform data which in-tree no users are using it
Patch 2 is to convert to GPIO descriptors
Checking the DTS that use the device, all are using GPIOD_ACTIVE_LOW
polarity for reset-gpios, so all should work as expected with this patch.
[1] https://lore.kernel.org/all/20250408-asoc-gpio-v1-0-c0db9d3fd6e9@nxp.com/
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Changes in v2:
- Add T-b from Alexander Stein
- Add patch 2 to sort header files per Alexander Stein
- Set rstn_gpio to NULL to align with devm_get_gpio_optional per Alexander Stein
- Link to v1: https://lore.kernel.org/r/20250706-asoc-gpio-1-v1-0-f0912095e923@nxp.com
---
Peng Fan (3):
ASoC: codec: tlv320aic32x4: Drop aic32x4_pdata usage
ASoC: codec: tlv320aic32x4: Sort headers alphabetically
ASoC: codec: tlv320aic32x4: Convert to GPIO descriptors
include/sound/tlv320aic32x4.h | 9 -------
sound/soc/codecs/tlv320aic32x4.c | 53 +++++++++++++++++-----------------------
2 files changed, 23 insertions(+), 39 deletions(-)
---
base-commit: a4c01042cd9f2ad96f3289b5b28c4b64da9e0000
change-id: 20250706-asoc-gpio-1-bd0762d29351
Best regards,
--
Peng Fan <peng.fan@nxp.com>
On Thu, Jul 10, 2025 at 08:40:00PM +0800, Peng Fan wrote: > This patchset is a pick up of patch 1,2 from [1]. And I also collect > Linus's R-b for patch 2. After this patchset, there is only one user of > of_gpio.h left in sound driver(pxa2xx-ac97). > > of_gpio.h is deprecated, update the driver to use GPIO descriptors. > > Patch 1 is to drop legacy platform data which in-tree no users are using it > Patch 2 is to convert to GPIO descriptors > > Checking the DTS that use the device, all are using GPIOD_ACTIVE_LOW > polarity for reset-gpios, so all should work as expected with this patch. > > [1] https://lore.kernel.org/all/20250408-asoc-gpio-v1-0-c0db9d3fd6e9@nxp.com/ Peng, if you are still interested in continuing this task, you can focus on converting the drivers that use gpio_request_one() and devm_gpio_request_one(). These are some like a couple of dozens only (in comparison to the gpio_request() and devm_gpio_request() users). Some of them are resided in the ASoC subsystem. -- With Best Regards, Andy Shevchenko
On Thu, 10 Jul 2025 20:40:00 +0800, Peng Fan wrote:
> This patchset is a pick up of patch 1,2 from [1]. And I also collect
> Linus's R-b for patch 2. After this patchset, there is only one user of
> of_gpio.h left in sound driver(pxa2xx-ac97).
>
> of_gpio.h is deprecated, update the driver to use GPIO descriptors.
>
> Patch 1 is to drop legacy platform data which in-tree no users are using it
> Patch 2 is to convert to GPIO descriptors
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/3] ASoC: codec: tlv320aic32x4: Drop aic32x4_pdata usage
commit: 69d5b62c4bded309332add0fac6760239ff47a68
[2/3] ASoC: codec: tlv320aic32x4: Sort headers alphabetically
commit: b709c1aef5e15db3aff5749fc7ed9c61b8d0a322
[3/3] ASoC: codec: tlv320aic32x4: Convert to GPIO descriptors
commit: 790d5f8ee6f2a27686d042abbce16b4e03ac1608
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
© 2016 - 2026 Red Hat, Inc.