Re: [PATCH v3 07/12] PCI: tegra: Move PCIe driver to drivers/pci/host

2013-04-05 Thread Thierry Reding
On Thu, Apr 04, 2013 at 03:30:01PM -0600, Stephen Warren wrote: On 04/04/2013 03:28 PM, Stephen Warren wrote: On 04/03/2013 08:45 AM, Thierry Reding wrote: Move the PCIe driver from arch/arm/mach-tegra into the drivers/pci/host directory. The motivation is to collect various host controller

[PATCH 1/3] clk: exynos: register audio subsystem clocks using common clock framework

2013-04-05 Thread Padmavathi Venna
Audio subsystem is introduced in exynos platforms. This has seperate clock controller which can control i2s0 and pcm0 clocks. This patch registers the audio subsystem clocks with the common clock framework. Signed-off-by: Padmavathi Venna padm...@samsung.com --- drivers/clk/samsung/Makefile

[PATCH 2/3] ARM: dts: add Exynos audio subsystem clock controller node

2013-04-05 Thread Padmavathi Venna
Audio subsystem introduced in exynos platforms which has a internal clock controller. This patch adds a node for the same. Signed-off-by: Padmavathi Venna padm...@samsung.com --- arch/arm/boot/dts/exynos5250.dtsi |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git

[PATCH 3/3] ARM: dts: add clock provider information for i2s0 controller in Exynos5250

2013-04-05 Thread Padmavathi Venna
Add clock lookup information for i2s0 controller on exynos5250 SoC. Signed-off-by: Padmavathi Venna padm...@samsung.com --- arch/arm/boot/dts/exynos5250.dtsi |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250.dtsi

Re: [PATCH 0/5] gpio/omap: 2nd batch of updates for v3.10

2013-04-05 Thread Santosh Shilimkar
On Friday 05 April 2013 01:46 AM, Jon Hunter wrote: Main change is ensuring that the state of a gpio bank is restored when booting with device-tree. The rest of the patches are clean-ups and one optimisation. The patch modifying the *.dtsi files should go via Benoit Cousson's for_3.10/dts

Re: [PATCH v3 07/12] PCI: tegra: Move PCIe driver to drivers/pci/host

2013-04-05 Thread Thierry Reding
On Thu, Apr 04, 2013 at 03:28:54PM -0600, Stephen Warren wrote: [...] diff --git a/Documentation/devicetree/bindings/pci/nvidia,tegra20-pcie.txt b/Documentation/devicetree/bindings/pci/nvidia,tegra20-pcie.txt +Required properties: +- interrupts: the interrupt outputs of the controller

[PATCH -next] spi: tegra: slink: make symbol static

2013-04-05 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn symbol '' was not declared. It should be static. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/spi/spi-tegra20-slink.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-tegra20-slink.c

[PATCH 1/1] of/irq: store IRQ trigger/level in struct resource flags

2013-04-05 Thread Javier Martinez Canillas
According to Documentation/devicetree/bindings/interrupt-controller/interrupts.txt the #interrupt-cells property of an interrupt-controller is used to define the number of cells needed to specify a single interrupt. A commonly used variant is two cell on which #interrupt-cells = 2 and the first

Re: [PATCH v3 07/12] PCI: tegra: Move PCIe driver to drivers/pci/host

2013-04-05 Thread Thierry Reding
For reference, here's the new binding document with all your comments addressed (I think). Thierry NVIDIA Tegra PCIe controller Required properties: - compatible: nvidia,tegra20-pcie - device_type: Must be pci - reg: A list of physical base address and length for each set of controller

Re: [PATCH -next] spi: tegra: slink: make symbol static

2013-04-05 Thread Thierry Reding
On Fri, Apr 05, 2013 at 03:45:12PM +0800, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn symbol '' was not declared. It should be static. This description doesn't make any sense. The patch looks good, though. Maybe something like: ---snip--- Neither tegra20_spi_cdata nor

Re: [PATCH 0/5] ARM: OMAP: DMTIMER updates for v3.10

2013-04-05 Thread Benoit Cousson
On 04/04/2013 08:38 PM, Tony Lindgren wrote: * Jon Hunter jon-hun...@ti.com [130319 10:42]: Includes: - A couple fixes for DMTIMER context loss handling. - Populating DMTIMER errata when booting with device-tree. - A new function for requesting a DMTIMER by device-tree node. Based upon

Re: [PATCH] ARM: dts: OMAP4+: Correct L3 interrupts

