ASoC: tlv320aic32x4: Implement resistors on input pins
authorJeremy McDermond <nh6z@nh6z.net>
Wed, 20 Apr 2016 18:39:11 +0000 (11:39 -0700)
committerMark Brown <broonie@kernel.org>
Thu, 21 Apr 2016 09:50:18 +0000 (10:50 +0100)
commit20d2cecbb7b9c35235c97f0dfa520525c28f8841
tree00766fce4d79a3572663b268392f20f97912239f
parent041f9d336f28d3a45b31799bb8b5b2e1fa322321
ASoC: tlv320aic32x4: Implement resistors on input pins

The input pins of the aic3204 have resistors inline with them.  The
current code assumes that you want a 10k resistor inline with your
inputs and implements it as a simple switch.  This patch creates an enum
for each pin and allows you to switch between not connected, 10k, 20k
and 40k ohm values.  This more closely models the acutal aic3204 part.

These pin settings are documented in TI's SLAA557 pages 135 and 136
(http://www.ti.com/lit/ml/slaa557/slaa557.pdf).

Signed-off-by: Jeremy McDermond <nh6z@nh6z.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tlv320aic32x4.c
This page took 0.025755 seconds and 5 git commands to generate.