twl4030-gpio supports LED signals
authorDavid Brownell <dbrownell@users.sourceforge.net>
Mon, 13 Oct 2008 20:04:16 +0000 (13:04 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 16 Oct 2008 21:25:22 +0000 (14:25 -0700)
Expose the two TWL4030 LED signals as output-only GPIOs.  Boards
need to explicitly ask that this be done, to help avoid conflicts
on boards using these same pins to hook up to a vibrator motor.

Note that these are high drive open drain signals; LEDA is rated
for up to 160 mA (!), LEDB up to 60 mA.  Boards using one of these
signals to drive a bank of LCD backlight LEDs would probably want
to access the dedicated PWMs for brightness control, too; easy to
add such support later.

Example:  Beagle has one real LED here (PWM not necessary), and
one GPIO controlling VBUS output over EHCI (PWM not wanted).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found