From: Mark Brown Date: Tue, 8 Apr 2025 09:25:12 +0000 (+0100) Subject: ASoC: codec: wcd93xx: Convert to GPIO descriptors X-Git-Tag: v6.16-rc1~13^2~6^2~95 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=94112d3d9422d59a5d4230802ce46a27e1bc5226;p=linux-block.git ASoC: codec: wcd93xx: Convert to GPIO descriptors Merge series from "Peng Fan (OSS)" : 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. --- 94112d3d9422d59a5d4230802ce46a27e1bc5226