Re: [PATCH] irqdomain: Initialize number of IRQs for simple domains

2012-01-06 Thread Shawn Guo
Hi Thierry, On Fri, Jan 06, 2012 at 03:28:25PM +0100, Thierry Reding wrote: > The irq_domain_add() function needs the number of interrupts in the > domain to properly initialize them. In addition the allocated domain > is now returned by the irq_domain_{add,generate}_simple() helpers. > > Signed-

Re: [PATCH v2] of: Change logic to overwrite cmd_line with CONFIG_CMDLINE

2012-01-06 Thread Doug Anderson
I know this is a long-dead thread, but I was a little curious about the motivation here. I'm looking at trying to support CONFIG_CMDLINE_EXTEND (an ARM Kconfig) in this function and don't know in which cases I should look at the CONFIG_CMDLINE and in which cases I should use whatever happened to b

Re: Device tree bindings for linux ramoops use

2012-01-06 Thread Mitch Bradley
On 1/6/2012 12:55 PM, Olof Johansson wrote: On Fri, Jan 6, 2012 at 2:38 PM, Rob Herring wrote: On 01/06/2012 04:05 PM, Grant Likely wrote: On Fri, Jan 06, 2012 at 05:53:57PM +, Jamie Iles wrote: On Fri, Jan 06, 2012 at 09:47:22AM -0800, Olof Johansson wrote: On Fri, Jan 6, 2012 at 8:58

Re: Device tree bindings for linux ramoops use

2012-01-06 Thread Olof Johansson
On Fri, Jan 6, 2012 at 2:38 PM, Rob Herring wrote: > > > On 01/06/2012 04:05 PM, Grant Likely wrote: >> On Fri, Jan 06, 2012 at 05:53:57PM +, Jamie Iles wrote: >>> On Fri, Jan 06, 2012 at 09:47:22AM -0800, Olof Johansson wrote: On Fri, Jan 6, 2012 at 8:58 AM, Jamie Iles wrote: > On F

Re: Device tree bindings for linux ramoops use

2012-01-06 Thread Rob Herring
On 01/06/2012 04:05 PM, Grant Likely wrote: > On Fri, Jan 06, 2012 at 05:53:57PM +, Jamie Iles wrote: >> On Fri, Jan 06, 2012 at 09:47:22AM -0800, Olof Johansson wrote: >>> On Fri, Jan 6, 2012 at 8:58 AM, Jamie Iles wrote: On Fri, Jan 06, 2012 at 08:28:51AM -0800, Olof Johansson wrote:

Re: Device tree bindings for linux ramoops use

2012-01-06 Thread Grant Likely
On Fri, Jan 6, 2012 at 3:24 PM, Mitch Bradley wrote: > On 1/6/2012 12:09 PM, Grant Likely wrote: >> >> On Thu, Jan 05, 2012 at 08:39:50PM -0800, Olof Johansson wrote: >>> >>> Hi, >>> >>> I'm considering how to best describe the data that ramoops needs in >>> the device tree. >>> >>> The idea is re

Re: Device tree bindings for linux ramoops use

2012-01-06 Thread Mitch Bradley
On 1/6/2012 12:09 PM, Grant Likely wrote: On Thu, Jan 05, 2012 at 08:39:50PM -0800, Olof Johansson wrote: Hi, I'm considering how to best describe the data that ramoops needs in the device tree. The idea is really about describing a memory area that is (likely to be) nonvolatile across reboots

Re: Device tree bindings for linux ramoops use

2012-01-06 Thread Grant Likely
On Thu, Jan 05, 2012 at 08:39:50PM -0800, Olof Johansson wrote: > Hi, > > I'm considering how to best describe the data that ramoops needs in > the device tree. > > The idea is really about describing a memory area that is (likely to > be) nonvolatile across reboots. Said area is not to be includ

Re: Device tree bindings for linux ramoops use

2012-01-06 Thread Grant Likely
On Fri, Jan 06, 2012 at 05:53:57PM +, Jamie Iles wrote: > On Fri, Jan 06, 2012 at 09:47:22AM -0800, Olof Johansson wrote: > > On Fri, Jan 6, 2012 at 8:58 AM, Jamie Iles wrote: > > > On Fri, Jan 06, 2012 at 08:28:51AM -0800, Olof Johansson wrote: > > >> On Thu, Jan 5, 2012 at 11:22 PM, Mitch Br

Re: [PATCH] irqdomain: Initialize number of IRQs for simple domains

2012-01-06 Thread Grant Likely
On Fri, Jan 06, 2012 at 05:20:16PM +0100, Thierry Reding wrote: > * Grant Likely wrote: > > Hi Thierry, > > > > On Fri, Jan 6, 2012 at 7:28 AM, Thierry Reding > > wrote: > > > The irq_domain_add() function needs the number of interrupts in the > > > domain to properly initialize them. In addition

Re: [PATCH v2 1/5] arm/dts: OMAP4: Update DTS file with new GIC bindings

2012-01-06 Thread Rob Herring
On 01/06/2012 03:15 PM, Grant Likely wrote: > On Tue, Dec 20, 2011 at 02:39:54PM +0100, Benoit Cousson wrote: >> The GIC binding was updated in 3.2 and expect 3 interrupt-cells. >> - Update the #interrupt-cells >> - interrupt-parent seems to be needed as well for the top level GIC > > Hmmm... it s

Re: [PATCH v2 5/5] ARM: OMAP2+: board-generic: Use of_irq_init API

2012-01-06 Thread Grant Likely
On Tue, Dec 20, 2011 at 02:39:58PM +0100, Benoit Cousson wrote: > Use the of_irq_init API introduced in 3.2 to handle > interrupt-controller with DT. > Update the irq_match table to map the proper XXX_of_init > functions for INTC and GIC drivers. > > Signed-off-by: Benoit Cousson > Cc: Tony Lindg

Re: [PATCH v2 4/5] arm/dts: OMAP3: Add interrupt-controller bindings for INTC

2012-01-06 Thread Grant Likely
On Tue, Dec 20, 2011 at 02:39:57PM +0100, Benoit Cousson wrote: > Update the DTS with the proper information required by the > INTC bindings. > > - Add the number of interrupt lines > - Add the reg and the compatible entries. > > Signed-off-by: Benoit Cousson > Cc: Rob Herring Acked-by: Grant

Re: [PATCH v2 3/5] ARM: OMAP2/3: intc: Add DT support for TI interrupt controller

2012-01-06 Thread Grant Likely
On Tue, Dec 20, 2011 at 02:39:56PM +0100, Benoit Cousson wrote: > Add a function to initialize the OMAP2/3 interrupt controller (INTC) > using a device tree node. > > Replace some printk() with the proper pr_ macro. > > Signed-off-by: Benoit Cousson > Cc: Tony Lindgren > Cc: Rob Herring Acked

Re: [PATCH v2 2/5] ARM: OMAP2/3: intc: Add irqdomain support

2012-01-06 Thread Grant Likely
On Tue, Dec 20, 2011 at 02:39:55PM +0100, Benoit Cousson wrote: > Introduce the usage of the irqdomain to prepare the DT support. > The irq_base is still hard coded to 0 to allow non-DT drivers > to work with the previous assumption that was hwirq = irq. > > Signed-off-by: Benoit Cousson > Cc: To

Re: [PATCH v2 1/5] arm/dts: OMAP4: Update DTS file with new GIC bindings

2012-01-06 Thread Grant Likely
On Tue, Dec 20, 2011 at 02:39:54PM +0100, Benoit Cousson wrote: > The GIC binding was updated in 3.2 and expect 3 interrupt-cells. > - Update the #interrupt-cells > - interrupt-parent seems to be needed as well for the top level GIC Hmmm... it shouldn't be. If it is then it is a bug. g. > > Si

Re: [PATCH v2 0/5] ARM: OMAP2+: Interrupt controllers adaptation to DT

2012-01-06 Thread Rob Herring
On 01/06/2012 10:38 AM, Cousson, Benoit wrote: > Hi Rob/Grant, > > Gentle ping on that series too. This should the last one:-) > Sorry about that. For the series: Acked-by: Rob Herring Rob > Thanks, > Benoit > > On 12/23/2011 10:46 AM, Cousson, Benoit wrote: >> Hi Rob, >> >> Are you OK with

Re: [PATCH] irqdomain: Initialize number of IRQs for simple domains

2012-01-06 Thread David Brown
On Fri, Jan 06, 2012 at 10:26:17AM -0600, Rob Herring wrote: > On 01/06/2012 10:07 AM, David Brown wrote: > > On Fri, Jan 06, 2012 at 03:28:25PM +0100, Thierry Reding wrote: > >> diff --git a/arch/arm/mach-msm/board-msm8x60.c > >> b/arch/arm/mach-msm/board-msm8x60.c > >> index 0a11342..a50c7e2 100

RE: [RFC PATCH v3 2/5] pinctrl: add dt binding support for pinmux mappings

2012-01-06 Thread Stephen Warren
Dong Aisheng-B29396 wrote at Friday, January 06, 2012 4:34 AM: > Stephen Warren wrote at Friday, January 06, 2012 9:06 AM: > > Dong Aisheng wrote at Thursday, January 05, 2012 6:48 AM: > > > On Sun, Dec 25, 2011 at 11:37 AM, Stephen Warren > > > wrote: > > > > Dong Aisheng-B29396 wrote at Thursda

Re: Device tree bindings for linux ramoops use

2012-01-06 Thread Jamie Iles
On Fri, Jan 06, 2012 at 09:47:22AM -0800, Olof Johansson wrote: > On Fri, Jan 6, 2012 at 8:58 AM, Jamie Iles wrote: > > On Fri, Jan 06, 2012 at 08:28:51AM -0800, Olof Johansson wrote: > >> On Thu, Jan 5, 2012 at 11:22 PM, Mitch Bradley wrote: > >> > > >> > On 1/5/2012 6:39 PM, Olof Johansson wrot

Re: Device tree bindings for linux ramoops use

2012-01-06 Thread Olof Johansson
On Fri, Jan 6, 2012 at 8:58 AM, Jamie Iles wrote: > On Fri, Jan 06, 2012 at 08:28:51AM -0800, Olof Johansson wrote: >> On Thu, Jan 5, 2012 at 11:22 PM, Mitch Bradley wrote: >> > >> > On 1/5/2012 6:39 PM, Olof Johansson wrote: >> >> >> >> Hi, >> >> >> >> I'm considering how to best describe the da

Re: [PATCH V2 1/4] i2c: tegra: Add __devinit/exit to probe/remove

2012-01-06 Thread Olof Johansson
On Fri, Jan 6, 2012 at 8:47 AM, Stephen Warren wrote: > Ben Dooks wrote at Friday, January 06, 2012 9:26 AM: >> On Tue, Dec 20, 2011 at 01:47:29PM -0800, Stephen Warren wrote: >> > Shubhrajyoti Datta wrote at Monday, December 19, 2011 11:15 PM: >> > ... >> > > Hi Stephen , >> > > could you check t

Re: [PATCH v4] ARM: at91: pit add DT support

2012-01-06 Thread Nicolas Ferre
On 01/06/2012 04:47 PM, Rob Herring : > On 01/06/2012 10:20 AM, Nicolas Ferre wrote: >> From: Jean-Christophe PLAGNIOL-VILLARD >> >> Retreive registers address and IRQ from device tree entry. Fall back >> to built-in values if an error occurs. >> >> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD

RE: [RFC PATCH v3 2/5] pinctrl: add dt binding support for pinmux mappings

2012-01-06 Thread Stephen Warren
Dong Aisheng-B29396 wrote at Friday, January 06, 2012 3:51 AM: > Stephen Warren wrote at Friday, January 06, 2012 7:38 AM: > > Dong Aisheng-B29396 wrote at Tuesday, December 27, 2011 7:41 AM: ... > > > But what about the pin maps without device associated? > > > > Indeed; that's why I'd tend toward

Re: [PATCH V2 1/4] i2c: tegra: Add __devinit/exit to probe/remove

2012-01-06 Thread Ben Dooks
On Sat, Dec 17, 2011 at 11:29:29PM -0700, Stephen Warren wrote: > This fixes some section mismatch build warnings. > > Signed-off-by: Stephen Warren > --- > v2: New patch. > > drivers/i2c/busses/i2c-tegra.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/driver

Re: [PATCH V2 1/4] i2c: tegra: Add __devinit/exit to probe/remove

2012-01-06 Thread Ben Dooks
On Tue, Dec 20, 2011 at 01:47:29PM -0800, Stephen Warren wrote: > Shubhrajyoti Datta wrote at Monday, December 19, 2011 11:15 PM: > ... > > Hi Stephen , > > could you check this one also > > thanks. > > > > From: Shubhrajyoti D > > Date: Tue, 20 Dec 2011 11:40:51 +0530 > > Subject: [PATCH] I2C :

Re: [PATCH] irqdomain: Initialize number of IRQs for simple domains

2012-01-06 Thread Cousson, Benoit
Hi Thierry, On 1/6/2012 3:28 PM, Thierry Reding wrote: The irq_domain_add() function needs the number of interrupts in the domain to properly initialize them. In addition the allocated domain is now returned by the irq_domain_{add,generate}_simple() helpers. [...] diff --git a/arch/arm/mach-

Re: Device tree bindings for linux ramoops use

2012-01-06 Thread Jamie Iles
On Fri, Jan 06, 2012 at 08:28:51AM -0800, Olof Johansson wrote: > On Thu, Jan 5, 2012 at 11:22 PM, Mitch Bradley wrote: > > > > On 1/5/2012 6:39 PM, Olof Johansson wrote: > >> > >> Hi, > >> > >> I'm considering how to best describe the data that ramoops needs in > >> the device tree. > >> > >> The

Re: Device tree bindings for linux ramoops use

2012-01-06 Thread Mitch Bradley
On 1/6/2012 6:33 AM, Olof Johansson wrote: Hi, On Fri, Jan 6, 2012 at 5:25 AM, Rob Herring wrote: On 01/05/2012 10:39 PM, Olof Johansson wrote: Hi, I'm considering how to best describe the data that ramoops needs in the device tree. The idea is really about describing a memory area that is

RE: [PATCH V2 1/4] i2c: tegra: Add __devinit/exit to probe/remove

2012-01-06 Thread Stephen Warren
Ben Dooks wrote at Friday, January 06, 2012 9:26 AM: > On Tue, Dec 20, 2011 at 01:47:29PM -0800, Stephen Warren wrote: > > Shubhrajyoti Datta wrote at Monday, December 19, 2011 11:15 PM: > > ... > > > Hi Stephen , > > > could you check this one also > > > thanks. > > > > > > From: Shubhrajyoti D >

Re: [PATCH v2 0/5] ARM: OMAP2+: Interrupt controllers adaptation to DT

2012-01-06 Thread Cousson, Benoit
Hi Rob/Grant, Gentle ping on that series too. This should the last one:-) Thanks, Benoit On 12/23/2011 10:46 AM, Cousson, Benoit wrote: Hi Rob, Are you OK with that update? Thanks, Benoit On 12/20/2011 2:39 PM, Benoit Cousson wrote: Hi Tony and Rob, Here is the series to take advantage of

Re: [PATCH 1/3] ARM: OMAP2+: kconfig: Enable devicetree by default for OMAP2+ systems

2012-01-06 Thread Cousson, Benoit
On 1/4/2012 9:11 PM, Grant Likely wrote: On Tue, Dec 6, 2011 at 9:49 AM, Benoit Cousson wrote: devicetree will become the mandatory boot method for OMAP2+. In order to avoid cluttering the OMAP code with #ifdef CONFIG_OF, select USE_OF by default for every OMAP2+ systems. Select as well the APP

Re: Device tree bindings for linux ramoops use

