diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2023-09-26 15:25:31 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-10-02 14:06:20 +0100 |
commit | 1b8a62937e0b23c41956feec778ca7776a01df48 (patch) | |
tree | 5caa968c3897eaedf22462b27fb80ab381224ebc /sound/ppc/awacs.h | |
parent | 22041ed154aaf89f31306014a305dde516c308ea (diff) |
ASoC: ti: Convert TWL4030 to use GPIO descriptors
The TWL4030 is actually only ever populated from the device tree,
so we can just pass the right device and headphone jack GPIO name
to snd_soc_jack_add_gpios() and it will pick the right GPIO right
from the device tree.
The platform data patch is unused (no in-tree users of the pdata
method) but these can use GPIO descriptor tables rather than global
GPIO numbers if they need this.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Link: https://lore.kernel.org/r/20230926-descriptors-asoc-ti-v1-3-60cf4f8adbc5@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/ppc/awacs.h')
0 files changed, 0 insertions, 0 deletions