linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] ASoC: codec: Convert to GPIO descriptors for tlv320aic32x4
@ 2025-07-10 12:40 Peng Fan
  2025-07-10 12:40 ` [PATCH v2 1/3] ASoC: codec: tlv320aic32x4: Drop aic32x4_pdata usage Peng Fan
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Peng Fan @ 2025-07-10 12:40 UTC (permalink / raw)
  To: Shenghao Ding, Kevin Lu, Baojun Xu, Jaroslav Kysela, Takashi Iwai,
	Liam Girdwood, Mark Brown, Linus Walleij, Bartosz Golaszewski,
	Alexander Stein
  Cc: linux-sound, linux-kernel, linux-gpio, Peng Fan, Markus Niebel

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>


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-07-14 13:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-10 12:40 [PATCH v2 0/3] ASoC: codec: Convert to GPIO descriptors for tlv320aic32x4 Peng Fan
2025-07-10 12:40 ` [PATCH v2 1/3] ASoC: codec: tlv320aic32x4: Drop aic32x4_pdata usage Peng Fan
2025-07-11 18:38   ` Linus Walleij
2025-07-10 12:40 ` [PATCH v2 2/3] ASoC: codec: tlv320aic32x4: Sort headers alphabetically Peng Fan
2025-07-10 13:41   ` Alexander Stein
2025-07-10 12:40 ` [PATCH v2 3/3] ASoC: codec: tlv320aic32x4: Convert to GPIO descriptors Peng Fan
2025-07-14 13:42 ` [PATCH v2 0/3] ASoC: codec: Convert to GPIO descriptors for tlv320aic32x4 Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).