2012-01-06 Thread Olof Johansson
Hi, On Fri, Jan 6, 2012 at 5:25 AM, Rob Herring wrote: > On 01/05/2012 10:39 PM, Olof Johansson wrote: >> Hi, >> >> I'm considering how to best describe the data that ramoops needs in >> the device tree. >> >> The idea is really about describing a memory area that is (likely to >> be) nonvolatile

Re: Device tree bindings for linux ramoops use

2012-01-06 Thread Olof Johansson
On Thu, Jan 5, 2012 at 11:22 PM, Mitch Bradley wrote: > > On 1/5/2012 6:39 PM, Olof Johansson wrote: >> >> Hi, >> >> I'm considering how to best describe the data that ramoops needs in >> the device tree. >> >> The idea is really about describing a memory area that is (likely to >> be) nonvolatile

Re: [PATCH] irqdomain: Initialize number of IRQs for simple domains

2012-01-06 Thread Rob Herring
On 01/06/2012 10:07 AM, David Brown wrote: > On Fri, Jan 06, 2012 at 03:28:25PM +0100, Thierry Reding wrote: >> diff --git a/arch/arm/mach-msm/board-msm8x60.c >> b/arch/arm/mach-msm/board-msm8x60.c >> index 0a11342..a50c7e2 100644 >> --- a/arch/arm/mach-msm/board-msm8x60.c >> +++ b/arch/arm/mach-m

Re: [PATCH] irqdomain: Initialize number of IRQs for simple domains

2012-01-06 Thread Thierry Reding
* Grant Likely wrote: > Hi Thierry, > > On Fri, Jan 6, 2012 at 7:28 AM, Thierry Reding > wrote: > > The irq_domain_add() function needs the number of interrupts in the > > domain to properly initialize them. In addition the allocated domain > > is now returned by the irq_domain_{add,generate}_sim

Re: [PATCH] irqdomain: Initialize number of IRQs for simple domains

2012-01-06 Thread David Brown
On Fri, Jan 06, 2012 at 03:28:25PM +0100, Thierry Reding wrote: > diff --git a/arch/arm/mach-msm/board-msm8x60.c > b/arch/arm/mach-msm/board-msm8x60.c > index 0a11342..a50c7e2 100644 > --- a/arch/arm/mach-msm/board-msm8x60.c > +++ b/arch/arm/mach-msm/board-msm8x60.c > @@ -84,8 +84,11 @@ static voi

Re: [PATCH] irqdomain: Initialize number of IRQs for simple domains

2012-01-06 Thread Thierry Reding
* David Brown wrote: > On Fri, Jan 06, 2012 at 03:28:25PM +0100, Thierry Reding wrote: > > diff --git a/arch/arm/mach-msm/board-msm8x60.c > > b/arch/arm/mach-msm/board-msm8x60.c > > index 0a11342..a50c7e2 100644 > > --- a/arch/arm/mach-msm/board-msm8x60.c > > +++ b/arch/arm/mach-msm/board-msm8x60.

Re: [PATCH v4] ARM: at91: pit add DT support

