Re: [PATCH v6 4/5] MIPS: Octeon: Setup irq_domains for interrupts.

2012-03-03 Thread David Daney
On 03/03/2012 11:38 AM, Rob Herring wrote: On 03/02/2012 12:03 PM, David Daney wrote: + +irqd = irq_get_irq_data(irq); +irqd->hwirq = line<< 6 | bit; +irqd->domain = domain; I think the domain code will set these. It is my understanding that the domain code only does this for: o

Re: [PATCH v6 4/5] MIPS: Octeon: Setup irq_domains for interrupts.

2012-03-03 Thread David Daney
On 03/03/2012 11:35 AM, Rob Herring wrote: On 03/02/2012 01:29 PM, David Daney wrote: On 03/02/2012 11:07 AM, Grant Likely wrote: +static void __init octeon_irq_set_ciu_mapping(unsigned int irq, + unsigned int line, + unsigned int bit, +

Re: [PATCH 5/5 v2] ARM: kirkwood: convert orion-wdt to fdt.

2012-03-03 Thread Jason
On Sat, Mar 03, 2012 at 10:08:53AM +, Russell King - ARM Linux wrote: > On Fri, Mar 02, 2012 at 06:32:33PM +, Arnd Bergmann wrote: > > On Friday 02 March 2012, Jason Cooper wrote: > > > + wdt_reg = (void __iomem *)TIMER_VIRT_BASE; > > > + > > > + ret = of_address_to_resource(np,

Re: [PATCH v3 07/10] arm/tegra: Add PWFM controller device tree probing

2012-03-03 Thread Thierry Reding
* Stephen Warren wrote: > Thierry Reding wrote at Wednesday, February 22, 2012 8:17 AM: > > Add auxdata to instantiate a device tree for the PWFM controller and > > include a corresponding node in the device tree. > > > diff --git a/arch/arm/boot/dts/tegra30.dtsi b/arch/arm/boot/dts/tegra30.dtsi >

Re: [PATCH 4/4] ARM: kirkwood: convert orion-wdt to fdt.

2012-03-03 Thread Jason
On Fri, Mar 02, 2012 at 11:36:29PM +0100, Andrew Lunn wrote: > > > Andrew Lunn said that he has a patch for plat-orion to use the generic > > > clock framework. I think we should look at that before introducing > > > a hack that will have to be removed again very soon. > > > > I asked him for it e

Re: [PATCH v3 04/10] arm/tegra: Fix PWM clock programming

2012-03-03 Thread Thierry Reding
* Stephen Warren wrote: > Thierry Reding wrote at Wednesday, February 22, 2012 8:17 AM: > > PWM clock source registers in Tegra 2 have different clock source selection > > bit > > fields than other registers. PWM clock source bits in CLK_SOURCE_PWM_0 > > register > > are located at bit field bit

Re: [PATCH v3 06/10] pwm: Add NVIDIA Tegra SoC support

2012-03-03 Thread Thierry Reding
* Stephen Warren wrote: > Thierry Reding wrote at Wednesday, February 22, 2012 8:17 AM: > > This commit adds a generic PWM framework driver for the PWFM controller > > found on NVIDIA Tegra SoCs. The driver is based on code from the > > Chromium kernel tree and was originally written by Gary King (

Re: [PATCH v6 4/5] MIPS: Octeon: Setup irq_domains for interrupts.

2012-03-03 Thread Rob Herring
On 03/02/2012 12:03 PM, David Daney wrote: > On 03/02/2012 06:22 AM, Rob Herring wrote: > [...] >>> diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig >>> index ce30e2f..01344ae 100644 >>> --- a/arch/mips/Kconfig >>> +++ b/arch/mips/Kconfig >>> @@ -1432,6 +1432,7 @@ config CPU_CAVIUM_OCTEON >>>

Re: [PATCH v6 4/5] MIPS: Octeon: Setup irq_domains for interrupts.

2012-03-03 Thread Rob Herring
On 03/02/2012 01:29 PM, David Daney wrote: > On 03/02/2012 11:07 AM, Grant Likely wrote: >> On Fri, 02 Mar 2012 10:03:58 -0800, David >> Daney wrote: >>> On 03/02/2012 06:22 AM, Rob Herring wrote: >>> [...] > diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig > index ce30e2f..01344ae 10064

Re: [PATCH v3 02/10] pwm: Allow chips to support multiple PWMs.

2012-03-03 Thread Thierry Reding
* Thierry Reding wrote: > * Arnd Bergmann wrote: > > On Thursday 23 February 2012, Thierry Reding wrote: > > > > Is this only used for the device tree functions? If so, I would > > > > recommend > > > > making it less generic and always search for a device node. > > > > > > It is currently only u

Re: [U-Boot] [PATCH v6 11/20] tegra: fdt: Add clock bindings for Tegra2 Seaboard

2012-03-03 Thread Simon Glass
Hi Albert, On Tue, Feb 28, 2012 at 2:16 PM, Albert ARIBAUD wrote: > Le 28/02/2012 19:46, Simon Glass a écrit : > >> Hi Stephen, >> >> On Tue, Feb 28, 2012 at 10:41 AM, Stephen Warren >>  wrote: >>> >>> Simon Glass wrote at Tuesday, February 28, 2012 11:37 AM: On Tue, Feb 28, 2012 at 10:

Re: [PATCH 5/5 v2] ARM: kirkwood: convert orion-wdt to fdt.

2012-03-03 Thread Russell King - ARM Linux
On Fri, Mar 02, 2012 at 06:32:33PM +, Arnd Bergmann wrote: > On Friday 02 March 2012, Jason Cooper wrote: > > + wdt_reg = (void __iomem *)TIMER_VIRT_BASE; > > + > > + ret = of_address_to_resource(np, 0, &res); > > + if (ret) { > > + printk(KERN_ERR "invalid addre