e7cd1d1eb1
The twl4030 PMIC needs to be configured properly for things like warm reset and deeper idle states so the PMIC manages the regulators properly based on the hardware triggers from the SoC. Earlier we have configured twl4030 using platform data, but we want to do it for device tree based booting also. In some cases configuring twl4030 is needed for things to work. For example, when rebooting an OMAP3530 at 125 MHz, it hangs. With this patch, TWL4030 will be reset when a warm reset occures, and OMAP3530 does not hang on reboot. Let's add device tree support and configure things for warm reset as the default when compatible = "ti,twl4030-power". More complicated configurations can be added to the driver based on other compatible flags. Note we now also make the pdata const like it should be. This allows use it for match->data with the device tree related functions. Based on earlier patch by Matthias Brugger <matthias.bgg@gmail.com> and Lesly A M <leslyam@ti.com>. Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> |
||
---|---|---|
.. | ||
adp5588.h | ||
adp8860.h | ||
adp8870.h | ||
ads1015.h | ||
apds990x.h | ||
atmel_mxt_ts.h | ||
bh1770glc.h | ||
dm355evm_msp.h | ||
ds620.h | ||
i2c-hid.h | ||
i2c-rcar.h | ||
i2c-sh_mobile.h | ||
lm8323.h | ||
ltc4245.h | ||
max732x.h | ||
max6639.h | ||
mcs.h | ||
mms114.h | ||
mpr121_touchkey.h | ||
pca954x.h | ||
pcf857x.h | ||
pmbus.h | ||
pxa-i2c.h | ||
s6000.h | ||
sx150x.h | ||
tc35876x.h | ||
tps65010.h | ||
tsc2007.h | ||
twl.h | ||
twl4030-madc.h |