Re: [U-Boot] [PATCH 07/21] dm: gpio: Add better functions to request GPIOs

2015-01-14 Thread Simon Glass
On 5 January 2015 at 20:05, Simon Glass wrote: > At present U-Boot sort-of supports the standard way of reading GPIOs from > device tree nodes, but the support is incomplete, a bit clunky and only > works for GPIO bindings where #gpio-cells is 2. > > Add new functions to request GPIOs, taking full

[U-Boot] [PATCH 07/21] dm: gpio: Add better functions to request GPIOs

2015-01-05 Thread Simon Glass
At present U-Boot sort-of supports the standard way of reading GPIOs from device tree nodes, but the support is incomplete, a bit clunky and only works for GPIO bindings where #gpio-cells is 2. Add new functions to request GPIOs, taking full account of the device tree binding. These permit request