]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs35l35: Allow user to configure IMON SCALE
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Thu, 13 Apr 2017 15:52:09 +0000 (16:52 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 21 Apr 2017 17:01:38 +0000 (18:01 +0100)
commit968b294e53b8a3a07cc75f21e2a5bcd7f94b55cf
tree1727efbc7f9e2095011561653e89f0f96ea69bc7
parenta99defde70cedf22121ce12172f302776652652d
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>
Documentation/devicetree/bindings/sound/cs35l35.txt
include/sound/cs35l35.h
sound/soc/codecs/cs35l35.c
sound/soc/codecs/cs35l35.h