Re: [U-Boot] [PATCH 4/6] sunxi: GPIO: introduce sunxi_gpio_setup_dt_pins()

2017-07-14 Thread Simon Glass
+Tom On 7 July 2017 at 04:30, Andre Przywara wrote: > Hi Simon, > > On 07/07/17 04:58, Simon Glass wrote: >> Hi Andre, >> >> On 2 July 2017 at 18:59, Andre Przywara wrote: >>> Instead of hard-coding GPIO pins used for a certain peripheral, we >>>

Re: [U-Boot] [PATCH 4/6] sunxi: GPIO: introduce sunxi_gpio_setup_dt_pins()

2017-07-07 Thread Andre Przywara
Hi Simon, On 07/07/17 04:58, Simon Glass wrote: > Hi Andre, > > On 2 July 2017 at 18:59, Andre Przywara wrote: >> Instead of hard-coding GPIO pins used for a certain peripheral, we >> should just use the pinctrl information from the DT. >> The sun8i-emac driver has some

Re: [U-Boot] [PATCH 4/6] sunxi: GPIO: introduce sunxi_gpio_setup_dt_pins()

2017-07-06 Thread Simon Glass
Hi Andre, On 2 July 2017 at 18:59, Andre Przywara wrote: > Instead of hard-coding GPIO pins used for a certain peripheral, we > should just use the pinctrl information from the DT. > The sun8i-emac driver has some simple implementation of that, so > let's just generalize

[U-Boot] [PATCH 4/6] sunxi: GPIO: introduce sunxi_gpio_setup_dt_pins()

2017-07-02 Thread Andre Przywara
Instead of hard-coding GPIO pins used for a certain peripheral, we should just use the pinctrl information from the DT. The sun8i-emac driver has some simple implementation of that, so let's just generalize this and copy the code to a more common location. On the way we add support for the new,