[U-Boot] [PATCH 07/69] gpio: Add a function to obtain a GPIO vector value

Bin Meng bmeng.cn at gmail.com
Fri Mar 11 04:45:54 CET 2016


On Mon, Mar 7, 2016 at 10:27 AM, Simon Glass <sjg at chromium.org> wrote:
> 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 at chromium.org>
> ---
>
>  drivers/gpio/gpio-uclass.c | 18 ++++++++++++++++++
>  include/asm-generic/gpio.h | 12 ++++++++++++
>  2 files changed, 30 insertions(+)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list