OSDN Git Service

ASoC: rt5682s: Convert to use GPIO descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 17 Aug 2023 14:03:21 +0000 (16:03 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 17 Aug 2023 14:10:13 +0000 (15:10 +0100)
commit8793bee716452e5e2f9bf085fbe01f9e3d1e659f
tree4520ed6faa656f9943e77bbac2d1ed32134bcad7
parented11701751d43fb2318c625e65e0507b5234f8a5
ASoC: rt5682s: Convert to use GPIO descriptors

Convert the RT5682S to use GPIO descriptors and drop the
legacy GPIO headers.

We remove the global GPIO number from the platform data,
but it is still possible to create board files using GPIO
descriptor tables, if desired.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230817-descriptors-asoc-rt-v2-5-02fa2ca3e5b0@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/rt5682s.h
sound/soc/codecs/rt5682s.c
sound/soc/codecs/rt5682s.h