diff options
author | Mark Brown <broonie@kernel.org> | 2025-04-08 12:25:12 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-04-08 12:25:12 +0300 |
commit | 94112d3d9422d59a5d4230802ce46a27e1bc5226 (patch) | |
tree | 11fe5ba951f901eb1fd04173c4bf7e1317d20c97 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1f4db3cb1a5984cf1b845a82f66f53947ffad6e5 (diff) | |
parent | d5099bc1b56417733f4cccf10c61ee74dadd5562 (diff) | |
download | linux-94112d3d9422d59a5d4230802ce46a27e1bc5226.tar.xz |
ASoC: codec: wcd93xx: Convert to GPIO descriptors
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.
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions