Re: [PATCH 1/3] pinctrl: Broadcom NSP GPIO-a device tree bindings

2015-12-02 Thread Ray Jui
Hi Rob, On 12/2/2015 7:07 AM, Rob Herring wrote: On Tue, Dec 01, 2015 at 11:46:38PM -0500, Yendapally Reddy Dhananjaya Reddy wrote: Device tree binding documentation for Broadcom NSP GPIO-a driver Bindings are for h/w, not drivers... Signed-off-by: Yendapally Reddy Dhananjaya Reddy ---

Re: [PATCH] Enable PCIe PHY support in Cygnus

2015-12-01 Thread Ray Jui
On 12/1/2015 3:12 PM, Florian Fainelli wrote: On 24/11/15 16:12, Florian Fainelli wrote: On 18/11/15 10:16, Ray Jui wrote: This patch enales PCIe PHY in device tree for Broadcom Cygnus based platforms This patch is developed based on v4.4-rc1 and available here: https://github.com/Broadcom

Re: [PATCH 3/3] ARM: dts: enable pinctrl for Broadcom NSP

2015-12-01 Thread Ray Jui
On 12/1/2015 8:05 AM, Scott Branden wrote: Hi Linus, On 15-12-01 02:00 AM, Linus Walleij wrote: On Wed, Nov 25, 2015 at 1:08 AM, Florian Fainelli wrote: On 20/11/15 09:58, Yendapally Reddy Dhananjaya Reddy wrote: This enables the pinctrl support for Broadcom NSP SoC Signed-off-by: Yendapa

Re: [PATCH] ARM: dts: enable PCIe PHY support for Cygnus

2015-11-23 Thread Ray Jui
Any comment on this DT change to enable PCIe PHY support for Cygnus? Note the PHY driver has been accepted and is in v4.4. Thanks, Ray On 11/18/2015 10:16 AM, Ray Jui wrote: Enable PCIe PHY for both PCIe root complexes on Cygnus Signed-off-by: Ray Jui --- arch/arm/boot/dts/bcm

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

2015-11-20 Thread Ray Jui
Hi Jon, On 11/20/2015 7:17 AM, Jon Mason wrote: Changes in v3: Tweaked the NSP entry names, per Ray Jui Changes in v2: Rebased off of outstanding NSP DT patches and tweaked the entry names per Ray Jui This patch series adds device tree support for the Broadcom Northstar, Northstar Plus, and

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

2015-11-19 Thread Ray Jui
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 --- arch/arm/boot/dts/bcm-nsp.dtsi | 77 +++--- 1 file changed, 64 insertions(+), 13 deletio

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

2015-11-19 Thread Ray Jui
On 11/19/2015 7:48 AM, Jon Mason wrote: On Wed, Nov 18, 2015 at 03:57:36PM -0800, Ray Jui wrote: Would this patch merge properly with the other NSP DT clean up patch + I2C DT patch that you worked out internally but have not sent out? I thought it's going to make the maintainers' l

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

2015-11-18 Thread Ray Jui
On 11/18/2015 4:07 PM, Florian Fainelli wrote: On 18/11/15 16:03, Ray Jui wrote: On 11/18/2015 3:13 PM, Jon Mason wrote: 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

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

2015-11-18 Thread Ray Jui
On 11/18/2015 3:13 PM, Jon Mason wrote: 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/arm

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

2015-11-18 Thread Ray Jui
Would this patch merge properly with the other NSP DT clean up patch + I2C DT patch that you worked out internally but have not sent out? I thought it's going to make the maintainers' life easier if you can group DT changes per platform and send them out in the same series. I also have some i

[PATCH] ARM: dts: enable PCIe PHY support for Cygnus

2015-11-18 Thread Ray Jui
Enable PCIe PHY for both PCIe root complexes on Cygnus Signed-off-by: Ray Jui --- arch/arm/boot/dts/bcm-cygnus.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm/boot/dts/bcm-cygnus.dtsi index 2778533..5df5300 100644

[PATCH] Enable PCIe PHY support in Cygnus

2015-11-18 Thread Ray Jui
This patch enales PCIe PHY in device tree for Broadcom Cygnus based platforms This patch is developed based on v4.4-rc1 and available here: https://github.com/Broadcom/cygnus-linux/tree/cygnus-pcie-phy-dt-v1 Ray Jui (1): ARM: dts: enable PCIe PHY support for Cygnus arch/arm/boot/dts/bcm

Re: [PATCH v8] PCI: Xilinx-NWL-PCIe: Added support for Xilinx NWL PCIe Host Controller

2015-11-17 Thread Ray Jui
On 11/17/2015 5:55 AM, Marc Zyngier wrote: On 17/11/15 13:27, Bharat Kumar Gogada wrote: On Tue, 17 Nov 2015 04:59:39 + Bharat Kumar Gogada wrote: On 11/16/2015 7:14 AM, Marc Zyngier wrote: On 11/11/15 06:33, Bharat Kumar Gogada wrote: Adding PCIe Root Port driver for Xilinx PCIe NWL

Re: [PATCH v8] PCI: Xilinx-NWL-PCIe: Added support for Xilinx NWL PCIe Host Controller

2015-11-16 Thread Ray Jui
On 11/10/2015 10:33 PM, Bharat Kumar Gogada wrote: Adding PCIe Root Port driver for Xilinx PCIe NWL bridge IP. Signed-off-by: Bharat Kumar Gogada Signed-off-by: Ravi Kiran Gummaluri --- Added logic to allocate contiguous hwirq in nwl_irq_domain_alloc function. Moved MSI functionality to sepa

Re: [PATCH v8] PCI: Xilinx-NWL-PCIe: Added support for Xilinx NWL PCIe Host Controller

2015-11-16 Thread Ray Jui
On 11/16/2015 7:14 AM, Marc Zyngier wrote: On 11/11/15 06:33, Bharat Kumar Gogada wrote: Adding PCIe Root Port driver for Xilinx PCIe NWL bridge IP. Signed-off-by: Bharat Kumar Gogada Signed-off-by: Ravi Kiran Gummaluri --- Added logic to allocate contiguous hwirq in nwl_irq_domain_alloc fu

Re: [PATCH v3 2/2] arm64: dts: Add BRCM IPROC NAND DT node for NS2

2015-10-30 Thread Ray Jui
On 10/30/2015 11:49 AM, Brian Norris wrote: On Wed, Oct 28, 2015 at 09:08:02AM -0700, Ray Jui wrote: On 10/28/2015 2:06 AM, Anup Patel wrote: I think for a newly created OF devices the Linux device driver framework will match the platform drivers in the order in which they are registered by

Re: [PATCH v3 2/2] arm64: dts: Add BRCM IPROC NAND DT node for NS2

2015-10-28 Thread Ray Jui
On 10/28/2015 2:06 AM, Anup Patel wrote: -Original Message- From: Ray Jui [mailto:r...@broadcom.com] Sent: 28 October 2015 06:17 To: Brian Norris Cc: Anup Patel; David Woodhouse; Linux MTD; Rob Herring; Pawel Moll; Mark Rutland; Catalin Marinas; Will Deacon; Sudeep Holla; Ian

Re: [PATCH 07/11] pinctrl: use ngpios propety from DT

2015-10-28 Thread Ray Jui
On 10/28/2015 4:52 AM, Pramod Kumar wrote: Hi Linus, -Original Message- From: Linus Walleij [mailto:linus.wall...@linaro.org] Sent: 27 October 2015 15:22 To: Pramod Kumar Cc: Rob Herring; Pawel Moll; Mark Rutland; Ian Campbell; Kumar Gala; Ray Jui; Scott Branden; Russell King; linux

Re: [PATCH v3 2/2] arm64: dts: Add BRCM IPROC NAND DT node for NS2

2015-10-27 Thread Ray Jui
On 10/27/2015 5:39 PM, Brian Norris wrote: On Tue, Oct 27, 2015 at 05:25:32PM -0700, Ray Jui wrote: On 10/27/2015 5:19 PM, Brian Norris wrote: On Fri, Oct 23, 2015 at 10:46:13AM +0530, Anup Patel wrote: diff --git a/arch/arm64/boot/dts/broadcom/ns2.dtsi b/arch/arm64/boot/dts/broadcom/ns2

Re: [PATCH v3 2/2] arm64: dts: Add BRCM IPROC NAND DT node for NS2

2015-10-27 Thread Ray Jui
k.dts. Signed-off-by: Anup Patel Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 30 -- arch/arm64/boot/dts/broadcom/ns2.dtsi| 14 ++ 2 files changed, 34 insertions(+), 10 deletions(-) diff --git a/arch/

Re: [PATCH v2 0/3] clk: Broadcom BCM63138 support

2015-10-26 Thread Ray Jui
hanged, 67 insertions(+), 10 deletions(-) create mode 100644 drivers/clk/bcm/clk-bcm63xx.c The entire patch set looks good to me. Reviewed-by: Ray Jui Thanks, Ray -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majord...@vger.kerne

Re: [PATCH 05/11] dt-binding: Add ngpios property to GPIO controller node

2015-10-26 Thread Ray Jui
Hi Pramod, On 10/26/2015 11:06 AM, Pramod Kumar wrote: Hi Ray, -Original Message- From: Ray Jui [mailto:r...@broadcom.com] Sent: 26 October 2015 22:43 To: Pramod Kumar; Laurent Pinchart; Rob Herring Cc: Pawel Moll; Mark Rutland; Ian Campbell; Kumar Gala; Scott Branden; Russell King

Re: [PATCH 05/11] dt-binding: Add ngpios property to GPIO controller node

2015-10-26 Thread Ray Jui
Hi Pramod, On 10/26/2015 10:08 AM, Pramod Kumar wrote: -Original Message- From: Ray Jui [mailto:r...@broadcom.com] Sent: 23 October 2015 21:38 To: Laurent Pinchart; Rob Herring Cc: Pramod Kumar; Pawel Moll; Mark Rutland; Ian Campbell; Kumar Gala; Scott Branden; Russell King; Linus

