Files
OpenCellular/include
David Hendricks 1f091487b2 snow/stm32: re-configure power LED on the fly (input vs. pwm)
Usually the power LED is driven by the PWM mode so that its nominal
brightness can be set to a "soft" on value. However, when
the LED is to remain off the LED should be switched to floating
input mode. This reduces voltage leakage.

This CL updates the power_led_task to configure the LED however is
appropriate and adds board functions to re-configure the GPIO.

Signed-off-by: David Hendricks <dhendrix@chromium.org>

BRANCH=snow
BUG=chrome-os-partner:12381
TEST=LED responds as expected in suspend and on/off states, also
tested that leakage is reduced with multimeter

Change-Id: If90ac78aaffe7358cce80dd02ec1423c2cb4f664
Reviewed-on: https://gerrit.chromium.org/gerrit/29705
Reviewed-by: Simon Glass <sjg@chromium.org>
Commit-Ready: David Hendricks <dhendrix@chromium.org>
Tested-by: David Hendricks <dhendrix@chromium.org>
2012-08-17 16:55:26 -07:00
..
2012-04-19 13:08:58 -07:00
2012-04-19 11:08:28 -07:00
2012-04-19 11:08:28 -07:00
2012-07-12 18:22:24 -07:00
2011-12-07 19:10:02 +00:00
2012-07-10 14:56:05 -07:00
2012-07-23 23:30:33 -07:00
2012-07-02 22:35:52 -07:00
2012-06-29 10:46:22 -07:00
2012-05-31 15:03:17 -07:00
2012-01-11 11:37:55 -08:00
2012-06-26 17:01:52 -07:00
2012-06-07 09:59:55 -07:00
2012-07-12 18:22:24 -07:00
2011-12-07 19:10:02 +00:00
2012-04-19 13:08:58 -07:00
2011-12-07 19:10:02 +00:00
2012-07-30 13:41:33 -07:00
2012-08-09 17:40:37 -07:00
2012-05-30 13:12:34 -07:00
2012-08-13 14:22:23 -07:00
2012-04-06 09:06:53 -07:00
2012-07-23 23:30:33 -07:00
2012-04-24 17:46:54 -07:00