Re: [U-Boot] [PATCH 3/4] x86: gpio: add pinctrl support from the device tree

2015-04-24 Thread Gabriel Huau
On 04/23/2015 08:14 PM, Bin Meng wrote: Hi Gabriel, On Fri, Apr 24, 2015 at 12:16 AM, Gabriel Huau wrote: A set of properties has been defined for the device tree to select for each pin the pull/func/default output configuration. The offset for the PAD needs to be provided and if a GPIO needs

Re: [U-Boot] [PATCH 3/4] x86: gpio: add pinctrl support from the device tree

2015-04-24 Thread Gabriel Huau
Hi Simon, On 04/23/2015 08:35 PM, Simon Glass wrote: Hi, On 23 April 2015 at 10:16, Gabriel Huau wrote: A set of properties has been defined for the device tree to select for each pin the pull/func/default output configuration. The offset for the PAD needs to be provided and if a GPIO needs

Re: [U-Boot] [PATCH 3/4] x86: gpio: add pinctrl support from the device tree

2015-04-24 Thread Simon Glass
Hi, On 23 April 2015 at 10:16, Gabriel Huau wrote: > A set of properties has been defined for the device tree to select for > each pin the pull/func/default output configuration. > > The offset for the PAD needs to be provided and if a GPIO needs to be > configured, his offset needs to be provide

Re: [U-Boot] [PATCH 3/4] x86: gpio: add pinctrl support from the device tree

2015-04-24 Thread Bin Meng
Hi Gabriel, On Fri, Apr 24, 2015 at 12:16 AM, Gabriel Huau wrote: > A set of properties has been defined for the device tree to select for > each pin the pull/func/default output configuration. > > The offset for the PAD needs to be provided and if a GPIO needs to be > configured, his offset need

[U-Boot] [PATCH 3/4] x86: gpio: add pinctrl support from the device tree

2015-04-23 Thread Gabriel Huau
A set of properties has been defined for the device tree to select for each pin the pull/func/default output configuration. The offset for the PAD needs to be provided and if a GPIO needs to be configured, his offset needs to be provided as well. Here is an example: pin_usb_host_en0@0 { gpio-