diff options
author | Peng Fan <peng.fan@nxp.com> | 2025-04-14 11:34:25 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-04-24 14:53:05 +0300 |
commit | f198b6b256aabe6d136401505e974ef2eb2df4af (patch) | |
tree | 73abe90bf5094ff9850fc0afeb8a44e7293b00cc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 63a9362c7172c74f6df19195c3e7491d3ec123ca (diff) | |
download | linux-f198b6b256aabe6d136401505e974ef2eb2df4af.tar.xz |
ASoC: codec: tpa6130a2: 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 to configure output value.
Checking the DTS polarity, all users are using GPIOD_ACTIVE_HIGH.
so all should work as expected with this patch.
Cc: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patch.msgid.link/20250414-asoc-tpa6130a2-v1-3-5f4052e656a0@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions