Re: [U-Boot] [PATCH 05/21] dm: gpio: Add a native driver model API

2015-01-14 Thread Simon Glass
On 5 January 2015 at 20:05, Simon Glass wrote: > So far driver model's GPIO uclass just implements the existing GPIO API. > This has some limitations: > > - it requires manual device tree munging to support GPIOs in device tree > (fdtdec_get_gpio() and friends) > - it does not understand polar

[U-Boot] [PATCH 05/21] dm: gpio: Add a native driver model API

2015-01-05 Thread Simon Glass
So far driver model's GPIO uclass just implements the existing GPIO API. This has some limitations: - it requires manual device tree munging to support GPIOs in device tree (fdtdec_get_gpio() and friends) - it does not understand polarity - it is somewhat slower since we must scan for the GPIO