Searched hist:bbf2478026c0addfff000f31cc1b5639cbff52cb (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/drivers/gpio/ |
| H A D | gpio-uclass.c | bbf2478026c0addfff000f31cc1b5639cbff52cb Mon Mar 07 02:27:50 UTC 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>
|
| /rk3399_rockchip-uboot/include/asm-generic/ |
| H A D | gpio.h | bbf2478026c0addfff000f31cc1b5639cbff52cb Mon Mar 07 02:27:50 UTC 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>
|