ASoC: codec: wcd93xx: Convert to GPIO descriptors
authorMark Brown <broonie@kernel.org>
Tue, 8 Apr 2025 09:25:12 +0000 (10:25 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 8 Apr 2025 09:25:12 +0000 (10:25 +0100)
Merge series from "Peng Fan (OSS)" <peng.fan@oss.nxp.com>:

of_gpio.h is deprecated, so update driver to use gpiod API.

The current driver use value 0 to assert reset and 1 to deassert reset.
The DTSes in tree that use the codec are using GPIO_ACTIVE_LOW.
So it is safe to use devm_gpiod_get to get GPIO descriptors and
use gpiod_set_value to configure output with value 1 means raw value
0, value 0 means raw value 1.

Note:
I not have devices to test, just my best pratice to do the convertion.


Trivial merge