Re: [PATCH 0/3] clk: Broadcom BCM63138 support

2015-10-23 Thread Ray Jui
Hi Florian, On 10/23/2015 10:30 AM, Florian Fainelli wrote: Hi all, This patch series adds support for the Broadcom BCM63138 DSL SoCs clocking framework. Since the HW is identical to the one found in Broadcom iProc SoCs, but the integration is different (obviously), there is still a new compat

Re: [PATCH 05/11] dt-binding: Add ngpios property to GPIO controller node

2015-10-23 Thread Ray Jui
On 10/23/2015 6:02 AM, Laurent Pinchart wrote: Hi Rob, On Friday 23 October 2015 06:51:28 Rob Herring wrote: On Fri, Oct 23, 2015 at 4:08 AM, Laurent Pinchart wrote: On Thursday 22 October 2015 18:41:05 Rob Herring wrote: On Thu, Oct 22, 2015 at 1:52 PM, Ray Jui wrote: On 10/22/2015 11:43

Re: [PATCH 05/11] dt-binding: Add ngpios property to GPIO controller node

2015-10-22 Thread Ray Jui
ff-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- Documentation/devicetree/bindings/pinctrl/brcm,cygnus-gpio.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/brcm,cygnus-gpio.txt b/Documentation/devicetree/bindings/pi

Re: [PATCH v2 2/4] mtd: nand: Allow MTD_NAND_BRCMNAND to be selected for ARM64

2015-10-16 Thread Ray Jui
-by: Anup Patel > Reviewed-by: Vikram Prakash > Reviewed-by: Ray Jui > Reviewed-by: Pramod KUMAR > Reviewed-by: Scott Branden > --- > drivers/mtd/nand/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mtd/nand/Kconfig b/drivers

Re: [PATCH v2 1/4] mtd: brcmnand: Fix pointer type-cast in brcmnand_write()

2015-10-16 Thread Ray Jui
This will > avoid pointer type-cast issues on both 32bit and 64bit systems. > > This patch fixes pointer type-cast issue in brcmnand_write() > as-per above info. > > Signed-off-by: Anup Patel > Reviewed-by: Vikram Prakash > Reviewed-by: Ray Jui > Reviewed-by: Scott B

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

2015-10-15 Thread Ray Jui
On 10/15/2015 2:10 PM, Jon Mason wrote: > On Thu, Oct 15, 2015 at 02:04:09PM -0700, Scott Branden wrote: >> Hi Ray, >> >> Comment at near end. >> >> On 15-10-15 01:55 PM, Ray Jui wrote: >>> >>> >>> On 10/15/2015 1:40 PM, Scot

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

2015-10-15 Thread Ray Jui
On 10/15/2015 1:40 PM, Scott Branden wrote: > We need some sort of kconfig option to differentiate NS2 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

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

2015-10-14 Thread Ray Jui
On 10/14/2015 8:44 AM, Jon Mason wrote: > On Tue, Oct 13, 2015 at 03:24:52PM -0700, Ray Jui wrote: >> Same as this patch. I thought device tree binding document should go >> with the clock driver changes. >> >> Strictly speaking, device tree binding document should alw

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

2015-10-13 Thread Ray Jui
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 Broadcom Northstar based SVKs. Since the >>> bcm5301x.dtsi already exists, all that is necessary is the dts files to

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

2015-10-13 Thread Ray Jui
Same as this patch. I thought device tree binding document should go with the clock driver changes. Strictly speaking, device tree binding document should always go before the driver changes. In the binding document the DT interface is defined, then changes are implemented in the driver. Ray On

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

2015-10-13 Thread Ray Jui
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: > Document the device tree bindings for Broadcom Northstar Plus > architecture based clock controller > >

Re: [PATCH v2] PCI: Xilinx-NWL-PCIe: Added support for Xilinx NWL PCIe Host Controller

2015-10-02 Thread Ray Jui
On 10/2/2015 3:36 PM, Arnd Bergmann wrote: > On Thursday 01 October 2015 17:44:36 Ray Jui wrote: >> >> Sorry for stealing this discussion, :) >> >> I have some questions here, since this affects how I should implement >> the MSI support for iProc based PCIe

Re: [PATCH v2] PCI: Xilinx-NWL-PCIe: Added support for Xilinx NWL PCIe Host Controller

2015-10-01 Thread Ray Jui
Hi Arnd, On 10/1/2015 2:52 AM, Arnd Bergmann wrote: > On Thursday 01 October 2015 14:29:21 Bharat Kumar Gogada wrote: >> Adding PCIe Root Port driver for Xilinx PCIe NWL bridge IP. >> >> Signed-off-by: Bharat Kumar Gogada >> Signed-off-by: Ravi Kiran Gummaluri >> --- >> Removed unneccessary comm

Re: [PATCH v2 1/9] ARM: dts: consolidate aliases for Cygnus dt files

