mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2 0/6] Introduce deferred probing
@ 2015-04-14 22:53 Sebastian Hesselbarth
  2015-04-14 22:53 ` [PATCH v2 1/6] base: " Sebastian Hesselbarth
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Sebastian Hesselbarth @ 2015-04-14 22:53 UTC (permalink / raw)
  To: Sebastian Hesselbarth; +Cc: barebox

This is round two of the introduction of deferred probing by moving
drivers that request probe deferral to an extra device list that will
be re-probed later.

Compared to v1 there are the following changes:
- Loop over deferred device list until none succeeds
  (Suggested by Sascha Hauer)
- (Now) properly deal with deferred probing in led-gpio
- Free GPIOs claimed by leds on foo_led_unregister()
- Convert Orion GPIO to real platform driver
Each patch also contains an individual changelog.

It would be great to give this patch series a little more coverage.
Also, several other subsystems could use some support -EPROBE_DEFER
but IMHO we should wait for someone to actually force probe deferral
there.

Sebastian Hesselbarth (6):
  base: Introduce deferred probing
  gpio: Return -EPROBE_DEFER on gpio_get_num()
  OF: gpio: Silence error message on -EPROBE_DEFER
  led: gpio: Properly deal with deferred probing
  led: gpio: Free GPIOs on unregister()
  gpio: orion: Convert to platform_driver

 drivers/base/driver.c       | 56 ++++++++++++++++++++++++++++++++++++++++++---
 drivers/gpio/gpio-orion.c   |  7 +-----
 drivers/gpio/gpiolib.c      |  5 +++-
 drivers/led/led-gpio.c      | 36 +++++++++++++++++++++++++----
 drivers/of/of_gpio.c        |  8 ++++---
 include/asm-generic/errno.h |  1 +
 6 files changed, 96 insertions(+), 17 deletions(-)

---
Cc: barebox@lists.infradead.org
-- 
2.1.0


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

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

end of thread, other threads:[~2015-04-17  5:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-14 22:53 [PATCH v2 0/6] Introduce deferred probing Sebastian Hesselbarth
2015-04-14 22:53 ` [PATCH v2 1/6] base: " Sebastian Hesselbarth
2015-04-14 22:53 ` [PATCH v2 2/6] gpio: Return -EPROBE_DEFER on gpio_get_num() Sebastian Hesselbarth
2015-04-14 22:53 ` [PATCH v2 3/6] OF: gpio: Silence error message on -EPROBE_DEFER Sebastian Hesselbarth
2015-04-14 22:53 ` [PATCH v2 4/6] led: gpio: Properly deal with deferred probing Sebastian Hesselbarth
2015-04-14 22:53 ` [PATCH v2 5/6] led: gpio: Free GPIOs on unregister() Sebastian Hesselbarth
2015-04-14 22:53 ` [PATCH v2 6/6] gpio: orion: Convert to platform_driver Sebastian Hesselbarth
2015-04-17  5:24 ` [PATCH v2 0/6] Introduce deferred probing Sascha Hauer

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