Skip to content

Commit 9188883

Browse files
committed
ARM: dts: Enable twl4030 off-idle configuration for selected omaps
N900 now seems to shut down the external oscillator when hitting off-idle. And Beagle XM seems to have OSC_EN pin connected to allow shutting down the oscillator looking at the schematics. The oscillator output is cut off in off-idle and you can monitor it from R56 on the bottom side of the board near the power jack. Note that for beagle we need to also enable the UART wake-up event, the others have that enabled in earlier patches. OMAP37XX EVM (TMDSEVM3730) does not seem to have twl4030 clken pin connected, so there is no point trying to enable shutting down of the oscillator on it for the extra latency it adds. Signed-off-by: Tony Lindgren <[email protected]>
1 parent 7171511 commit 9188883

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

arch/arm/boot/dts/omap3-beagle-xm.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,11 @@
251251
codec {
252252
};
253253
};
254+
255+
twl_power: power {
256+
compatible = "ti,twl4030-power-beagleboard-xm", "ti,twl4030-power-idle-osc-off";
257+
ti,use_poweroff;
258+
};
254259
};
255260
};
256261

@@ -301,6 +306,7 @@
301306
};
302307

303308
&uart3 {
309+
interrupts-extended = <&intc 74 &omap3_pmx_core OMAP3_UART3_RX>;
304310
pinctrl-names = "default";
305311
pinctrl-0 = <&uart3_pins>;
306312
};

arch/arm/boot/dts/omap3-evm-common.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@
5050
gpios = <&twl_gpio 18 GPIO_ACTIVE_LOW>;
5151
};
5252

53+
&twl {
54+
twl_power: power {
55+
compatible = "ti,twl4030-power-omap3-evm", "ti,twl4030-power-idle";
56+
ti,use_poweroff;
57+
};
58+
};
59+
5360
&i2c2 {
5461
clock-frequency = <400000>;
5562
};

arch/arm/boot/dts/omap3-n900.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,11 @@
351351
compatible = "ti,twl4030-audio";
352352
ti,enable-vibra = <1>;
353353
};
354+
355+
twl_power: power {
356+
compatible = "ti,twl4030-power-n900", "ti,twl4030-power-idle-osc-off";
357+
ti,use_poweroff;
358+
};
354359
};
355360

356361
&twl_keypad {

0 commit comments

Comments
 (0)