[U-Boot] [PATCH 19/55] dm: gpio: Add support for setting a GPIO's pull direction

2015-07-02 Thread Simon Glass
At present the driver model GPIO API does not support pull-up/pull-down on input GPIOs. This is required in some cases. Add this feature to the API with two new methods that drivers can optionally implement. Signed-off-by: Simon Glass --- drivers/gpio/gpio-uclass.c | 31 +++

Re: [U-Boot] [PATCH 19/55] dm: gpio: Add support for setting a GPIO's pull direction

2015-07-04 Thread Masahiro Yamada
Hi Simon, 2015-07-03 9:15 GMT+09:00 Simon Glass : > At present the driver model GPIO API does not support pull-up/pull-down on > input GPIOs. This is required in some cases. > > Add this feature to the API with two new methods that drivers can optionally > implement. > > Signed-off-by: Simon Glas

Re: [U-Boot] [PATCH 19/55] dm: gpio: Add support for setting a GPIO's pull direction

2015-07-06 Thread Simon Glass
Hi Masahiro, On 4 July 2015 at 22:55, Masahiro Yamada wrote: > Hi Simon, > > > 2015-07-03 9:15 GMT+09:00 Simon Glass : >> At present the driver model GPIO API does not support pull-up/pull-down on >> input GPIOs. This is required in some cases. >> >> Add this feature to the API with two new metho

Re: [U-Boot] [PATCH 19/55] dm: gpio: Add support for setting a GPIO's pull direction

2015-07-06 Thread Masahiro Yamada
Hi Simon, 2015-07-07 1:39 GMT+09:00 Simon Glass : > Hi Masahiro, > > On 4 July 2015 at 22:55, Masahiro Yamada > wrote: >> Hi Simon, >> >> >> 2015-07-03 9:15 GMT+09:00 Simon Glass : >>> At present the driver model GPIO API does not support pull-up/pull-down on >>> input GPIOs. This is required

Re: [U-Boot] [PATCH 19/55] dm: gpio: Add support for setting a GPIO's pull direction

2015-07-06 Thread Simon Glass
Hi Masahiro, On 6 July 2015 at 11:20, Masahiro Yamada wrote: > Hi Simon, > > > > 2015-07-07 1:39 GMT+09:00 Simon Glass : >> Hi Masahiro, >> >> On 4 July 2015 at 22:55, Masahiro Yamada >> wrote: >>> Hi Simon, >>> >>> >>> 2015-07-03 9:15 GMT+09:00 Simon Glass : At present the driver model GP