[PATCH 0/3] gpiolib: introduce gpio initializer

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Tue Sep 26 14:26:43 PDT 2017


Hello,

the target of this series is to allow gpios to be initialized but
without the side effect that the gpios are unusable then (as is the case
with gpio-hogs).

This can for example be used to prevent debug pins from floating when
unused or keep a chip in reset until a matching driver is available.

I already tried to fix the binding, no feedback so far.
See http://patchwork.ozlabs.org/patch/817695/ .

Best regards
Uwe

Uwe Kleine-König (3):
  gpiolib: reorder functions
  gpiolib: introduce helper functions working on gpio_info structs
  gpiolib: introduce gpio initializer

 drivers/gpio/gpiolib.c | 272 +++++++++++++++++++++++++++++++------------------
 1 file changed, 173 insertions(+), 99 deletions(-)

-- 
2.11.0




More information about the barebox mailing list