mfd: twl4030-power: Add a configuration to turn off oscillator during off-idle
authorTony Lindgren <tony@atomide.com>
Wed, 14 May 2014 01:34:09 +0000 (18:34 -0700)
committerLee Jones <lee.jones@linaro.org>
Wed, 28 May 2014 07:06:18 +0000 (08:06 +0100)
Some oscillators can be turned off during off-idle saving few
a little bit power at the cost of the oscillator start up
latency.

If you board can do this, you can now enable it by using the
ti,twl4030-power-idle-osc-off compatible flag.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Documentation/devicetree/bindings/mfd/twl4030-power.txt
drivers/mfd/twl4030-power.c

index bbd6603..b9ee7b9 100644 (file)
@@ -9,6 +9,7 @@ Required properties:
        "ti,twl4030-power"
        "ti,twl4030-power-reset"
        "ti,twl4030-power-idle"
+       "ti,twl4030-power-idle-osc-off"
 
 The use of ti,twl4030-power-reset is recommended at least on
 3530 that needs a special configuration for warm reset to work.
@@ -16,6 +17,11 @@ The use of ti,twl4030-power-reset is recommended at least on
 When using ti,twl4030-power-idle, the TI recommended configuration
 for idle modes is loaded to the tlw4030 PMIC.
 
+When using ti,twl4030-power-idle-osc-off, the TI recommended
+configuration is used with the external oscillator being shut
+down during off-idle. Note that this does not work on all boards
+depending on how the external oscillator is wired.
+
 Optional properties:
 - ti,use_poweroff: With this flag, the chip will initiates an ACTIVE-to-OFF or
                   SLEEP-to-OFF transition when the system poweroffs.
Simple merge