diff options
| author | Evan Wilson <evan@oliodevices.com> | 2015-08-05 16:24:32 -0700 |
|---|---|---|
| committer | Evan Wilson <evan@oliodevices.com> | 2015-08-07 12:54:31 -0700 |
| commit | a25960e811a1aa56814deed47e257c1cddc90084 (patch) | |
| tree | 9d87e29742ea03830e0e0e1d890d185309f290d1 | |
| parent | 3c4344266cc13c4f0180a34394ded212d7ea0350 (diff) | |
| download | olio-linux-3.10-a25960e811a1aa56814deed47e257c1cddc90084.tar.xz olio-linux-3.10-a25960e811a1aa56814deed47e257c1cddc90084.zip | |
From: Oleksandr Kozaruk <oleksandr.kozaruk@globallogic.com>
Date: Fri, 31 Jul 2015 15:04:36 -0700
Subject: [PATCH 4/4] olio: DT: set gpio 128 pinmux to control PWM of LM3530
GPIO 128 connected to PWM pin of LM3530 which is used in
simple enable/disable mode, and would shut down LM3530 in
suspend.
When PWM is '1' then a display backlight is enabled, if pulld
low backlight is disabled.
We set pinmux to be mode 4, output in active mode,
and in supsend to be offenable, offoutput, offpulldown. See:
http://processors.wiki.ti.com/index.php/Optimizing_OMAP35x_and_AM/DM37x_OFF_mode_PAD_configuration
Change-Id: I4a9fa211abf174b129aff9c9c9421f575ce88e25
| -rw-r--r-- | arch/arm/boot/dts/omap3_h1.dts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3_h1.dts b/arch/arm/boot/dts/omap3_h1.dts index a12cf478222..ff0ed298de7 100644 --- a/arch/arm/boot/dts/omap3_h1.dts +++ b/arch/arm/boot/dts/omap3_h1.dts @@ -236,6 +236,13 @@ /* Fuel gauge interrupt */ 0x01a 0x4104 /* SYS_CLKOUT1, MODE4 | OMAP_PIN_INPUT */ + /* + * lm3530 PWM pin, gpio128 + * gpio128, MODE4 | OFFPULLDOWN | OFFENABLE | OFFOUTENABLE | + * OUTPUT + */ + 0x058 0x1604 + /* Wakeup from Bluetooth */ 0x024 0x410C /* JTAG_EMU0, OMAP_MUX_MODE4 | OMAP_PIN_INPUT | OMAP_PIN_OFF_WAKEUPENABLE */ |