ASoC: omap-dmic: Add initial ABE support.

Implementation of ABE integration with the DMIC driver.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Liam Girdwood <lrg@ti.com>
mfd: Palmas GPADC Support

The Palmas has a 15 channel ADC which has two asynchronous reading modes
and one software controlled mode. One of the asynchronous modes can
automatically compare voltages with a threshold and raise an interrupt
when the voltage crosses the threshold. The resolution of the ADC is
12 bits.

Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk>
gpio: Add Palmas GPIO support

Palmas has a maximum of 8 GPIO available but depending on the package and
OTP programming of the chip they may not all be exposed to pins on the
chip

Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk>
mfd: Palmas RESOURCE IP block driver

The Resource IP block controls the NSLEEP, ENABLE1, ENABLE2, pin actions.
As well as controlling the clk32kg* clocks and regen* pins.

Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk>
leds: Add support for Palmas LEDs

The Palmas familly of chips has LED support. This is not always muxed
to output pins so depending on the setting of the mux this driver
will create the appropriate LED class devices.

Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk>
watchdog: add Palmas Watchdog support

Add support for the Palmas watchdog timer which has a timeout configurable
from 1s to 128s.

Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk>
rtc: rtc-palmas a new driver for palmas PMIC

This the is RTC driver for the palmas series of PMIC chips from TI.

Signed-of-by: Graeme Gregory <gg@slimlogic.co.uk>
mfd: Add support for Palmas PWM generator

Palmas has ability to produce PWM on two pins that can be selected
by the mux regsters. It is limited to two frequencies 125Hz and 62.5hz.

Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk>
clk: add a clock driver for palmas

Palmas has two clock generators in it, clk32kg and clk32kg audio. They
are fixed frequency clocks that only have enable/disable functionality.

Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk>
Input: KEY: Add Power button input key event driver

This patch adds palmas power button as a input event driver. This
will be mapped as power button key in the userland.

Signed-off-by: Girish S G <girishsg@ti.com>
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk>
USB: Palmas OTG Transceiver Driver

This is the driver for the OTG transceiver built into the Palmas chip. It
handles the various USB OTG events that can be generated by cable
insertion/removal.

Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
regulator: add short irq handling

Add an IRQ handler for the short IRQ and print a message in the debug
log when this occurs. The main function of this is to clear the
status so that the SMPS/LDO regulators restart correctly when the
short condition is removed. The register is clear on read.

Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk>
mfd: omap doesnt like being told irq level

For the special PMIC IRQ omap subsystem does not like being told its
a low level IRQ so remove this for omap

Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk>
documentation: add palmas dts definition

Add the DTS definition for the palmas device including the MFD children.

Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk>
ARM/dts: add dtsi example for palmas device

This is a fully filled out DTSI file for the palmas device in default
state. Obviously this needs to be adapted per board.

Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk>
HACK: MFD: PALMAS: Enable 32 kHz Audio form start.

For Phoenix Audio Power ON Palmas needs to provide the 32kHz clock.
Until we move to common clock framework always enable the 32 kHz
audio clock.

Signed-off-by: Sebastien Guiriec <s-guiriec@ti.com>
mfd: Palmas: Add function in order to print IC version

Add function in order to print revision of Palmas IC.

Signed-off-by: Sebastien Guiriec <s-guiriec@ti.com>
ASoC: ABE: Add ABE debugFS support.

Signed-off-by: Liam Girdwood <lrg@ti.com>
ASoC: ABE: Add ABE mixers and DAPM.

Signed-off-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Sebastien Guiriec <s-guiriec@ti.com>
ASoC: ABE: Add ABE low power mmap support.

Signed-off-by: Liam Girdwood <lrg@ti.com>