Re: [RFC PATCH v5 0/1] drivers: mfd: Versatile Express SPC support

2013-07-18 Thread Lorenzo Pieralisi
Hi Samuel, On Wed, Jul 17, 2013 at 10:07:00PM +0100, Samuel Ortiz wrote: > Hi Lorenzo, > > On Tue, Jul 16, 2013 at 05:05:42PM +0100, Lorenzo Pieralisi wrote: > > Hello, > > > > version v5 of VExpress SPC driver, please read on the changelog for major > > chang

Re: [RFC PATCH v5 0/1] drivers: mfd: Versatile Express SPC support

2013-07-17 Thread Lorenzo Pieralisi
On Wed, Jul 17, 2013 at 10:18:25AM +0100, Pawel Moll wrote: > On Tue, 2013-07-16 at 17:05 +0100, Lorenzo Pieralisi wrote: > > /drivers/mfd is probably not the right place for this code as it stands (but > > probably will be when the entire driver, with DVFS and config interface,

[RFC PATCH v5 0/1] drivers: mfd: Versatile Express SPC support

2013-07-16 Thread Lorenzo Pieralisi
sections warning - Fixed two minor bugs Lorenzo Pieralisi (1): drivers: mfd: vexpress: add Serial Power Controller (SPC) support Documentation/devicetree/bindings/mfd/vexpress-spc.txt | 36 ++ drivers/mfd/Kconfig| 10 + drivers/mfd/Makefile

[RFC PATCH v5 1/1] drivers: mfd: vexpress: add Serial Power Controller (SPC) support

2013-07-16 Thread Lorenzo Pieralisi
Cc: Amit Kucheria Cc: Jon Medhurst Signed-off-by: Achin Gupta Signed-off-by: Lorenzo Pieralisi Signed-off-by: Sudeep KarkadaNagesha --- Documentation/devicetree/bindings/mfd/vexpress-spc.txt | 36 ++ drivers/mfd/Kconfig| 10 + drivers/mfd/Makefile

Re: [RFC PATCH v4 03/18] Documentation: devicetree: arm: cpus/cpu nodes bindings updates

2013-07-16 Thread Lorenzo Pieralisi
On Mon, Jul 15, 2013 at 07:50:46PM +0100, Rob Herring wrote: > On 07/15/2013 04:34 AM, Lorenzo Pieralisi wrote: > > On Fri, Jul 12, 2013 at 03:47:17PM +0100, Rob Herring wrote: > >> On Fri, May 17, 2013 at 10:20 AM, Lorenzo Pieralisi > >> wrote: > >>> I

Re: [RFC PATCH v4 03/18] Documentation: devicetree: arm: cpus/cpu nodes bindings updates

2013-07-15 Thread Lorenzo Pieralisi
On Fri, Jul 12, 2013 at 03:47:17PM +0100, Rob Herring wrote: > On Fri, May 17, 2013 at 10:20 AM, Lorenzo Pieralisi > wrote: > > In order to extend the current cpu nodes bindings to newer CPUs > > inclusive of AArch64 and to update support for older ARM CPUs this > > p

Re: [PATCH 0/2] ARM: sunxi: Convert DTSI to new CPU bindings

2013-07-05 Thread Lorenzo Pieralisi
On Sun, Jun 30, 2013 at 10:48:46AM +0100, Lorenzo Pieralisi wrote: > On Sat, Jun 29, 2013 at 08:38:19PM +0100, Russell King - ARM Linux wrote: > > On Fri, Jun 28, 2013 at 01:05:42PM -0700, Olof Johansson wrote: > > > On Fri, Jun 28, 2013 at 1:03 PM, Maxime Ripard > > >

Re: [GIT PULL] ARM DT cpus/cpu bindings documentation updates

2013-06-26 Thread Lorenzo Pieralisi
Hi Grant, Rob, On Thu, May 23, 2013 at 11:33:15AM +0100, Lorenzo Pieralisi wrote: > Hi Grant, Rob, > > please pull the cpus/cpu nodes bindings updates for ARM. This pull > request completes my previous pull request: > > http://lists.infradead.org/pipermail/linux-arm-kernel/20

Re: [RFC] early init and DT platform devices allocation/registration

2013-06-26 Thread Lorenzo Pieralisi
Hi Magnus, thank you. On Wed, Jun 26, 2013 at 07:20:32AM +0100, Magnus Damm wrote: > Hi Lorenzo, > > On Wed, Jun 26, 2013 at 2:07 AM, Lorenzo Pieralisi > wrote: > > On Tue, Jun 25, 2013 at 03:56:22PM +0100, Stephen Warren wrote: > >> On 06/25/2013 05:45 AM, Grant

Re: [RFC] early init and DT platform devices allocation/registration

2013-06-25 Thread Lorenzo Pieralisi
On Tue, Jun 25, 2013 at 03:56:22PM +0100, Stephen Warren wrote: > On 06/25/2013 05:45 AM, Grant Likely wrote: > > On Mon, Jun 24, 2013 at 5:33 PM, Lorenzo Pieralisi > > wrote: > >> Hi all, > >> > >> I am dealing with a lingering problem related to init

Re: [RFC] early init and DT platform devices allocation/registration

2013-06-25 Thread Lorenzo Pieralisi
Hi Grant, thanks for commenting. On Tue, Jun 25, 2013 at 12:45:25PM +0100, Grant Likely wrote: > On Mon, Jun 24, 2013 at 5:33 PM, Lorenzo Pieralisi > wrote: > > Hi all, > > > > I am dealing with a lingering problem related to init and probing of > > platform >

[RFC] early init and DT platform devices allocation/registration

2013-06-24 Thread Lorenzo Pieralisi
Hi all, I am dealing with a lingering problem related to init and probing of platform devices early (before initcalls) in the kernel boot process. The problem, which is nothing new, is related to how platform devices are created in the kernel from DT and when they become available. Platform device

Re: [PATCH 1/3] ARM: kernel: get cpu clock rate from cpu clock node first

2013-06-21 Thread Lorenzo Pieralisi
On Thu, Jun 20, 2013 at 03:39:04PM +0100, Florian Fainelli wrote: > The current topology code will only attempt to parse a "clock-frequency" > property for a given CPU node. Some platforms such as the ecx-2000 > provide a clock node. Change the logic to first look for a clock node, > and if we fail

Re: [PATCH 3/3] ARM: kernel: document ARM CPUs clocks and clock-frequency properties

2013-06-21 Thread Lorenzo Pieralisi
On Thu, Jun 20, 2013 at 03:39:06PM +0100, Florian Fainelli wrote: > ARM CPU device tree nodes may contain a "clock-frequency" property, > when set, this property must contain the CPU frequency in Hz, > which is then used by the topology parsing code in > arch/arm/kernel/topology.c to deduced the CP

Re: [PATCH 5/6] ARM: dts: imx27 cpufreq-cpu0 frequencies

2013-06-21 Thread Lorenzo Pieralisi
On Fri, Jun 21, 2013 at 06:23:46AM +0100, Shawn Guo wrote: > On Fri, Jun 21, 2013 at 08:54:53AM +0400, Alexander Shiyan wrote: > > > On Thu, Jun 20, 2013 at 04:50:14PM +0200, Markus Pargmann wrote: > > > > + cpus { > > > > + #size-cells = <0>; > > > > + #address-ce

Re: [PATCH] ARM: kernel: document ARM CPUs clock-frequency property

2013-06-19 Thread Lorenzo Pieralisi
On Wed, Jun 19, 2013 at 11:27:50AM +0100, Florian Fainelli wrote: > Hello Mark, > > 2013/6/19 Mark Rutland : > > On Wed, Jun 19, 2013 at 10:47:17AM +0100, Florian Fainelli wrote: > >> ARM CPU device tree nodes may contain an optional clock-frequency > >> property, when set, this property must cont

Re: [RFC PATCH v4 2/2] drivers: mfd: vexpress: add Serial Power Controller (SPC) support

2013-06-18 Thread Lorenzo Pieralisi
On Tue, Jun 18, 2013 at 05:25:22AM +0100, Nicolas Pitre wrote: > On Mon, 17 Jun 2013, Lorenzo Pieralisi wrote: > > > The TC2 versatile express core tile integrates a logic block that provides > > the > > interface between the dual cluster test-chip and the M3 microcontrol

Re: [RFC PATCH v4 2/2] drivers: mfd: vexpress: add Serial Power Controller (SPC) support

2013-06-18 Thread Lorenzo Pieralisi
Hi Olof, thanks a lot. On Mon, Jun 17, 2013 at 06:44:51PM +0100, Olof Johansson wrote: > On Mon, Jun 17, 2013 at 04:51:09PM +0100, Lorenzo Pieralisi wrote: > > The TC2 versatile express core tile integrates a logic block that provides > > the > > interface between the dual

[RFC PATCH v4 2/2] drivers: mfd: vexpress: add Serial Power Controller (SPC) support

2013-06-17 Thread Lorenzo Pieralisi
Kucheria Cc: Jon Medhurst Signed-off-by: Achin Gupta Signed-off-by: Lorenzo Pieralisi Signed-off-by: Sudeep KarkadaNagesha Reviewed-by: Nicolas Pitre --- Documentation/devicetree/bindings/mfd/vexpress-spc.txt | 36 + drivers/mfd/Kconfig| 13 + drivers/mfd

[RFC PATCH v4 0/2] drivers: mfd: Versatile Express SPC support

2013-06-17 Thread Lorenzo Pieralisi
comply with the Versatile Express config API, second patch is the SPC driver implementation. Code extensively exercised through CPUidle and CPUfreq power states and operating point transitions. Lorenzo Pieralisi (1): drivers: mfd: vexpress: add Serial Power Controller (SPC) support Pawel Moll (1

[RFC PATCH v4 1/2] drivers: mfd: refactor the vexpress config bridge API

2013-06-17 Thread Lorenzo Pieralisi
From: Pawel Moll The introduction of Serial Power Controller (SPC) requires the vexpress config interface to change slightly since the SPC memory mapped interface can be used as configuration bus but also for operating points programming and retrieval. The helper that allocates the bridge functio

Re: [RFC PATCH v3 2/2] drivers: mfd: vexpress: add Serial Power Controller (SPC) support

2013-06-14 Thread Lorenzo Pieralisi
eadability, which is one of the most important things of new code > these days. > > Please find a shorter suitable prefix than vexpress_spc_.* too, it's > way too long. Ok. > On Thu, Jun 06, 2013 at 10:59:23AM +0100, Lorenzo Pieralisi wrote: > > The TC2 versatile expre

Re: [RFC PATCH v3 2/2] drivers: mfd: vexpress: add Serial Power Controller (SPC) support

2013-06-13 Thread Lorenzo Pieralisi
> On Thu, Jun 06, 2013 at 10:59:23AM +0100, Lorenzo Pieralisi wrote: > > diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig > > index d54e985..391eda1 100644 > > --- a/drivers/mfd/Kconfig > > +++ b/drivers/mfd/Kconfig > > @@ -1148,3 +1148,10 @@ config VE

Re: [RFC PATCH v3 0/2] drivers: mfd: Versatile Express SPC support

2013-06-11 Thread Lorenzo Pieralisi
management back-ends, your ack would be appreciated, if you think it is worth it of course. Thank you very much indeed, Lorenzo On Thu, Jun 06, 2013 at 10:59:21AM +0100, Lorenzo Pieralisi wrote: > This patch is v3 of a previous posting: > > http://lists.infradead.org/pipermail/linux-arm-ke

Re: [PATCH] arm/dt: Don't add disabled CPUs to system topology

2013-06-07 Thread Lorenzo Pieralisi
On Fri, Jun 07, 2013 at 12:48:58PM +0100, James King wrote: > Hi Lorenzo, > > On 7 June 2013 11:23, Lorenzo Pieralisi wrote: > > Hi James, > > > > On Thu, Jun 06, 2013 at 06:11:25PM +0100, James King wrote: > >> If CPUs are marked as disabled in the devicetr

Re: [PATCH] arm/dt: Don't add disabled CPUs to system topology

2013-06-07 Thread Lorenzo Pieralisi
On Fri, Jun 07, 2013 at 03:20:20PM +0100, Rob Herring wrote: > On 06/07/2013 05:23 AM, Lorenzo Pieralisi wrote: > > Hi James, > > > > On Thu, Jun 06, 2013 at 06:11:25PM +0100, James King wrote: > >> If CPUs are marked as disabled in the devicetree, make sure they d

Re: [PATCH] arm/dt: Don't add disabled CPUs to system topology

2013-06-07 Thread Lorenzo Pieralisi
Hi James, On Thu, Jun 06, 2013 at 06:11:25PM +0100, James King wrote: > If CPUs are marked as disabled in the devicetree, make sure they do > not exist in the system CPU information and CPU topology information. > In this case these CPUs will not be able to be added to the system later > using hot

[RFC PATCH v3 2/2] drivers: mfd: vexpress: add Serial Power Controller (SPC) support

2013-06-06 Thread Lorenzo Pieralisi
Medhurst Signed-off-by: Achin Gupta Signed-off-by: Lorenzo Pieralisi Signed-off-by: Sudeep KarkadaNagesha Reviewed-by: Nicolas Pitre --- Documentation/devicetree/bindings/mfd/vexpress-spc.txt | 35 + drivers/mfd/Kconfig| 7 + drivers/mfd/Makefile

[RFC PATCH v3 1/2] drivers: mfd: refactor the vexpress config bridge API

2013-06-06 Thread Lorenzo Pieralisi
From: Pawel Moll The introduction of Serial Power Controller (SPC) requires the vexpress config interface to change slightly since the SPC memory mapped interface can be used as configuration bus but also for operating points programming and retrieval. The helper that allocates the bridge functio

[RFC PATCH v3 0/2] drivers: mfd: Versatile Express SPC support

2013-06-06 Thread Lorenzo Pieralisi
implementation. Code extensively exercised through CPUidle and CPUfreq power states and operating point transitions. Lorenzo Pieralisi (1): drivers: mfd: vexpress: add Serial Power Controller (SPC) support Pawel Moll (1): drivers: mfd: refactor the vexpress config bridge API Documentation

Re: [RFC PATCH v2 2/2] drivers: mfd: vexpress: add Serial Power Controller (SPC) support

2013-06-05 Thread Lorenzo Pieralisi
On Wed, Jun 05, 2013 at 07:08:33PM +0100, Jon Medhurst (Tixy) wrote: > On Wed, 2013-06-05 at 12:46 +0100, Lorenzo Pieralisi wrote: > [...] > > +static const struct of_device_id vexpress_spc_ids[] __initconst = { > > + { .compatible = "arm,vexpress-spc,v2p-ca15_a7" },

[RFC PATCH v2 0/2] drivers: mfd: Versatile Express SPC support

2013-06-05 Thread Lorenzo Pieralisi
operating point transitions. Lorenzo Pieralisi (1): drivers: mfd: vexpress: add Serial Power Controller (SPC) support Pawel Moll (1): drivers: mfd: refactor the vexpress config bridge API .../devicetree/bindings/mfd/vexpress-spc.txt | 35 ++ drivers/mfd/Kconfig

[RFC PATCH v2 1/2] drivers: mfd: refactor the vexpress config bridge API

2013-06-05 Thread Lorenzo Pieralisi
From: Pawel Moll The introduction of Serial Power Controller (SPC) requires the vexpress config interface to change slightly since the SPC memory mapped interface can be used as configuration bus but also for operating points programming and retrieval. The helper that allocates the bridge functio

[RFC PATCH v2 2/2] drivers: mfd: vexpress: add Serial Power Controller (SPC) support

2013-06-05 Thread Lorenzo Pieralisi
Medhurst Signed-off-by: Achin Gupta Signed-off-by: Lorenzo Pieralisi Signed-off-by: Sudeep KarkadaNagesha --- .../devicetree/bindings/mfd/vexpress-spc.txt | 35 ++ drivers/mfd/Kconfig| 7 + drivers/mfd/Makefile | 1

Re: [RFC PATCH 2/3] drivers: mfd: vexpress: add timeout API to vexpress config interface

2013-06-03 Thread Lorenzo Pieralisi
On Mon, Jun 03, 2013 at 01:03:50PM +0100, Jon Medhurst (Tixy) wrote: > On Mon, 2013-06-03 at 12:52 +0100, Lorenzo Pieralisi wrote: > > On Mon, Jun 03, 2013 at 11:15:32AM +0100, Jon Medhurst (Tixy) wrote: > > > On Fri, 2013-05-24 at 13:53 +0100, Lorenzo Pieralisi wrote: &g

Re: [RFC PATCH 2/3] drivers: mfd: vexpress: add timeout API to vexpress config interface

2013-06-03 Thread Lorenzo Pieralisi
On Mon, Jun 03, 2013 at 11:15:32AM +0100, Jon Medhurst (Tixy) wrote: > On Fri, 2013-05-24 at 13:53 +0100, Lorenzo Pieralisi wrote: > > In case some transactions to the Serial Power Controller (SPC) are lost > > owing > > to multiple operations handled at once by the M3 contr

[RFC PATCH 3/3] drivers: mfd: vexpress: add Serial Power Controller (SPC) support

2013-05-24 Thread Lorenzo Pieralisi
Medhurst Signed-off-by: Achin Gupta Signed-off-by: Lorenzo Pieralisi Signed-off-by: Sudeep KarkadaNagesha --- Documentation/devicetree/bindings/mfd/vexpress-spc.txt | 35 + drivers/mfd/Kconfig| 7 + drivers/mfd/Makefile

[RFC PATCH 2/3] drivers: mfd: vexpress: add timeout API to vexpress config interface

2013-05-24 Thread Lorenzo Pieralisi
: Lorenzo Pieralisi --- drivers/mfd/vexpress-config.c | 26 +++--- include/linux/vexpress.h | 23 ++-- 2 files changed, 37 insertions(+), 12 deletions(-) diff --git a/drivers/mfd/vexpress-config.c b/drivers/mfd/vexpress-config.c index 1af2b0e..6f4aa5a 100644 --- a/drivers/mfd

[RFC PATCH 1/3] drivers: mfd: refactor the vexpress config bridge API

2013-05-24 Thread Lorenzo Pieralisi
From: Pawel Moll The introduction of Serial Power Controller (SPC) requires the vexpress config interface to change slightly since the SPC memory mapped interface can be used as configuration bus but also for operating points programming and retrieval. The helper that allocates the bridge functio

[RFC PATCH 0/3] drivers: mfd: Versatile Express SPC support

2013-05-24 Thread Lorenzo Pieralisi
patches provide changes required by SPC to comply with the Versatile Express config API, third patch is the SPC driver implementation. Code extensively exercised through CPUidle and CPUfreq power states and operating point transitions. Lorenzo Pieralisi (2): drivers: mfd: vexpress: add timeout API to

[GIT PULL] ARM cpu logical map init updates

2013-05-23 Thread Lorenzo Pieralisi
) Lorenzo Pieralisi (3): ARM: kernel: fix arm_dt_init_cpu_maps() to skip non-cpu nodes ARM: kernel: fix __cpu_logical_map default initialization ARM: DT: kernel: DT cpus/cpu node bindings update arch/arm/include/asm/cputype.h | 2

[GIT PULL] ARM dts cpus/cpu nodes updates

2013-05-23 Thread Lorenzo Pieralisi
: cpus/cpu nodes dts updates (2013-05-23 10:45:22 +0100) Lorenzo Pieralisi (14): ARM: dts: am33xx: cpus/cpu nodes dts updates ARM: dts: armada-370-xp: cpus/cpu node dts updates ARM: dts: at91: cpus/cpu node dts

[GIT PULL] ARM DT cpus/cpu bindings documentation updates

2013-05-23 Thread Lorenzo Pieralisi
: arm: cpus/cpu nodes bindings updates (2013-05-23 10:46:46 +0100) Lorenzo Pieralisi (1): Documentation: devicetree: arm: cpus/cpu nodes bindings updates Documentation/devicetree/bindings/arm/cpus.txt | 459

Re: [RFC PATCH v3] drivers: bus: add ARM CCI support

2013-05-21 Thread Lorenzo Pieralisi
On Mon, May 20, 2013 at 01:11:21PM +0100, Jon Medhurst (Tixy) wrote: > On Thu, 2013-05-09 at 11:34 +0100, Lorenzo Pieralisi wrote: > [...] > > +static int __init cci_probe(void) > > +{ > > + struct cci_nb_ports const *cci_config; > > + int ret, i, nb_ace = 0, n

Re: [RFC PATCH v4 01/18] ARM: kernel: fix arm_dt_init_cpu_maps() to skip non-cpu nodes

2013-05-17 Thread Lorenzo Pieralisi
On Fri, May 17, 2013 at 05:31:18PM +0100, Rob Herring wrote: > On Fri, May 17, 2013 at 10:20 AM, Lorenzo Pieralisi > wrote: > > The introduction of the cpu-map topology node in the cpus node implies > > that cpus node might have children that are not cpu nodes. The DT >

[GIT PULL] ARM DT topology bindings

2013-05-17 Thread Lorenzo Pieralisi
9cb1b6c8d59f09e51c87ac812b83d0350151ed3b: Documentation: DT: arm: define CPU topology bindings (2013-05-17 16:40:12 +0100) Lorenzo Pieralisi (1): Documentation: DT: arm: define CPU topology bindings Documentation/devicetree/bindings/arm/topology.txt | 492

[RFC PATCH v4 10/18] ARM: dts: omap: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi --- arch/arm/boot/dts/omap2.dtsi | 6 +- arch/arm/boot/dts/omap3.dtsi | 5 + arch/arm/boot/dts/omap4.dtsi | 7 +++ arch/arm/boot/dts/omap5.dtsi

[RFC PATCH v4 08/18] ARM: dts: imx: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi Acked-by: Shawn Guo --- arch/arm/boot/dts/imx23.dtsi | 8 ++-- arch/arm/boot/dts/imx28.dtsi | 8 ++-- arch/arm/boot/dts/imx6dl.dtsi | 2 ++ arch

[RFC PATCH v4 16/18] ARM: dts: spear: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi Acked-by: Viresh Kumar --- arch/arm/boot/dts/spear13xx.dtsi | 2 ++ arch/arm/boot/dts/spear3xx.dtsi | 8 ++-- arch/arm/boot/dts/spear600.dtsi | 8

[RFC PATCH v4 05/18] ARM: dts: armada-370-xp: cpus/cpu node dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi --- arch/arm/boot/dts/armada-370-xp.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts

[RFC PATCH v4 03/18] Documentation: devicetree: arm: cpus/cpu nodes bindings updates

2013-05-17 Thread Lorenzo Pieralisi
dts compatibility settings - defines behaviour on pre and post v7 uniprocessor systems - adds ARM 11MPcore specific reg property definition Signed-off-by: Lorenzo Pieralisi --- Documentation/devicetree/bindings/arm/cpus.txt | 459 ++--- 1 file changed, 412 insertions

[RFC PATCH v4 04/18] ARM: dts: am33xx: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi --- arch/arm/boot/dts/am33xx.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi

[RFC PATCH v4 09/18] ARM: dts: lpc32xx: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi --- arch/arm/boot/dts/lpc32xx.dtsi | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/lpc32xx.dtsi b/arch/arm

[RFC PATCH v4 06/18] ARM: dts: at91: cpus/cpu node dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi Acked-by: Nicolas Ferre --- arch/arm/boot/dts/at91rm9200.dtsi | 6 +- arch/arm/boot/dts/at91sam9260.dtsi | 8 ++-- arch/arm/boot/dts/at91sam9263

[RFC PATCH v4 13/18] ARM: dts: pxa2xx: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi --- arch/arm/boot/dts/pxa2xx.dtsi | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/pxa2xx.dtsi b/arch/arm/boot

[RFC PATCH v4 12/18] ARM: dts: prima2: cpus/cpu node dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi Acked-by: Barry Song --- arch/arm/boot/dts/prima2.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/prima2.dtsi b/arch/arm/boot

[RFC PATCH v4 18/18] ARM: DT: kernel: DT cpus/cpu node bindings update

2013-05-17 Thread Lorenzo Pieralisi
the kernel flags this up as such to trigger firmware updates. Signed-off-by: Lorenzo Pieralisi --- arch/arm/kernel/devtree.c | 146 -- 1 file changed, 88 insertions(+), 58 deletions(-) diff --git a/arch/arm/kernel/devtree.c b/arch/arm/kernel/devtree.c

[RFC PATCH v4 11/18] ARM: dts: picoxcell: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi --- arch/arm/boot/dts/picoxcell-pc3x2.dtsi | 8 arch/arm/boot/dts/picoxcell-pc3x3.dtsi | 8 2 files changed, 8 insertions(+), 8 deletions

[RFC PATCH v4 02/18] ARM: kernel: fix __cpu_logical_map default initialization

2013-05-17 Thread Lorenzo Pieralisi
array used to stash DT reg properties while parsing DT are initialized with the MPIDR_INVALID value as well for consistency. Signed-off-by: Lorenzo Pieralisi CC: Will Deacon --- arch/arm/include/asm/cputype.h | 2 ++ arch/arm/include/asm/smp_plat.h | 2 +- arch/arm/kernel/devtree.c | 2

[RFC PATCH v4 07/18] ARM: dts: exynos5440: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi --- arch/arm/boot/dts/exynos5440.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/exynos5440.dtsi b/arch/arm/boot/dts

[RFC PATCH v4 00/18] ARM: DT cpu bindings updates

2013-05-17 Thread Lorenzo Pieralisi
compiled for 64-bit kernels can also be used to boot a 32-bit system. Lorenzo Pieralisi (18): ARM: kernel: fix arm_dt_init_cpu_maps() to skip non-cpu nodes ARM: kernel: fix __cpu_logical_map default initialization Documentation: devicetree: arm: cpus/cpu nodes bindings updates ARM: dts

[RFC PATCH v4 01/18] ARM: kernel: fix arm_dt_init_cpu_maps() to skip non-cpu nodes

2013-05-17 Thread Lorenzo Pieralisi
bearing on bindings defined in the dts source file. Signed-off-by: Lorenzo Pieralisi --- arch/arm/kernel/devtree.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/kernel/devtree.c b/arch/arm/kernel/devtree.c index 5af04f6..904cad5 100644 --- a/arch/arm/kernel/devtree.c +++ b/arch

[RFC PATCH v4 17/18] ARM: dts: sunxi: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi Acked-by: Maxime Ripard --- arch/arm/boot/dts/sun4i-a10.dtsi | 2 ++ arch/arm/boot/dts/sun5i-a13.dtsi | 2 ++ 2 files changed, 4 insertions(+) diff --git

[RFC PATCH v4 15/18] ARM: dts: sh7372: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi Acked-by: Simon Horman --- arch/arm/boot/dts/sh7372.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sh7372.dtsi b/arch/arm

[RFC PATCH v4 14/18] ARM: dts: r8a7740: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi Acked-by: Simon Horman --- arch/arm/boot/dts/r8a7740.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/r8a7740.dtsi b/arch/arm

Re: [PATCH 3/3] ARM: kernel: fix __cpu_logical_map default initialization

2013-05-16 Thread Lorenzo Pieralisi
On Thu, May 16, 2013 at 04:50:38PM +0100, Will Deacon wrote: > On Thu, May 16, 2013 at 04:34:07PM +0100, Lorenzo Pieralisi wrote: > > For legacy reasons, the __cpu_logical_map array is initialized to 0. > > On old pre-DT ARM platforms, smp_setup_processor_id() generates > &

[PATCH 2/3] ARM: kernel: fix arm_dt_init_cpu_maps() to skip non-cpu nodes

2013-05-16 Thread Lorenzo Pieralisi
bearing on bindings defined in the dts source file. Signed-off-by: Lorenzo Pieralisi --- arch/arm/kernel/devtree.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/kernel/devtree.c b/arch/arm/kernel/devtree.c index 3d652e4f..d2293c0 100644 --- a/arch/arm/kernel/devtree.c +++ b/arch

[PATCH 0/3] ARM: kernel: cpu_logical_map misc fixes

2013-05-16 Thread Lorenzo Pieralisi
and arm64. Thank you very much, Lorenzo Lorenzo Pieralisi (3): ARM: DT: kernel: move temporary cpu map stack array to static data ARM: kernel: fix arm_dt_init_cpu_maps() to skip non-cpu nodes ARM: kernel: fix __cpu_logical_map default initialization arch/arm/include/asm/cputype.h | 2

[PATCH 1/3] ARM: DT: kernel: move temporary cpu map stack array to static data

2013-05-16 Thread Lorenzo Pieralisi
__initdata since it need not be persistent after boot. Signed-off-by: Lorenzo Pieralisi --- arch/arm/kernel/devtree.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/kernel/devtree.c b/arch/arm/kernel/devtree.c index 5af04f6..3d652e4f 100644 --- a/arch/arm/kernel

[PATCH 3/3] ARM: kernel: fix __cpu_logical_map default initialization

2013-05-16 Thread Lorenzo Pieralisi
, statically initializes the __cpu_logical_map[] array to it and allows DT parsing code to overwrite values in the __cpu_logical_map array that were erroneously set-up in smp_setup_processor_id(). Signed-off-by: Lorenzo Pieralisi CC: Will Deacon --- arch/arm/include/asm/cputype.h | 2 ++ arch/arm

Re: [RFC PATCH v3] drivers: bus: add ARM CCI support

2013-05-15 Thread Lorenzo Pieralisi
On Wed, May 15, 2013 at 03:51:43PM +0100, Nicolas Pitre wrote: > On Wed, 15 May 2013, Lorenzo Pieralisi wrote: > > > On Tue, May 14, 2013 at 11:21:32PM +0100, Nicolas Pitre wrote: > > > On Tue, 14 May 2013, Javi Merino wrote: > > > > > > > On Thu,

Re: [RFC PATCH v3] drivers: bus: add ARM CCI support

2013-05-15 Thread Lorenzo Pieralisi
On Tue, May 14, 2013 at 11:21:32PM +0100, Nicolas Pitre wrote: > On Tue, 14 May 2013, Javi Merino wrote: > > > On Thu, May 09, 2013 at 11:34:00AM +0100, Lorenzo Pieralisi wrote: > > > > > +static inline void init_cpu_port(struct cpu_port *port, u32 index, u32 >

Re: [RFC PATCH v3 05/17] ARM: dts: at91: cpus/cpu node dts updates

2013-05-14 Thread Lorenzo Pieralisi
On Tue, May 14, 2013 at 10:20:00AM +0100, Nicolas Ferre wrote: > On 29/04/2013 11:54, Nicolas Ferre : > > On 04/24/2013 07:28 PM, Lorenzo Pieralisi : > >> This patch updates the in-kernel dts files according to the latest cpus > >> and cpu bindings updates for ARM. >

[RFC PATCH v3] drivers: bus: add ARM CCI support

2013-05-09 Thread Lorenzo Pieralisi
bus masters phandle properties that link the interface resources to masters node in the device tree. Documentation describing the CCI DT bindings is provided with the patch. Signed-off-by: Lorenzo Pieralisi --- Documentation/devicetree/bindings/arm/cci.txt | 161 ++ drivers/bus/Kconfig

[RFC PATCH v3] ARM CCI support

2013-05-09 Thread Lorenzo Pieralisi
bus can address the entire address space visible to CPUs. Lorenzo Pieralisi (1): drivers: bus: add ARM CCI support Documentation/devicetree/bindings/arm/cci.txt | 161 ++ drivers/bus/Kconfig | 7 + drivers/bus/Makefile | 2

Re: [RFC PATCH v2] drivers: bus: add ARM CCI support

2013-05-07 Thread Lorenzo Pieralisi
On Mon, May 06, 2013 at 04:05:28PM +0100, Nicolas Pitre wrote: > Review comments below. Thanks Nico. > On Wed, 1 May 2013, Lorenzo Pieralisi wrote: > > > index 000..fb9e8e0 > > --- /dev/null > > +++ b/drivers/bus/arm-cci.c > > @@ -0,0 +1,372 @@ &

Re: [RFC PATCH v2] drivers: bus: add ARM CCI support

2013-05-07 Thread Lorenzo Pieralisi
On Fri, May 03, 2013 at 04:17:07PM +0100, Javi Merino wrote: > Hi Lorenzo, > > On Wed, May 01, 2013 at 05:18:28PM +0100, Lorenzo Pieralisi wrote: > > On ARM multi-cluster systems coherency between cores running on > > different clusters is managed by the cache-coherent inter

Re: [RFC PATCH v2 13/13] ARM: DT: kernel: DT cpu node bindings update

2013-05-03 Thread Lorenzo Pieralisi
On Thu, May 02, 2013 at 07:31:05PM +0100, Stephen Warren wrote: > On 04/22/2013 09:27 AM, Lorenzo Pieralisi wrote: > > In order to extend the current cpu nodes bindings to newer CPUs > > inclusive of AArch64 and to update support for older ARM CPUs this > > patch updates devi

[RFC PATCH v2] drivers: bus: add ARM CCI support

2013-05-01 Thread Lorenzo Pieralisi
bus masters phandle properties that link the interface resources to masters node in the device tree. Documentation describing the CCI DT bindings is provided with the patch. Signed-off-by: Lorenzo Pieralisi --- Documentation/devicetree/bindings/arm/cci.txt | 161 +++ drivers/bus/Kconfig

[RFC PATCH v2] ARM CCI support

2013-05-01 Thread Lorenzo Pieralisi
ports and allow the OS to build up the required data structures. The current CCI DT bindings define the CCI address space as the same one as the root device tree node, which means that the CCI bus can address the entire address space visible to CPUs. Lorenzo Pieralisi (1): drivers: bus: add ARM C

Re: [RFC PATCH v3 02/17] Documentation: devicetree: arm: cpus/cpu nodes bindings updates

2013-04-26 Thread Lorenzo Pieralisi
On Fri, Apr 26, 2013 at 03:51:10AM +0100, Rob Herring wrote: > On Wed, Apr 24, 2013 at 12:28 PM, Lorenzo Pieralisi > wrote: > > In order to extend the current cpu nodes bindings to newer CPUs > > inclusive of AArch64 and to update support for older ARM CPUs this > > p

Re: [RFC PATCH v3 02/17] Documentation: devicetree: arm: cpus/cpu nodes bindings updates

2013-04-25 Thread Lorenzo Pieralisi
On Wed, Apr 24, 2013 at 08:58:20PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: [...] > > + - compatible: > > + Usage: required > > + Value type: > > + Definition: should be one of: > > + "arm,arm710t" > > +

Re: [RFC PATCH v3 07/17] ARM: dts: imx: cpus/cpu nodes dts updates

2013-04-25 Thread Lorenzo Pieralisi
On Thu, Apr 25, 2013 at 06:44:28AM +0100, Shawn Guo wrote: > On Wed, Apr 24, 2013 at 06:28:12PM +0100, Lorenzo Pieralisi wrote: > > This patch updates the in-kernel dts files according to the latest cpus > > and cpu bindings updates for ARM. > > > > Signe

[RFC PATCH v3 17/17] ARM: DT: kernel: DT cpus/cpu node bindings update

2013-04-24 Thread Lorenzo Pieralisi
and the kernel flags this up as a bug to force firmware updates. Signed-off-by: Lorenzo Pieralisi --- arch/arm/kernel/devtree.c | 78 +-- 1 file changed, 48 insertions(+), 30 deletions(-) diff --git a/arch/arm/kernel/devtree.c b/arch/arm/kernel/devtree.c

[RFC PATCH v3 10/17] ARM: dts: picoxcell: cpus/cpu nodes dts updates

2013-04-24 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi --- arch/arm/boot/dts/picoxcell-pc3x2.dtsi | 8 arch/arm/boot/dts/picoxcell-pc3x3.dtsi | 8 2 files changed, 8 insertions(+), 8 deletions

[RFC PATCH v3 03/17] ARM: dts: am33xx: cpus/cpu nodes dts updates

2013-04-24 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi --- arch/arm/boot/dts/am33xx.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi

[RFC PATCH v3 05/17] ARM: dts: at91: cpus/cpu node dts updates

2013-04-24 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi --- arch/arm/boot/dts/at91rm9200.dtsi | 6 +- arch/arm/boot/dts/at91sam9260.dtsi | 8 ++-- arch/arm/boot/dts/at91sam9263.dtsi | 8 ++-- arch

[RFC PATCH v3 08/17] ARM: dts: lpc32xx: cpus/cpu nodes dts updates

2013-04-24 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi --- arch/arm/boot/dts/lpc32xx.dtsi | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/lpc32xx.dtsi b/arch/arm

[RFC PATCH v3 15/17] ARM: dts: spear: cpus/cpu nodes dts updates

2013-04-24 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi --- arch/arm/boot/dts/spear13xx.dtsi | 2 ++ arch/arm/boot/dts/spear3xx.dtsi | 8 ++-- arch/arm/boot/dts/spear600.dtsi | 8 ++-- 3 files changed

[RFC PATCH v3 02/17] Documentation: devicetree: arm: cpus/cpu nodes bindings updates

2013-04-24 Thread Lorenzo Pieralisi
dts compatibility settings - defines behaviour on pre and post v7 uniprocessor systems - adds ARM 11MPcore specific reg property definition Signed-off-by: Lorenzo Pieralisi --- Documentation/devicetree/bindings/arm/cpus.txt | 457 ++--- 1 file changed, 410 insertions

[RFC PATCH v3 06/17] ARM: dts: exynos5440: cpus/cpu nodes dts updates

2013-04-24 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi --- arch/arm/boot/dts/exynos5440.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/exynos5440.dtsi b/arch/arm/boot

[RFC PATCH v3 11/17] ARM: dts: prima2: cpus/cpu node dts updates

2013-04-24 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi --- arch/arm/boot/dts/prima2.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/prima2.dtsi b/arch/arm/boot/dts/prima2.dtsi index

[RFC PATCH v3 13/17] ARM: dts: r8a7740: cpus/cpu nodes dts updates

2013-04-24 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi --- arch/arm/boot/dts/r8a7740.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/r8a7740.dtsi b/arch/arm/boot/dts/r8a7740.dtsi

[RFC PATCH v3 16/17] ARM: dts: sunxi: cpus/cpu nodes dts updates

2013-04-24 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi --- arch/arm/boot/dts/sunxi.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sunxi.dtsi b/arch/arm/boot/dts/sunxi.dtsi index

[RFC PATCH v3 14/17] ARM: dts: sh7372: cpus/cpu nodes dts updates

2013-04-24 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi --- arch/arm/boot/dts/sh7372.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sh7372.dtsi b/arch/arm/boot/dts/sh7372.dtsi

[RFC PATCH v3 12/17] ARM: dts: pxa2xx: cpus/cpu nodes dts updates

2013-04-24 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi --- arch/arm/boot/dts/pxa2xx.dtsi | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/pxa2xx.dtsi b/arch/arm/boot

[RFC PATCH v3 09/17] ARM: dts: omap: cpus/cpu nodes dts updates

2013-04-24 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi --- arch/arm/boot/dts/omap2.dtsi | 6 +- arch/arm/boot/dts/omap3.dtsi | 5 + arch/arm/boot/dts/omap4.dtsi | 7 +++ arch/arm/boot/dts/omap5.dtsi

[RFC PATCH v3 07/17] ARM: dts: imx: cpus/cpu nodes dts updates

2013-04-24 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi --- arch/arm/boot/dts/imx23.dtsi | 8 ++-- arch/arm/boot/dts/imx28.dtsi | 8 ++-- arch/arm/boot/dts/imx6dl.dtsi | 2 ++ arch/arm/boot/dts

[RFC PATCH v3 04/17] ARM: dts: armada-370-xp: cpus/cpu node dts updates

2013-04-24 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi --- arch/arm/boot/dts/armada-370-xp.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts

[RFC PATCH v3 00/17] ARM: DT cpu bindings updates

2013-04-24 Thread Lorenzo Pieralisi
compiled for 64-bit kernels can also be used to boot a 32-bit system. Lorenzo Pieralisi (17): ARM: DT: kernel: move temporary cpu map stack array to static data Documentation: devicetree: arm: cpus/cpu nodes bindings updates ARM: dts: am33xx: cpus/cpu nodes dts updates ARM: dts: armada-370-xp

  1   2   3   >