summaryrefslogtreecommitdiff
path: root/sound/soc/meson/aiu.h
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2020-02-20 21:57:11 +0100
committerMark Brown <broonie@kernel.org>2020-02-21 13:30:47 +0000
commit3e25c44598aa44134207ad7b3c5ad6b586135777 (patch)
treef23b0311200163f96aa90fc8b338e90aa696e6fe /sound/soc/meson/aiu.h
parentedc761805302db6d63916694d0cdb7468864a47a (diff)
ASoC: meson: aiu: add support for the Meson8 and Meson8b SoC families
The AIU audio controller on the Meson8 and Meson8b SoC families is compatible with the one found in the later GXBB family. Add compatible strings for these two older SoC families so the driver can be loaded for them. Instead of using the I2S divider from the AIU_CLK_CTRL_MORE register we need to use the I2S divider from the AIU_CLK_CTRL register. This older register is less flexible because it only supports four divider settings (1, 2, 4, 8) compared to the AIU_CLK_CTRL_MORE register (which supports dividers in the range 0..64). Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Reviewed-by: Jerome Brunet <jbrunet@baylibre.com> Link: https://lore.kernel.org/r/20200220205711.77953-4-martin.blumenstingl@googlemail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/meson/aiu.h')
-rw-r--r--sound/soc/meson/aiu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/meson/aiu.h b/sound/soc/meson/aiu.h
index ab003638d5e5..87aa19ac4af3 100644
--- a/sound/soc/meson/aiu.h
+++ b/sound/soc/meson/aiu.h
@@ -29,6 +29,7 @@ struct aiu_interface {
struct aiu_platform_data {
bool has_acodec;
+ bool has_clk_ctrl_more_i2s_div;
};
struct aiu {