diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2023-08-17 17:03:20 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-08-17 17:10:13 +0300 |
commit | ed11701751d43fb2318c625e65e0507b5234f8a5 (patch) | |
tree | 4770e3209f0231b41b25577c476a3baabc8dc775 /include/sound/rt5682.h | |
parent | ab2a5d17064436585807f2ece5e6b4b03769a11f (diff) | |
download | linux-ed11701751d43fb2318c625e65e0507b5234f8a5.tar.xz |
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/rt5682.h')
-rw-r--r-- | include/sound/rt5682.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/sound/rt5682.h b/include/sound/rt5682.h index 3900a07e3935..4256df721e3a 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; |