aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2023-08-17 16:03:18 +0200
committerMark Brown <broonie@kernel.org>2023-08-17 15:10:11 +0100
commit647a3c4c33cd2c3902cdc07c50f3129166d715f5 (patch)
tree995a751e6419973b8bf7d236701bfe6966f9693a /include/sound
parenta9b5f21073c0c687068f17e23385ec43fc643b08 (diff)
downloadlinux-647a3c4c33cd2c3902cdc07c50f3129166d715f5.tar.gz
ASoC: rt5665: Convert to use GPIO descriptors
The RT5665 driver has some stub support for GPIO descriptors going back to the initial driver commit, where there are two GPIO descriptors for the LDO and headphone detection defined in the device state. Well, let's make use of the descriptor properly. 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-2-02fa2ca3e5b0@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/rt5665.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/sound/rt5665.h b/include/sound/rt5665.h
index 3b3d6a19ca499..e865f041929be 100644
--- a/include/sound/rt5665.h
+++ b/include/sound/rt5665.h
@@ -31,8 +31,6 @@ struct rt5665_platform_data {
bool in3_diff;
bool in4_diff;
- int ldo1_en; /* GPIO for LDO1_EN */
-
enum rt5665_dmic1_data_pin dmic1_data_pin;
enum rt5665_dmic2_data_pin dmic2_data_pin;
enum rt5665_jd_src jd_src;