[PATCH v4 RESEND] devicetree: bindings: separate CPU enable method descriptions

2014-07-01 Thread Alex Elder
ies (optional or required) are associated with the method. The existing enable method documentation is expanded and moved from ".../arm/cpus.txt" into new files accordingly. Signed-off-by: Alex Elder --- v4 - Rebased on top of v3.16-rc1. - Added description files for recently-added

[PATCH] devicetree: bindings: document Broadcom CPU enable method

2014-06-30 Thread Alex Elder
. The use of an enable method also allows the SMP operation vector to be assigned as a result of device tree content for these SoCs. Signed-off-by: Alex Elder --- Notes: - This patch was previously posted as part of this series: https://lkml.org/lkml/2014/6/16/580 - The binding

[PATCH v4] devicetree: bindings: separate CPU enable method descriptions

2014-06-16 Thread Alex Elder
ies (optional or required) are associated with the method. The existing enable method documentation is expanded and moved from ".../arm/cpus.txt" into new files accordingly. Signed-off-by: Alex Elder --- v4 - Rebased on top of v3.16-rc1. - Added description files for recently-added

[PATCH v5 0/5] ARM: SMP: support Broadcom mobile SoCs

2014-06-16 Thread Alex Elder
ona_smp.c". - Rebased onto v3.15-rc5 v3: - Dropped definition and use of CPU_METHOD_OF_DECLARE_SETUP() - Added documentation for "enable-method" - Rebased onto v3.15-rc4 v2: - Fixed a Makefile error (:= should have been +=) - No longer set CONFIG_NR_CPUS in bcm_defconfi

[PATCH v5 4/5] ARM: dts: enable SMP support for bcm28155

2014-06-16 Thread Alex Elder
Define nodes representing the two Cortex A9 CPUs in a bcm28155 SoC. Signed-off-by: Ray Jui Signed-off-by: Alex Elder --- arch/arm/boot/dts/bcm11351.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi

[PATCH v5 1/5] devicetree: bindings: document Broadcom CPU enable method

2014-06-16 Thread Alex Elder
. The use of an enable method also allows the SMP operation vector to be assigned as a result of device tree content for these SoCs. Signed-off-by: Alex Elder --- Documentation/devicetree/bindings/arm/cpus.txt | 12 1 file changed, 12 insertions(+) diff --git a/Documentation

[PATCH v5 2/5] ARM: add SMP support for Broadcom mobile SoCs

2014-06-16 Thread Alex Elder
he address specified. The location of the special register is defined in the device tree using a "secondary-boot-reg" property in a node whose "enable-method" matches. Derived from code originally provided by Ray Jui Signed-off-by: Alex Elder --- arch/arm/mach-bcm/Kconfig

[PATCH v5 3/5] ARM: configs: enable SMP in bcm_defconfig

2014-06-16 Thread Alex Elder
Also explicitly set CONFIG_NR_CPUS to 2, limiting it to the most we currently need. Signed-off-by: Ray Jui Signed-off-by: Alex Elder --- arch/arm/configs/bcm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/bcm_defconfig b/arch/arm/configs/bcm_defconfig index

[PATCH v5 5/5] ARM: dts: enable SMP support for bcm21664

2014-06-16 Thread Alex Elder
Define nodes representing the two Cortex A9 CPUs in a bcm21644 SoC. Signed-off-by: Alex Elder --- arch/arm/boot/dts/bcm21664.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/bcm21664.dtsi b/arch/arm/boot/dts/bcm21664.dtsi index 8b36682..2016b72

[PATCH v3] devicetree: bindings: separate CPU enable method descriptions

2014-06-03 Thread Alex Elder
ies (optional or required) are associated with the method. The existing enable method documentation is expanded and moved from ".../arm/cpus.txt" into new files accordingly. Signed-off-by: Alex Elder --- v3: - Got rid of contrived examples. - Identified some compatible CPUs more generic

Re: [PATCH RESEND] devicetree: bindings: separate CPU enable method descriptions

2014-06-03 Thread Alex Elder
On 06/03/2014 09:42 AM, Mark Rutland wrote: > On Tue, Jun 03, 2014 at 02:48:18PM +0100, Alex Elder wrote: >> On 06/03/2014 05:08 AM, Mark Rutland wrote: >>> Hi Alex, >>> >>> On Fri, May 30, 2014 at 11:11:54PM +0100, Alex Elder wrote: >>>> The binding

Re: [PATCH RESEND] devicetree: bindings: separate CPU enable method descriptions

2014-06-03 Thread Alex Elder
On 06/03/2014 05:08 AM, Mark Rutland wrote: > Hi Alex, > > On Fri, May 30, 2014 at 11:11:54PM +0100, Alex Elder wrote: >> The bindings for CPU enable methods are defined in ".../arm/cpus.txt". As >> additional 32-bit ARM CPUS are converted to use the "enabl

[PATCH v4 RESEND 1/5] devicetree: bindings: document Broadcom CPU enable method

2014-05-30 Thread Alex Elder
. The use of an enable method also allows the SMP operation vector to be assigned as a result of device tree content for these SoCs. Signed-off-by: Alex Elder --- Documentation/devicetree/bindings/arm/cpus.txt | 12 1 file changed, 12 insertions(+) diff --git a/Documentation

[PATCH v4 RESEND 0/5] ARM: SMP: support Broadcom mobile SoCs

2014-05-30 Thread Alex Elder
t; - Rebased onto v3.15-rc4 v2: - Fixed a Makefile error (:= should have been +=) - No longer set CONFIG_NR_CPUS in bcm_defconfig - Rebased onto v3.15-rc1 Alex Elder (5): devicetree: bindings: document Broadcom CPU enable method ARM: add SMP support for Broadcom mobile SoCs ARM: co

[PATCH v4 RESEND 2/5] ARM: add SMP support for Broadcom mobile SoCs

2014-05-30 Thread Alex Elder
he address specified. The location of the special register is defined in the device tree using a "secondary-boot-reg" property in a node whose "enable-method" matches. Derived from code originally provided by Ray Jui Signed-off-by: Alex Elder --- arch/arm/mach-bcm/Kconfig

[PATCH v4 RESEND 3/5] ARM: configs: enable SMP in bcm_defconfig

2014-05-30 Thread Alex Elder
Also explicitly set CONFIG_NR_CPUS to 2, limiting it to the most we currently need. Signed-off-by: Ray Jui Signed-off-by: Alex Elder --- arch/arm/configs/bcm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/bcm_defconfig b/arch/arm/configs/bcm_defconfig index

[PATCH v4 RESEND 5/5] ARM: dts: enable SMP support for bcm21664

2014-05-30 Thread Alex Elder
Define nodes representing the two Cortex A9 CPUs in a bcm21644 SoC. Signed-off-by: Alex Elder --- arch/arm/boot/dts/bcm21664.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/bcm21664.dtsi b/arch/arm/boot/dts/bcm21664.dtsi index 08a44d4..a37ded1

[PATCH v4 RESEND 4/5] ARM: dts: enable SMP support for bcm28155

2014-05-30 Thread Alex Elder
Define nodes representing the two Cortex A9 CPUs in a bcm28155 SoC. Signed-off-by: Ray Jui Signed-off-by: Alex Elder --- arch/arm/boot/dts/bcm11351.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi

[PATCH RESEND] devicetree: bindings: separate CPU enable method descriptions

2014-05-30 Thread Alex Elder
ies (optional or required) are associated with the method. The existing enable method documentation is expanded and moved from ".../arm/cpus.txt" into new files accordingly. Signed-off-by: Alex Elder --- v2: Rename "arm,psci.txt" to be "psci.txt" and fix its content

Re: [PATCH v2 2/5] clk: bcm281xx: implement prerequisite clocks

2014-05-30 Thread Alex Elder
On 05/29/2014 10:20 PM, Alex Elder wrote: > On 05/23/2014 07:53 PM, Mike Turquette wrote: >> Quoting Alex Elder (2014-05-20 05:52:39) >>> @@ -743,11 +746,16 @@ struct clk *kona_clk_setup(struct kona_clk *bcm_clk) >>> clk = clk_register(NULL, &bcm_clk-&

Re: [PATCH v2 2/5] clk: bcm281xx: implement prerequisite clocks

2014-05-29 Thread Alex Elder
On 05/23/2014 07:53 PM, Mike Turquette wrote: > Quoting Alex Elder (2014-05-20 05:52:39) >> @@ -743,11 +746,16 @@ struct clk *kona_clk_setup(struct kona_clk *bcm_clk) >> clk = clk_register(NULL, &bcm_clk->hw); >> if (IS_ERR(clk)) { >>

Re: [PATCH v2 2/5] clk: bcm281xx: implement prerequisite clocks

2014-05-29 Thread Alex Elder
On 05/29/2014 11:35 AM, Mike Turquette wrote: > Quoting Alex Elder (2014-05-29 06:26:15) >> On 05/23/2014 07:53 PM, Mike Turquette wrote: >>> The above seems like a lot effort to go to. Why not skip all of this and >>> just implement the prerequisite logic in the .enab

Re: [PATCH v2 2/5] clk: bcm281xx: implement prerequisite clocks

2014-05-29 Thread Alex Elder
On 05/23/2014 07:53 PM, Mike Turquette wrote: > Quoting Alex Elder (2014-05-20 05:52:39) >> @@ -743,11 +746,16 @@ struct clk *kona_clk_setup(struct kona_clk *bcm_clk) >> clk = clk_register(NULL, &bcm_clk->hw); >> if (IS_ERR(clk)) { >>

Re: [PATCH v2 1/5] clk: bcm281xx: add an initialized flag

2014-05-29 Thread Alex Elder
On 05/23/2014 07:33 PM, Mike Turquette wrote: > Quoting Alex Elder (2014-05-20 05:52:38) >> Add a flag that tracks whether a clock has already been initialized. >> This will be used by the next patch to avoid initializing a clock >> more than once when it's listed as a

Re: [PATCH v4 1/5] devicetree: bindings: document Broadcom CPU enable method

2014-05-28 Thread Alex Elder
On 05/28/2014 08:34 AM, Lorenzo Pieralisi wrote: > On Wed, May 28, 2014 at 01:22:06PM +0100, Alex Elder wrote: >> On 05/28/2014 05:36 AM, Lorenzo Pieralisi wrote: >>> On Wed, May 28, 2014 at 04:30:47AM +0100, Alex Elder wrote: >>>> On 05/27/2014 06:49 AM, Lorenzo Pier

Re: [PATCH v4 1/5] devicetree: bindings: document Broadcom CPU enable method

2014-05-28 Thread Alex Elder
On 05/28/2014 05:36 AM, Lorenzo Pieralisi wrote: > On Wed, May 28, 2014 at 04:30:47AM +0100, Alex Elder wrote: >> On 05/27/2014 06:49 AM, Lorenzo Pieralisi wrote: >>> On Tue, May 20, 2014 at 06:43:46PM +0100, Alex Elder wrote: >>>> Broadcom mobile SoCs use a R

Re: [PATCH v4 1/5] devicetree: bindings: document Broadcom CPU enable method

2014-05-27 Thread Alex Elder
On 05/27/2014 06:49 AM, Lorenzo Pieralisi wrote: > On Tue, May 20, 2014 at 06:43:46PM +0100, Alex Elder wrote: >> Broadcom mobile SoCs use a ROM-implemented holding pen for >> controlled boot of secondary cores. A special register is >> used to communicate to the ROM that a

Re: [PATCH v4 1/5] devicetree: bindings: document Broadcom CPU enable method

2014-05-27 Thread Alex Elder
On 05/27/2014 06:49 AM, Lorenzo Pieralisi wrote: > On Tue, May 20, 2014 at 06:43:46PM +0100, Alex Elder wrote: >> Broadcom mobile SoCs use a ROM-implemented holding pen for >> controlled boot of secondary cores. A special register is >> used to communicate to the ROM that a

[PATCH RESEND] devicetree: bindings: separate CPU enable method descriptions

2014-05-20 Thread Alex Elder
ies (optional or required) are associated with the method. The existing enable method documentation is expanded and moved from ".../arm/cpus.txt" into new files accordingly. Signed-off-by: Alex Elder --- v2: Rename "arm,psci.txt" to be "psci.txt" and fix its content

[PATCH v4 4/5] ARM: dts: enable SMP support for bcm28155

2014-05-20 Thread Alex Elder
Define nodes representing the two Cortex A9 CPUs in a bcm28155 SoC. Signed-off-by: Ray Jui Signed-off-by: Alex Elder --- arch/arm/boot/dts/bcm11351.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi

[PATCH v4 1/5] devicetree: bindings: document Broadcom CPU enable method

2014-05-20 Thread Alex Elder
. The use of an enable method also allows the SMP operation vector to be assigned as a result of device tree content for these SoCs. Signed-off-by: Alex Elder --- Documentation/devicetree/bindings/arm/cpus.txt | 12 1 file changed, 12 insertions(+) diff --git a/Documentation

[PATCH v4 4/5] ARM: dts: enable SMP support for bcm28155

2014-05-20 Thread Alex Elder
Define nodes representing the two Cortex A9 CPUs in a bcm28155 SoC. Signed-off-by: Ray Jui Signed-off-by: Alex Elder --- arch/arm/boot/dts/bcm11351.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi

[PATCH v4 5/5] ARM: dts: enable SMP support for bcm21664

2014-05-20 Thread Alex Elder
Define nodes representing the two Cortex A9 CPUs in a bcm21644 SoC. Signed-off-by: Alex Elder --- arch/arm/boot/dts/bcm21664.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/bcm21664.dtsi b/arch/arm/boot/dts/bcm21664.dtsi index 08a44d4..a37ded1

[PATCH v4 0/5] ARM: SMP: support Broadcom mobile SoCs

2014-05-20 Thread Alex Elder
ed documentation for "enable-method" - Rebased onto v3.15-rc4 v2: - Fixed a Makefile error (:= should have been +=) - No longer set CONFIG_NR_CPUS in bcm_defconfig - Rebased onto v3.15-rc1 This series is available here: http://git.linaro.org/landing-teams/working/broadcom/kernel.gi

[PATCH v4 3/5] ARM: configs: enable SMP in bcm_defconfig

2014-05-20 Thread Alex Elder
Also explicitly set CONFIG_NR_CPUS to 2, limiting it to the most we currently need. Signed-off-by: Ray Jui Signed-off-by: Alex Elder --- arch/arm/configs/bcm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/bcm_defconfig b/arch/arm/configs/bcm_defconfig index

[PATCH v4 2/5] ARM: add SMP support for Broadcom mobile SoCs

2014-05-20 Thread Alex Elder
he address specified. The location of the special register is defined in the device tree using a "secondary-boot-reg" property in a node whose "enable-method" matches. Derived from code originally provided by Ray Jui Signed-off-by: Alex Elder --- arch/arm/mach-bcm/Kconfig

[PATCH v4 1/5] devicetree: bindings: document Broadcom CPU enable method

2014-05-20 Thread Alex Elder
. The use of an enable method also allows the SMP operation vector to be assigned as a result of device tree content for these SoCs. Signed-off-by: Alex Elder --- Documentation/devicetree/bindings/arm/cpus.txt | 12 1 file changed, 12 insertions(+) diff --git a/Documentation

[PATCH v4 3/5] ARM: configs: enable SMP in bcm_defconfig

2014-05-20 Thread Alex Elder
Also explicitly set CONFIG_NR_CPUS to 2, limiting it to the most we currently need. Signed-off-by: Ray Jui Signed-off-by: Alex Elder --- arch/arm/configs/bcm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/bcm_defconfig b/arch/arm/configs/bcm_defconfig index

[PATCH v4 2/5] ARM: add SMP support for Broadcom mobile SoCs

2014-05-20 Thread Alex Elder
he address specified. The location of the special register is defined in the device tree using a "secondary-boot-reg" property in a node whose "enable-method" matches. Derived from code originally provided by Ray Jui Signed-off-by: Alex Elder --- arch/arm/mach-bcm/Kconfig

[PATCH v4 0/5] ARM: SMP: support Broadcom mobile SoCs

2014-05-20 Thread Alex Elder
ed a Makefile error (:= should have been +=) - No longer set CONFIG_NR_CPUS in bcm_defconfig - Rebased onto v3.15-rc1 This series is available here: http://git.linaro.org/landing-teams/working/broadcom/kernel.git Branch review/bcm-smp-v4 Alex Elder (5): devicetree: bindings: d

[PATCH v2 5/5] ARM: dts: add bus clock bsc3_apb for bcm281xx

2014-05-20 Thread Alex Elder
Add the bus clock named "bsc3_apb" to the list of those provided by the slave CCU. Signed-off-by: Alex Elder --- [Re-sent this one manually because it failed while sending. -Alex] arch/arm/boot/dts/bcm11351.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH v2 3/5] clk: bcm281xx: add bus clock support

2014-05-20 Thread Alex Elder
Add bus clock support. A bus clock has a subset of the components present in a peripheral clock (again, all optional): a gate; CCU policy management bits; and if needed, bits to control hysteresis. Signed-off-by: Alex Elder --- drivers/clk/bcm/clk-kona-setup.c | 96

[PATCH v2 4/5] clk: bcm281xx: define a bus clock

2014-05-20 Thread Alex Elder
ct operation of "bsc3". Others can be added later as needed (and this patch serves to show how that's done). Signed-off-by: Alex Elder --- drivers/clk/bcm/clk-bcm281xx.c | 13 - include/dt-bindings/clock/bcm281xx.h | 3 ++- 2 files changed, 14 insertions(+), 2

[PATCH v2 1/5] clk: bcm281xx: add an initialized flag

2014-05-20 Thread Alex Elder
Add a flag that tracks whether a clock has already been initialized. This will be used by the next patch to avoid initializing a clock more than once when it's listed as a prerequisite. Signed-off-by: Alex Elder --- drivers/clk/bcm/clk-kona.c | 17 +++-- drivers/clk/bcm/clk-k

[PATCH v2 2/5] clk: bcm281xx: implement prerequisite clocks

2014-05-20 Thread Alex Elder
lock to be specified. There exist clocks that could specify more than one prequisite, but almost all clocks only ever use one. We can add support for more than one if we find we need it at some point. Signed-off-by: Alex Elder --- drivers/clk/bcm/clk-kona-setup.c | 16 ++ drivers/clk/bcm/

[PATCH v2 0/5] clk: bcm: prerequisite and bus clock support

2014-05-20 Thread Alex Elder
: http://git.linaro.org/landing-teams/working/broadcom/kernel.git Branch review/bcm-bus-clk -Alex Version history: v2: Added field "p" to the previously unnamed prereq union. Alex Elder (5): clk: bcm281xx: add an initialized flag clk:

Re: [PATCH v3 RESEND 2/5] ARM: add SMP support for Broadcom mobile SoCs

2014-05-15 Thread Alex Elder
On 05/15/2014 01:03 PM, Florian Fainelli wrote: > Hi Alex, > > 2014-05-15 10:58 GMT-07:00 Alex Elder : >> This patch adds SMP support for BCM281XX and BCM21664 family SoCs. >> >> This feature is controlled with a distinct config option such that a >> SMP-enabled

[PATCH v3 RESEND 2/5] ARM: add SMP support for Broadcom mobile SoCs

2014-05-15 Thread Alex Elder
he address specified. The location of the special register is defined in the device tree using a "secondary-boot-reg" property in a node whose "enable-method" matches. Derived from code originally provided by Ray Jui Signed-off-by: Alex Elder --- arch/arm/mach-bcm/Kconfig | 18 ++

[PATCH v3 RESEND 1/5] devicetree: bindings: document Broadcom CPU enable method

2014-05-15 Thread Alex Elder
. The use of an enable method also allows the SMP operation vector to be assigned as a result of device tree content for these SoCs. Signed-off-by: Alex Elder --- Documentation/devicetree/bindings/arm/cpus.txt | 12 1 file changed, 12 insertions(+) diff --git a/Documentation

[PATCH v3 RESEND 3/5] ARM: configs: enable SMP in bcm_defconfig

2014-05-15 Thread Alex Elder
Also explicitly set CONFIG_NR_CPUS to 2, limiting it to the most we currently need. Signed-off-by: Ray Jui Signed-off-by: Alex Elder --- arch/arm/configs/bcm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/bcm_defconfig b/arch/arm/configs/bcm_defconfig index

[PATCH v3 RESEND 5/5] ARM: dts: enable SMP support for bcm21664

2014-05-15 Thread Alex Elder
Define nodes representing the two Cortex A9 CPUs in a bcm21644 SoC. Signed-off-by: Alex Elder --- arch/arm/boot/dts/bcm21664.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/bcm21664.dtsi b/arch/arm/boot/dts/bcm21664.dtsi index 08a44d4..a37ded1

[PATCH v3 RESEND 4/5] ARM: dts: enable SMP support for bcm28155

2014-05-15 Thread Alex Elder
Define nodes representing the two Cortex A9 CPUs in a bcm28155 SoC. Signed-off-by: Ray Jui Signed-off-by: Alex Elder --- arch/arm/boot/dts/bcm11351.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi

[PATCH v3 RESEND 0/5] ARM: SMP: support Broadcom mobile SoCs

2014-05-15 Thread Alex Elder
g - Rebased onto v3.15-rc1 This series is available here: http://git.linaro.org/landing-teams/working/broadcom/kernel.git Branch review/bcm-smp-v3 Alex Elder (5): devicetree: bindings: document Broadcom CPU enable method ARM: add SMP support for Broadcom mobile SoCs ARM: co

Re: [PATCH v2] devicetree: bindings: separate CPU enable method descriptions

2014-05-08 Thread Alex Elder
On 05/08/2014 01:48 PM, Alex Elder wrote: > The bindings for CPU enable methods are defined in ".../arm/cpus.txt". As > additional 32-bit ARM CPUS are converted to use the "enable-method" CPU > property to imply a particular set of SMP operations to use, the list of

[PATCH v2] devicetree: bindings: separate CPU enable method descriptions

2014-05-08 Thread Alex Elder
ies (optional or required) are associated with the method. The existing enable method documentation is expanded and moved from ".../arm/cpus.txt" into new files accordingly. Signed-off-by: Alex Elder --- v2: Rename "arm,psci.txt" to be "psci.txt" and fix its content

Re: [PATCH] devicetree: bindings: separate CPU enable method descriptions

2014-05-08 Thread Alex Elder
On 05/08/2014 10:13 AM, Rob Herring wrote: > On Wed, May 7, 2014 at 6:23 PM, Alex Elder wrote: >> The bindings for CPU enable methods are defined in ".../arm/cpus.txt". As >> additional 32-bit ARM CPUS are converted to use the "enable-method" CPU >>

[PATCH] devicetree: bindings: separate CPU enable method descriptions

2014-05-07 Thread Alex Elder
ies (optional or required) are associated with the method. The existing enable method documentation is expanded and moved from ".../arm/cpus.txt" into new files accordingly. Signed-off-by: Alex Elder --- This series is available here: http://git.linaro.org/landing-teams/working

[PATCH v3 2/5] ARM: add SMP support for Broadcom mobile SoCs

2014-05-06 Thread Alex Elder
he address specified. The location of the special register is defined in the device tree using a "secondary-boot-reg" property in a node whose "enable-method" matches. Derived from code originally provided by Ray Jui Signed-off-by: Alex Elder --- arch/arm/mach-bcm/Kconfig | 18 ++

[PATCH v3 3/5] ARM: configs: enable SMP in bcm_defconfig

2014-05-06 Thread Alex Elder
Also explicitly set CONFIG_NR_CPUS to 2, limiting it to the most we currently need. Signed-off-by: Ray Jui Signed-off-by: Alex Elder --- arch/arm/configs/bcm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/bcm_defconfig b/arch/arm/configs/bcm_defconfig index

[PATCH v3 4/5] ARM: dts: enable SMP support for bcm28155

2014-05-06 Thread Alex Elder
Define nodes representing the two Cortex A9 CPUs in a bcm28155 SoC. Signed-off-by: Ray Jui Signed-off-by: Alex Elder --- arch/arm/boot/dts/bcm11351.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi

[PATCH v3 1/5] devicetree: bindings: document Broadcom CPU enable method

2014-05-06 Thread Alex Elder
. The use of an enable method also allows the SMP operation vector to be assigned as a result of device tree content for these SoCs. Signed-off-by: Alex Elder --- Documentation/devicetree/bindings/arm/cpus.txt | 12 1 file changed, 12 insertions(+) diff --git a/Documentation

[PATCH v3 0/5] ARM: SMP: support Broadcom mobile SoCs

2014-05-06 Thread Alex Elder
g - Rebased onto v3.15-rc1 This series is available here: http://git.linaro.org/landing-teams/working/broadcom/kernel.git Branch review/bcm-smp-v3 Alex Elder (5): devicetree: bindings: document Broadcom CPU enable method ARM: add SMP support for Broadcom mobile SoCs ARM: co

[PATCH v3 5/5] ARM: dts: enable SMP support for bcm21664

2014-05-06 Thread Alex Elder
Define nodes representing the two Cortex A9 CPUs in a bcm21644 SoC. Signed-off-by: Alex Elder --- arch/arm/boot/dts/bcm21664.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/bcm21664.dtsi b/arch/arm/boot/dts/bcm21664.dtsi index 08a44d4..a37ded1

Re: [PATCH 2/5] ARM: add SMP support for Broadcom mobile SoCs

2014-05-05 Thread Alex Elder
On 05/05/2014 08:43 PM, Stephen Boyd wrote: > On 05/05/14 15:02, Alex Elder wrote: >> On 04/04/2014 12:55 PM, Stephen Boyd wrote: >>> On 04/03/14 19:18, Alex Elder wrote: >>>> + >>>> +/* >>>> + * Secondary startup method setup routine to extrac

Re: [PATCH 2/5] ARM: add SMP support for Broadcom mobile SoCs

2014-05-05 Thread Alex Elder
On 04/04/2014 12:55 PM, Stephen Boyd wrote: > On 04/03/14 19:18, Alex Elder wrote: >> + >> +/* >> + * Secondary startup method setup routine to extract the location of >> + * the secondary boot register from a "cpu" or "cpus" device tree >> +

[PATCH 2/5] clk: bcm281xx: implement prerequisite clocks

2014-05-05 Thread Alex Elder
lock to be specified. There exist clocks that could specify more than one prequisite, but almost all clocks only ever use one. We can add support for more than one if we find we need it at some point. Signed-off-by: Alex Elder --- drivers/clk/bcm/clk-kona-setup.c | 16 ++ drivers/clk/bcm/

[PATCH 4/5] clk: bcm281xx: define a bus clock

2014-05-05 Thread Alex Elder
ct operation of "bsc3". Others can be added later as needed (and this patch serves to show how that's done). Signed-off-by: Alex Elder --- drivers/clk/bcm/clk-bcm281xx.c | 13 - include/dt-bindings/clock/bcm281xx.h | 3 ++- 2 files changed, 14 insertions(+), 2

[PATCH 1/5] clk: bcm281xx: add an initialized flag

2014-05-05 Thread Alex Elder
Add a flag that tracks whether a clock has already been initialized. This will be used by the next patch to avoid initializing a clock more than once when it's listed as a prerequisite. Signed-off-by: Alex Elder --- drivers/clk/bcm/clk-kona.c | 17 +++-- drivers/clk/bcm/clk-k

[PATCH 5/5] ARM: dts: add bus clock bsc3_apb for bcm281xx

2014-05-05 Thread Alex Elder
Add the bus clock named "bsc3_apb" to the list of those provided by the slave CCU. Signed-off-by: Alex Elder --- arch/arm/boot/dts/bcm11351.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi ind

[PATCH 0/5] clk: bcm: prerequisite and bus clock support

2014-05-05 Thread Alex Elder
http://git.linaro.org/landing-teams/working/broadcom/kernel.git Branch review/bcm-bus-clk -Alex Alex Elder (5): clk: bcm281xx: add an initialized flag clk: bcm281xx: implement prerequisite clocks clk: bcm281xx: add bus clock support clk: bcm281xx:

[PATCH 3/5] clk: bcm281xx: add bus clock support

2014-05-05 Thread Alex Elder
Add bus clock support. A bus clock has a subset of the components present in a peripheral clock (again, all optional): a gate; CCU policy management bits; and if needed, bits to control hysteresis. Signed-off-by: Alex Elder --- drivers/clk/bcm/clk-kona-setup.c | 96

Re: [PATCH v2 RESEND 0/5] clk: bcm21664: add common clock support

2014-04-25 Thread Alex Elder
On 04/25/2014 07:09 PM, Mike Turquette wrote: > Quoting Alex Elder (2014-04-21 14:26:22) >> This is series has two parts. The first two patches are changes >> to the existing Broadcom Kona family clock code to prepare for the >> addition of support for another SoC, bcm21664

[PATCH v2 RESEND 3/5] ARM: dts: define clock binding for bcm21664

2014-04-21 Thread Alex Elder
Document the device tree binding for Broadcom BCM28164 clock control units and clocks. This SoC uses Kona CCUs, similar to the BCM281XX SoC family. Signed-off-by: Alex Elder --- .../devicetree/bindings/clock/bcm-kona-clock.txt | 39 ++ 1 file changed, 39 insertions

[PATCH v2 RESEND 2/5] ARM: dts: revise kona clock binding document

2014-04-21 Thread Alex Elder
281XX family - Add a list of the specific BCM281XX family compatible strings. - Reword the description of the table slightly. Signed-off-by: Alex Elder --- .../devicetree/bindings/clock/bcm-kona-clock.txt | 87 -- 1 file changed, 47 insertions(+), 40 deletions(-)

[PATCH v2 RESEND 4/5] clk: bcm21664: use common clock framework

2014-04-21 Thread Alex Elder
re clock definitions will need to be added as required by the addition of additional drivers. Signed-off-by: Alex Elder --- drivers/clk/bcm/Kconfig | 2 +- drivers/clk/bcm/Makefile | 1 + drivers/clk/bcm/clk-bcm21664.c | 290 +++

[PATCH v2 RESEND 5/5] ARM: dts: use real clocks for bcm21664

2014-04-21 Thread Alex Elder
Replace the "fake" fixed-rate clocks used previously for the bcm21664 family with "real" ones. Signed-off-by: Alex Elder --- arch/arm/boot/dts/bcm21664.dtsi | 190 +--- 1 file changed, 118 insertions(+), 72 deletions(-) diff --git

[PATCH v2 RESEND 1/5] clk: bcm281xx: move compatible string definitions

2014-04-21 Thread Alex Elder
ned-off-by: Alex Elder --- drivers/clk/bcm/clk-bcm281xx.c | 12 include/dt-bindings/clock/bcm281xx.h | 12 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/clk/bcm/clk-bcm281xx.c b/drivers/clk/bcm/clk-bcm281xx.c index 71a65a4..502a487 10

[PATCH v2 RESEND 0/5] clk: bcm21664: add common clock support

2014-04-21 Thread Alex Elder
e current linus/master branch plus the patches mentioned above--are available here: http://git.linaro.org/git/landing-teams/working/broadcom/kernel.git Branch review/bcm21664-clock-v2 Alex Elder (5): clk: bcm281xx: move compatible string definitions ARM: dts: revise kona clock binding docu

[PATCH v2 1/5] ARM: introduce CPU_METHOD_OF_DECLARE_SETUP()

2014-04-15 Thread Alex Elder
rror code to allow DT parsing errors to be reported by the setup function. (Note that only the first "cpu" (or "cpus") node having a matching method is used by set_smp_ops_by_method(); this logic is not changed.) Signed-off-by: Alex Elder --- arch/arm/include/asm/smp.h | 10

[PATCH v2 5/5] ARM: dts: enable SMP support for bcm21664

2014-04-15 Thread Alex Elder
Define nodes representing the two Cortex A9 CPUs in a bcm21644 SoC. Signed-off-by: Alex Elder --- arch/arm/boot/dts/bcm21664.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/bcm21664.dtsi b/arch/arm/boot/dts/bcm21664.dtsi index 08a44d4..a37ded1

[PATCH v2 2/5] ARM: add SMP support for Broadcom mobile SoCs

2014-04-15 Thread Alex Elder
he address specified. The location of the special register is defined in the device tree using a "secondary-boot-reg" property in a node whose "enable-method" matches. Derived from code originally provided by Ray Jui Signed-off-by: Alex Elder --- arch/arm/mach-bcm/Kconfig

[PATCH v2 4/5] ARM: dts: enable SMP support for bcm28155

2014-04-15 Thread Alex Elder
Define nodes representing the two Cortex A9 CPUs in a bcm28155 SoC. Signed-off-by: Ray Jui Signed-off-by: Alex Elder --- arch/arm/boot/dts/bcm11351.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi

[PATCH v2 3/5] ARM: configs: enable SMP in bcm_defconfig

2014-04-15 Thread Alex Elder
Also explicitly set CONFIG_NR_CPUS to 2, limiting it to the most we currently need. Signed-off-by: Ray Jui Signed-off-by: Alex Elder --- arch/arm/configs/bcm_defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/bcm_defconfig b/arch/arm/configs/bcm_defconfig index

[PATCH v2 0/5] ARM: SMP: support Broadcom mobile SoCs

2014-04-15 Thread Alex Elder
series is available here: http://git.linaro.org/landing-teams/working/broadcom/kernel.git Branch review/bcm-smp-v2 Alex Elder (5): ARM: introduce CPU_METHOD_OF_DECLARE_SETUP() ARM: add SMP support for Broadcom mobile SoCs ARM: configs: enable SMP in bcm_defconfig ARM: dts: enable S

Re: [PATCH 2/5] ARM: add SMP support for Broadcom mobile SoCs

2014-04-15 Thread Alex Elder
On 04/04/2014 01:56 PM, Alex Elder wrote: > On 04/04/2014 10:30 AM, Tim Kryger wrote: >> On Thu, Apr 3, 2014 at 7:18 PM, Alex Elder wrote: >> >>> diff --git a/arch/arm/mach-bcm/platsmp.c b/arch/arm/mach-bcm/platsmp.c >>> new file mode 100644 >>> index 00

[PATCH v2 1/5] clk: bcm281xx: move compatible string definitions

2014-04-08 Thread Alex Elder
ned-off-by: Alex Elder --- drivers/clk/bcm/clk-bcm281xx.c | 12 include/dt-bindings/clock/bcm281xx.h | 12 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/clk/bcm/clk-bcm281xx.c b/drivers/clk/bcm/clk-bcm281xx.c index 71a65a4..502a487 10

[PATCH v2 2/5] ARM: dts: revise kona clock binding document

2014-04-08 Thread Alex Elder
281XX family - Add a list of the specific BCM281XX family compatible strings. - Reword the description of the table slightly. Signed-off-by: Alex Elder --- .../devicetree/bindings/clock/bcm-kona-clock.txt | 87 +++- 1 file changed, 47 insertions(+), 40 deletions(-)

[PATCH v2 0/5] clk: bcm21664: add common clock support

2014-04-08 Thread Alex Elder
e current linus/master branch plus the patches mentioned above--are available here: http://git.linaro.org/git/landing-teams/working/broadcom/kernel.git Branch review/bcm21664-clock-v2 -Alex Alex Elder (5): clk: bcm281xx: move compatible string definit

[PATCH v2 3/5] ARM: dts: define clock binding for bcm21664

2014-04-08 Thread Alex Elder
Document the device tree binding for Broadcom BCM28164 clock control units and clocks. This SoC uses Kona CCUs, similar to the BCM281XX SoC family. Signed-off-by: Alex Elder --- .../devicetree/bindings/clock/bcm-kona-clock.txt | 39 1 file changed, 39 insertions

[PATCH v2 4/5] clk: bcm21664: use common clock framework

2014-04-08 Thread Alex Elder
re clock definitions will need to be added as required by the addition of additional drivers. Signed-off-by: Alex Elder --- drivers/clk/bcm/Kconfig |2 +- drivers/clk/bcm/Makefile |1 + drivers/clk/bcm/clk-bcm21664.c | 290 ++

[PATCH v2 5/5] ARM: dts: use real clocks for bcm21664

2014-04-08 Thread Alex Elder
Replace the "fake" fixed-rate clocks used previously for the bcm21664 family with "real" ones. Signed-off-by: Alex Elder --- arch/arm/boot/dts/bcm21664.dtsi | 190 --- 1 file changed, 118 insertions(+), 72 deletions(-) diff --git

Re: [RFC PATCH 0/7] ARM: SMP: common "pen" secondary release method

2014-04-04 Thread Alex Elder
On 03/28/2014 04:12 PM, Alex Elder wrote: > This series proposes creating a single implementation of the "pen > release" (or spin-table) mechanism for starting secondary CPUs on > ARM SMP systems. This mechanism is currently implemented at least 5 > times in the kernel, each

Re: [PATCH 2/5] ARM: add SMP support for Broadcom mobile SoCs

2014-04-04 Thread Alex Elder
On 04/04/2014 12:55 PM, Stephen Boyd wrote: > On 04/03/14 19:18, Alex Elder wrote: >> + >> +/* >> + * Secondary startup method setup routine to extract the location of >> + * the secondary boot register from a "cpu" or "cpus" device tree >> +

Re: [PATCH 2/5] ARM: add SMP support for Broadcom mobile SoCs

2014-04-04 Thread Alex Elder
On 04/04/2014 10:30 AM, Tim Kryger wrote: > On Thu, Apr 3, 2014 at 7:18 PM, Alex Elder wrote: > >> diff --git a/arch/arm/mach-bcm/platsmp.c b/arch/arm/mach-bcm/platsmp.c >> new file mode 100644 >> index 000..46a64f2 >> --- /dev/null >> +++ b/arch/arm/

Re: [PATCH 3/5] ARM: configs: enable SMP in bcm_defconfig

2014-04-04 Thread Alex Elder
On 04/03/2014 09:18 PM, Alex Elder wrote: > Also explicitly set CONFIG_NR_CPUS to 2, limiting it to the most we > currently need. > > Signed-off-by: Ray Jui > Signed-off-by: Alex Elder > --- > arch/arm/configs/bcm_defconfig |2 ++ > 1 file changed, 2 insertions(+

Re: [PATCH 2/5] ARM: add SMP support for Broadcom mobile SoCs

2014-04-03 Thread Alex Elder
On 04/03/2014 09:18 PM, Alex Elder wrote: > This patch adds SMP support for BCM281XX and BCM21664 family SoCs. > > This feature is controlled with a distinct config option such that a > SMP-enabled multi-v7 binary can be configured to run these SoCs in > uniprocessor mode.

[PATCH 1/5] ARM: introduce CPU_METHOD_OF_DECLARE_SETUP()

2014-04-03 Thread Alex Elder
rror code to allow DT parsing errors to be reported by the setup function. (Note that only the first "cpu" (or "cpus") node having a matching method is used by set_smp_ops_by_method(); this logic is not changed.) Signed-off-by: Alex Elder --- arch/arm/include/asm/smp.h | 10

[PATCH 5/5] ARM: dts: enable SMP support for bcm21664

2014-04-03 Thread Alex Elder
Define nodes representing the two Cortex A9 CPUs in a bcm21644 SoC. Signed-off-by: Alex Elder --- arch/arm/boot/dts/bcm21664.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/bcm21664.dtsi b/arch/arm/boot/dts/bcm21664.dtsi index 08a44d4..a37ded1

[PATCH 4/5] ARM: dts: enable SMP support for bcm28155

2014-04-03 Thread Alex Elder
Define nodes representing the two Cortex A9 CPUs in a bcm28155 SoC. Signed-off-by: Ray Jui Signed-off-by: Alex Elder --- arch/arm/boot/dts/bcm11351.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi

[PATCH 2/5] ARM: add SMP support for Broadcom mobile SoCs

2014-04-03 Thread Alex Elder
he address specified. The location of the special register is defined in the device tree using a "secondary-boot-reg" property in a node whose "enable-method" matches. Derived from code originally provided by Ray Jui Signed-off-by: Alex Elder --- arch/arm/mach-bcm/Kconfig

  1   2   >