Files
OpenCellular/include
Simon Glass aa64550a3f gpio: Add fast access to GPIO level
The current gpio_get_level() is pretty slow because it looks things up each
time. Add a new function to find out the register address and mask to use
to check the value for a particular GPIO.

Time-critical code can then use this to check a GPIO.

BUG=chrome-os-partner:10146
TEST=manual:
build and boot on snow;
Power on the board, hold power button for 10s and see that it powers off
Power control still works, thus GPIOs are functional

Change-Id: Ifc6c56f5cb811e0243e7712725a51948eabd42ab
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/26175
2012-07-02 22:35:52 -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-04-24 09:59:31 -07:00
2011-12-07 19:10:02 +00:00
2012-04-10 14:09:40 -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
2011-12-07 19:10:02 +00:00
2012-06-22 11:12:40 -07:00
2012-04-19 13:08:58 -07:00
2012-04-19 11:08:28 -07:00
2012-06-26 17:01:52 -07:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2012-05-30 13:12:34 -07:00
2012-06-20 23:30:02 -07:00
2012-04-06 09:06:53 -07:00
2012-06-22 10:13:36 -07:00
2012-04-24 17:46:54 -07:00