[U-Boot] [PATCH v2 09/15] dm: omap: gpio: Support driver model
Simon Glass
sjg at chromium.org
Fri Oct 24 05:52:10 CEST 2014
On 22 October 2014 21:37, Simon Glass <sjg at chromium.org> wrote:
> Add driver model support to this driver, while retaining support for the
> legacy system. Driver model GPIO support is enabled with CONFIG_DM_GPIO
> as usual.
>
> Since gpio_is_valid() no longer exists, we can use the -EINVAL error
> returned from gpio_request().
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Tom Rini <trini at ti.com>
> ---
>
> Changes in v2: None
>
> arch/arm/include/asm/omap_gpio.h | 19 +++-
> drivers/gpio/omap_gpio.c | 221 +++++++++++++++++++++++++++++++++++++++
> drivers/mmc/omap_hsmmc.c | 15 ++-
> 3 files changed, 248 insertions(+), 7 deletions(-)
Applied to u-boot-dm/master
More information about the U-Boot
mailing list