[U-Boot] [PATCH v4 31/72] dm: gpio: Add live tree support

Simon Glass sjg at chromium.org
Wed May 31 17:39:11 UTC 2017


On 30 May 2017 at 21:47, Simon Glass <sjg at chromium.org> wrote:
> Add support for requesting GPIOs with a live device tree.
>
> This involves adjusting the function signature for the legacy function
> gpio_request_by_name_nodev(), so fix up all callers.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Fixes to stm32f746-disco.c:
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
>
> Changes in v4:
> - Update stm32f746-disco.c to support live tree
>
> Changes in v3: None
> Changes in v2: None
>
>  board/qualcomm/dragonboard410c/dragonboard410c.c | 12 +++---
>  board/samsung/common/board.c                     |  4 +-
>  board/samsung/common/exynos5-dt.c                |  2 +-
>  board/st/stm32f746-disco/stm32f746-disco.c       |  6 +--
>  drivers/gpio/gpio-uclass.c                       | 51 +++++++++++-------------
>  drivers/i2c/mxc_i2c.c                            | 12 +++---
>  drivers/mmc/fsl_esdhc.c                          |  6 +--
>  drivers/mmc/s5p_sdhci.c                          |  8 ++--
>  drivers/mtd/nand/sunxi_nand.c                    |  2 +-
>  drivers/mtd/nand/tegra_nand.c                    |  4 +-
>  drivers/net/pic32_eth.c                          |  3 +-
>  drivers/sound/max98095.c                         |  2 +
>  drivers/sound/wm8994.c                           |  2 +-
>  drivers/spi/pic32_spi.c                          |  2 +-
>  drivers/usb/host/ehci-tegra.c                    |  7 ++--
>  drivers/usb/host/ehci-vf.c                       |  5 ++-
>  include/asm-generic/gpio.h                       | 10 ++---
>  17 files changed, 68 insertions(+), 70 deletions(-)

Applied to u-boot-dm in place of the earlier patch.


More information about the U-Boot mailing list