2013-04-05 Thread Benoit Cousson
On 04/05/2013 08:26 AM, Santosh Shilimkar wrote: On Thursday 04 April 2013 11:36 PM, Jon Hunter wrote: The L3 interrupt numbers are incorrect for OMAP4+ and are conflicting with some of the timer interrupts causing the allocation of timer interrupts to fail. The problem is caused by adding

Re: [PATCH] ARM: dts: OMAP4+: Correct L3 interrupts

2013-04-05 Thread Benoit Cousson
Santosh and Jon, On 04/05/2013 10:08 AM, Benoit Cousson wrote: On 04/05/2013 08:26 AM, Santosh Shilimkar wrote: On Thursday 04 April 2013 11:36 PM, Jon Hunter wrote: The L3 interrupt numbers are incorrect for OMAP4+ and are conflicting with some of the timer interrupts causing the allocation

Re: [PATCH] ARM: dts: OMAP4+: Correct L3 interrupts

2013-04-05 Thread Santosh Shilimkar
On Friday 05 April 2013 01:52 PM, Benoit Cousson wrote: Santosh and Jon, On 04/05/2013 10:08 AM, Benoit Cousson wrote: On 04/05/2013 08:26 AM, Santosh Shilimkar wrote: On Thursday 04 April 2013 11:36 PM, Jon Hunter wrote: The L3 interrupt numbers are incorrect for OMAP4+ and are conflicting

Re: [PATCH v2] ARM: OMAP4: clock: Add device tree support for AUXCLKs

2013-04-05 Thread Roger Quadros
On 04/02/2013 11:23 AM, Roger Quadros wrote: + Paul On 03/26/2013 12:23 PM, Roger Quadros wrote: Register a device tree clock provider for the clocks on the OMAP4 SoC. Also provide the binding information. For now we only provide AUXCLKs. NOTE: this patch depends on

Re: [PATCH v2] ARM: OMAP4: clock: Add device tree support for AUXCLKs

2013-04-05 Thread Nishanth Menon
On 11:47-20130405, Roger Quadros wrote: On 04/02/2013 11:23 AM, Roger Quadros wrote: + Paul On 03/26/2013 12:23 PM, Roger Quadros wrote: Register a device tree clock provider for the clocks on the OMAP4 SoC. Also provide the binding information. For now we only provide AUXCLKs

Re: [PATCH v2] ARM: OMAP4: clock: Add device tree support for AUXCLKs

2013-04-05 Thread Roger Quadros
On 04/05/2013 11:48 AM, Nishanth Menon wrote: On 11:47-20130405, Roger Quadros wrote: On 04/02/2013 11:23 AM, Roger Quadros wrote: + Paul On 03/26/2013 12:23 PM, Roger Quadros wrote: Register a device tree clock provider for the clocks on the OMAP4 SoC. Also provide the binding information

Re: [PATCH v7] [media] Add common video interfaces OF bindings documentation

2013-04-05 Thread Sylwester Nawrocki
On 04/04/2013 10:45 PM, Stephen Warren wrote: On 03/26/2013 09:58 AM, Sylwester Nawrocki wrote: From: Guennadi Liakhovetski g.liakhovet...@gmx.de This patch adds a document describing common OF bindings for video capture, output and video processing devices. It is curently mainly focused on

Re: [PATCH 3/5] gpio/omap: optimise interrupt service routine

2013-04-05 Thread Felipe Balbi
On Thu, Apr 04, 2013 at 03:16:14PM -0500, Jon Hunter wrote: The OMAP GPIO interrupt service routine is checking each bit in the GPIO interrupt status register to see which bits are set. It is not efficient to check every bit especially if only a few bits are set. Therefore, instead of checking

Re: [PATCH 3/5 v2] ARM: kirkwood: add device node entries for the gigabit interfaces

2013-04-05 Thread Florian Fainelli
Le 04/04/13 23:35, Simon Baatz a écrit : Hi Florian, On Thu, Apr 04, 2013 at 12:27:13PM +0200, Florian Fainelli wrote: This patch modifies kirkwood.dtsi to specify the various gigabit interfaces nodes available on kirkwood devices. They are disabled by default and should be enabled on a

[PATCH v2] irqchip: renesas-intc-irqpin: DT binding for sense bitfield width

2013-04-05 Thread Guennadi Liakhovetski
Most Renesas irqpin controllers have 4-bit sense fields, however, some have different widths. This patch adds a DT binding to optionally specify such non-standard values. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- v2: is no longer based on an earlier ARM: shmobile:

