diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2020-06-26 19:46:23 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-07-07 15:03:22 +0300 |
commit | 5146b6a92c1194674f21def93d7025c97ed6977f (patch) | |
tree | 049db14eabcd9b458ea10c553d74e819db9d0819 /sound/soc/codecs/da7213.h | |
parent | 68d1abe186d1c865923d3b97414906f4697daf58 (diff) | |
download | linux-5146b6a92c1194674f21def93d7025c97ed6977f.tar.xz |
ASoC: da7213: add default clock handling
This adds default clock/PLL configuration to the driver
for usage with generic drivers like simple-card for usage
with a fixed rate clock.
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Reviewed-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Link: https://lore.kernel.org/r/20200626164623.87894-1-sebastian.reichel@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/da7213.h')
-rw-r--r-- | sound/soc/codecs/da7213.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/da7213.h b/sound/soc/codecs/da7213.h index 3890829dfb6e..97ccf0ddd2be 100644 --- a/sound/soc/codecs/da7213.h +++ b/sound/soc/codecs/da7213.h @@ -535,10 +535,12 @@ struct da7213_priv { struct regulator_bulk_data supplies[DA7213_NUM_SUPPLIES]; struct clk *mclk; unsigned int mclk_rate; + unsigned int out_rate; int clk_src; bool master; bool alc_calib_auto; bool alc_en; + bool fixed_clk_auto_pll; struct da7213_platform_data *pdata; }; |