From: Mark Brown Date: Wed, 7 May 2025 05:12:15 +0000 (+0900) Subject: ASoC: codec: cs42l[56,73,52]: Convert to GPIO X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=599b86f8cf98f786e317039372fe4cb446f0fa2a;p=users%2Fdwmw2%2Flinux.git ASoC: codec: cs42l[56,73,52]: Convert to GPIO Merge series from "Peng Fan (OSS)" : 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/ --- 599b86f8cf98f786e317039372fe4cb446f0fa2a