Re: [U-Boot] [PATCH 06/21] dm: gpio: Add a driver GPIO translation method

2015-01-14 Thread Simon Glass
On 5 January 2015 at 20:05, Simon Glass wrote: > Only the GPIO driver knows about the full GPIO device tree binding used by > a device. Add a method to allow the driver to provide this information to the > uclass, including the GPIO offset within the device and flags such as the > polarity. > > Si

[U-Boot] [PATCH 06/21] dm: gpio: Add a driver GPIO translation method

2015-01-05 Thread Simon Glass
Only the GPIO driver knows about the full GPIO device tree binding used by a device. Add a method to allow the driver to provide this information to the uclass, including the GPIO offset within the device and flags such as the polarity. Signed-off-by: Simon Glass --- drivers/gpio/gpio-uclass.c