From: David Brownell Date: Mon, 13 Oct 2008 20:04:16 +0000 (-0700) Subject: twl4030-gpio supports LED signals X-Git-Tag: v2.6.27-omap1~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ade1742fb39a43a8b29055d499591c7cace4aa4;p=pandora-kernel.git twl4030-gpio supports LED signals 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 Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed