Re: [PATCH 3/3] arm: dts: bcm5301x: Add syscon based reboot in DT

2016-01-05 Thread Jon Mason
On Fri, Dec 18, 2015 at 10:44:28PM +0100, Arnd Bergmann wrote: > On Friday 18 December 2015 16:37:56 Jon Mason wrote: > > + cru: cru@1800c184 { > > + compatible = "syscon"; > > + reg = <0x1800c184 0xc>; > > + };

[PATCH 1/3] ARM: dts: bcm5301x: Add TWD WD Support to DT

2015-12-18 Thread Jon Mason
Add support for the ARM TWD Watchdog to the bcm5301x device tree. The ARM TWD timer allocated the register space for the WDT, so this patch necessitated shrinking that. Also, the GIC masks were added for these. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm5301x.dtsi | 15

[PATCH 3/3] arm: dts: bcm5301x: Add syscon based reboot in DT

2015-12-18 Thread Jon Mason
Add the ability to reboot via a reset of the processor. This is achieved via a write of 0x39 to the CRU Reset Register. Unfortunately, this only resets the core and not the other IP blocks. So if possible, other methods should be used on the individual boards. Signed-off-by: Jon Mason

[PATCH 2/3] ARM: dts: bcm5301x: Add I2C support to the DT

2015-12-18 Thread Jon Mason
Add I2C support to the bcm5301x Device Tree. Since no driver changes are needed to enable this hardware, only the device tree changes are required to make this functional. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm5301x.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a

Re: [PATCH v4 5/5] ARM: BCM: Add SMP support for Broadcom 4708

2015-12-03 Thread Jon Mason
On Thu, Dec 03, 2015 at 04:08:36PM -0500, Jon Mason wrote: > On Wed, Dec 02, 2015 at 04:03:03PM +0100, Hauke Mehrtens wrote: > > On 12/01/2015 05:24 PM, Kapil Hali wrote: > > > From: Jon Mason > > > > > > Add SMP support for Broadcom's 4708 So

Re: [PATCH v4 5/5] ARM: BCM: Add SMP support for Broadcom 4708

2015-12-03 Thread Jon Mason
On Wed, Dec 02, 2015 at 04:03:03PM +0100, Hauke Mehrtens wrote: > On 12/01/2015 05:24 PM, Kapil Hali wrote: > > From: Jon Mason > > > > Add SMP support for Broadcom's 4708 SoCs. > > > > Signed-off-by: Jon Mason > > Acked-by: Hauke Mehrtens >

[PATCH v3 0/3] ARM: dts: add support for NS, NSP, and NS2 clocks

2015-11-20 Thread Jon Mason
://lkml.org/lkml/2015/10/13/882) due to the inability to merge because of the driver dependencies. Those necessary driver changes were merged into 4.4. All comments have been addressed and it is ready to be pulled in. Jon Mason (3): ARM: dts: enable clock support for BCM5301X ARM: dts

[PATCH v3 1/3] ARM: dts: enable clock support for BCM5301X

2015-11-20 Thread Jon Mason
Replace current device tree dummy clocks with real clock support for Broadcom Northstar SoCs. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm5301x.dtsi | 92 +++-- 1 file changed, 71 insertions(+), 21 deletions(-) diff --git a/arch/arm/boot/dts

[PATCH v3 2/3] ARM: dts: enable clock support for Broadcom NSP

2015-11-20 Thread Jon Mason
Replace current device tree dummy clocks with real clock support for Broadcom Northstar Plus SoC Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm-nsp.dtsi | 81 ++ 1 file changed, 66 insertions(+), 15 deletions(-) diff --git a/arch/arm/boot/dts/bcm

[PATCH v3 3/3] ARM64: dts: enable clock support for Broadcom NS2

2015-11-20 Thread Jon Mason
Add device tree entries for clock support for Broadcom Northstar 2 SoC Signed-off-by: Jon Mason --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 80 ++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/broadcom/ns2.dtsi b/arch/arm64

Re: [PATCH v2 2/3] ARM: dts: enable clock support for Broadcom NSP

2015-11-20 Thread Jon Mason
On Thu, Nov 19, 2015 at 03:40:04PM -0800, Ray Jui wrote: > > > On 11/19/2015 3:05 PM, Jon Mason wrote: > >Replace current device tree dummy clocks with real clock support for > >Broadcom Northstar Plus SoC > > > >Signed-off-by: Jon Mason > >--- &

[PATCH v2 2/3] ARM: dts: enable clock support for Broadcom NSP

2015-11-19 Thread Jon Mason
Replace current device tree dummy clocks with real clock support for Broadcom Northstar Plus SoC Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm-nsp.dtsi | 77 +++--- 1 file changed, 64 insertions(+), 13 deletions(-) diff --git a/arch/arm/boot/dts/bcm

[PATCH v2 1/3] ARM: dts: enable clock support for BCM5301X

2015-11-19 Thread Jon Mason
Replace current device tree dummy clocks with real clock support for Broadcom Northstar SoCs. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm5301x.dtsi | 92 +++-- 1 file changed, 71 insertions(+), 21 deletions(-) diff --git a/arch/arm/boot/dts

[PATCH v2 3/3] ARM64: dts: enable clock support for Broadcom NS2

