]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit06bdf385f66a53b335b324e28a43788b03e6f3e3
tree1727efbc7f9e2095011561653e89f0f96ea69bc7
parentfbeea237af65c6dceca00886aba30839bc986fd7
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