RE: [PATCH v2 0/3] ASoC: codec: Convert to GPIO descriptors for tlv320aic32x4
From: Peng Fan
Date: Wed Nov 12 2025 - 07:06:30 EST
Hi Andy,
> Subject: Re: [PATCH v2 0/3] ASoC: codec: Convert to GPIO descriptors
> for tlv320aic32x4
>
> 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.
> >
>
> 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.
Thanks for sharing ideas on the cleanup. I am happy to do that, but
I not have time on this in the following month. If you have plan on this,
feel free to work on it. If no, I could do the cleanup at about the end
of next month.
Thanks,
Peng.
>
> --
> With Best Regards,
> Andy Shevchenko
>