Re: [PATCH 1/5 v2] mv643xx_eth: add Device Tree bindings

2013-04-05 Thread Florian Fainelli
Hello Simon, First of all, thanks for getting these patches a try! Le 04/04/13 23:29, Simon Baatz a écrit : Hi Florian [snip] if (!mv643xx_eth_version_printed++) pr_notice(MV-643xx 10/100/1000 ethernet driver version %s\n, This is not related to your change, but

[PATCH v11 0/3] Add DRM FIMD DT support for Exynos4 DT Machines

2013-04-05 Thread Vikas Sajjan
This patch series adds support for DRM FIMD DT for Exynos4 DT Machines, specifically for Exynos4412 SoC. changes since v10: - addressed comments from Sylwester Nawrocki sylvester.nawro...@gmail.com changes since v9: - dropped the patch ARM: dts: Add lcd pinctrl node entries for

[PATCH v11 1/3] ARM: dts: Add FIMD node to exynos4

2013-04-05 Thread Vikas Sajjan
This patch adds a common FIMD device node for all Exynos4 SoCs. Signed-off-by: Vikas Sajjan vikas.saj...@linaro.org Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com --- arch/arm/boot/dts/exynos4.dtsi | 12 1 file changed, 12 insertions(+) diff --git

[PATCH v11 2/3] ARM: dts: Add FIMD node and display timing node to exynos4412-origen.dts

2013-04-05 Thread Vikas Sajjan
This patch adds FIMD related nodes for the Origen Quad board. Signed-off-by: Vikas Sajjan vikas.saj...@linaro.org Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com --- arch/arm/boot/dts/exynos4412-origen.dts | 21 + 1 file changed, 21 insertions(+) diff --git

Re: [PATCH 2/2] regulator: max8952: Add Device Tree support

2013-04-05 Thread Mark Brown
On Thu, Apr 04, 2013 at 06:17:20PM +0200, Tomasz Figa wrote: + if (of_property_read_u32(np, max8952,ramp-speed, pd-ramp_speed)) + dev_warn(dev, max8952,ramp-speed property not specified, defaulting to 32mV/us\n); Applied both, though the above warning seems a bit harsh - it

[PATCH v3 0/2] video: imxfb DT support

2013-04-05 Thread Markus Pargmann
Hi, This series adds DT support for imxfb. Changes in v3 are described in the notes of patch 2. Regards, Markus ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss

[PATCH v3 2/2] video: imxfb: Add DT support

2013-04-05 Thread Markus Pargmann
Add devicetree support for imx framebuffer driver. It uses the generic display bindings and helper functions. Signed-off-by: Markus Pargmann m...@pengutronix.de Cc: Fabio Estevam feste...@gmail.com Cc: Mark Rutland mark.rutl...@arm.com --- .../devicetree/bindings/video/fsl,imx-fb.txt | 49

[PATCH v3 1/2] imxfb: Set alpha value of the framebuffer

2013-04-05 Thread Markus Pargmann
From: Christian Hemp c.h...@phytec.de Based on Sascha Hauer's patch i.MX27 clock: Do not disable lcd clocks during startup. This patch gives a interface to chance the alphavalue of the framebuffer. Signed-off-by: Christian Hemp c.h...@phytec.de rebased to 3.7 Signed-off-by: Markus Pargmann

Re: [PATCH v4 00/14] ARM: samsung-time: Prepare for multiplatform support

2013-04-05 Thread Tomasz Figa
Hi Heiko, On Friday 05 of April 2013 01:15:02 Heiko Stübner wrote: Am Donnerstag, 4. April 2013, 18:36:57 schrieb Tomasz Figa: This series is an attempt to make the samsung-time clocksource driver ready for multiplatform kernels. It moves the driver to drivers/clocksource, cleans it up

Re: [RFC][PATCH 1/2] ARM: OMAP4: clock: Add device tree support for AUXCLKs

2013-04-05 Thread Roger Quadros
On 04/04/2013 07:41 PM, Tony Lindgren wrote: * Roger Quadros rog...@ti.com [130404 00:39]: On 04/04/2013 02:42 AM, Tony Lindgren wrote: --- a/arch/arm/mach-omap2/cclock44xx_data.c +++ b/arch/arm/mach-omap2/cclock44xx_data.c @@ -27,6 +27,7 @@ #include linux/clk-private.h #include

Re: [PATCH 0/5] gpio/omap: 2nd batch of updates for v3.10

2013-04-05 Thread Jon Hunter
On 04/05/2013 01:35 AM, Santosh Shilimkar wrote: On Friday 05 April 2013 01:46 AM, Jon Hunter wrote: Main change is ensuring that the state of a gpio bank is restored when booting with device-tree. The rest of the patches are clean-ups and one optimisation. The patch modifying the *.dtsi

Re: [PATCH 0/3] clk: Exynos: Register audio subsytem clocks using common clk framework

2013-04-05 Thread Sylwester Nawrocki
Hi Padmavathi, On 04/05/2013 08:40 AM, Padmavathi Venna wrote: Samsung Exynos SoC has a separate subsystem for audio. This subsystem has a internal clock controller which controls i2s0 and pcm0 clocks. This patch series adds the Samsung Exynos SoC audio subsytem clock code to the common clock

Re: [PATCH v3 0/2] omap_hsmmc DT DMA Client support

2013-04-05 Thread Balaji T K
On Wednesday 06 March 2013 07:42 PM, Matt Porter wrote: Changes since v2: - dropped skip platform_get_resource_byname() patch Changes since v1: - rebase to 3.9-rc1, previous dependencies upstream This series adds DT DMA Engine Client support to the omap_hsmmc. It leverages the

[PATCH -next v2] spi: tegra: slink: make local symbols static

2013-04-05 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Neither tegra20_spi_cdata nor tegra30_spi_cdata are used outside this file so they can, and should, be static. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/spi/spi-tegra20-slink.c | 4 ++-- 1 file changed, 2 insertions(+),

Re: [PATCH 1/3] clk: exynos: register audio subsystem clocks using common clock framework

2013-04-05 Thread Sylwester Nawrocki
On 04/05/2013 08:23 AM, Padmavathi Venna wrote: Audio subsystem is introduced in exynos platforms. This has seperate clock controller which can control i2s0 and pcm0 clocks. This patch registers the audio subsystem clocks with the common clock framework. Signed-off-by: Padmavathi Venna

Re: [PATCH -next v2] spi: tegra: slink: make local symbols static

2013-04-05 Thread Thierry Reding
On Fri, Apr 05, 2013 at 09:45:36PM +0800, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Neither tegra20_spi_cdata nor tegra30_spi_cdata are used outside this file so they can, and should, be static. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn ---

Re: [PATCH 1/5 v2] mv643xx_eth: add Device Tree bindings

2013-04-05 Thread Sebastian Hesselbarth
On Fri, Apr 5, 2013 at 11:56 AM, Florian Fainelli flor...@openwrt.org wrote: [snip] Florian, took me a while to try you patches out on Dove but now I fixed all issues. I will comment on all related patches but first I want to comment here. One general note for Dove related patches: You didn't

Re: [PATCHv7 06/17] clk: mvebu: create parent-child relation for PCIe clocks on Armada 370

2013-04-05 Thread Thomas Petazzoni
Mike, Could we have your opinion on this patch, and possibly a Acked-by to pass it through arm-soc? Thanks! Thomas On Wed, 27 Mar 2013 15:40:23 +0100, Thomas Petazzoni wrote: The Armada 370 has two gatable clocks for each PCIe interface, and we want both of them to be enabled. We therefore

Re: [PATCH 1/5 v2] mv643xx_eth: add Device Tree bindings

2013-04-05 Thread Florian Fainelli
Hello Sebastian, Le 04/05/13 15:58, Sebastian Hesselbarth a écrit : On Fri, Apr 5, 2013 at 11:56 AM, Florian Fainelli flor...@openwrt.org wrote: [snip] Florian, took me a while to try you patches out on Dove but now I fixed all issues. I will comment on all related patches but first I want

Re: [PATCHv7 07/17] clk: mvebu: add more PCIe clocks for Armada XP

2013-04-05 Thread Thomas Petazzoni
Mike, Could we have your opinion on the below patch, and possibly an Acked-by to carry it through the arm-soc tree? Thanks, Thomas On Wed, 27 Mar 2013 15:40:24 +0100, Thomas Petazzoni wrote: The current revision of the datasheet only mentions the gatable clocks for the PCIe 0.0, 0.1, 0.2 and

Re: [PATCH 1/2] mfd: stmpe: DT: Enable no-irq mode configuration

2013-04-05 Thread Samuel Ortiz
Hi Linus, On Fri, Mar 01, 2013 at 01:07:16PM +0100, Linus Walleij wrote: From: Gabriel Fernandez gabriel.fernan...@stericsson.com If there is no interrupt property into stmpe node then activate the no-irq mode by setting the irq value to -1. Cc: devicetree-discuss@lists.ozlabs.org

Re: [PATCH V2 1/7] kbuild: create an include chroot for DT bindings

2013-04-05 Thread Rob Herring
On 04/04/2013 08:01 PM, Stephen Warren wrote: On 04/04/2013 05:17 PM, Rob Herring wrote: On 04/03/2013 06:34 PM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com The recent dtc+cpp support allows header files and C pre-processor defines/macros to be used when compiling device

Re: [PATCH 2/2] mfd: stmpe: DT: Add stmpe-i2c dt alias to get id device

2013-04-05 Thread Samuel Ortiz
Hi Linus, On Fri, Mar 01, 2013 at 01:07:26PM +0100, Linus Walleij wrote: From: Gabriel Fernandez gabriel.fernan...@stericsson.com This patch augments the STMP driver to read the device id from the stmpe-i2c dt alias if present. Cc: devicetree-discuss@lists.ozlabs.org Signed-off-by:

Re: [PATCH v10 0/12] Palmas updates

2013-04-05 Thread Samuel Ortiz
Hi Ian, On Fri, Mar 22, 2013 at 02:55:10PM +, Ian Lartey wrote: This patchset adds to the support for the Palmas series of PMIC chips. Some of the patches have previously been submitted individually. The DT bindings doc has been added first due to comments that it was missing. Patches

Re: [PATCH v10 03/12] mfd: palmas add variant and OTP detection

2013-04-05 Thread Samuel Ortiz
Hi Ian, On Fri, Mar 22, 2013 at 02:55:13PM +, Ian Lartey wrote: @@ -278,20 +329,20 @@ static void palmas_dt_to_pdata(struct i2c_client *i2c, int ret; u32 prop; - ret = of_property_read_u32(node, ti,mux_pad1, prop); + ret = of_property_read_u32(node, ti,mux-pad1,

Re: [PATCH v4 04/14] mfd: Add Samsung PWM/timer master driver

2013-04-05 Thread Samuel Ortiz
Hi Tomasz, On Thu, Apr 04, 2013 at 06:37:01PM +0200, Tomasz Figa wrote: This patch adds master driver for PWM/timer block available on many Samsung SoCs providing clocksource and PWM output capabilities. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park

Re: [PATCH] documentation: iommu: add description of ARM System MMU binding

2013-04-05 Thread Rob Herring
On 04/04/2013 11:50 AM, Will Deacon wrote: This patch adds a description of the device tree binding for the ARM System MMU architecture. Cc: Rob Herring robherri...@gmail.com Cc: Andreas Herrmann andreas.herrm...@calxeda.com Signed-off-by: Will Deacon will.dea...@arm.com --- Hello,

Re: [PATCH v4 04/14] mfd: Add Samsung PWM/timer master driver

2013-04-05 Thread Tomasz Figa
Hi Samuel, On Friday 05 of April 2013 18:39:58 Samuel Ortiz wrote: Hi Tomasz, On Thu, Apr 04, 2013 at 06:37:01PM +0200, Tomasz Figa wrote: This patch adds master driver for PWM/timer block available on many Samsung SoCs providing clocksource and PWM output capabilities.

Re: [PATCH] documentation: iommu: add description of ARM System MMU binding

2013-04-05 Thread Will Deacon
Hi Rob, On Fri, Apr 05, 2013 at 05:43:06PM +0100, Rob Herring wrote: On 04/04/2013 11:50 AM, Will Deacon wrote: This patch adds a description of the device tree binding for the ARM System MMU architecture. Cc: Rob Herring robherri...@gmail.com Cc: Andreas Herrmann

Re: [PATCH v4 04/14] mfd: Add Samsung PWM/timer master driver

2013-04-05 Thread Arnd Bergmann
On Friday 05 April 2013, Tomasz Figa wrote: On Friday 05 of April 2013 18:39:58 Samuel Ortiz wrote: Hi Tomasz, On Thu, Apr 04, 2013 at 06:37:01PM +0200, Tomasz Figa wrote: This patch adds master driver for PWM/timer block available on many Samsung SoCs providing clocksource and PWM

Re: [PATCH V2 2/2] ARM: bcm281xx: Add DT support for SMC handler

2013-04-05 Thread Christian Daudt
On Thu, Mar 14, 2013 at 3:14 PM, Christian Daudt c...@broadcom.com wrote: - Adds devicetree binding and documentation for the smc handler Updates from V1: - Created this separate patch for the DT portion - Added SoC compatible to smc binding ... any willing reviewers ? Thanks, csd

Re: [PATCH v4 04/14] mfd: Add Samsung PWM/timer master driver

2013-04-05 Thread Tomasz Figa
On Friday 05 of April 2013 19:05:24 Arnd Bergmann wrote: On Friday 05 April 2013, Tomasz Figa wrote: On Friday 05 of April 2013 18:39:58 Samuel Ortiz wrote: Hi Tomasz, On Thu, Apr 04, 2013 at 06:37:01PM +0200, Tomasz Figa wrote: This patch adds master driver for PWM/timer block

Re: [PATCH 1/5 v2] mv643xx_eth: add Device Tree bindings

2013-04-05 Thread Jason Gunthorpe
On Fri, Apr 05, 2013 at 03:58:03PM +0200, Sebastian Hesselbarth wrote: I don't think that the ethernet controller should probe the PHY's on mdio-bus at all. At least not for DT enabled platforms. I had a look at DT and non-DT mdio-bus sources, and realized that there is a bus scan for non-DT

Re: [PATCH] documentation: iommu: add description of ARM System MMU binding

2013-04-05 Thread Rob Herring
On 04/05/2013 11:57 AM, Will Deacon wrote: Hi Rob, On Fri, Apr 05, 2013 at 05:43:06PM +0100, Rob Herring wrote: [...] +- compatible: Should be one of arm,smmu-v1 or arm,smmu-v2 + depending on the version of the architecture + implemented. We can

Re: [PATCH 1/5 v2] mv643xx_eth: add Device Tree bindings

2013-04-05 Thread Sebastian Hesselbarth
On 04/05/2013 08:04 PM, Jason Gunthorpe wrote: On Fri, Apr 05, 2013 at 03:58:03PM +0200, Sebastian Hesselbarth wrote: I don't think that the ethernet controller should probe the PHY's on mdio-bus at all. At least not for DT enabled platforms. I had a look at DT and non-DT mdio-bus sources, and

[GIT PULL] dt: run C pre-processor on *.dts, create some standard headers

2013-04-05 Thread Stephen Warren
Rob, it might be worth keeping this in a separate branch in linux-next so you can pull it out if it causes any issues. I've been using these patches for quite a while now, but there's always opportunity for surprises on architectures I don't use. I did just fix a bug when building with O= a few

Re: [GIT PULL] dt: run C pre-processor on *.dts, create some standard headers

2013-04-05 Thread Rob Herring
On 04/05/2013 01:46 PM, Stephen Warren wrote: Rob, it might be worth keeping this in a separate branch in linux-next so you can pull it out if it causes any issues. I've been using these patches for quite a while now, but there's always opportunity for surprises on architectures I don't use. I

Re: [PATCH v4 1/3] i2c: mux: Add i2c-arbitrator-cros-ec 'mux' driver

2013-04-05 Thread Simon Glass
HI Wolfram, On Wed, Apr 3, 2013 at 12:19 PM, Wolfram Sang w...@the-dreams.de wrote: Doug, Separately from a discussion of the technical merits, I'd say that this patch is needed because the Embedded Controller (EC) on the ARM Chromebook shipped expecting to communicate with this scheme.

Re: [PATCH v4 04/14] mfd: Add Samsung PWM/timer master driver

2013-04-05 Thread Arnd Bergmann
On Friday 05 April 2013, Tomasz Figa wrote: I don't think anyone ever suggested using a private API though. I must have gotten the last paragraph of http://article.gmane.org/gmane.linux.kernel.samsung-soc/16638 wrong then. For me it seemed like the timer driver would expose a private API

Re: [PATCH v4 1/3] i2c: mux: Add i2c-arbitrator-cros-ec 'mux' driver

2013-04-05 Thread Stephen Warren
On 04/05/2013 01:37 PM, Simon Glass wrote: HI Wolfram, On Wed, Apr 3, 2013 at 12:19 PM, Wolfram Sang w...@the-dreams.de wrote: Doug, Separately from a discussion of the technical merits, I'd say that this patch is needed because the Embedded Controller (EC) on the ARM Chromebook shipped

[PATCH v2 1/9] arm: mvebu: Limit the DMA zone when LPAE is selected

2013-04-05 Thread Gregory CLEMENT
When LPAE is activated on Armada XP, all registers and IOs are still 32bit, the 40bit extension is on the CPU to DRAM path (windows) only. That means that all the DMA transfer are restricted to the low 32 bits address space. This is limitation is achieved by selecting ZONE_DMA. Signed-off-by:

[PATCH v2 0/9] rm: mvebu: Enable LPAE support for Armada XP SoCs

2013-04-05 Thread Gregory CLEMENT
Hello, The Armada XP SoCs have LPAE support. This is the second version patch set whixh allow to run kernel on this SoCs with LPAE support. The biggest changes are the conversion of the device tree file to 64 bits in order to be able to use more than 4GB of memory (without this the LPAE is

[PATCH v2 2/9] arm: mvebu: Align the internal registers virtual base to support LPAE

2013-04-05 Thread Gregory CLEMENT
From: Lior Amsalem al...@marvell.com In order to be able to support he LPAE, the internal registers virtual base must be aligned to 2MB. Signed-off-by: Lior Amsalem al...@marvell.com Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/include/debug/mvebu.S |2

[PATCH v2 3/9] arm: mvebu: Enable pj4b on LPAE compilations

2013-04-05 Thread Gregory CLEMENT
From: Lior Amsalem al...@marvell.com pj4b cpus are LPAE capable so enable them on LPAE compilations Signed-off-by: Lior Amsalem al...@marvell.com Tested-by: Franklin f...@marvell.com Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/mm/proc-v7.S |3 ++- 1 file

[PATCH v2 4/9] arm: dts: Add a 64 bits version of the skeleton device tree

2013-04-05 Thread Gregory CLEMENT
From: Lior Amsalem al...@marvell.com In order to be able to use more than 4GB address-cells and size-cells have to be set to 2 Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com Signed-off-by: Lior Amsalem al...@marvell.com --- arch/arm/boot/dts/skeleton64.dtsi | 13

[PATCH v2 6/9] arm: dts: mvebu: Convert all the mvebu files to use the range property

2013-04-05 Thread Gregory CLEMENT
This conversion will allow to keep 32 bits addresses for the internal registers whereas the memory of the system will be 64 bits. Later it will also ease the move of the mvebu-mbus driver to the device tree support. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com ---

[PATCH v2 7/9] arm: dts: mvebu: introduce internal-regs node

2013-04-05 Thread Gregory CLEMENT
Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/boot/dts/armada-370-db.dts | 108 +- arch/arm/boot/dts/armada-370-mirabox.dts | 78 arch/arm/boot/dts/armada-370-rd.dts |2 +

[PATCH v2 9/9] arm: dts: mvebu: Convert mvebu device tree files to 64 bits

2013-04-05 Thread Gregory CLEMENT
In order to be able to use more than 4GB of RAM when the LPAE is activated, the dts must be converted in 64 bits. Armada XP and Armada 370 share a dtsi file which have also be converted to 64 bits. This lead to convert all the device tree files to 64 bits even the one used for Armada 370 (which

[PATCH v2 8/9] arm: dts: mvebu: fix cpus section indentation

2013-04-05 Thread Gregory CLEMENT
From: Thomas Petazzoni thomas.petazz...@free-electrons.com Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- arch/arm/boot/dts/armada-xp-mv78230.dtsi | 28 arch/arm/boot/dts/armada-xp-mv78260.dtsi | 28

Re: [PATCH v2 1/9] arm: mvebu: Limit the DMA zone when LPAE is selected

2013-04-05 Thread Arnd Bergmann
On Friday 05 April 2013, Gregory CLEMENT wrote: When LPAE is activated on Armada XP, all registers and IOs are still 32bit, the 40bit extension is on the CPU to DRAM path (windows) only. That means that all the DMA transfer are restricted to the low 32 bits address space. This is limitation is

Re: [PATCH v2 7/9] arm: dts: mvebu: introduce internal-regs node

2013-04-05 Thread Arnd Bergmann
On Friday 05 April 2013, Gregory CLEMENT wrote: Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com The patch looks good but the description is a bit short. Arnd ___ devicetree-discuss mailing list

Re: [PATCH v2 8/9] arm: dts: mvebu: fix cpus section indentation

2013-04-05 Thread Arnd Bergmann
On Friday 05 April 2013, Gregory CLEMENT wrote: From: Thomas Petazzoni thomas.petazz...@free-electrons.com Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com This should have a description, even though it's completely trivial. I would also recommend moving this patch first,

Re: [PATCH v2 0/9] rm: mvebu: Enable LPAE support for Armada XP SoCs

2013-04-05 Thread Arnd Bergmann
On Friday 05 April 2013, Gregory CLEMENT wrote: The Armada XP SoCs have LPAE support. This is the second version patch set whixh allow to run kernel on this SoCs with LPAE support. The biggest changes are the conversion of the device tree file to 64 bits in order to be able to use more than

Re: [PATCH v2 7/9] arm: dts: mvebu: introduce internal-regs node

2013-04-05 Thread Gregory CLEMENT
On 04/05/2013 10:43 PM, Arnd Bergmann wrote: On Friday 05 April 2013, Gregory CLEMENT wrote: Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com The patch looks good but the description is a bit short. It cannot be more brief! :) I explained the purpose of this patch in the

Re: [PATCH v2 2/9] arm: mvebu: Align the internal registers virtual base to support LPAE

2013-04-05 Thread Arnd Bergmann
On Friday 05 April 2013, Gregory CLEMENT wrote: From: Lior Amsalem al...@marvell.com In order to be able to support he LPAE, the internal registers virtual base must be aligned to 2MB. Signed-off-by: Lior Amsalem al...@marvell.com Signed-off-by: Gregory CLEMENT

Re: [PATCH v2 1/9] arm: mvebu: Limit the DMA zone when LPAE is selected

2013-04-05 Thread Gregory CLEMENT
On 04/05/2013 10:41 PM, Arnd Bergmann wrote: On Friday 05 April 2013, Gregory CLEMENT wrote: When LPAE is activated on Armada XP, all registers and IOs are still 32bit, the 40bit extension is on the CPU to DRAM path (windows) only. That means that all the DMA transfer are restricted to the low

Re: [PATCH v2 0/9] rm: mvebu: Enable LPAE support for Armada XP SoCs

2013-04-05 Thread Gregory CLEMENT
On 04/05/2013 10:46 PM, Arnd Bergmann wrote: On Friday 05 April 2013, Gregory CLEMENT wrote: The Armada XP SoCs have LPAE support. This is the second version patch set whixh allow to run kernel on this SoCs with LPAE support. The biggest changes are the conversion of the device tree file to

Re: [PATCH v2 2/9] arm: mvebu: Align the internal registers virtual base to support LPAE

2013-04-05 Thread Gregory CLEMENT
On 04/05/2013 10:50 PM, Arnd Bergmann wrote: On Friday 05 April 2013, Gregory CLEMENT wrote: From: Lior Amsalem al...@marvell.com In order to be able to support he LPAE, the internal registers virtual base must be aligned to 2MB. Signed-off-by: Lior Amsalem al...@marvell.com Signed-off-by:

Re: [PATCH v4 04/14] mfd: Add Samsung PWM/timer master driver

2013-04-05 Thread Tomasz Figa
On Friday 05 of April 2013 21:54:21 Arnd Bergmann wrote: On Friday 05 April 2013, Tomasz Figa wrote: I don't think anyone ever suggested using a private API though. I must have gotten the last paragraph of http://article.gmane.org/gmane.linux.kernel.samsung-soc/16638 wrong then. For

Re: [PATCH v4 00/14] ARM: samsung-time: Prepare for multiplatform support

2013-04-05 Thread Tomasz Figa
On Thursday 04 of April 2013 18:36:57 Tomasz Figa wrote: This series is an attempt to make the samsung-time clocksource driver ready for multiplatform kernels. It moves the driver to drivers/clocksource, cleans it up from uses of static platform-specific definitions, simplifies timer interrupt

Re: [RFC PATCH] CLK: Allow parent clock and rate to be configured in DT.

2013-04-05 Thread Matt Sealey
On Thu, Apr 4, 2013 at 6:08 PM, Fabio Estevam feste...@gmail.com wrote: This could be useful for removing the imx6q_sabrelite_cko1_setup() function from arch/arm/mach-imx/mach-imx6q.c. I would like to add audio support for another board and would like to avoid to do the same as

Re: [RFC PATCH] CLK: Allow parent clock and rate to be configured in DT.

2013-04-05 Thread Matt Sealey
Okay now I have finished my criticism, I will make some productive suggestions :) How about we implement a system as follows; modify the clock framework and bindings such that we not only describe all the parents possible for a clock, we also enter into the device tree the current parent? I