2015-09-24 Thread Ray Jui
On 9/23/2015 2:48 PM, Florian Fainelli wrote: > On 23/09/15 14:46, Ray Jui wrote: >> >> >> On 9/23/2015 2:31 PM, Arnd Bergmann wrote: >>> On Friday 18 September 2015 14:44:54 Ray Jui wrote: >>>> On 9/18/2015 2:27 PM, Arnd Bergmann wrote: >>>&g

[PATCH] ARM: dts: move aliases back to .dts in Cygnus

2015-09-24 Thread Ray Jui
Move aliases from bcm-cygnus.dtsi back to individual .dts files. Also clean up the chosen node to have the stdout-path using the proper alias Signed-off-by: Ray Jui --- arch/arm/boot/dts/bcm-cygnus.dtsi | 4 arch/arm/boot/dts/bcm911360k.dts | 7 +-- arch/arm/boot/dts/bcm958300k.dts

Re: [PATCH v2 5/9] ARM: dts: Move all Cygnus peripherals into soc bus

2015-09-23 Thread Ray Jui
On 9/23/2015 2:55 PM, Ray Jui wrote: > > > On 9/23/2015 2:29 PM, Arnd Bergmann wrote: >> On Friday 18 September 2015 15:11:27 Ray Jui wrote: >>> On 9/18/2015 2:34 PM, Arnd Bergmann wrote: >>>> On Friday 18 September 2015 14:24

Re: [PATCH v2 5/9] ARM: dts: Move all Cygnus peripherals into soc bus

