android_kernel_xiaomi_sm8350/include/linux/i2c
Misael Lopez Cruz d62abe563f OMAP4: PMIC: Add support for twl6030 codec
In order to have TWL6030 CODEC driver as a platform driver, codec data
should be passed through twl_platform_data structure.

For twl6030 audio codec, the following data may be passed:
    - audpwron_gpio: gpio line used to power-up/down the codec. A low-to-high
      transition powers codec up. Setting audpwron_gpio to a negative value
      means that codec will use manual power sequence instead of automatic
      sequence
    - naudint_irq: irq line for audio interrupt. twl6030 drives NAUDINT line
      to low when an interrupt (codec ready, plug insertion/removal, etc) is
      detected

However, codec driver can operate if any or none of them are passed.

Signed-off-by: Misael Lopez Cruz <x0052729@ti.com>
Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
Signed-off-by: Jorge Eduardo Candelaria <jorge.candelaria@ti.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2010-02-24 13:17:03 +00:00
..
adp5588.h gpio: adp5588-gpio: new driver for ADP5588 GPIO expanders 2010-01-11 09:34:07 -08:00
at24.h
dm355evm_msp.h
lm8323.h
max732x.h
mcs5000_ts.h Input: add touchscreen driver for MELFAS MCS-5000 controller 2009-09-17 23:24:03 -07:00
pca953x.h
pcf857x.h
s6000.h
tps65010.h mfd: Allow configuration of VDCDC2 for tps65010 2009-12-13 19:21:36 +01:00
tsc2007.h
twl.h OMAP4: PMIC: Add support for twl6030 codec 2010-02-24 13:17:03 +00:00