[U-Boot] [PATCH v3 28/72] dm: gpio: Refactor to prepare for live tree support

sjg at google.com sjg at google.com
Thu May 25 00:06:40 UTC 2017


Move the main part of the GPIO request function into a separate function
so that it can be used by the live tree function when added. Update the
xlate method to use a node reference.

Update all GPIO drivers to handle the modified xlate() method.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v3: None
Changes in v2: None

 drivers/gpio/74x164_gpio.c   |  2 +-
 drivers/gpio/gpio-uclass.c   | 51 ++++++++++++++++++++++++++------------------
 drivers/gpio/pca953x_gpio.c  |  2 +-
 drivers/gpio/sandbox.c       |  3 ++-
 drivers/gpio/sunxi_gpio.c    |  2 +-
 drivers/gpio/tegra186_gpio.c |  2 +-
 drivers/gpio/tegra_gpio.c    |  2 +-
 include/asm-generic/gpio.h   |  6 ++++--
 8 files changed, 41 insertions(+), 29 deletions(-)

Applied to u-boot-dm


More information about the U-Boot mailing list