[PATCH 0/4] gpio-hog fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

in 2017 Andrey ported the linux gpio-hog functionality to barebox. So we
can set simple power-on/reset gpios from DT without specifying them in
the board file.

First this series do some fixes in the gpio-hog implementation. Then we
have to reorder the initcall sequence to make use of the above descrbied
feature. Since now the gpio devices depending on the pinctrl devices, so
we have to probe the pinctrl first.

I've tested it on a iMX6 based board, other testers are welcome.

Regrads,
Marco

Marco Felsch (4):
  gpiolib: fix of_gpio_hog error handling
  gpiolib: fix of_hog_gpio gpio label assignment
  gpio: tree-wide don't probe devices during core_initcall
  pinctrl: tree-wide probe devices during core_initcall

 drivers/gpio/gpio-dw.c               |  2 +-
 drivers/gpio/gpio-imx.c              |  2 +-
 drivers/gpio/gpio-mxs.c              |  2 +-
 drivers/gpio/gpio-vf610.c            |  2 +-
 drivers/gpio/gpiolib.c               | 13 ++++++++-----
 drivers/pinctrl/imx-iomux-v1.c       |  2 +-
 drivers/pinctrl/imx-iomux-v2.c       |  2 +-
 drivers/pinctrl/imx-iomux-v3.c       |  2 +-
 drivers/pinctrl/mvebu/armada-370.c   |  2 +-
 drivers/pinctrl/mvebu/armada-xp.c    |  2 +-
 drivers/pinctrl/mvebu/dove.c         |  2 +-
 drivers/pinctrl/mvebu/kirkwood.c     |  2 +-
 drivers/pinctrl/pinctrl-at91.c       |  4 ++--
 drivers/pinctrl/pinctrl-mxs.c        |  2 +-
 drivers/pinctrl/pinctrl-single.c     |  2 +-
 drivers/pinctrl/pinctrl-tegra-xusb.c |  2 +-
 drivers/pinctrl/pinctrl-tegra20.c    |  2 +-
 drivers/pinctrl/pinctrl-tegra30.c    |  2 +-
 drivers/pinctrl/pinctrl-vf610.c      |  2 +-
 19 files changed, 27 insertions(+), 24 deletions(-)

-- 
2.19.0


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux