diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2017-04-13 16:52:09 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-04-21 18:01:38 +0100 |
commit | 06bdf385f66a53b335b324e28a43788b03e6f3e3 (patch) | |
tree | 1727efbc7f9e2095011561653e89f0f96ea69bc7 /include/sound | |
parent | fbeea237af65c6dceca00886aba30839bc986fd7 (diff) | |
download | linux-stable-06bdf385f66a53b335b324e28a43788b03e6f3e3.tar.gz linux-stable-06bdf385f66a53b335b324e28a43788b03e6f3e3.tar.bz2 linux-stable-06bdf385f66a53b335b324e28a43788b03e6f3e3.zip |
ASoC: cs35l35: Allow user to configure IMON SCALE
On the chip the IMON signal is a full 24-bits however normally only
some of the bits will be sent over the bus. The chip provides a field
to select which bits of the IMON will be sent back, this is the only
feedback signal that has this feature.
Add an additional entry to the cirrus,imon device tree property to
allow the IMON scale parameter to be passed.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Brian Austin <brian.austin@cirrus.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/cs35l35.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/cs35l35.h b/include/sound/cs35l35.h index 88744bbd6728..29da899e17e4 100644 --- a/include/sound/cs35l35.h +++ b/include/sound/cs35l35.h @@ -57,6 +57,7 @@ struct monitor_cfg { u8 imon_dpth; u8 imon_loc; u8 imon_frm; + u8 imon_scale; u8 vmon_dpth; u8 vmon_loc; u8 vmon_frm; |