Re: [PATCH v2 0/3] ASoC: codec: Convert to GPIO descriptors for tlv320aic32x4

From: Andy Shevchenko

Date: Wed Nov 12 2025 - 04:15:48 EST


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@xxxxxxx/

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