mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/4] gpio-hog fixes
@ 2018-10-18 10:43 Marco Felsch
  2018-10-18 10:43 ` [PATCH 1/4] gpiolib: fix of_gpio_hog error handling Marco Felsch
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Marco Felsch @ 2018-10-18 10:43 UTC (permalink / raw)
  To: barebox

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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-10-19 12:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-18 10:43 [PATCH 0/4] gpio-hog fixes Marco Felsch
2018-10-18 10:43 ` [PATCH 1/4] gpiolib: fix of_gpio_hog error handling Marco Felsch
2018-10-18 10:43 ` [PATCH 2/4] gpiolib: fix of_hog_gpio gpio label assignment Marco Felsch
2018-10-18 10:43 ` [PATCH 3/4] gpio: tree-wide don't probe devices during core_initcall Marco Felsch
2018-10-18 10:43 ` [PATCH 4/4] pinctrl: tree-wide " Marco Felsch
2018-10-19 12:19 ` [PATCH 0/4] gpio-hog fixes Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox