Re: [RFC 2/2] ARM:boot:device tree: Merge specific atags into the device tree

2011-02-03 Thread Grant Likely
On Feb 3, 2011 9:44 PM, "Nicolas Pitre" wrote: > > On Wed, 26 Jan 2011, John Bonesio wrote: > > > This patch is to merge in key atags into the appended device tree. An appended > > device tree is where the zImage has a dtb binary appended at the end of it. The > > boot code looks for an appended

Re: [RFC 2/2] ARM:boot:device tree: Merge specific atags into the device tree

2011-02-03 Thread Nicolas Pitre
On Wed, 26 Jan 2011, John Bonesio wrote: > This patch is to merge in key atags into the appended device tree. An > appended > device tree is where the zImage has a dtb binary appended at the end of it. > The > boot code looks for an appended device tree, then looks for a few key atags > passed

Re: [RFC 1/2] ARM:boot:device tree: Allow the device tree binary to be appended to zImage

2011-02-03 Thread Nicolas Pitre
On Wed, 26 Jan 2011, John Bonesio wrote: > This patch provides the ability to boot using a device tree that is appended > to the raw binary zImage (e.g. cat zImage .dtb > zImage_w_dtb). > > Constraints: > 1) A maximum 16k device tree binary is copied to memory at 0x0. If the device >tree is b

Re: [PATCH v2 1/3] powerpc: Removing support for 'protected-sources'

2011-02-03 Thread Meador Inge
On 02/03/2011 09:56 AM, Arnd Bergmann wrote: On Thursday 03 February 2011, Meador Inge wrote: In a recent discussion [1, 2] concerning device trees for AMP systems, the question of whether we really need 'protected-sources' arose. The general consensus was that if you don't want a source to be

Re: [PATCH v2] altera_ps2: Add devicetree support

2011-02-03 Thread Walter Goossens
On 2/3/11 11:53 PM, Mitch Bradley wrote: On 2/3/2011 12:27 PM, Walter Goossens wrote: On 2/2/11 4:39 PM, Grant Likely wrote: On Wed, Feb 02, 2011 at 07:48:58PM +0800, Thomas Chou wrote: On 02/02/2011 12:31 PM, Grant Likely wrote: +static const struct of_device_id altera_ps2_match[] = { + { .c

Re: [PATCH v2] altera_ps2: Add devicetree support

2011-02-03 Thread Mitch Bradley
On 2/3/2011 12:27 PM, Walter Goossens wrote: On 2/2/11 4:39 PM, Grant Likely wrote: On Wed, Feb 02, 2011 at 07:48:58PM +0800, Thomas Chou wrote: On 02/02/2011 12:31 PM, Grant Likely wrote: +static const struct of_device_id altera_ps2_match[] = { + { .compatible = "altr,ps2-1.0", }, I thought

Re: [PATCH v2] altera_ps2: Add devicetree support

2011-02-03 Thread Walter Goossens
On 2/2/11 4:39 PM, Grant Likely wrote: On Wed, Feb 02, 2011 at 07:48:58PM +0800, Thomas Chou wrote: On 02/02/2011 12:31 PM, Grant Likely wrote: +static const struct of_device_id altera_ps2_match[] = { + { .compatible = "altr,ps2-1.0", }, I thought I had seen 'altera' instead of an abbrev

Re: [PATCH TIP 03/14] x86/dtb: Add a device tree for CE4100

2011-02-03 Thread Mitch Bradley
On 2/3/2011 10:59 AM, Grant Likely wrote: On Thu, Jan 27, 2011 at 02:41:47PM +0530, Sebastian Andrzej Siewior wrote: * David Gibson | 2011-01-27 15:00:27 [+1000]: + >; + + i2c-controller@15a00,0,0 { Uh.. that unit address doe

Re: [PATCH TIP v2 03/14] x86/dtb: Add a device tree for CE4100

2011-02-03 Thread Grant Likely
On Thu, Feb 03, 2011 at 12:28:41AM +0530, Sebastian Andrzej Siewior wrote: > Cc: devicetree-discuss@lists.ozlabs.org > Signed-off-by: Sebastian Andrzej Siewior > Signed-off-by: Dirk Brandewie > --- > - intel,ce4100-immr become intel,ce4100-cp. cp stands for core > peripherals. The Atom data she

Re: [PATCH TIP 03/14] x86/dtb: Add a device tree for CE4100

2011-02-03 Thread Grant Likely
On Thu, Jan 27, 2011 at 02:41:47PM +0530, Sebastian Andrzej Siewior wrote: > * David Gibson | 2011-01-27 15:00:27 [+1000]: > >> + >; > >> + > >> + i2c-controller@15a00,0,0 { > > > >Uh.. that unit address does not look right. The encoding of

Re: [PATCH TIP 01/14] x86/e820: remove conditional early mapping in parse_e820_ext

2011-02-03 Thread Grant Likely
On Mon, Jan 24, 2011 at 09:58:49AM +0530, Sebastian Andrzej Siewior wrote: > This patch ensures that the memory passed from parse_setup_data() is > large enough to cover the complete data structure. That means that the > conditional mapping in parse_e820_ext() can go. > > While here, I also attemp

Re: [PATCH] i2c-gpio: add devicetree support

2011-02-03 Thread Grant Likely
On Thu, Feb 03, 2011 at 10:26:20AM +0800, Thomas Chou wrote: > This patch adds devicetree support to i2c-gpio driver. It converts > dts bindings and allocates a struct i2c_gpio_platform_data, which > will be freed on driver removal. > > Signed-off-by: Albert Herranz > Signed-off-by: Thomas Chou

Re: [PATCH v6] spi: New driver for Altera SPI

2011-02-03 Thread Grant Likely
On Thu, Feb 03, 2011 at 06:02:06PM +0800, Thomas Chou wrote: > This patch adds a new SPI driver to support the Altera SOPC Builder > SPI component. It uses the bitbanging library. > > Signed-off-by: Thomas Chou > --- > v2 add devicetree support > v3 remove platform header, as Grant suggested. >

RE: [PATCH v2 2/3] powerpc: document the Open PIC device tree binding

2011-02-03 Thread Yoder Stuart-B08248
> > +  - no-reset > > +      Usage: optional > > +      Value type: > > +      Definition: The presence of this property indicates that the > > + PIC > > +          should not be reset during runtime initialization.  The > > + presence of > > +          this property also mandates that any initia

Re: [PATCH v2] gpio: add new Altera PIO driver

2011-02-03 Thread Grant Likely
On Thu, Feb 03, 2011 at 03:56:57PM +0800, Thomas Chou wrote: > This driver supports the Altera PIO core. > > Signed-off-by: Thomas Chou > --- > v2 change compatible vendor to uppercase, ALTR. >add dts binding doc. > > .../devicetree/bindings/gpio/altera_gpio.txt |7 + > drivers/gp

Re: [PATCH v2 2/3] powerpc: document the Open PIC device tree binding

2011-02-03 Thread Grant Likely
On Thu, Feb 3, 2011 at 9:29 AM, Meador Inge wrote: > On 02/03/2011 09:56 AM, Grant Likely wrote: >> >> On Wed, Feb 2, 2011 at 6:51 PM, Meador Inge >>  wrote: >>> >>> This binding documents several properties that have been in use for quite >>> some time, and adds one new property 'no-reset', which

Re: [PATCH v2 2/3] powerpc: document the Open PIC device tree binding

2011-02-03 Thread Meador Inge
On 02/03/2011 09:56 AM, Grant Likely wrote: On Wed, Feb 2, 2011 at 6:51 PM, Meador Inge wrote: This binding documents several properties that have been in use for quite some time, and adds one new property 'no-reset', which controls whether the Open PIC should be reset during runtime initializa

Re: [PATCH v2 1/3] powerpc: Removing support for 'protected-sources'

2011-02-03 Thread Arnd Bergmann
On Thursday 03 February 2011, Meador Inge wrote: > In a recent discussion [1, 2] concerning device trees for AMP systems, the > question of whether we really need 'protected-sources' arose. The general > consensus was that if you don't want a source to be used, then it should *not* > be mentioned

Re: [PATCH v2 2/3] powerpc: document the Open PIC device tree binding

2011-02-03 Thread Grant Likely
On Wed, Feb 2, 2011 at 6:51 PM, Meador Inge wrote: > This binding documents several properties that have been in use for quite > some time, and adds one new property 'no-reset', which controls whether the > Open PIC should be reset during runtime initialization. > > The general formatting and inte

Re: [PATCH v2 0/3] powerpc: Open PIC binding and 'no-reset' implementation

2011-02-03 Thread Kumar Gala
On Feb 2, 2011, at 7:51 PM, Meador Inge wrote: > This patch set provides a binding for Open PIC and implements support for > a new property, specified by that binding, called 'no-reset'. With 'no-reset' > in place the 'protected-sources' property is no longer needed and was removed. > > Signed-

Re: [PATCH v4] spi: add OpenCores tiny SPI driver

2011-02-03 Thread Dirk Brandewie
On 02/03/2011 02:37 AM, Thomas Chou wrote: This patch adds support of OpenCores tiny SPI driver. http://opencores.org/project,tiny_spi +static int tiny_spi_txrx_bufs(struct spi_device *spi, struct spi_transfer *t) +{ + struct tiny_spi *hw = tiny_spi_to_hw(spi); + const u8 *txp =

Re: [PATCH v4] spi: add OpenCores tiny SPI driver

2011-02-03 Thread Wolfram Sang
On Thu, Feb 03, 2011 at 06:37:46PM +0800, Thomas Chou wrote: > This patch adds support of OpenCores tiny SPI driver. A few comments to probe(). > + /* find and map our resources */ > + res = platform_get_resource(pdev, IORESOURCE_MEM, 0); > + if (res == NULL) { > + dev_er

[PATCH v4] spi: add OpenCores tiny SPI driver

2011-02-03 Thread Thomas Chou
This patch adds support of OpenCores tiny SPI driver. http://opencores.org/project,tiny_spi Signed-off-by: Thomas Chou --- v2 minor cleanup, same as Grant suggest for spi_altera. v3 rename driver to spi_oc_tiny as Grant suggested. set version to tiny-spi-rtlsvn2 as Jonas suggested. v4 add dts

[PATCH v6] spi: New driver for Altera SPI

2011-02-03 Thread Thomas Chou
This patch adds a new SPI driver to support the Altera SOPC Builder SPI component. It uses the bitbanging library. Signed-off-by: Thomas Chou --- v2 add devicetree support v3 remove platform header, as Grant suggested. no irq resource means polling. v4 minor cleanup, as Grant suggested. v5 add