Re: [U-Boot] [PATCH v4 03/20] fdt: Add basic support for decoding GPIO definitions

2012-01-24 Thread Simon Glass
Hi Stephen, On Tue, Jan 24, 2012 at 3:14 PM, Stephen Warren wrote: > Simon Glass wrote at Tuesday, January 24, 2012 4:12 PM: >> On Mon, Jan 23, 2012 at 10:18 AM, Stephen Warren wrote: >> > On 01/21/2012 10:08 AM, Simon Glass wrote: >> >> Hi Stephen, >> >> >> >> On Wed, Jan 18, 2012 at 2:17 PM, S

Re: [U-Boot] [PATCH v4 03/20] fdt: Add basic support for decoding GPIO definitions

2012-01-24 Thread Stephen Warren
Simon Glass wrote at Tuesday, January 24, 2012 4:12 PM: > On Mon, Jan 23, 2012 at 10:18 AM, Stephen Warren wrote: > > On 01/21/2012 10:08 AM, Simon Glass wrote: > >> Hi Stephen, > >> > >> On Wed, Jan 18, 2012 at 2:17 PM, Stephen Warren wrote: > >>> On 01/11/2012 09:32 PM, Simon Glass wrote: > >>>

Re: [U-Boot] [PATCH v4 03/20] fdt: Add basic support for decoding GPIO definitions

2012-01-24 Thread Simon Glass
Hi Stephen, On Mon, Jan 23, 2012 at 10:18 AM, Stephen Warren wrote: > On 01/21/2012 10:08 AM, Simon Glass wrote: >> Hi Stephen, >> >> On Wed, Jan 18, 2012 at 2:17 PM, Stephen Warren wrote: >>> On 01/11/2012 09:32 PM, Simon Glass wrote: This adds some support into fdtdec for reading GPIO def

Re: [U-Boot] [PATCH v4 03/20] fdt: Add basic support for decoding GPIO definitions

2012-01-23 Thread Stephen Warren
On 01/21/2012 10:08 AM, Simon Glass wrote: > Hi Stephen, > > On Wed, Jan 18, 2012 at 2:17 PM, Stephen Warren wrote: >> On 01/11/2012 09:32 PM, Simon Glass wrote: >>> This adds some support into fdtdec for reading GPIO definitions from >>> the fdt. ... ... >>> diff --git a/include/fdtdec.h b/inclu

Re: [U-Boot] [PATCH v4 03/20] fdt: Add basic support for decoding GPIO definitions

2012-01-21 Thread Simon Glass
Hi Stephen, On Wed, Jan 18, 2012 at 2:17 PM, Stephen Warren wrote: > On 01/11/2012 09:32 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-na

Re: [U-Boot] [PATCH v4 03/20] fdt: Add basic support for decoding GPIO definitions

2012-01-18 Thread Stephen Warren
On 01/11/2012 09:32 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 = ; That's not true in general. The binding definition for the GPIO co

[U-Boot] [PATCH v4 03/20] fdt: Add basic support for decoding GPIO definitions

2012-01-11 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 a flag, as follows: