]> 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)
commita3b9bdc9ce69e0b6d10ada87c69da8bb134eecaf
tree1727efbc7f9e2095011561653e89f0f96ea69bc7
parentdbc54ee04753d1da3a1d314fdae0811300bebba6
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