Re: [U-Boot] [PATCH v2 04/17] fdt: Add basic support for decoding GPIO definitions

2011-12-06 Thread Simon Glass
Hi Mike, On Mon, Dec 5, 2011 at 7:55 PM, Mike Frysinger wrote: > On Monday 05 December 2011 17:52:01 Simon Glass wrote: >> On Mon, Dec 5, 2011 at 2:22 PM, Stephen Warren wrote: >> > On 12/05/2011 02:56 PM, Simon Glass wrote: >> > * A system-wide GPIO ID, in which case the numbering is "virtual" (

Re: [U-Boot] [PATCH v2 04/17] fdt: Add basic support for decoding GPIO definitions

2011-12-05 Thread Mike Frysinger
On Monday 05 December 2011 17:52:01 Simon Glass wrote: > On Mon, Dec 5, 2011 at 2:22 PM, Stephen Warren wrote: > > On 12/05/2011 02:56 PM, Simon Glass wrote: > > * A system-wide GPIO ID, in which case the numbering is "virtual" (e.g. > > a concatenation of the GPIOs on all the present controllers),

Re: [U-Boot] [PATCH v2 04/17] fdt: Add basic support for decoding GPIO definitions

2011-12-05 Thread Simon Glass
Hi Stephen, On Mon, Dec 5, 2011 at 3:03 PM, Stephen Warren wrote: > On 12/05/2011 03:52 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Mon, Dec 5, 2011 at 2:22 PM, Stephen Warren wrote: >>> On 12/05/2011 02:56 PM, Simon Glass wrote: Hi Stephen, On Mon, Dec 5, 2011 at 1:46 PM, Step

Re: [U-Boot] [PATCH v2 04/17] fdt: Add basic support for decoding GPIO definitions

2011-12-05 Thread Stephen Warren
On 12/05/2011 03:52 PM, Simon Glass wrote: > Hi Stephen, > > On Mon, Dec 5, 2011 at 2:22 PM, Stephen Warren wrote: >> On 12/05/2011 02:56 PM, Simon Glass wrote: >>> Hi Stephen, >>> >>> On Mon, Dec 5, 2011 at 1:46 PM, Stephen Warren wrote: On 12/02/2011 07:11 PM, Simon Glass wrote: > Thi

Re: [U-Boot] [PATCH v2 04/17] fdt: Add basic support for decoding GPIO definitions

2011-12-05 Thread Simon Glass
Hi Stephen, On Mon, Dec 5, 2011 at 2:22 PM, Stephen Warren wrote: > On 12/05/2011 02:56 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Mon, Dec 5, 2011 at 1:46 PM, Stephen Warren wrote: >>> On 12/02/2011 07:11 PM, Simon Glass wrote: This adds some support into fdtdec for reading GPIO defini

Re: [U-Boot] [PATCH v2 04/17] fdt: Add basic support for decoding GPIO definitions

2011-12-05 Thread Stephen Warren
On 12/05/2011 02:56 PM, Simon Glass wrote: > Hi Stephen, > > On Mon, Dec 5, 2011 at 1:46 PM, Stephen Warren wrote: >> On 12/02/2011 07:11 PM, Simon Glass wrote: >>> This adds some support into fdtdec for reading GPIO definitions from >>> the fdt. We permit up to FDT_GPIO_MAX GPIOs in the system.

Re: [U-Boot] [PATCH v2 04/17] fdt: Add basic support for decoding GPIO definitions

2011-12-05 Thread Simon Glass
Hi Stephen, On Mon, Dec 5, 2011 at 1:46 PM, Stephen Warren wrote: > On 12/02/2011 07:11 PM, Simon Glass wrote: >> This adds some support into fdtdec for reading GPIO definitions from >> the fdt. We permit up to FDT_GPIO_MAX GPIOs in the system. Each GPIO >> is of the form: >> >> gpio-function-nam

Re: [U-Boot] [PATCH v2 04/17] fdt: Add basic support for decoding GPIO definitions

2011-12-05 Thread Stephen Warren
On 12/02/2011 07:11 PM, Simon Glass wrote: > This adds some support into fdtdec for reading GPIO definitions from > the fdt. We permit up to FDT_GPIO_MAX GPIOs in the system. Each GPIO > is of the form: > > gpio-function-name = ; > > where: > > phandle is a pointer to the GPIO node > gpio_num is

[U-Boot] [PATCH v2 04/17] fdt: Add basic support for decoding GPIO definitions

2011-12-02 Thread Simon Glass
This adds some support into fdtdec for reading GPIO definitions from the fdt. We permit up to FDT_GPIO_MAX GPIOs in the system. Each GPIO is of the form: gpio-function-name = ; where: phandle is a pointer to the GPIO node gpio_num is the number of the GPIO (0 to 223) flags is some flags, propose