2015-09-23 Thread Ray Jui
On 9/23/2015 2:29 PM, Arnd Bergmann wrote: > On Friday 18 September 2015 15:11:27 Ray Jui wrote: >> On 9/18/2015 2:34 PM, Arnd Bergmann wrote: >>> On Friday 18 September 2015 14:24:10 Ray Jui wrote: >>>> + soc { >>>> + compatible =

Re: [PATCH v2 1/9] ARM: dts: consolidate aliases for Cygnus dt files

2015-09-23 Thread Ray Jui
On 9/23/2015 2:31 PM, Arnd Bergmann wrote: > On Friday 18 September 2015 14:44:54 Ray Jui wrote: >> On 9/18/2015 2:27 PM, Arnd Bergmann wrote: >>> On Friday 18 September 2015 14:24:06 Ray Jui wrote: >>> >>> The SoC has at least four uarts according to this

[PATCH v3 6/9] ARM: dts: Enable various peripherals on bcm958305k

2015-09-21 Thread Ray Jui
This patch enables various peripherals on Broadcom Cygnus wireless audio board (bcm958305k). These peripherals include I2C, PCIe, and NAND Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm958305k.dts | 32 1 file changed, 32 insertions

[PATCH v3 0/9] Broadcom Cygnus device tree changes

2015-09-21 Thread Ray Jui
7;soc' bus node to 'axi' - Remove incorrect 3rd compatible string 'brcm,brcmnand' in the NAND node Chages from V1: - Break the major clean up change into separate patches Ray Jui (9): ARM: dts: consolidate aliases for Cygnus dt files ARM: dts: Use label for device no

[PATCH v3 3/9] ARM: dts: Put Cygnus core components under core bus

2015-09-21 Thread Ray Jui
Put all Cygnus core components into "core" node of type "simple-bus" in bcm-cygnus.dtsi Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 54 ++- 1 file changed, 30 insertions(+), 24 deletions(-) d

[PATCH v3 5/9] ARM: dts: Reorder Cygnus peripherals

2015-09-21 Thread Ray Jui
Reorder all Cygnus peripherals based on base register addresses in bcm-cygnus.dtsi Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 56 +++ 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/arch/arm/boot

[PATCH v3 4/9] ARM: dts: Move all Cygnus peripherals into axi bus

2015-09-21 Thread Ray Jui
Move all Cygnus peripherals to be under the "axi" bus node of type "simple-bus" Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 279 +++--- 1 file changed, 140 insertions(+), 139 deletions(-) diff -

[PATCH v3 2/9] ARM: dts: Use label for device nodes in Cygnus dts

2015-09-21 Thread Ray Jui
Use label instead of full path to reference device nodes in Cygnus dts files Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm911360_entphn.dts | 8 +++ arch/arm/boot/dts/bcm911360k.dts | 6 ++--- arch/arm/boot/dts/bcm958300k.dts | 40

[PATCH v3 9/9] ARM: dts: fix Cygnus nand device node

2015-09-21 Thread Ray Jui
The third compatible string "brcm,brcmnand" in bcm-cygnus.dtsi nand node is incorrect, redundant and should be removed. "brcm,brcmnand" is meant to be used by STB based Broadcom SoCs. All iProc based SoCs should use "brcm,nand-iproc". Signed-off-by: Ray Jui --- arc

[PATCH v3 7/9] ARM: dts: Enable NAND support on bcm911360_entphn

2015-09-21 Thread Ray Jui
This patch enables NAND support on Broadcom Cygnus form factor board (bcm911360_entphn) Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm911360_entphn.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/bcm911360_entphn.dts b

[PATCH v3 8/9] ARM: dts: enable touchscreen support on Cygnus

2015-09-21 Thread Ray Jui
This patch enables touchscreen support on bcm958300k and bcm958305k. Touchscreen is connected to these boards through the bcm9hmidc daughter card, and therefore also adding bcm9hmidc.dtsi that describes the daughter card Signed-off-by: Ray Jui Reviewed-by: Vikram Prakash Reviewed-by: Scott

[PATCH v3 1/9] ARM: dts: consolidate aliases for Cygnus dt files

2015-09-21 Thread Ray Jui
Move aliases into bcm-cygnus.dtsi to avoid duplications in Cygnus dts files Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 4 arch/arm/boot/dts/bcm911360_entphn.dts | 4 arch/arm/boot/dts/bcm911360k.dts | 4 arch/arm/boot/dts

Re: [PATCH v2 5/9] ARM: dts: Move all Cygnus peripherals into soc bus

2015-09-18 Thread Ray Jui
On 9/18/2015 2:34 PM, Arnd Bergmann wrote: > On Friday 18 September 2015 14:24:10 Ray Jui wrote: >> + soc { >> + compatible = "simple-bus"; >> + ranges; >> + #address-cells = <1>; >> +

Re: [PATCH v2 4/9] ARM: dts: Put Cygnus core components under core bus

2015-09-18 Thread Ray Jui
On 9/18/2015 2:30 PM, Arnd Bergmann wrote: > On Friday 18 September 2015 14:24:09 Ray Jui wrote: >> >> + core { >> + compatible = "simple-bus"; >> + ranges; >> + #address-cells

Re: [PATCH v2 3/9] ARM: dts: Remove unused PCI I/O resource in Cygnus

2015-09-18 Thread Ray Jui
On 9/18/2015 2:28 PM, Arnd Bergmann wrote: > On Friday 18 September 2015 14:24:08 Ray Jui wrote: >> Remove unused PCI I/O resource in bcm-cygnus.dtsi >> >> Signed-off-by: Ray Jui >> Reviewed-by: Scott Branden >> > > Why? How do you know that nob

Re: [PATCH v2 1/9] ARM: dts: consolidate aliases for Cygnus dt files

2015-09-18 Thread Ray Jui
On 9/18/2015 2:27 PM, Arnd Bergmann wrote: > On Friday 18 September 2015 14:24:06 Ray Jui wrote: >> Move aliases into bcm-cygnus.dtsi to avoid duplications in Cygnus dts >> files >> > > We generally recommend keeping them separate: > >> diff --git a/arch/arm

[PATCH v2 3/9] ARM: dts: Remove unused PCI I/O resource in Cygnus

2015-09-18 Thread Ray Jui
Remove unused PCI I/O resource in bcm-cygnus.dtsi Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm/boot/dts/bcm-cygnus.dtsi index

[PATCH v2 2/9] ARM: dts: Use label for device nodes in Cygnus dts

2015-09-18 Thread Ray Jui
Use label instead of full path to reference device nodes in Cygnus dts files Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm911360_entphn.dts | 8 +++ arch/arm/boot/dts/bcm911360k.dts | 6 ++--- arch/arm/boot/dts/bcm958300k.dts | 40

[PATCH v2 6/9] ARM: dts: Reorder Cygnus peripherals

2015-09-18 Thread Ray Jui
Reorder all Cygnus peripherals based on base register addresses in bcm-cygnus.dtsi Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 56 +++ 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/arch/arm/boot

[PATCH v2 5/9] ARM: dts: Move all Cygnus peripherals into soc bus

2015-09-18 Thread Ray Jui
Move all Cygnus peripherals to be under the "soc" bus node of type "simple-bus" Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 275 +++--- 1 file changed, 138 insertions(+), 137 deletions(-) diff -

[PATCH v2 9/9] ARM: dts: enable touchscreen support on Cygnus

2015-09-18 Thread Ray Jui
This patch enables touchscreen support on bcm958300k and bcm958305k. Touchscreen is connected to these boards through the bcm9hmidc daughter card, and therefore also adding bcm9hmidc.dtsi that describes the daughter card Signed-off-by: Ray Jui Reviewed-by: Vikram Prakash Reviewed-by: Scott

[PATCH v2 8/9] ARM: dts: Enable NAND support on bcm911360_entphn

2015-09-18 Thread Ray Jui
This patch enables NAND support on Broadcom Cygnus form factor board (bcm911360_entphn) Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm911360_entphn.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/bcm911360_entphn.dts b

[PATCH v2 7/9] ARM: dts: Enable various peripherals on bcm958305k

2015-09-18 Thread Ray Jui
This patch enables various peripherals on Broadcom Cygnus wireless audio board (bcm958305k). These peripherals include I2C, PCIe, and NAND Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm958305k.dts | 32 1 file changed, 32 insertions

[PATCH v2 4/9] ARM: dts: Put Cygnus core components under core bus

2015-09-18 Thread Ray Jui
Put all Cygnus core components into "core" node of type "simple-bus" in bcm-cygnus.dtsi Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 54 ++- 1 file changed, 30 insertions(+), 24 deletions(-) d

[PATCH v2 0/9] Broadcom Cygnus device tree changes

2015-09-18 Thread Ray Jui
, PCIe, NAND, touchscreen Code is based on v4.3-rc1 and is available on GITHUB: https://github.com/Broadcom/cygnus-linux/tree/cygnus-dt-v2 Chages from V1: - Break the major clean up change into separate patches Ray Jui (9): ARM: dts: consolidate aliases for Cygnus dt files ARM: dts: Use label for

[PATCH v2 1/9] ARM: dts: consolidate aliases for Cygnus dt files

2015-09-18 Thread Ray Jui
Move aliases into bcm-cygnus.dtsi to avoid duplications in Cygnus dts files Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 4 arch/arm/boot/dts/bcm911360_entphn.dts | 4 arch/arm/boot/dts/bcm911360k.dts | 4 arch/arm/boot/dts

Re: [PATCH 1/4] ARM: dts: clean up Cygnus DT files

2015-09-17 Thread Ray Jui
On 9/17/2015 6:16 PM, Florian Fainelli wrote: > On 17/09/15 16:57, Ray Jui wrote: >> This patch cleans up Cygnus DT files and makes the format consistent >> with the rest of Broadcom iProc based SoCs. >> >> Changes include: >> - Put core components int

[PATCH 1/4] ARM: dts: clean up Cygnus DT files

2015-09-17 Thread Ray Jui
le-bus" - Move aliases into bcm-cygnus.dtsi to avoid duplications in all dts files - Ordered all device nodes under buses based on their base register addresses - Remove unused PCI I/O resource - Use label instead of full path to reference device nodes in dts fi

[PATCH 2/4] ARM: dts: Enable various peripherals on bcm958305k

2015-09-17 Thread Ray Jui
This patch enables various peripherals on Broadcom Cygnus wireless audio board (bcm958305k). These peripherals include I2C, PCIe, and NAND Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm958305k.dts | 32 1 file changed, 32 insertions

[PATCH 3/4] ARM: dts: Enable NAND support on bcm911360_entphn

2015-09-17 Thread Ray Jui
This patch enables NAND support on Broadcom Cygnus form factor board (bcm911360_entphn) Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm911360_entphn.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/bcm911360_entphn.dts b

[PATCH 0/4] Broadcom Cygnus device tree changes

2015-09-17 Thread Ray Jui
, PCIe, NAND, touchscreen Code is based on v4.3-rc1 and is available on GITHUB: https://github.com/Broadcom/cygnus-linux/tree/cygnus-dt-v1 Ray Jui (4): ARM: dts: clean up Cygnus DT files ARM: dts: Enable various peripherals on bcm958305k ARM: dts: Enable NAND support on bcm911360_entphn ARM

[PATCH 4/4] ARM: dts: enable touchscreen support on Cygnus

2015-09-17 Thread Ray Jui
This patch enables touchscreen support on bcm958300k and bcm958305k. Touchscreen is connected to these boards through the bcm9hmidc daughter card Signed-off-by: Ray Jui Reviewed-by: Vikram Prakash Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 9 + arch/arm/boot

Re: [PATCH v4 2/5] ARM: NSP: add minimal Northstar Plus device tree

2015-09-01 Thread Ray Jui
BUT NOT > + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR > + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT > + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, > + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL D

Re: [PATCH v3 2/5] ARM: NSP: add minimal Northstar Plus device tree

2015-08-31 Thread Ray Jui
On 8/30/2015 7:24 PM, Jon Mason wrote: > On Fri, Aug 28, 2015 at 05:20:20PM -0700, Ray Jui wrote: >> >> >> On 8/28/2015 4:47 PM, Jon Mason wrote: >>> Add a very minimalistic set of Northstar Plus Device Tree files which >>> describes the SoC and the BCM

Re: [PATCH v3 2/5] ARM: NSP: add minimal Northstar Plus device tree

2015-08-28 Thread Ray Jui
On 8/28/2015 4:47 PM, Jon Mason wrote: > Add a very minimalistic set of Northstar Plus Device Tree files which > describes the SoC and the BCM958625 implementation. The perpherials > described are: > > ARM Cortex A9 CPU > 2 8250 UARTs > ARM GIC > PL310 L2 Cache > ARM A9 Global timer > > Signed

Re: [PATCH v7 0/6] Add common clock support for Broadcom iProc architecture

2015-05-25 Thread Ray Jui
Hi Mike/Stephen, Ping. Do you think you will be able to review this patch set some time in the near future? Thanks! Ray On 5/11/2015 2:23 PM, Ray Jui wrote: > Hi Mike, > > Have you had a chance to review the iProc clock patches? If possible, > I'd like to get feedback fro

Re: [PATCH 5/7] mtd: brcmnand: add bcma driver

2015-05-20 Thread Ray Jui
Hi Hauke, On 5/20/2015 3:10 PM, Hauke Mehrtens wrote: > On 05/20/2015 08:40 PM, Brian Norris wrote: >> On Wed, May 20, 2015 at 08:39:06AM +0200, Rafał Miłecki wrote: >>> On 20 May 2015 at 02:34, Brian Norris wrote: On Sun, May 17, 2015 at 05:41:04PM +0200, Hauke Mehrtens wrote: > This dr

Re: [PATCH v6 1/6] clk: iproc: define Broadcom iProc clock binding

2015-04-16 Thread Ray Jui
Hi Mike, On 4/16/2015 12:20 PM, Michael Turquette wrote: > Quoting Ray Jui (2015-04-14 12:10:35) >> Hi Mike, >> >> On 4/13/2015 12:40 PM, Ray Jui wrote: >>> Hi Mike, >>> >>> On 4/12/2015 11:02 PM, Michael Turquette wrote: >>>> Quoting Ra

Re: [PATCH v6 1/6] clk: iproc: define Broadcom iProc clock binding

2015-04-14 Thread Ray Jui
Hi Mike, On 4/13/2015 12:40 PM, Ray Jui wrote: > Hi Mike, > > On 4/12/2015 11:02 PM, Michael Turquette wrote: >> Quoting Ray Jui (2015-04-12 21:08:32) >>> >>> >>> On 4/10/2015 5:12 PM, Michael Turquette wrote: >>>> Quoting Ray Jui (2015-03-1

Re: [PATCH v6 1/6] clk: iproc: define Broadcom iProc clock binding

2015-04-13 Thread Ray Jui
Hi Mike, On 4/12/2015 11:02 PM, Michael Turquette wrote: > Quoting Ray Jui (2015-04-12 21:08:32) >> >> >> On 4/10/2015 5:12 PM, Michael Turquette wrote: >>> Quoting Ray Jui (2015-03-17 22:45:17) >>>> Document the device tree binding for Broadcom iPro

Re: [PATCH v6 1/6] clk: iproc: define Broadcom iProc clock binding

2015-04-12 Thread Ray Jui
On 4/10/2015 5:12 PM, Michael Turquette wrote: > Quoting Ray Jui (2015-03-17 22:45:17) >> Document the device tree binding for Broadcom iProc architecture based >> clock controller >> >> Signed-off-by: Ray Jui >> Reviewed-by: Scott Branden >> --- >&

Re: [PATCH v6 0/6] Add common clock support for Broadcom iProc architecture

2015-03-29 Thread Ray Jui
look and let us know if this can be pulled in. Thanks, Ray On 3/17/2015 10:45 PM, Ray Jui wrote: > This patchset contains the initial common clock support for Broadcom's iProc > family of SoCs. The iProc clock architecture comprises of various PLLs, e.g., > ARMPLL, GENPLL, LCPLL0

[PATCH v6 1/6] clk: iproc: define Broadcom iProc clock binding

2015-03-17 Thread Ray Jui
Document the device tree binding for Broadcom iProc architecture based clock controller Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- .../bindings/clock/brcm,iproc-clocks.txt | 171 1 file changed, 171 insertions(+) create mode 100644 Documentation

[PATCH v6 5/6] ARM: dts: enable clock support for Broadcom Cygnus

2015-03-17 Thread Ray Jui
Replace current device tree dummy clocks with real clock support for Broadcom Cygnus SoC Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus-clock.dtsi | 112 --- arch/arm/boot/dts/bcm-cygnus.dtsi |2 +- 2 files changed, 88

[PATCH v6 6/6] clk: cygnus: remove Cygnus dummy clock binding

2015-03-17 Thread Ray Jui
Remove old Cygnus dummy clock binding document, as it's replaced by Documentation/devicetree/bindings/clock/brcm,iproc-clocks.txt Signed-off-by: Ray Jui --- .../devicetree/bindings/clock/bcm-cygnus-clock.txt | 34 1 file changed, 34 deletions(-) delete mode 1

[PATCH v6 4/6] clk: cygnus: add clock support for Broadcom Cygnus

2015-03-17 Thread Ray Jui
The Broadcom Cygnus SoC is architected under the iProc architecture. It has the following PLLs: ARMPLL, GENPLL, LCPLL0, MIPIPLL, all dervied from an onboard crystal. Cygnus also has various ASIU clocks that are derived directly from the onboard crystal. Signed-off-by: Ray Jui Reviewed-by: Scott

[PATCH v6 3/6] clk: Change bcm clocks build dependency

2015-03-17 Thread Ray Jui
The clock code under drivers/clk/bcm now contains code for both the Broadcom mobile SoCs and the iProc SoCs. Change the the makefile dependency to be under config flag CONFIG_ARCH_BCM that's enabled for both families of SoCs Signed-off-by: Ray Jui --- drivers/clk/Makefile |2 +- 1

[PATCH v6 0/6] Add common clock support for Broadcom iProc architecture

2015-03-17 Thread Ray Jui
umber of clocks in Cygnus. Have the number of clocks automatically determined based on array size of the clock table Changes from v1: - Separate drivers/clk/Makefile change for drivers/clk/bcm out to a standalone patch Ray Jui (6): clk: iproc: define Broadcom iProc clock binding clk: ipro

[PATCH v6 2/6] clk: iproc: add initial common clock support

2015-03-17 Thread Ray Jui
passed as arugments into the generic iProc PLL and clock setup functions Derived from code originally provided by Jonathan Richardson Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- drivers/clk/bcm/Kconfig|9 + drivers/clk/bcm/Makefile |1 + drivers/clk/bcm/clk

[PATCH v7 4/4] ARM: dts: enable PCIe support for Cygnus

2015-03-12 Thread Ray Jui
Add PCIe device nodes in bcm-cygnus.dtsi but keep them disabled there. Only enable them for bcm958300k where PCIe interfaces are populated Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 42 + arch/arm/boot/dts

[PATCH v7 1/4] PCI: Export symbols of PCI functions

2015-03-12 Thread Ray Jui
Export symbols of the following PCI functions so they can be referenced by a PCI driver compiled as a kernel loadable module: pci_common_swizzle pci_create_root_bus pci_stop_root_bus pci_remove_root_bus pci_assign_unassigned_bus_resources pci_fixup_irqs Signed-off-by: Ray Jui --- drivers/pci

[PATCH v7 3/4] pci: iproc: Add Broadcom iProc PCIe support

2015-03-12 Thread Ray Jui
This adds the support for Broadcom iProc PCIe controller pcie-iproc.c servers as the common core driver, and front-end bus interface needs to be added to support different bus interfaces pcie-iproc-pltfm.c contains the support for the platform bus interface Signed-off-by: Ray Jui Reviewed-by

[PATCH v7 0/4] pci: iproc: Add Broadcom iProc PCIe support

2015-03-12 Thread Ray Jui
standard PCI OF IRQ parsing function - Get rid of custom IRQ mapping function in the driver. Use of_irq_parse_and_map_pci instead Ray Jui (4): PCI: Export symbols of PCI functions pci: iProc: define iProc PCIe platform bus binding pci: iproc: Add Broadcom iProc PCIe support ARM: dts: e

[PATCH v7 2/4] pci: iProc: define iProc PCIe platform bus binding

2015-03-12 Thread Ray Jui
Document the Broadcom iProc PCIe platform interface device tree binding Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- .../devicetree/bindings/pci/brcm,iproc-pcie.txt| 63 1 file changed, 63 insertions(+) create mode 100644 Documentation/devicetree/bindings

Re: [PATCH v6 3/4] pci: iproc: Add Broadcom iProc PCIe support

2015-03-12 Thread Ray Jui
On 3/12/2015 2:08 PM, Bjorn Helgaas wrote: > On Wed, Mar 11, 2015 at 11:06:08AM -0700, Ray Jui wrote: >> This adds the support for Broadcom iProc PCIe controller >> >> pcie-iproc.c servers as the common core driver, and front-end bus >> interface needs to be add

Re: [PATCH v6 6/8] pinctrl: cygnus: add gpio/pinconf driver

2015-03-12 Thread Ray Jui
Hi Linus, On 3/10/2015 3:20 AM, Linus Walleij wrote: > On Mon, Mar 9, 2015 at 9:45 PM, Ray Jui wrote: > >> This adds the initial support of the Broadcom Cygnus GPIO/PINCONF driver >> that supports all 3 GPIO controllers on Cygnus including the ASIU GPIO >> controll

[PATCH v6 2/4] pci: iProc: define iProc PCIe platform bus binding

2015-03-11 Thread Ray Jui
Document the Broadcom iProc PCIe platform interface device tree binding Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- .../devicetree/bindings/pci/brcm,iproc-pcie.txt| 63 1 file changed, 63 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH v6 3/4] pci: iproc: Add Broadcom iProc PCIe support

2015-03-11 Thread Ray Jui
This adds the support for Broadcom iProc PCIe controller pcie-iproc.c servers as the common core driver, and front-end bus interface needs to be added to support different bus interfaces pcie-iproc-pltfm.c contains the support for the platform bus interface Signed-off-by: Ray Jui Reviewed-by

[PATCH v6 1/4] PCI: Export symbols of PCI functions

2015-03-11 Thread Ray Jui
Export symbols of the following PCI functions so they can be referenced by a PCI driver compiled as a kernel loadable module: pci_common_swizzle pci_create_root_bus pci_stop_root_bus pci_remove_root_bus pci_assign_unassigned_bus_resources pci_fixup_irqs Signed-off-by: Ray Jui --- drivers/pci

[PATCH v6 4/4] ARM: dts: enable PCIe support for Cygnus

2015-03-11 Thread Ray Jui
Add PCIe device nodes in bcm-cygnus.dtsi but keep them disabled there. Only enable them for bcm958300k where PCIe interfaces are populated Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 42 + arch/arm/boot/dts

[PATCH v6 0/4] pci: iproc: Add Broadcom iProc PCIe support

2015-03-11 Thread Ray Jui
"interrupt-map-mask" and "interrupt-map" so legacy INTx interrupts can be supported by using standard PCI OF IRQ parsing function - Get rid of custom IRQ mapping function in the driver. Use of_irq_parse_and_map_pci instead Ray Jui (4): PCI: Export symbols of PCI functions

  1   2   3   4   >