Re: [PATCH v2 1/7] ARM: davinci, intc: Add OF support for TI interrupt controller

2012-02-28 Thread Heiko Schocher
Hello Sergei, Sergei Shtylyov wrote: > On 22-02-2012 10:50, Heiko Schocher wrote: > >> Add a function to initialize the davinci interrupt controller (INTC) >> using a device tree node. > >cp_intc is not DaVinci interrupt controller, it's only used in > OMAP-L1x SoCs. cp_intc stands for Commo

Re: [PATCH v6 15/20] tegra: fdt: Add function to return peripheral/clock ID

2012-02-28 Thread Simon Glass
Hi Stephen, On Tue, Feb 28, 2012 at 10:51 AM, Stephen Warren wrote: > Simon Glass wrote at Tuesday, February 28, 2012 11:44 AM: >> On Tue, Feb 28, 2012 at 10:37 AM, Stephen Warren wrote: >> > Simon Glass wrote at Tuesday, February 28, 2012 10:46 AM: >> >> On Mon, Feb 27, 2012 at 3:41 PM, Stephen

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

2012-02-28 Thread Albert ARIBAUD
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:31 AM, Stephen Warren wrote: Simon Glass wrote at Tuesday, February 28, 2012 10:38 AM: ... I a

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

2012-02-28 Thread Stephen Warren
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 > + pwm: pwm@7000a000 { > +

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

2012-02-28 Thread Stephen Warren
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 (NVIDIA) > and later modified by

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

2012-02-28 Thread Stephen Warren
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[30:28] while others are at bit fiel

[PATCH v3] ARM: kirkwood: covert orion-spi to fdt.

2012-02-28 Thread Jason Cooper
On the Globalscale Dreamplug (Marvell Kirkwood Development Platform), 2MB of NOR flash are used to hold the bootloader, bootloader environment, and devicetree blob. It is connected via spi. Signed-off-by: Jason Cooper --- Changes from v1: - checkpatch clean. - compiles, boots, registers

Re: [PATCH v2] ARM: kirkwood: covert orion-spi to fdt.

2012-02-28 Thread Arnd Bergmann
On Tuesday 28 February 2012, Jason Cooper wrote: > On the Globalscale Dreamplug (Marvell Kirkwood Development Platform), > 2MB of NOR flash are used to hold the bootloader, bootloader > environment, and devicetree blob. It is connected via spi. > > diff --git a/arch/arm/mach-kirkwood/common.c b/a

RE: [PATCH v6 15/20] tegra: fdt: Add function to return peripheral/clock ID

2012-02-28 Thread Stephen Warren
Simon Glass wrote at Tuesday, February 28, 2012 11:44 AM: > On Tue, Feb 28, 2012 at 10:37 AM, Stephen Warren wrote: > > Simon Glass wrote at Tuesday, February 28, 2012 10:46 AM: > >> On Mon, Feb 27, 2012 at 3:41 PM, Stephen Warren wrote: > >> > On 02/27/2012 01:52 PM, Simon Glass wrote: > >> >> A

Re: [PATCH v7 11/20] tegra: fdt: Add clock bindings for Tegra2 Seaboard

2012-02-28 Thread Simon Glass
Hi Stephen, On Tue, Feb 28, 2012 at 10:47 AM, Stephen Warren wrote: > Simon Glass wrote at Tuesday, February 28, 2012 11:08 AM: >> Add the definition of the oscillator clock frequency and the 32KHz clock. >> The latter is provided by a PMIC on I2C which we don't actually use at >> present, but we

RE: [PATCH v7 09/20] tegra: fdt: Add additional USB binding

2012-02-28 Thread Stephen Warren
Simon Glass wrote at Tuesday, February 28, 2012 11:49 AM: > On Tue, Feb 28, 2012 at 10:42 AM, Stephen Warren wrote: > > Simon Glass wrote at Tuesday, February 28, 2012 11:08 AM: > >> This adds a property to indicate a port which can switch between host and > >> device > >> mode. > >> > >> Signed-

RE: [PATCH v7 15/20] tegra: fdt: Add function to return peripheral/clock ID

2012-02-28 Thread Stephen Warren
Simon Glass wrote at Tuesday, February 28, 2012 11:08 AM: > A common requirement is to find the clock ID for a peripheral. This is the > second cell of the 'clocks' property (the first being the phandle itself). > > Signed-off-by: Simon Glass Acked-by: Stephen Warren -- nvpublic

Re: [PATCH v7 09/20] tegra: fdt: Add additional USB binding

2012-02-28 Thread Simon Glass
Hi, On Tue, Feb 28, 2012 at 10:42 AM, Stephen Warren wrote: > Simon Glass wrote at Tuesday, February 28, 2012 11:08 AM: >> This adds a property to indicate a port which can switch between host and >> device >> mode. >> >> Signed-off-by: Simon Glass > > Acked-by: Stephen Warren > > (I can't rec

RE: [PATCH v7 11/20] tegra: fdt: Add clock bindings for Tegra2 Seaboard

2012-02-28 Thread Stephen Warren
Simon Glass wrote at Tuesday, February 28, 2012 11:08 AM: > Add the definition of the oscillator clock frequency and the 32KHz clock. > The latter is provided by a PMIC on I2C which we don't actually use at > present, but we expect this definition to be used in the kernel and want > to keep our .dt

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

2012-02-28 Thread Simon Glass
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:31 AM, Stephen Warren wrote: >> > Simon Glass wrote at Tuesday, February 28, 2012 10:38 AM: >> > ... >> >> I am going to add your binding,

Re: [PATCH v6 15/20] tegra: fdt: Add function to return peripheral/clock ID

2012-02-28 Thread Simon Glass
Hi Stephen, On Tue, Feb 28, 2012 at 10:37 AM, Stephen Warren wrote: > Simon Glass wrote at Tuesday, February 28, 2012 10:46 AM: >> On Mon, Feb 27, 2012 at 3:41 PM, Stephen Warren wrote: >> > On 02/27/2012 01:52 PM, Simon Glass wrote: >> >> A common requirement is to find the clock ID for a perip

[PATCH v2] ARM: kirkwood: covert orion-spi to fdt.

2012-02-28 Thread Jason Cooper
On the Globalscale Dreamplug (Marvell Kirkwood Development Platform), 2MB of NOR flash are used to hold the bootloader, bootloader environment, and devicetree blob. It is connected via spi. Signed-off-by: Jason Cooper --- Changes from v1: - checkpatch clean. - compiles, boots, registers

RE: [PATCH v7 09/20] tegra: fdt: Add additional USB binding

2012-02-28 Thread Stephen Warren
Simon Glass wrote at Tuesday, February 28, 2012 11:08 AM: > This adds a property to indicate a port which can switch between host and > device > mode. > > Signed-off-by: Simon Glass Acked-by: Stephen Warren (I can't recall; did this patch make it into the kernel too?) -- nvpublic _

RE: [PATCH v6 11/20] tegra: fdt: Add clock bindings for Tegra2 Seaboard

2012-02-28 Thread Stephen Warren
Simon Glass wrote at Tuesday, February 28, 2012 11:37 AM: > On Tue, Feb 28, 2012 at 10:31 AM, Stephen Warren wrote: > > Simon Glass wrote at Tuesday, February 28, 2012 10:38 AM: > > ... > >> I am going to add your binding, less the #clock-cells which U-Boot > >> currently can't support because it

RE: [PATCH v6 15/20] tegra: fdt: Add function to return peripheral/clock ID

2012-02-28 Thread Stephen Warren
Simon Glass wrote at Tuesday, February 28, 2012 10:46 AM: > On Mon, Feb 27, 2012 at 3:41 PM, Stephen Warren wrote: > > On 02/27/2012 01:52 PM, Simon Glass wrote: > >> A common requirement is to find the clock ID for a peripheral. This is the > >> second cell of the 'clocks' property (the first bei

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

2012-02-28 Thread Simon Glass
Hi Stephen, On Tue, Feb 28, 2012 at 10:31 AM, Stephen Warren wrote: > Simon Glass wrote at Tuesday, February 28, 2012 10:38 AM: > ... >> I am going to add your binding, less the #clock-cells which U-Boot >> currently can't support because it conflicts with the C preprocessor >> (at some point I m

RE: [PATCH v6 11/20] tegra: fdt: Add clock bindings for Tegra2 Seaboard

2012-02-28 Thread Stephen Warren
Simon Glass wrote at Tuesday, February 28, 2012 10:38 AM: ... > I am going to add your binding, less the #clock-cells which U-Boot > currently can't support because it conflicts with the C preprocessor > (at some point I may look at a patch to use sed or some other means of > avoiding this). Out o

[PATCH v7 15/20] tegra: fdt: Add function to return peripheral/clock ID

2012-02-28 Thread Simon Glass
A common requirement is to find the clock ID for a peripheral. This is the second cell of the 'clocks' property (the first being the phandle itself). Signed-off-by: Simon Glass --- Changes in v4: - Add fdtdec function to return peripheral ID Changes in v6: - Move peripheral decode function into

[PATCH v7 11/20] tegra: fdt: Add clock bindings for Tegra2 Seaboard

2012-02-28 Thread Simon Glass
Add the definition of the oscillator clock frequency and the 32KHz clock. The latter is provided by a PMIC on I2C which we don't actually use at present, but we expect this definition to be used in the kernel and want to keep our .dts the same. Signed-off-by: Simon Glass --- Changes in v6: - Add

[PATCH v7 09/20] tegra: fdt: Add additional USB binding

2012-02-28 Thread Simon Glass
This adds a property to indicate a port which can switch between host and device mode. Signed-off-by: Simon Glass --- Changes in v5: - Add dr_mode property to control host/device/otg mode - Add nvidia,has-legacy-mode property per review comments Changes in v7: - Fix space indent nit doc/device

Re: [PATCH v6 15/20] tegra: fdt: Add function to return peripheral/clock ID

2012-02-28 Thread Simon Glass
Hi Stephen, On Mon, Feb 27, 2012 at 3:41 PM, Stephen Warren wrote: > On 02/27/2012 01:52 PM, Simon Glass wrote: >> A common requirement is to find the clock ID for a peripheral. This is the >> second cell of the 'clocks' property (the first being the phandle itself). > >> +int clock_decode_periph

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

2012-02-28 Thread Simon Glass
Hi Stephen, On Tue, Feb 28, 2012 at 9:32 AM, Stephen Warren wrote: > Simon Glass wrote at Tuesday, February 28, 2012 10:21 AM: >> On Mon, Feb 27, 2012 at 3:29 PM, Stephen Warren wrote: >> > On 02/27/2012 01:52 PM, Simon Glass wrote: >> >> Add the definition of the oscillator clock frequency. >>

RE: [PATCH v6 11/20] tegra: fdt: Add clock bindings for Tegra2 Seaboard

2012-02-28 Thread Stephen Warren
Simon Glass wrote at Tuesday, February 28, 2012 10:21 AM: > On Mon, Feb 27, 2012 at 3:29 PM, Stephen Warren wrote: > > On 02/27/2012 01:52 PM, Simon Glass wrote: > >> Add the definition of the oscillator clock frequency. > > > >> diff --git a/board/nvidia/dts/tegra2-seaboard.dts > >> b/board/nvid

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

2012-02-28 Thread Simon Glass
Hi Stephen, On Mon, Feb 27, 2012 at 3:29 PM, Stephen Warren wrote: > On 02/27/2012 01:52 PM, Simon Glass wrote: >> Add the definition of the oscillator clock frequency. > >> diff --git a/board/nvidia/dts/tegra2-seaboard.dts >> b/board/nvidia/dts/tegra2-seaboard.dts > >> +     clock@60006000 { >>

Re: [PATCH WIP] ARM: kirkwood: covert orion-spi to fdt.

2012-02-28 Thread Arnd Bergmann
On Tuesday 28 February 2012, Jason wrote: > On Tue, Feb 28, 2012 at 07:39:24AM +, Arnd Bergmann wrote: > > Same thing here: > > > > if (of_find_property(spi->master->dev.of_node, "spi-clock-fix", NULL) || > > (orion_spi->spi_info && orion_spi->spi_info->enable_clock_fix)) > >

Re: [PATCH WIP] ARM: kirkwood: covert orion-spi to fdt.

2012-02-28 Thread Jason
On Tue, Feb 28, 2012 at 07:39:24AM +, Arnd Bergmann wrote: > On Monday 27 February 2012, Jason Cooper wrote: > > On the Globalscale Dreamplug (Marvell Kirkwood Development Platform), > > 2MB of NOR flash are used to hold the bootloader, bootloader > > environment, and devicetree blob. It is co

Re: [PATCH WIP] ARM: kirkwood: covert orion-spi to fdt.

2012-02-28 Thread Jason
On Tue, Feb 28, 2012 at 10:04:14AM +, Arnd Bergmann wrote: > On Tuesday 28 February 2012, Andrew Lunn wrote: > > I think this code belongs on the board-dts.c file. kirkwood_clk_ctrl > > is a global so can be set from anywhere. It is also set in other files > > than common.c, eg pcie.c. > > Ok,

Re: [PATCH v2 0/9] imx patches when I enable imx6q sabrelite audio

2012-02-28 Thread Richard Zhao
On Mon, Feb 27, 2012 at 03:59:02PM +0800, Shawn Guo wrote: > On Thu, Feb 02, 2012 at 10:11:59AM +0800, Richard Zhao wrote: > > Changes in v2: > > > > - change dt peroperty/label to lower case as much as possible > >keep XXX-supply property upper case. > > - convert audmux-v2 to platform devi

Re: [PATCH v3 0/2] Device tree support for TWL regulators

2012-02-28 Thread Mark Brown
On Tue, Feb 28, 2012 at 11:11:48AM +0530, Rajendra Nayak wrote: > changes have no dependencies with any other DT series. I will repost > all of Tero/Peter and my changes (to add DT support to the driver) as > one single series and drop the dts file updates, which I guess can go > via Tony/OMAP tre

Re: [PATCH WIP] ARM: kirkwood: covert orion-spi to fdt.

2012-02-28 Thread Arnd Bergmann
On Tuesday 28 February 2012, Andrew Lunn wrote: > I think this code belongs on the board-dts.c file. kirkwood_clk_ctrl > is a global so can be set from anywhere. It is also set in other files > than common.c, eg pcie.c. Ok, that makes sense. > In the end, i hope this all goes away. I have patches

Re: [PATCH WIP] ARM: kirkwood: covert orion-spi to fdt.

2012-02-28 Thread Andrew Lunn
> > @@ -524,6 +528,13 @@ static int __init kirkwood_clock_gate(void) > > } else /* keep this bit set for devices that don't have PCIe1 */ > > kirkwood_clk_ctrl |= CGC_PEX1; > > > > +#ifdef CONFIG_OF > > + dp = of_find_node_by_path("/"); > > + if (of_device_is_available(

[PATCH 4/4] MFD: twl-core: regulator configuration for twl6030 V1V8, V2V1 SMPS

2012-02-28 Thread Rajendra Nayak
From: Peter Ujfalusi To be able to attach consumers to these supplies from board files we need to have regulator_init_data for them. Signed-off-by: Peter Ujfalusi Signed-off-by: Rajendra Nayak Cc: Samuel Ortiz Cc: Misael Lopez Cruz Cc: Santosh Shilimkar --- drivers/mfd/twl-core.c | 10 +

[PATCH 3/4] regulator: twl-regulator: Add fixed LDO for V1V8, V2V1 supply

2012-02-28 Thread Rajendra Nayak
From: Peter Ujfalusi V1V8 supply most common use is to provide VIO for the system. V2V1 supply is used on SDP4430/PandaBoards to provide 2.1V to twl6040, and also as an input to VCXIO_IN, VDAC_IN of twl6030. Also update the bindings documentation with the new compatible property for these additi

[PATCH 2/4] regulator: twl: adapt twl-regulator driver to dt

2012-02-28 Thread Rajendra Nayak
Modify the twl regulator driver to extract the regulator_init_data from device tree when passed, instead of getting it through platform_data structures (on non-DT builds) Also add documentation for TWL regulator specific bindings. Signed-off-by: Rajendra Nayak --- .../bindings/regulator/twl-reg

[PATCH 1/4] regulator: twl6030: add support for vdd1, vdd2 and vdd3 regulators

2012-02-28 Thread Rajendra Nayak
From: Tero Kristo vdd1 and vdd2 are now common regulators for twl4030 and twl6030. Also added vdd3 as a new regulator for twl6030. twl6030 vdd1...vdd3 smps regulator voltages can only be controlled through the smartreflex voltage channel, thus the support for the voltage_get and set is minimal an

[PATCH 0/4] twl-regulator DT adaptation and updates to add new regulators

2012-02-28 Thread Rajendra Nayak
Hi Mark, Here is a consolidated series which adds DT support for twl regulator driver and adds support for VDD1/2/3 regulator and support for fixed LDO V1V8 and V2V1. The patches are based on -next and tested on omap3 beagle and omap4 panda boards. I have dropped the patch updating the dts entrie