[U-Boot] [PATCH 08/23] dm: gpio: Implement GPIO reservation in the uclass
Simon Glass
sjg at chromium.org
Fri Oct 24 05:52:39 CEST 2014
On 4 October 2014 11:29, Simon Glass <sjg at chromium.org> wrote:
> We have several GPIO drivers now and all are doing similar things to record
> which GPIOs are reserved.
>
> Move this logic into the uclass to make the drivers similar.
>
> We retain the request()/free() methods since currently one driver does use
> these for setting up the pin.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> drivers/gpio/gpio-uclass.c | 92 +++++++++++++++++++++++++++++++++++++++-------
> include/asm-generic/gpio.h | 6 +++
> 2 files changed, 84 insertions(+), 14 deletions(-)
Applied to u-boot-dm/master
More information about the U-Boot
mailing list