2015-11-19 Thread Jon Mason
Add device tree entries for clock support for Broadcom Northstar 2 SoC Signed-off-by: Jon Mason --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 80 ++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/broadcom/ns2.dtsi b/arch/arm64

[PATCH v2 0/3] ARM: dts: add support for NS, NSP, and NS2 clocks

2015-11-19 Thread Jon Mason
merge because of the driver dependencies. Those necessary driver changes were merged into 4.4. All comments have been addressed and it is ready to be pulled in. Jon Mason (3): ARM: dts: enable clock support for BCM5301X ARM: dts: enable clock support for Broadcom NSP ARM64: dts: enable

Re: [PATCH 2/3] ARM: dts: enable clock support for Broadcom NSP

2015-11-19 Thread Jon Mason
> group DT changes per platform and send them out in the same series. > > I also have some inline comments below. > > On 11/18/2015 3:13 PM, Jon Mason wrote: > >Replace current device tree dummy clocks with real clock support for > >Broadcom Northstar Plus SoC > > >

[PATCH 1/3] ARM: dts: enable clock support for BCM5301X

2015-11-18 Thread Jon Mason
Replace current device tree dummy clocks with real clock support for Broadcom Northstar SoCs. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm5301x.dtsi | 92 +++-- 1 file changed, 71 insertions(+), 21 deletions(-) diff --git a/arch/arm/boot/dts

[PATCH 2/3] ARM: dts: enable clock support for Broadcom NSP

2015-11-18 Thread Jon Mason
Replace current device tree dummy clocks with real clock support for Broadcom Northstar Plus SoC Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm-nsp.dtsi | 99 -- 1 file changed, 75 insertions(+), 24 deletions(-) diff --git a/arch/arm/boot/dts/bcm

[PATCH 0/3] ARM: dts: add support for NS, NSP, and NS2 clocks

2015-11-18 Thread Jon Mason
. All comments have been addressed and it is ready to be pulled in. Jon Mason (3): ARM: dts: enable clock support for BCM5301X ARM: dts: enable clock support for Broadcom NSP ARM64: dts: enable clock support for Broadcom NS2 arch/arm/boot/dts/bcm-nsp.dtsi| 99

[PATCH 3/3] ARM64: dts: enable clock support for Broadcom NS2

2015-11-18 Thread Jon Mason
Add device tree entries for clock support for Broadcom Northstar 2 SoC Signed-off-by: Jon Mason --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 80 ++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/broadcom/ns2.dtsi b/arch/arm64

[PATCH 1/2] ARM: dts: NSP: Device Tree clean-ups

2015-11-17 Thread Jon Mason
modification. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm-nsp.dtsi | 50 +- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi index 4bcdd28..7335a74 100644 --- a/arch/arm/boot/dts

[PATCH 2/2] ARM: dts: NSP: Add I2C support to the DT

2015-11-17 Thread Jon Mason
Add I2C support to the Broadcom Northstar Plus Device Tree. Since no driver changes are needed to enable this hardware, only the device tree changes are required to make this functional. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm-nsp.dtsi | 9 + 1 file changed, 9 insertions

[PATCH 0/2] ARM: dts: NSP: clean-ups and I2C support

2015-11-17 Thread Jon Mason
Minor changes to the Broadcom Northstar Plus device tree to make it more organized and clean, and adding I2C support (device tree only change needed for support). Jon Mason (2): ARM: dts: NSP: Device Tree clean-ups ARM: dts: NSP: Add I2C support to the DT arch/arm/boot/dts/bcm-nsp.dtsi

Re: [PATCH v3 4/4] ARM: BCM: Add SMP support for Broadcom 4708

2015-11-09 Thread Jon Mason
On Sat, Nov 07, 2015 at 12:41:21AM +0100, Hauke Mehrtens wrote: > On 11/07/2015 12:27 AM, Hauke Mehrtens wrote: > > On 11/06/2015 11:54 PM, Jon Mason wrote: > >> On Fri, Nov 06, 2015 at 10:42:41PM +0100, Hauke Mehrtens wrote: > >>> On 11/06/2015 10:11 PM, Kapil Hali

Re: [PATCH v3 4/4] ARM: BCM: Add SMP support for Broadcom 4708

2015-11-06 Thread Jon Mason
On Fri, Nov 06, 2015 at 10:42:41PM +0100, Hauke Mehrtens wrote: > On 11/06/2015 10:11 PM, Kapil Hali wrote: > > From: Jon Mason > > > > Add SMP support for Broadcom's 4708 SoCs. > > > > Signed-off-by: Jon Mason > > Acked-by: Hauke Mehrtens >

[PATCH RESEND 3/3] ARM: dts: NSP: Add TWD Support to DT

2015-11-02 Thread Jon Mason
Add support for the ARM TWD Timer and Watchdog to the Northstar Plus device tree. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm-nsp.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi index 62bc86f

[PATCH RESEND 1/3] ARM: dts: NSP: Add PCI support

2015-11-02 Thread Jon Mason
Add PCI support to the Northstar Plus SoC. This uses the existing pcie-iproc driver. So, all that is needed is device tree entries in the DTS. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm-nsp.dtsi | 74 +++- arch/arm/boot/dts/bcm958625k.dts | 12

[PATCH RESEND 2/3] ARM: dts: NSP: Add NAND Support to DT

2015-11-02 Thread Jon Mason
Add NAND support to the device tree for the Broadcom Northstar Plus SoC. Since no driver changes are needed to enable this hardware, only the device tree changes are required to make this functional. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm-nsp.dtsi | 16 +++- arch/arm

[PATCH RESEND 0/3] ARM: dts: NSP: Add PCI, NAND, and TWD Support to DT

2015-11-02 Thread Jon Mason
Resending due to lack of any response to the original series Add PCI, NAND, and TWD Support to the Broadcom Northstar Plus SoC device tree file. Since no driver changes are needed to enable these pieces of hardware, only the device tree changes are required to make them functional. Jon Mason (3

[PATCH RESEND v4 2/2] ARM: dts: bcm5301x: Add BCM SVK DT files

2015-11-02 Thread Jon Mason
Add device tree files for Broadcom Northstar based SVKs. Since the bcm5301x.dtsi already exists, all that is necessary is the dts files to enable the UARTs. With these files, the SVKs are able to boot to shell. Signed-off-by: Jon Mason --- arch/arm/boot/dts/Makefile | 5 +++- arch/arm

[PATCH RESEND v4 0/2] ARM: dts: bcm5301x: Add SVK DT files and docs

2015-11-02 Thread Jon Mason
; from the bootargs Add device tree files and update the documentation for Broadcom Northstar based SVKs. Since the bcm5301x.dtsi already exists, all that is necessary is the dts files to enable the UARTs. With these files, the SVKs are able to boot to shell Jon Mason (2): dt-bindings: Add n

[PATCH RESEND v4 1/2] dt-bindings: Add new SoCs to bcm4708 DT bindings

2015-11-02 Thread Jon Mason
Add the 4708, 4709, and 53012 SoCs to the the documentation for the Broadcom Northstar device tree bindings. Signed-off-by: Jon Mason Acked-by: Hauke Mehrtens Acked-by: Scott Branden Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt | 7 +++ 1 file

Re: [PATCH v3 08/10] clk: ns2: add clock support for Broadcom Northstar 2 SoC

2015-10-22 Thread Jon Mason
On Wed, Oct 21, 2015 at 05:22:47PM -0700, Stephen Boyd wrote: > On 10/15, Scott Branden wrote: > > On 15-10-15 02:15 PM, Ray Jui wrote: > > >On 10/15/2015 2:10 PM, Jon Mason wrote: > > >>On Thu, Oct 15, 2015 at 02:04:09PM -0700, Scott Branden wrote: > > &g

Re: [PATCH v3 0/10] clk: iproc: add support for BCM NS, NSP, and NS2

2015-10-22 Thread Jon Mason
On Wed, Oct 21, 2015 at 04:51:44PM -0700, Stephen Boyd wrote: > On 10/15, Jon Mason wrote: > > > > v3 - Added a patch to fix cygnus clk link failures, and added back the > > DT documentation patches that were removed from v2. > > > > v2 - Added a patch t

[PATCH 1/3] ARM: dts: NSP: Add PCI support

2015-10-21 Thread Jon Mason
Add PCI support to the Northstar Plus SoC. This uses the existing pcie-iproc driver. So, all that is needed is device tree entries in the DTS. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm-nsp.dtsi | 74 +++- arch/arm/boot/dts/bcm958625k.dts | 12

[PATCH 2/3] ARM: dts: NSP: Add NAND Support to DT

2015-10-21 Thread Jon Mason
Add NAND support to the device tree for the Broadcom Northstar Plus SoC. Since no driver changes are needed to enable this hardware, only the device tree changes are required to make this functional. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm-nsp.dtsi | 16 +++- arch/arm

[PATCH 3/3] ARM: dts: NSP: Add TWD Support to DT

2015-10-21 Thread Jon Mason
Add support for the ARM TWD Timer and Watchdog to the Northstar Plus device tree. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm-nsp.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi index 62bc86f

[PATCH 0/3] ARM: dts: NSP: Add PCI, NAND, and TWD Support to DT

2015-10-21 Thread Jon Mason
Add PCI, NAND, and TWD Support to the Broadcom Northstar Plus SoC device tree file. Since no driver changes are needed to enable these pieces of hardware, only the device tree changes are required to make them functional. Jon Mason (3): ARM: dts: NSP: Add PCI support ARM: dts: NSP: Add

[PATCH v4 1/2] dt-bindings: Add new SoCs to bcm4708 DT bindings

2015-10-21 Thread Jon Mason
Add the 4708, 4709, and 53012 SoCs to the the documentation for the Broadcom Northstar device tree bindings. Signed-off-by: Jon Mason Acked-by: Hauke Mehrtens Acked-by: Scott Branden Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt | 7 +++ 1 file

[PATCH v4 2/2] ARM: dts: bcm5301x: Add BCM SVK DT files

2015-10-21 Thread Jon Mason
Add device tree files for Broadcom Northstar based SVKs. Since the bcm5301x.dtsi already exists, all that is necessary is the dts files to enable the UARTs. With these files, the SVKs are able to boot to shell. Signed-off-by: Jon Mason --- arch/arm/boot/dts/Makefile | 5 +++- arch/arm

[PATCH v4 0/2] ARM: dts: bcm5301x: Add SVK DT files and docs

2015-10-21 Thread Jon Mason
update the documentation for Broadcom Northstar based SVKs. Since the bcm5301x.dtsi already exists, all that is necessary is the dts files to enable the UARTs. With these files, the SVKs are able to boot to shell Jon Mason (2): dt-bindings: Add new SoCs to bcm4708 DT bindings ARM: dts: bcm5301x: Add

[PATCH v3 1/2] dt-bindings: Add new SoCs to bcm4708 DT bindings

2015-10-15 Thread Jon Mason
Add the 4708, 4709, and 53012 SoCs to the the documentation for the Broadcom Northstar device tree bindings. Signed-off-by: Jon Mason --- Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm

[PATCH v3 2/2] ARM: dts: bcm5301x: Add BCM SVK DT files

2015-10-15 Thread Jon Mason
Add device tree files for Broadcom Northstar based SVKs. Since the bcm5301x.dtsi already exists, all that is necessary is the dts files to enable the UARTs. With these files, the SVKs are able to boot to shell. Signed-off-by: Jon Mason --- arch/arm/boot/dts/Makefile | 5 +++- arch/arm

Re: [PATCH v2 2/2] ARM: dts: bcm5301x: Add BCM SVK DT files

2015-10-15 Thread Jon Mason
On Thu, Oct 15, 2015 at 11:32:27PM +0200, Hauke Mehrtens wrote: > On 10/15/2015 11:25 PM, Jon Mason wrote: > > On Thu, Oct 15, 2015 at 10:55:16PM +0200, Hauke Mehrtens wrote: > >> On 10/15/2015 10:40 PM, Hauke Mehrtens wrote: > >>> On 10/15/2015 12:14 AM, Jon Mason

Re: [PATCH v2 2/2] ARM: dts: bcm5301x: Add BCM SVK DT files

2015-10-15 Thread Jon Mason
On Thu, Oct 15, 2015 at 10:40:47PM +0200, Hauke Mehrtens wrote: > On 10/15/2015 12:14 AM, Jon Mason wrote: > > Add device tree files for Broadcom Northstar based SVKs. Since the > > bcm5301x.dtsi already exists, all that is necessary is the dts files to > > enable the UARTs

Re: [PATCH v2 2/2] ARM: dts: bcm5301x: Add BCM SVK DT files

2015-10-15 Thread Jon Mason
On Thu, Oct 15, 2015 at 10:55:16PM +0200, Hauke Mehrtens wrote: > On 10/15/2015 10:40 PM, Hauke Mehrtens wrote: > > On 10/15/2015 12:14 AM, Jon Mason wrote: > >> Add device tree files for Broadcom Northstar based SVKs. Since the > >> bcm5301x.dtsi already exists, all t

Re: [PATCH 3/3] ARM: BCM: Add SMP support for Broadcom NSP

2015-10-15 Thread Jon Mason
On Thu, Oct 15, 2015 at 11:12:09PM +0200, Hauke Mehrtens wrote: > On 10/15/2015 06:10 PM, Kapil Hali wrote: > > > > > > On 10/15/2015 3:56 AM, Hauke Mehrtens wrote: > >> On 10/14/2015 07:47 PM, Kapil Hali wrote: > >>> Add SMP support for Broadcom's Northstar Plus SoC, > >>> cpu enable method and

Re: [PATCH v3 08/10] clk: ns2: add clock support for Broadcom Northstar 2 SoC

2015-10-15 Thread Jon Mason
clock driver > >>from being pulled in all the time. > >> > >>On 15-10-15 12:48 PM, Jon Mason wrote: > >>>The Broadcom Northstar 2 SoC is architected under the iProc > >>>architecture. It has the following PLLs: GENPLL SCR, GENPLL SW, > >

Re: [PATCH v3 01/10] ARM: cygnus: fix link failures when CONFIG_COMMON_CLK_IPROC is disabled

2015-10-15 Thread Jon Mason
On Thu, Oct 15, 2015 at 01:28:50PM -0700, Scott Branden wrote: > Jon, > > One question below for others to comment on. > > On 15-10-15 12:48 PM, Jon Mason wrote: > >From: Arnd Bergmann > > > >When CONFIG_CYGNUS is set but CONFIG_COMMON_CLK_IPROC is disabled, t

Re: [PATCH v3 04/10] clk: nsp: add clock support for Broadcom Northstar Plus SoC

2015-10-15 Thread Jon Mason
On Thu, Oct 15, 2015 at 01:41:57PM -0700, Scott Branden wrote: > Jon, > > Review below. > > On 15-10-15 12:48 PM, Jon Mason wrote: > >The Broadcom Northstar Plus SoC is architected under the iProc > > Based on changes in Makefile below - should this be for Northstar

[PATCH v3 03/10] clk: iproc: Add PWRCTRL support

2015-10-15 Thread Jon Mason
identify this usage. We can use the AON interface to write the values to enable/disable PWRDOWN. Signed-off-by: Jon Mason --- drivers/clk/bcm/clk-iproc-pll.c | 55 - drivers/clk/bcm/clk-iproc.h | 6 + 2 files changed, 44 insertions(+), 17 deletions

[PATCH v3 04/10] clk: nsp: add clock support for Broadcom Northstar Plus SoC

2015-10-15 Thread Jon Mason
The Broadcom Northstar Plus SoC is architected under the iProc architecture. It has the following PLLs: ARMPLL, GENPLL, LCPLL0, all derived from an onboard crystal. Signed-off-by: Jon Mason --- drivers/clk/bcm/Makefile| 2 + drivers/clk/bcm/clk-nsp.c | 135

[PATCH v3 01/10] ARM: cygnus: fix link failures when CONFIG_COMMON_CLK_IPROC is disabled

2015-10-15 Thread Jon Mason
ROC a silent option (thus preventing it from being erroneously disabled by a user). Signed-off-by: Arnd Bergmann Signed-off-by: Jon Mason --- arch/arm/mach-bcm/Kconfig | 2 +- drivers/clk/bcm/Kconfig | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-bcm

[PATCH v3 05/10] clk: iproc: Add PLL base write function

2015-10-15 Thread Jon Mason
All writes to the PLL base address must be flushed if the IPROC_CLK_NEEDS_READ_BACK flag is set. If we add a function to make the necessary write and reads, we can make sure that any future code which makes PLL base writes will do the correct thing. Signed-off-by: Jon Mason --- drivers/clk/bcm

[PATCH v3 02/10] clk: cygnus: Convert all macros to all caps

2015-10-15 Thread Jon Mason
The macros that are being used to initialize the values of the clk structures should be all caps. Find and replace all of them with their relevant counterparts. Signed-off-by: Jon Mason --- drivers/clk/bcm/clk-cygnus.c | 146 +-- 1 file changed, 73

[PATCH v3 08/10] clk: ns2: add clock support for Broadcom Northstar 2 SoC

2015-10-15 Thread Jon Mason
The Broadcom Northstar 2 SoC is architected under the iProc architecture. It has the following PLLs: GENPLL SCR, GENPLL SW, LCPLL DDR, LCPLL Ports, all derived from an onboard crystal. Signed-off-by: Jon Mason --- drivers/clk/Makefile| 2 +- drivers/clk/bcm/Makefile

[PATCH v3 07/10] clk: iproc: Separate status and control variables

2015-10-15 Thread Jon Mason
additional registers need to be used. Signed-off-by: Jon Mason --- drivers/clk/bcm/clk-iproc-pll.c | 96 - drivers/clk/bcm/clk-iproc.h | 6 +++ 2 files changed, 62 insertions(+), 40 deletions(-) diff --git a/drivers/clk/bcm/clk-iproc-pll.c b/drivers

[PATCH v3 06/10] clk: iproc: Split off dig_filter

2015-10-15 Thread Jon Mason
The PLL loop filter/gain can be located in a separate register on some SoCs. Split these off into a separate variable, so that an offset can be added if necessary. Also, make the necessary modifications to the Cygnus and NSP drivers for this change. Signed-off-by: Jon Mason --- drivers/clk

[PATCH v3 10/10] clk: iproc: define Broadcom NS2 iProc clock binding

2015-10-15 Thread Jon Mason
Document the device tree bindings for Broadcom Northstar 2 architecture based clock controller Signed-off-by: Jon Mason --- .../bindings/clock/brcm,iproc-clocks.txt | 48 ++ 1 file changed, 48 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/brcm

[PATCH v3 09/10] clk: iproc: define Broadcom NSP iProc clock binding

2015-10-15 Thread Jon Mason
Document the device tree bindings for Broadcom Northstar Plus architecture based clock controller Signed-off-by: Jon Mason --- .../bindings/clock/brcm,iproc-clocks.txt | 30 ++ 1 file changed, 30 insertions(+) diff --git a/Documentation/devicetree/bindings/clock

[PATCH v3 0/10] clk: iproc: add support for BCM NS, NSP, and NS2

2015-10-15 Thread Jon Mason
v3 - Added a patch to fix cygnus clk link failures, and added back the DT documentation patches that were removed from v2. v2 - Added a patch to change the Cygnus clk macros to uppercase, removed the device tree changes from the series (will send out those as an RFC), and other minor changes that

Re: [PATCH v2 7/7] clk: ns2: add clock support for Broadcom Northstar 2 SoC

2015-10-15 Thread Jon Mason
On Thu, Oct 15, 2015 at 08:54:34PM +0200, Arnd Bergmann wrote: > On Thursday 15 October 2015 14:43:45 Jon Mason wrote: > > On Thu, Oct 15, 2015 at 11:36:19AM -0700, Scott Branden wrote: > > > Jon, > > > > > > Can you add this to your patchset and change COMMO

Re: [PATCH v2 7/7] clk: ns2: add clock support for Broadcom Northstar 2 SoC

2015-10-15 Thread Jon Mason
On Thu, Oct 15, 2015 at 11:36:19AM -0700, Scott Branden wrote: > Jon, > > Can you add this to your patchset and change COMMON_CLK_IPROC to a > silent option? Sure, I'll add this (and make it silent), as well as adding the documentation patches back to this series (per Ray's suggestion), and will

[RFC] ARM: BCM: Add SMP support for Broadcom 4708

2015-10-15 Thread Jon Mason
ARM: BCM: Add SMP support for Broadcom 4708 Add SMP support for Broadcom's 4708 SoCs. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm4708.dtsi | 2 ++ arch/arm/boot/dts/bcm94708.dts | 2 +- arch/arm/mach-bcm/Kconfig | 1 + arch/arm/mach-bcm/Makefile | 3 +++ 4 files chang

Re: [PATCH 3/3] ARM: BCM: Add SMP support for Broadcom NSP

2015-10-15 Thread Jon Mason
On Wed, Oct 14, 2015 at 06:40:04PM -0400, Jon Mason wrote: > On Thu, Oct 15, 2015 at 12:26:25AM +0200, Hauke Mehrtens wrote: > > On 10/14/2015 07:47 PM, Kapil Hali wrote: > > > Add SMP support for Broadcom's Northstar Plus SoC, > > > cpu enable method and pen_releas

Re: [PATCH 3/3] ARM: BCM: Add SMP support for Broadcom NSP

2015-10-14 Thread Jon Mason
On Thu, Oct 15, 2015 at 12:26:25AM +0200, Hauke Mehrtens wrote: > On 10/14/2015 07:47 PM, Kapil Hali wrote: > > Add SMP support for Broadcom's Northstar Plus SoC, > > cpu enable method and pen_release procedures. This > > changes also consolidates iProc family's - BCM NSP > > and BCM Kona, SMP hand

[PATCH v2 2/2] ARM: dts: bcm5301x: Add BCM SVK DT files

2015-10-14 Thread Jon Mason
Add device tree files for Broadcom Northstar based SVKs. Since the bcm5301x.dtsi already exists, all that is necessary is the dts files to enable the UARTs (and specify the RAM size for the 4708/9). With these files, the SVKs are able to boot to shell. Signed-off-by: Jon Mason --- arch/arm

[PATCH v2 1/2] dt-bindings: Add new boards to bcm4708 DT bindings

2015-10-14 Thread Jon Mason
Add the 4708, 4709, and 953012k SVKs to the the documentation for the Broadcom Northstar device tree bindings. Signed-off-by: Jon Mason --- Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm

[PATCH v2 0/2] ARM: dts: bcm5301x: Add BCM SVK DT files

2015-10-14 Thread Jon Mason
This patch series adds the device tree files for the Broadcom Northstar based SVKs. Changes in v2: * Reorder the patches to add the DT binding documentation prior to the new DT files * Removed the DT documentation compat strings to only the SoCs, not the individual boards * Fixed the compat

Re: [RFC 4/5] clk: iproc: define Broadcom NS2 iProc clock binding

2015-10-14 Thread Jon Mason
e tree series. If Stephen will pull these in with the clk changes, I am more than happy to have it done by him :) Thanks, Jon > > Ray > > On 10/13/2015 2:22 PM, Jon Mason wrote: > > Document the device tree bindings for Broadcom Northstar 2 architecture > > based clock co

Re: [PATCH 1/2] ARM: dts: bcm5301x: Add BCM SVK DT files

2015-10-14 Thread Jon Mason
On Tue, Oct 13, 2015 at 03:43:20PM -0700, Ray Jui wrote: > > > On 10/13/2015 2:38 PM, Jon Mason wrote: > > On Sat, Oct 10, 2015 at 04:39:00PM +0200, Hauke Mehrtens wrote: > >> On 10/03/2015 12:22 AM, Jon Mason wrote: > >>> Add device tree files for Broad

Re: [RFC 1/5] clk: iproc: define Broadcom NSP iProc clock binding

2015-10-14 Thread Jon Mason
On Tue, Oct 13, 2015 at 03:17:36PM -0700, Ray Jui wrote: > Shouldn't the device tree binding document go with the other patch > series since both the binding document and drivers are merged by Michael > or Stephen? > > On 10/13/2015 2:22 PM, Jon Mason wrote: > > Documen

Re: [PATCH 2/2] dt-bindings: Add new boards to bcm4708 DT bindings

2015-10-14 Thread Jon Mason
On Tue, Oct 13, 2015 at 03:37:49PM -0700, Florian Fainelli wrote: > On 13/10/15 14:40, Jon Mason wrote: > > On Sat, Oct 10, 2015 at 04:42:04PM +0200, Hauke Mehrtens wrote: > >> On 10/03/2015 12:22 AM, Jon Mason wrote: > >>> Add the 4708, 4709, and 953012k SVKs to

Re: [PATCH v2 7/7] clk: ns2: add clock support for Broadcom Northstar 2 SoC

2015-10-13 Thread Jon Mason
On Tue, Oct 13, 2015 at 11:18:53PM +0200, Arnd Bergmann wrote: > On Tuesday 13 October 2015 17:08:05 Jon Mason wrote: > > @@ -3,6 +3,7 @@ obj-$(CONFIG_CLK_BCM_KONA) += clk-kona-setup.o > > obj-$(CONFIG_CLK_BCM_KONA) += clk-bcm281xx.o > > obj-$(CONFIG_CLK_BCM_KONA)

Re: [PATCH 2/2] dt-bindings: Add new boards to bcm4708 DT bindings

2015-10-13 Thread Jon Mason
On Sat, Oct 10, 2015 at 04:42:04PM +0200, Hauke Mehrtens wrote: > On 10/03/2015 12:22 AM, Jon Mason wrote: > > Add the 4708, 4709, and 953012k SVKs to the the documentation for the > > Broadcom Northstar device tree bindings. > > > > Signed-off-by: Jon Mason > >

Re: [PATCH 1/2] ARM: dts: bcm5301x: Add BCM SVK DT files

2015-10-13 Thread Jon Mason
On Sat, Oct 10, 2015 at 04:39:00PM +0200, Hauke Mehrtens wrote: > On 10/03/2015 12:22 AM, Jon Mason wrote: > > Add device tree files for Broadcom Northstar based SVKs. Since the > > bcm5301x.dtsi already exists, all that is necessary is the dts files to > > enable the UARTs

[RFC 1/5] clk: iproc: define Broadcom NSP iProc clock binding

2015-10-13 Thread Jon Mason
Document the device tree bindings for Broadcom Northstar Plus architecture based clock controller Signed-off-by: Jon Mason --- .../bindings/clock/brcm,iproc-clocks.txt | 30 ++ 1 file changed, 30 insertions(+) diff --git a/Documentation/devicetree/bindings/clock

[RFC 3/5] ARM: dts: enable clock support for BCM5301X

2015-10-13 Thread Jon Mason
Replace current device tree dummy clocks with real clock support for Broadcom Northstar SoCs. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm5301x.dtsi | 88 - 1 file changed, 69 insertions(+), 19 deletions(-) diff --git a/arch/arm/boot/dts

[RFC 2/5] ARM: dts: enable clock support for Broadcom NSP

2015-10-13 Thread Jon Mason
Replace current device tree dummy clocks with real clock support for Broadcom Northstar Plus SoC Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm-nsp.dtsi | 93 -- 1 file changed, 72 insertions(+), 21 deletions(-) diff --git a/arch/arm/boot/dts/bcm

[RFC 4/5] clk: iproc: define Broadcom NS2 iProc clock binding

2015-10-13 Thread Jon Mason
Document the device tree bindings for Broadcom Northstar 2 architecture based clock controller Signed-off-by: Jon Mason --- .../bindings/clock/brcm,iproc-clocks.txt | 48 ++ 1 file changed, 48 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/brcm

[PATCH 0/5] ARM: dts: add device tree support for NS, NSP, and NS2 clocks

2015-10-13 Thread Jon Mason
This patch series adds device tree support for the Broadcom Northstar, Northstar Plus, and Northstar 2 clocks. This is being sent as a separate patch series due to the the clk maintainer(s) not wanting to pull in device tree changes into the clk repo. This series is an RFC due to a potential mer

[RFC 5/5] ARM: dts: enable clock support for Broadcom NS2

2015-10-13 Thread Jon Mason
Add device tree entries for clock support for Broadcom Northstar 2 SoC Signed-off-by: Jon Mason --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 93 --- 1 file changed, 86 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/broadcom/ns2.dtsi b/arch/arm64

Re: [PATCH v2 0/10] clk: iproc: add support for BCM NS, NSP, and NS2

2015-10-13 Thread Jon Mason
Oops, this should be 0/7 not 0/10 On Tue, Oct 13, 2015 at 05:07:58PM -0400, Jon Mason wrote: > > v2 - Added a patch to change the Cygnus clk macros to uppercase, > removed the device tree changes from the series (will send out those as > an RFC), and other minor changes that

[PATCH v2 4/7] clk: iproc: Add PLL base write function

2015-10-13 Thread Jon Mason
All writes to the PLL base address must be flushed if the IPROC_CLK_NEEDS_READ_BACK flag is set. If we add a function to make the necessary write and reads, we can make sure that any future code which makes PLL base writes will do the correct thing. Signed-off-by: Jon Mason --- drivers/clk/bcm

[PATCH v2 5/7] clk: iproc: Split off dig_filter

2015-10-13 Thread Jon Mason
The PLL loop filter/gain can be located in a separate register on some SoCs. Split these off into a separate variable, so that an offset can be added if necessary. Also, make the necessary modifications to the Cygnus and NSP drivers for this change. Signed-off-by: Jon Mason --- drivers/clk

[PATCH v2 6/7] clk: iproc: Separate status and control variables

2015-10-13 Thread Jon Mason
additional registers need to be used. Signed-off-by: Jon Mason --- drivers/clk/bcm/clk-iproc-pll.c | 96 - drivers/clk/bcm/clk-iproc.h | 6 +++ 2 files changed, 62 insertions(+), 40 deletions(-) diff --git a/drivers/clk/bcm/clk-iproc-pll.c b/drivers

[PATCH v2 0/10] clk: iproc: add support for BCM NS, NSP, and NS2

2015-10-13 Thread Jon Mason
v2 - Added a patch to change the Cygnus clk macros to uppercase, removed the device tree changes from the series (will send out those as an RFC), and other minor changes that Stephen Boyd requested. This patch series adds support for the Broadcom Northstar, Northstar Plus, and Northstar 2 clocks.

[PATCH v2 3/7] clk: nsp: add clock support for Broadcom Northstar Plus SoC

2015-10-13 Thread Jon Mason
The Broadcom Northstar Plus SoC is architected under the iProc architecture. It has the following PLLs: ARMPLL, GENPLL, LCPLL0, all derived from an onboard crystal. Signed-off-by: Jon Mason --- drivers/clk/bcm/Makefile| 2 + drivers/clk/bcm/clk-nsp.c | 135

[PATCH v2 7/7] clk: ns2: add clock support for Broadcom Northstar 2 SoC

2015-10-13 Thread Jon Mason
The Broadcom Northstar 2 SoC is architected under the iProc architecture. It has the following PLLs: GENPLL SCR, GENPLL SW, LCPLL DDR, LCPLL Ports, all derived from an onboard crystal. Signed-off-by: Jon Mason --- drivers/clk/Makefile| 2 +- drivers/clk/bcm/Makefile

[PATCH v2 1/7] clk: cygnus: Convert all macros to all caps

2015-10-13 Thread Jon Mason
The macros that are being used to initialize the values of the clk structures should be all caps. Find and replace all of them with their relevant counterparts. Signed-off-by: Jon Mason --- drivers/clk/bcm/clk-cygnus.c | 146 +-- 1 file changed, 73

[PATCH v2 2/7] clk: iproc: Add PWRCTRL support

2015-10-13 Thread Jon Mason
identify this usage. We can use the AON interface to write the values to enable/disable PWRDOWN. Signed-off-by: Jon Mason --- drivers/clk/bcm/clk-iproc-pll.c | 55 - drivers/clk/bcm/clk-iproc.h | 6 + 2 files changed, 44 insertions(+), 17 deletions

Re: [PATCH 09/10] clk: ns2: add clock support for Broadcom Northstar 2 SoC

2015-10-12 Thread Jon Mason
On Fri, Oct 09, 2015 at 05:33:52PM -0700, Stephen Boyd wrote: > On 10/02, Jon Mason wrote: > > diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms > > index 23800a1..2790f21 100644 > > --- a/arch/arm64/Kconfig.platforms > > +++ b/arch/arm64/Kconfig

Re: [PATCH 04/10] ARM: dts: enable clock support for BCM5301X

2015-10-12 Thread Jon Mason
On Fri, Oct 09, 2015 at 05:14:08PM -0700, Stephen Boyd wrote: > On 10/09, Jon Mason wrote: > > On Fri, Oct 09, 2015 at 12:35:40AM -0700, Stephen Boyd wrote: > > > On 10/02, Jon Mason wrote: > > > > > > >

Re: [PATCH 09/10] clk: ns2: add clock support for Broadcom Northstar 2 SoC

2015-10-12 Thread Jon Mason
On Fri, Oct 09, 2015 at 05:19:15PM -0700, Stephen Boyd wrote: > On 10/02, Jon Mason wrote: > > diff --git a/drivers/clk/bcm/clk-ns2.c b/drivers/clk/bcm/clk-ns2.c > > new file mode 100644 > > index 000..1d08281 > > --- /dev/null > > +++ b/drivers/clk

Re: [PATCH 05/10] clk: iproc: Add PLL base write function

2015-10-12 Thread Jon Mason
On Fri, Oct 09, 2015 at 05:21:06PM -0700, Stephen Boyd wrote: > On 10/02, Jon Mason wrote: > > diff --git a/drivers/clk/bcm/clk-iproc-pll.c > > b/drivers/clk/bcm/clk-iproc-pll.c > > index e029ab3..a4602aa 100644 > > --- a/drivers/clk/bcm/clk-iproc-pll.c > > +++

Re: [PATCH 04/10] ARM: dts: enable clock support for BCM5301X

2015-10-09 Thread Jon Mason
On Fri, Oct 09, 2015 at 12:35:40AM -0700, Stephen Boyd wrote: > On 10/02, Jon Mason wrote: > > Replace current device tree dummy clocks with real clock support for > > Broadcom Northstar SoCs. > > > > Signed-off-by: Jon Mason > > --- > > I'd rather no

Re: [PATCH 05/10] clk: iproc: Add PLL base write function

2015-10-09 Thread Jon Mason
On Fri, Oct 09, 2015 at 12:03:57AM -0700, Stephen Boyd wrote: > On 10/02, Jon Mason wrote: > > diff --git a/drivers/clk/bcm/clk-iproc-pll.c > > b/drivers/clk/bcm/clk-iproc-pll.c > > index e029ab3..a4602aa 100644 > > --- a/drivers/clk/bcm/clk-iproc-pll.c > > +++

Re: [PATCH 02/10] clk: nsp: add clock support for Broadcom Northstar Plus SoC

2015-10-09 Thread Jon Mason
On Fri, Oct 09, 2015 at 12:37:46AM -0700, Stephen Boyd wrote: > On 10/02, Jon Mason wrote: > > diff --git a/drivers/clk/bcm/clk-nsp.c b/drivers/clk/bcm/clk-nsp.c > > new file mode 100644 > > index 000..708961a > > --- /dev/null > > +++ b/drivers/clk

[PATCH 02/10] clk: nsp: add clock support for Broadcom Northstar Plus SoC

2015-10-02 Thread Jon Mason
The Broadcom Northstar Plus SoC is architected under the iProc architecture. It has the following PLLs: ARMPLL, GENPLL, LCPLL0, all derived from an onboard crystal. Signed-off-by: Jon Mason --- drivers/clk/bcm/Makefile| 2 + drivers/clk/bcm/clk-nsp.c | 139

[PATCH 01/10] clk: iproc: Add PWRCTRL support

2015-10-02 Thread Jon Mason
identify this usage. We can use the AON interface to write the values to enable/disable PWRDOWN. Signed-off-by: Jon Mason --- drivers/clk/bcm/clk-iproc-pll.c | 55 - drivers/clk/bcm/clk-iproc.h | 6 + 2 files changed, 44 insertions(+), 17 deletions

  1   2   >