aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2023-08-17 16:03:20 +0200
committerMark Brown <broonie@kernel.org>2023-08-17 15:10:13 +0100
commited11701751d43fb2318c625e65e0507b5234f8a5 (patch)
tree4770e3209f0231b41b25577c476a3baabc8dc775 /include/sound
parentab2a5d17064436585807f2ece5e6b4b03769a11f (diff)
downloadlinux-ed11701751d43fb2318c625e65e0507b5234f8a5.tar.gz
ASoC: rt5682: Convert to use GPIO descriptors
Convert the RT5682 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. Make sure to make sure SDW devices can associate with an LDO1 EN descriptor too, if they so desire by putting the lookup into the common code. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20230817-descriptors-asoc-rt-v2-4-02fa2ca3e5b0@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/rt5682.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/sound/rt5682.h b/include/sound/rt5682.h
index 3900a07e3935f..4256df721e3a6 100644
--- a/include/sound/rt5682.h
+++ b/include/sound/rt5682.h
@@ -31,9 +31,6 @@ enum rt5682_dai_clks {
};
struct rt5682_platform_data {
-
- int ldo1_en; /* GPIO for LDO1_EN */
-
enum rt5682_dmic1_data_pin dmic1_data_pin;
enum rt5682_dmic1_clk_pin dmic1_clk_pin;
enum rt5682_jd_src jd_src;