Searched hist:bbf2478026c0addfff000f31cc1b5639cbff52cb (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/include/asm-generic/ |
H A D | gpio.h | diff bbf2478026c0addfff000f31cc1b5639cbff52cb Sun Mar 06 20:27:50 CST 2016 Simon Glass <sjg@chromium.org> gpio: Add a function to obtain a GPIO vector value
We can use GPIOs as binary digits for reading 'strapping' values. Each GPIO is assigned a single bit and can be set high or low on the circuit board. We already have a legacy function for reading these values. Add one that supports driver model.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
/openbmc/u-boot/drivers/gpio/ |
H A D | gpio-uclass.c | diff bbf2478026c0addfff000f31cc1b5639cbff52cb Sun Mar 06 20:27:50 CST 2016 Simon Glass <sjg@chromium.org> gpio: Add a function to obtain a GPIO vector value
We can use GPIOs as binary digits for reading 'strapping' values. Each GPIO is assigned a single bit and can be set high or low on the circuit board. We already have a legacy function for reading these values. Add one that supports driver model.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|