]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
ASoC: codec: cs42l[56,73,52]: Convert to GPIO
authorMark Brown <broonie@kernel.org>
Wed, 7 May 2025 05:12:15 +0000 (14:12 +0900)
committerMark Brown <broonie@kernel.org>
Wed, 7 May 2025 05:12:15 +0000 (14:12 +0900)
Merge series from "Peng Fan (OSS)" <peng.fan@oss.nxp.com>:

This patchset is separate from [1], and not merging changes in one
patch. So separate changes into three patches for each chip.
- sort headers
- Drop legacy platform support
- Convert to GPIO descriptors

of_gpio.h is deprecated, update the driver to use GPIO descriptors.
 - Use devm_gpiod_get_optional to get GPIO descriptor with default
   polarity GPIOD_OUT_LOW, set consumer name.
 - Use gpiod_set_value_cansleep to configure output value.

I not have platforms to test, just do the patches with my best efforts,
and make build pass.

[1] https://lore.kernel.org/all/20250408-asoc-gpio-v1-0-c0db9d3fd6e9@nxp.com/


Trivial merge