Files
OpenCellular/board
Nicolas Boichat 2f4fd74df5 hammer: Detect backlight circuitry
Pull-down means backlight is present, pull-up means backlight
is absent.

After detection, we still apply internal pull-down on the GPIO,
to make sure old boards with both pull-up and pull-down stuffed
do not always keep backlight on.

BRANCH=none
BUG=b:67722756
TEST=On reworked board with pull-down on backlight pin,
     backlight works, and "Backlight present" shown in console.
TEST=On old board with both pull-up and pull-down, backlight is
     off by default, and "Backlight not present" shown in console.

Change-Id: I6988c6ef8f4d155a08967db34f72d7ea4c835306
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/538458
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
2017-12-12 03:57:19 -08:00
..
2017-11-17 20:18:38 -08:00
2017-12-08 09:07:04 -08:00
2017-11-17 20:18:38 -08:00
2017-12-11 22:44:27 -08:00
2017-12-12 03:57:19 -08:00
2017-11-17 20:18:38 -08:00
2017-11-29 22:37:49 -08:00
2017-11-17 20:18:38 -08:00
2017-05-18 06:03:52 -07:00
2017-11-17 20:18:38 -08:00
2016-05-04 16:15:02 -07:00
2017-11-15 20:21:12 -08:00
2014-04-02 19:58:53 +00:00
2017-05-16 07:47:05 -07:00
2017-11-09 16:43:54 -08:00