aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2023-08-17 16:03:21 +0200
committerMark Brown <broonie@kernel.org>2023-08-17 15:10:13 +0100
commit8793bee716452e5e2f9bf085fbe01f9e3d1e659f (patch)
tree4520ed6faa656f9943e77bbac2d1ed32134bcad7 /include/sound
parented11701751d43fb2318c625e65e0507b5234f8a5 (diff)
downloadlinux-8793bee716452e5e2f9bf085fbe01f9e3d1e659f.tar.gz
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>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/rt5682s.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/sound/rt5682s.h b/include/sound/rt5682s.h
index f18d91308b9a0..66ca0c75b914e 100644
--- a/include/sound/rt5682s.h
+++ b/include/sound/rt5682s.h
@@ -32,9 +32,6 @@ enum rt5682s_dai_clks {
};
struct rt5682s_platform_data {
-
- int ldo1_en; /* GPIO for LDO1_EN */
-
enum rt5682s_dmic1_data_pin dmic1_data_pin;
enum rt5682s_dmic1_clk_pin dmic1_clk_pin;
enum rt5682s_jd_src jd_src;