Home
last modified time | relevance | path

Searched hist:e5901c94e32b3533c35511d1acfb7f1587e324ee (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/drivers/gpio/
H A Dgpio-uclass.ce5901c94e32b3533c35511d1acfb7f1587e324ee Tue Nov 11 01:00:21 UTC 2014 Simon Glass <sjg@chromium.org> dm: gpio: Add a function to read an ID from a list of GPIOs

For board IDs a common approach is to set aside several GPIOs for use in
determining the board ID. This can provide information about board features
and the revision.

Add a function that turns a list of GPIOs into an integer by assigning
each GPIO to a single bit.

Signed-off-by: Simon Glass <sjg@chromium.org>
/rk3399_rockchip-uboot/include/asm-generic/
H A Dgpio.he5901c94e32b3533c35511d1acfb7f1587e324ee Tue Nov 11 01:00:21 UTC 2014 Simon Glass <sjg@chromium.org> dm: gpio: Add a function to read an ID from a list of GPIOs

For board IDs a common approach is to set aside several GPIOs for use in
determining the board ID. This can provide information about board features
and the revision.

Add a function that turns a list of GPIOs into an integer by assigning
each GPIO to a single bit.

Signed-off-by: Simon Glass <sjg@chromium.org>