On Friday, August 12, 2011 04:11:22 Joe Hershberger wrote:
> +int gpio_request(int gp, const char *label);
> +void gpio_free(int gp);
> +int gpio_direction_input(int gp);
> +int gpio_direction_output(int gp, int value);
> +int gpio_get_value(int gp);
> +void gpio_set_value(int gp, int value);
plea
Common GPIO API used by cmd_gpio should be available to any arch
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Kim Phillips
Cc: Mike Frysinger
---
Changes for v4:
- Split out of patch 1/2
Changes for v5:
- Moved asm/arch/gpio.h include to asm/gpio.h
arch/arm/include/asm/gpio.h
2 matches
Mail list logo