2012-01-06 Thread Rob Herring
On 01/06/2012 10:20 AM, Nicolas Ferre wrote: > From: Jean-Christophe PLAGNIOL-VILLARD > > Retreive registers address and IRQ from device tree entry. Fall back > to built-in values if an error occurs. > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > [nicolas.fe...@atmel.com: change error pa

Re: [PATCH] irqdomain: Initialize number of IRQs for simple domains

2012-01-06 Thread Grant Likely
Hi Thierry, On Fri, Jan 6, 2012 at 7:28 AM, Thierry Reding wrote: > The irq_domain_add() function needs the number of interrupts in the > domain to properly initialize them. In addition the allocated domain > is now returned by the irq_domain_{add,generate}_simple() helpers. The commit text shou

Re: [PATCH] irqdomain: Initialize number of IRQs for simple domains

2012-01-06 Thread Nicolas Ferre
On 01/06/2012 03:28 PM, Thierry Reding : > The irq_domain_add() function needs the number of interrupts in the > domain to properly initialize them. In addition the allocated domain > is now returned by the irq_domain_{add,generate}_simple() helpers. > > Signed-off-by: Thierry Reding Hi Thierry,

[PATCH] irqdomain: Initialize number of IRQs for simple domains

2012-01-06 Thread Thierry Reding
The irq_domain_add() function needs the number of interrupts in the domain to properly initialize them. In addition the allocated domain is now returned by the irq_domain_{add,generate}_simple() helpers. Signed-off-by: Thierry Reding --- arch/arm/mach-at91/board-dt.c |6 +- arch/

[PATCH v4] ARM: at91: pit add DT support

2012-01-06 Thread Nicolas Ferre
From: Jean-Christophe PLAGNIOL-VILLARD Retreive registers address and IRQ from device tree entry. Fall back to built-in values if an error occurs. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [nicolas.fe...@atmel.com: change error path and interrupts property handling] Signed-off-by: Nicolas

Re: [PATCH v3] ARM: at91: pit add DT support

2012-01-06 Thread Nicolas Ferre
On 01/05/2012 07:00 PM, Grant Likely : > On Thu, Jan 05, 2012 at 06:25:48PM +0100, Nicolas Ferre wrote: >> From: Jean-Christophe PLAGNIOL-VILLARD >> >> Retreive registers address and IRQ from device tree entry. Fall back >> to built-in values if an error occurs. >> >> Signed-off-by: Jean-Christoph

Re: [PATCH v3] ARM: at91: pit add DT support

2012-01-06 Thread Nicolas Ferre
On 01/05/2012 05:42 PM, Rob Herring : > On 01/05/2012 11:25 AM, Nicolas Ferre wrote: >> From: Jean-Christophe PLAGNIOL-VILLARD >> >> Retreive registers address and IRQ from device tree entry. Fall back >> to built-in values if an error occurs. >> >> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD

Re: Device tree bindings for linux ramoops use

2012-01-06 Thread Rob Herring
On 01/05/2012 10:39 PM, Olof Johansson wrote: > Hi, > > I'm considering how to best describe the data that ramoops needs in > the device tree. > > The idea is really about describing a memory area that is (likely to > be) nonvolatile across reboots. Said area is not to be included in the > regula

Re: [PATCH V6 2/7] arm/imx: cpufreq: remove loops_per_jiffy recalculate for smp

2012-01-06 Thread Shawn Guo
On Fri, Jan 06, 2012 at 08:56:50AM +0800, Richard Zhao wrote: > Hi Sascha & Shawn, > > Could you look and ack the patch? > The patch looks good to me. But it really depends on how the patch #1 looks to Russell. -- Regards, Shawn ___ devicetree-discus

Re: [RFC PATCH v3 2/5] pinctrl: add dt binding support for pinmux mappings

2012-01-06 Thread Shawn Guo
On Fri, Jan 06, 2012 at 11:33:54AM +, Dong Aisheng-B29396 wrote: > In board dts file: > usdhc@0219c000 { /* uSDHC4 */ > fsl,card-wired; > status = "okay"; > pinmux = <&pinctrl_sd4>; Would it be more proper to have the phandle named as 'pinctrl' than 'pinmux'? > }; --

RE: [RFC PATCH v3 2/5] pinctrl: add dt binding support for pinmux mappings

2012-01-06 Thread Dong Aisheng-B29396
> -Original Message- > From: Stephen Warren [mailto:swar...@nvidia.com] > Sent: Friday, January 06, 2012 9:06 AM > To: Dong Aisheng > Cc: Dong Aisheng-B29396; linux-ker...@vger.kernel.org; > linus.wall...@stericsson.com; s.ha...@pengutronix.de; rob.herr...@calxeda.com; > linux-arm-ker...@li

RE: [RFC PATCH v3 2/5] pinctrl: add dt binding support for pinmux mappings

2012-01-06 Thread Dong Aisheng-B29396
> -Original Message- > From: Stephen Warren [mailto:swar...@nvidia.com] > Sent: Friday, January 06, 2012 7:38 AM > To: Dong Aisheng-B29396; linux-ker...@vger.kernel.org > Cc: linus.wall...@stericsson.com; s.ha...@pengutronix.de; > rob.herr...@calxeda.com; linux-arm-ker...@lists.infradead.or