[PATCH v4 0/2] arm64: dts: nxp: add ls1046a frwy board support

2019-07-16 Thread Pramod Kumar
changes for v4: incorporated shawn review comment Pramod Kumar (2): dt-bindings: arm: nxp: Add device tree binding for ls1046a-frwy board arm64: dts: nxp: add ls1046a-frwy board support Documentation/devicetree/bindings/arm/fsl.yaml | 1 + arch/arm64/boot/dts/freescale/Makefile

[PATCH v4 1/2] dt-bindings: arm: nxp: Add device tree binding for ls1046a-frwy board

2019-07-16 Thread Pramod Kumar
Add "fsl,ls1046a-frwy" bindings for ls1046afrwy board based on ls1046a SoC Signed-off-by: Vabhav Sharma Signed-off-by: Pramod Kumar Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetre

[PATCH v4 2/2] arm64: dts: nxp: add ls1046a-frwy board support

2019-07-16 Thread Pramod Kumar
ls1046afrwy board is based on nxp ls1046a SoC. Board support's 4GB ddr memory, i2c, microSD card, serial console,qspi nor flash,ifc nand flash,qsgmii network interface, usb 3.0 and serdes interface to support two x1gen3 pcie interface. Signed-off-by: Vabhav Sharma Signed-off-by: Pramod

[PATCH v3 2/3] arm64: dts: nxp: add ls1046a-frwy board support

2019-05-27 Thread Pramod Kumar
ls1046afrwy board is based on nxp ls1046a SoC. Board support's 4GB ddr memory, i2c, microSD card, serial console,qspi nor flash,ifc nand flash,qsgmii network interface, usb 3.0 and serdes interface to support two x1gen3 pcie interface. Signed-off-by: Vabhav Sharma Signed-off-by: Pramod

[PATCH v3 0/3] arm64: dts: nxp: add ls1046a frwy board support

2019-05-27 Thread Pramod Kumar
Changes for v3: - Remove undocumented propert i2c-mux-never-disable - Sort nodes at i2c mux in unit-address - Remove Unnecessary newline Changes for v2: - Modified comit message - Add dts entry for qspi nor flash Pramod Kumar (3): dt-bindings: arm: nxp: Add device tree binding for ls1046a-frwy

[PATCH v3 1/3] dt-bindings: arm: nxp: Add device tree binding for ls1046a-frwy board

2019-05-27 Thread Pramod Kumar
Add "fsl,ls1046a-frwy" bindings for ls1046afrwy board based on ls1046a SoC Signed-off-by: Vabhav Sharma Signed-off-by: Pramod Kumar Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetre

[PATCH v3 3/3] arm64: dts: frwy-ls1046a: add support for micron nor flash

2019-05-27 Thread Pramod Kumar
add micron nor flash support for ls1046a frwy board. Signed-off-by: Ashish Kumar Signed-off-by: Pramod Kumar --- .../boot/dts/freescale/fsl-ls1046a-frwy.dts| 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a

[PATCH 1/3] dt-bindings: arm: nxp: Add device tree binding for ls1046a-frwy board

2019-05-27 Thread Pramod Kumar
Add "fsl,ls1046a-frwy" bindings for ls1046afrwy board based on ls1046a SoC Signed-off-by: Vabhav Sharma Signed-off-by: Pramod Kumar Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetre

[PATCH 3/3] arm64: dts: frwy-ls1046a: add support for micron nor flash

2019-05-27 Thread Pramod Kumar
add micron nor flash support for ls1046a frwy board. Signed-off-by: Ashish Kumar Signed-off-by: Pramod Kumar --- .../boot/dts/freescale/fsl-ls1046a-frwy.dts| 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a

[PATCH 2/3] arm64: dts: nxp: add ls1046a-frwy board support

2019-05-27 Thread Pramod Kumar
ls1046afrwy board is based on nxp ls1046a SoC. Board support's 4GB ddr memory, i2c, microSD card, serial console,qspi nor flash,ifc nand flash,qsgmii network interface, usb 3.0 and serdes interface to support two x1gen3 pcie interface. Signed-off-by: Vabhav Sharma Signed-off-by: Pramod

[PATCH v3 0/3] arm64: dts: nxp: add ls1046a frwy board support

2019-05-27 Thread Pramod Kumar
Changes for v3: - Remove undocumented propert i2c-mux-never-disable - Sort nodes at i2c mux in unit-address - Remove Unnecessary newline Changes for v2: - Modified comit message - Add dts entry for qspi nor flash Pramod Kumar (3): dt-bindings: arm: nxp: Add device tree binding for ls1046a-frwy

[PATCH v2 1/3] dt-bindings: arm: nxp: Add device tree binding for ls1046a-frwy board

2019-05-10 Thread Pramod Kumar
Add "fsl,ls1046a-frwy" bindings for ls1046afrwy board based on ls1046a SoC Signed-off-by: Vabhav Sharma Signed-off-by: Pramod Kumar Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetre

[PATCH v2 3/3] arm64: dts: nxp: frwy-ls1046a: add support for micron nor flash

2019-05-10 Thread Pramod Kumar
add micron nor flash support for ls1046a frwy board. Signed-off-by: Ashish Kumar Signed-off-by: Pramod Kumar --- .../boot/dts/freescale/fsl-ls1046a-frwy.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts b/arch

[PATCH v2 0/3] arm64: dts: nxp: add ls1046a frwy board support

2019-05-10 Thread Pramod Kumar
Changes for v2: - Modified comit message - Add dts entry for qspi nor flash Changes for v1: - Add dts support for ls1046a frwy board. - Add "fsl,ls1046a-frwy" bindings for ls1046afrwy board based on ls1046a SoC Pramod Kumar (3): dt-bindings: arm: nxp: Add device tree binding for ls

[PATCH v2 2/3] arm64: dts: nxp: add ls1046a-frwy board support

2019-05-10 Thread Pramod Kumar
ls1046afrwy board is based on nxp ls1046a SoC. Board support's 4GB ddr memory, i2c, microSD card, serial console,qspi nor flash,ifc nand flash,qsgmii network interface, usb 3.0 and serdes interface to support two x1gen3 pcie interface. Signed-off-by: Vabhav Sharma Signed-off-by: Pramod

[PATCH 1/2] dt-bindings: arm: fsl: Add device tree binding for ls1046a-frwy board

2019-05-08 Thread Pramod Kumar
Add "fsl,ls1046a-frwy" bindings for ls1046afrwy board based on ls1046a SoC Signed-off-by: Vabhav Sharma Signed-off-by: Pramod Kumar --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/f

[PATCH 2/2] add dts file to enable support for ls1046afrwy board.

2019-05-08 Thread Pramod Kumar
ls1046afrwy board is based on nxp ls1046a SoC. Signed-off-by: Vabhav Sharma Signed-off-by: Pramod Kumar --- arch/arm64/boot/dts/freescale/Makefile| 1 + .../boot/dts/freescale/fsl-ls1046a-frwy.dts | 156 ++ 2 files changed, 157 insertions(+) create mode 100644 arch

[PATCH 0/2] Add dts support for frwy-ls1046a board

2019-05-08 Thread Pramod Kumar
Add dts support for frwy-ls1046a which is based on ls1046a soc Pramod Kumar (2): dt-bindings: arm: fsl: Add device tree binding for ls1046a-frwy board add dts file to enable support for ls1046afrwy board. .../devicetree/bindings/arm/fsl.yaml | 1 + arch/arm64/boot/dts/freescale

Re: [PATCH RFC 1/1] arm64: Use PSCI calls for CPU stop when hotplug is supported

2019-01-24 Thread Pramod Kumar
> On Mon, Jan 21, 2019 at 11:30:02AM +0530, Pramod Kumar wrote: > > > > On Mon, Jan 21, 2019 at 11:28 AM Pramod Kumar > > > > > > > > wrote: > > > > > > > > Need comes from a specific use case where one Accelerator > >

Re: [PATCH RFC 1/1] arm64: Use PSCI calls for CPU stop when hotplug is supported

2019-01-22 Thread Pramod Kumar
Thanks Sudeep for reviewing. Please see my comment inline below. On Mon, Jan 21, 2019 at 4:52 PM Sudeep Holla wrote: > > On Mon, Jan 21, 2019 at 11:28:27AM +0530, Pramod Kumar wrote: > > On Fri, Jan 18, 2019 at 5:02 PM Sudeep Holla wrote: > > > On Fri, Jan 18, 2019 at 11:

Re: [PATCH RFC 1/1] arm64: Use PSCI calls for CPU stop when hotplug is supported

2019-01-21 Thread Pramod Kumar
On Mon, Jan 21, 2019 at 11:30 AM Pramod Kumar wrote: > > > > On Mon, Jan 21, 2019 at 11:28 AM Pramod Kumar > wrote: >> >> Hi Sudeep, >> >> Thanks for having a glance on the patch. Please see my reply in line. >> >> Regards, >> Pramod

[PATCH RFC 1/1] arm64: Use PSCI calls for CPU stop when hotplug is supported

2019-01-17 Thread Pramod Kumar
plugging-out core. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm64/kernel/smp.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c index 1598d6f..360e52b 100644 --- a/arch/arm64/kernel/smp.c +++ b

[PATCH INTERNAL RFC 1/1] arm64: Use PSCI calls for CPU stop when hotplug is supported

2019-01-17 Thread Pramod Kumar
plugging-out core. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm64/kernel/smp.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c index 1598d6f..360e52b 100644 --- a/arch/arm64/kernel/smp.c +++ b

RE: [RESEND AGAIN][PATCH 2/2] phy: bcm-ns2-pcie: Set missing .owner field in ns2_pci_phy_ops

2016-08-30 Thread Pramod Kumar
> -Original Message- > From: Axel Lin [mailto:axel@ingics.com] > Sent: 30 August 2016 19:24 > To: Kishon Vijay Abraham I > Cc: Pramod Kumar; Andrew Lunn; Jon Mason; linux-kernel@vger.kernel.org; > Axel Lin > Subject: [RESEND AGAIN][PATCH 2/2] phy: bcm-ns2-pci

RE: [RESEND AGAIN][PATCH 1/2] phy: bcm-ns2-pcie: Get rid of struct ns2_pci_phy

2016-08-30 Thread Pramod Kumar
> -Original Message- > From: Axel Lin [mailto:axel@ingics.com] > Sent: 30 August 2016 19:24 > To: Kishon Vijay Abraham I > Cc: Pramod Kumar; Andrew Lunn; Jon Mason; linux-kernel@vger.kernel.org; > Axel Lin > Subject: [RESEND AGAIN][PATCH 1/2] phy: bcm-ns2-pc

[PATCH v5 1/7] mdio: mux: Enhanced MDIO mux framework for integrated multiplexers

2016-06-09 Thread Pramod Kumar
ux_init api. Signed-off-by: Pramod Kumar Reviewed-by: Andrew Lunn Reviewed-by: Florian Fainelli --- drivers/net/phy/mdio-mux-gpio.c| 2 +- drivers/net/phy/mdio-mux-mmioreg.c | 2 +- drivers/net/phy/mdio-mux.c | 28 ++-- include/linux/mdio-mux.h

[PATCH v5 5/7] net: mdio-mux: Add MDIO mux driver for iProc SoCs

2016-06-09 Thread Pramod Kumar
C-45 or C-22 mdio transaction. Signed-off-by: Pramod Kumar Reviewed-by: Andrew Lunn Reviewed-by: Florian Fainelli --- drivers/net/phy/Kconfig | 11 ++ drivers/net/phy/Makefile | 1 + drivers/net/phy/mdio-mux-bcm-iproc.c | 248 +++ 3

[PATCH v5 7/7] phy: Add Northstar2 PCI Phy support

2016-06-09 Thread Pramod Kumar
Add PCI Phy support for Broadcom Northstar2 SoCs. This driver uses the interface from the iproc mdio mux driver to enable the devices respective phys. Reviewed-by: Andrew Lunn Signed-off-by: Jon Mason Signed-off-by: Pramod Kumar --- drivers/phy/Kconfig| 8 +++ drivers/phy

[PATCH v5 0/7] Add MDIO bus multiplexer support for iProc SoCs

2016-06-09 Thread Pramod Kumar
ADDR_C45 into the address when issues any C45 MDIO read/write transaction. Pramod Kumar (7): mdio: mux: Enhanced MDIO mux framework for integrated multiplexers binding: Make "mdio-parent-bus" property from mandatory to optional binding: mdio-mux: Add DT binding doc for Broadcom MDIO

[PATCH v5 3/7] binding: mdio-mux: Add DT binding doc for Broadcom MDIO bus multiplexer

2016-06-09 Thread Pramod Kumar
Add DT binding doc for Broadcom MDIO bus multiplexer driver. Reviewed-by: Andrew Lunn Signed-off-by: Pramod Kumar Reviewed-by: Florian Fainelli Acked-by: Rob Herring --- .../bindings/net/brcm,mdio-mux-iproc.txt | 59 ++ 1 file changed, 59 insertions(+) create

[PATCH v5 4/7] dt: mdio-mux: Add mdio multiplexer driver node

2016-06-09 Thread Pramod Kumar
Add integrated MDIO multiplexer driver node which contains two mux PCIe bus and one ethernet bus along with phys lying on these bus. Signed-off-by: Pramod Kumar Acked-by: Rob Herring --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 16 + arch/arm64/boot/dts/broadcom/ns2.dtsi| 39

[PATCH v5 6/7] binding: PHY: Binding doc for NS2 PCIe PHYs.

2016-06-09 Thread Pramod Kumar
Binding doc for NS2 PCIe PHYs. Signed-off-by: Pramod Kumar Signed-off-by: Jon Mason Acked-by: Rob Herring --- .../bindings/phy/brcm,mdio-mux-bus-pci.txt | 27 ++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/brcm,mdio

[PATCH v5 2/7] binding: Make "mdio-parent-bus" property from mandatory to optional

2016-06-09 Thread Pramod Kumar
Change "mdio-parent-bus" from mandatory section to optional as it won't be required by integrated MDIO multiplexer which has bus selection and mdio transaction generation logic, integrated inside. Signed-off-by: Pramod Kumar Reviewed-by: Andrew Lunn Acked-by: Rob Herring ---

RE: [PATCH v4 4/7] dt: mdio-mux: Add mdio multiplexer driver node

2016-06-09 Thread Pramod Kumar
Hi Florian, > -Original Message- > From: Florian Fainelli [mailto:f.faine...@gmail.com] > Sent: 07 June 2016 00:08 > To: Pramod Kumar; Rob Herring; Pawel Moll; Mark Rutland; Ian Campbell; > Kumar Gala; Catalin Marinas; Will Deacon; Kishon Vijay Abraham I; David S. > Mi

RE: [PATCH v4 7/7] phy: Add Northstar2 PCI Phy support

2016-06-07 Thread Pramod Kumar
Hi Florian, > -Original Message- > From: Florian Fainelli [mailto:f.faine...@gmail.com] > Sent: 07 June 2016 00:12 > To: Pramod Kumar; Rob Herring; Pawel Moll; Mark Rutland; Ian Campbell; > Kumar Gala; Catalin Marinas; Will Deacon; Kishon Vijay Abraham I; David S. > Mi

RE: [PATCH v4 3/7] binding: mdio-mux: Add DT binding doc for Broadcom MDIO bus multiplexer

2016-06-07 Thread Pramod Kumar
Hi Florian, > -Original Message- > From: Florian Fainelli [mailto:f.faine...@gmail.com] > Sent: 07 June 2016 00:06 > To: Pramod Kumar; Rob Herring; Pawel Moll; Mark Rutland; Ian Campbell; > Kumar Gala; Catalin Marinas; Will Deacon; Kishon Vijay Abraham I; David S. > Mi

[PATCH v4 4/7] dt: mdio-mux: Add mdio multiplexer driver node

2016-06-06 Thread Pramod Kumar
Add integrated MDIO multiplexer driver node which contains two mux PCIe bus and one ethernet bus along with phys lying on these bus. Signed-off-by: Pramod Kumar --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 12 arch/arm64/boot/dts/broadcom/ns2.dtsi| 31

[PATCH v4 5/7] net: mdio-mux: Add MDIO mux driver for iProc SoCs

2016-06-06 Thread Pramod Kumar
C-45 or C-22 mdio transaction. Signed-off-by: Pramod Kumar --- drivers/net/phy/Kconfig | 11 ++ drivers/net/phy/Makefile | 1 + drivers/net/phy/mdio-mux-bcm-iproc.c | 248 +++ 3 files changed, 260 insertions(+) create mode 100644

[PATCH v4 6/7] binding: PHY: Binding doc for NS2 PCIe PHYs.

2016-06-06 Thread Pramod Kumar
Binding doc for NS2 PCIe PHYs. Acked-by: Rob Herring Signed-off-by: Jon Mason Signed-off-by: Pramod Kumar --- .../bindings/phy/brcm,mdio-mux-bus-pci.txt | 27 ++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/brcm,mdio

[PATCH v4 3/7] binding: mdio-mux: Add DT binding doc for Broadcom MDIO bus multiplexer

2016-06-06 Thread Pramod Kumar
Add DT binding doc for Broadcom MDIO bus multiplexer driver. Reviewed-by: Andrew Lunn Signed-off-by: Pramod Kumar --- .../bindings/net/brcm,mdio-mux-iproc.txt | 59 ++ 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/brcm

[PATCH v4 7/7] phy: Add Northstar2 PCI Phy support

2016-06-06 Thread Pramod Kumar
Add PCI Phy support for Broadcom Northstar2 SoCs. This driver uses the interface from the iproc mdio mux driver to enable the devices respective phys. Reviewed-by: Andrew Lunn Signed-off-by: Jon Mason Signed-off-by: Pramod Kumar --- drivers/phy/Kconfig| 8 +++ drivers/phy

[PATCH v4 1/7] mdio: mux: Enhanced MDIO mux framework for integrated multiplexers

2016-06-06 Thread Pramod Kumar
ux_init api. Signed-off-by: Pramod Kumar --- drivers/net/phy/mdio-mux-gpio.c| 2 +- drivers/net/phy/mdio-mux-mmioreg.c | 2 +- drivers/net/phy/mdio-mux.c | 28 ++-- include/linux/mdio-mux.h | 4 +++- 4 files changed, 23 insertions(+), 13 deleti

[PATCH v4 0/7] Add MDIO bus multiplexer support for iProc SoCs

2016-06-06 Thread Pramod Kumar
gister() in place of of_mdiobus_regsiter(). -removed usage of IS_ERR_OR_NULL to IS_ERR in PCIe PHY driver. Changes from v1: - stop using "brcm,is_c45" from bus node as suggested by Andrew. MDIO PHY driver will logically OR MII_ADDR_C45 into the address when issues any C45 MDIO read/write transaction.

[PATCH v4 2/7] binding: Make "mdio-parent-bus" property from mandatory to optional

2016-06-06 Thread Pramod Kumar
Change "mdio-parent-bus" from mandatory section to optional as it won't be required by integrated MDIO multiplexer which has bus selection and mdio transaction generation logic, integrated inside. Signed-off-by: Pramod Kumar --- Documentation/devicetree/bindings/net/mdio-mux.txt

[PATCH v3 RESEND 3/7] binding: mdio-mux: Add DT binding doc for Broadcom MDIO bus mutiplexer

2016-06-03 Thread Pramod Kumar
Add DT binding doc for Broadcom MDIO bus mutiplexer driver. Signed-off-by: Pramod Kumar --- .../bindings/net/brcm,mdio-mux-iproc.txt | 59 ++ 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/brcm,mdio-mux-iproc.txt diff

[PATCH v3 RESEND 6/7] Binding:PHY: Binding doc for NS2 PCIe PHYs.

2016-06-03 Thread Pramod Kumar
Binding doc for NS2 PCIe PHYs. Acked-by: Rob Herring Signed-off-by: Jon Mason Signed-off-by: Pramod Kumar --- .../bindings/phy/brcm,mdio-mux-bus-pci.txt | 27 ++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/brcm,mdio

[PATCH v3 RESEND 7/7] phy: Add Northstar2 PCI Phy support

2016-06-03 Thread Pramod Kumar
Add PCI Phy support for Broadcom Northstar2 SoCs. This driver uses the interface from the iproc mdio mux driver to enable the devices respective phys. Signed-off-by: Jon Mason Signed-off-by: Pramod Kumar --- drivers/phy/Kconfig| 8 +++ drivers/phy/Makefile | 2

[PATCH v3 RESEND 5/7] net:mdio-mux: Add MDIO mux driver for iProc SoCs

2016-06-03 Thread Pramod Kumar
-45 or C-22 mdio transaction. Signed-off-by: Pramod Kumar --- drivers/net/phy/Kconfig | 11 ++ drivers/net/phy/Makefile | 1 + drivers/net/phy/mdio-mux-bcm-iproc.c | 246 +++ 3 files changed, 258 insertions(+) create mode 100644 drivers

[PATCH v3 RESEND 2/7] binding: Make "mdio-parent-bus" property from mandatory to optional

2016-06-03 Thread Pramod Kumar
Change "mdio-parent-bus" from mandatory section to optional as it won't be required by integrated MDIO multiplexer which has bus selection and mdio transaction generation logic, integrated inside. Signed-off-by: Pramod Kumar --- Documentation/devicetree/bindings/net/mdio-mux.txt

[PATCH v3 RESEND 0/7] Add MDIO bus multiplexer support for iProc SoCs

2016-06-03 Thread Pramod Kumar
er. Changes from v1: - stop using "brcm,is_c45" from bus node as suggested by Andrew. MDIO PHY driver will logically OR MII_ADDR_C45 into the address when issues any C45 MDIO read/write transaction. Pramod Kumar (7): mdio:mux: Enhanced MDIO mux framework for integrated multiplexers

[PATCH v3 RESEND 4/7] dt:mdio-mux: Add mdio multiplexer driver node

2016-06-03 Thread Pramod Kumar
Add integrated MDIO multiplexer driver node which contains two mux PCIe bus and one ethernet bus along with phys lying on these bus. Signed-off-by: Pramod Kumar --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 12 arch/arm64/boot/dts/broadcom/ns2.dtsi| 31

[PATCH v3 RESEND 1/7] mdio:mux: Enhanced MDIO mux framework for integrated multiplexers

2016-06-03 Thread Pramod Kumar
ux_init api. Signed-off-by: Pramod Kumar --- drivers/net/phy/mdio-mux-gpio.c| 2 +- drivers/net/phy/mdio-mux-mmioreg.c | 2 +- drivers/net/phy/mdio-mux.c | 28 ++-- include/linux/mdio-mux.h | 4 +++- 4 files changed, 23 insertions(+), 13 deleti

[PATCH v3 4/7] dt:mdio-mux: Add mdio multiplexer driver node

2016-06-03 Thread Pramod Kumar
Add integrated MDIO multiplexer driver node which contains two mux PCIe bus and one ethernet bus along with phys lying on these bus. Signed-off-by: Pramod Kumar --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 12 arch/arm64/boot/dts/broadcom/ns2.dtsi| 31

[PATCH v3 3/7] binding: mdio-mux: Add DT binding doc for Broadcom MDIO bus mutiplexer

2016-06-03 Thread Pramod Kumar
Add DT binding doc for Broadcom MDIO bus mutiplexer driver. Signed-off-by: Pramod Kumar --- .../bindings/net/brcm,mdio-mux-iproc.txt | 59 ++ 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/brcm,mdio-mux-iproc.txt diff

[PATCH v3 1/7] mdio:mux: Enhanced MDIO mux framework for integrated multiplexers

2016-06-03 Thread Pramod Kumar
ux_init api. Signed-off-by: Pramod Kumar --- drivers/net/phy/mdio-mux-gpio.c| 2 +- drivers/net/phy/mdio-mux-mmioreg.c | 2 +- drivers/net/phy/mdio-mux.c | 28 ++-- include/linux/mdio-mux.h | 4 +++- 4 files changed, 23 insertions(+), 13 deleti

[PATCH v3 6/7] Binding:PHY: Binding doc for NS2 PCIe PHYs.

2016-06-03 Thread Pramod Kumar
Binding doc for NS2 PCIe PHYs. Acked-by: Rob Herring Signed-off-by: Jon Mason Signed-off-by: Pramod Kumar --- .../bindings/phy/brcm,mdio-mux-bus-pci.txt | 27 ++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/brcm,mdio

[PATCH v3 5/7] net:mdio-mux: Add MDIO mux driver for iProc SoCs

2016-06-03 Thread Pramod Kumar
-45 or C-22 mdio transaction. Signed-off-by: Pramod Kumar --- drivers/net/phy/Kconfig | 11 ++ drivers/net/phy/Makefile | 1 + drivers/net/phy/mdio-mux-bcm-iproc.c | 246 +++ 3 files changed, 258 insertions(+) create mode 100644 drivers

[PATCH v3 7/7] phy: Add Northstar2 PCI Phy support

2016-06-03 Thread Pramod Kumar
Add PCI Phy support for Broadcom Northstar2 SoCs. This driver uses the interface from the iproc mdio mux driver to enable the devices respective phys. Signed-off-by: Jon Mason Signed-off-by: Pramod Kumar --- drivers/phy/Kconfig| 8 +++ drivers/phy/Makefile | 1

[PATCH v3 2/7] binding: Make "mdio-parent-bus" property from mandatory to optional

2016-06-03 Thread Pramod Kumar
Change "mdio-parent-bus" from mandatory section to optional as it won't be required by integrated MDIO multiplexer which has bus selection and mdio transaction generation logic, integrated inside. Signed-off-by: Pramod Kumar --- Documentation/devicetree/bindings/net/mdio-mux.txt

[PATCH v3 0/7] Add MDIO bus multiplexer support for iProc SoCs

2016-06-03 Thread Pramod Kumar
,is_c45" from bus node as suggested by Andrew. MDIO PHY driver will logically OR MII_ADDR_C45 into the address when issues any C45 MDIO read/write transaction. Pramod Kumar (7): mdio:mux: Enhanced MDIO mux framework for integrated multiplexers binding: Make "mdio-parent-bus" prope

RE: [PATCH v2 3/7] binding: mdio-mux: Add DT binding doc for Broadcom MDIO bus mutiplexer

2016-06-03 Thread Pramod Kumar
Hi Rob, > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: 03 June 2016 07:13 > To: Pramod Kumar > Cc: Pawel Moll; Mark Rutland; Ian Campbell; Kumar Gala; Catalin Marinas; Will > Deacon; Kishon Vijay Abraham I; David S. Miller; devicet...@vger.k

RE: [PATCH v2 5/7] net:mdio-mux: Add MDIO mux driver for iProc SoCs

2016-06-03 Thread Pramod Kumar
talin.mari...@arm.com; will.dea...@arm.com; kis...@ti.com; > devicet...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; bcm-kernel- > feedback-l...@broadcom.com; linux-kernel@vger.kernel.org; > net...@vger.kernel.org > Subject: Re: [PATCH v2 5/7] net:mdio-mux: Add MDIO mux drive

RE: [PATCH v2 1/7] mdio:mux: Enhanced MDIO mux framework for integrated multiplexers

2016-06-03 Thread Pramod Kumar
Hi Andrew, > -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: 01 June 2016 18:32 > To: Pramod Kumar > Cc: Rob Herring; Pawel Moll; Mark Rutland; Ian Campbell; Kumar Gala; Catalin > Marinas; Will Deacon; Kishon Vijay Abraham I; David S.

RE: [PATCH v2 7/7] phy: Add Northstar2 PCI Phy support

2016-06-03 Thread Pramod Kumar
Hi Andrew, > -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: 01 June 2016 18:42 > To: Pramod Kumar > Cc: Rob Herring; Pawel Moll; Mark Rutland; Ian Campbell; Kumar Gala; Catalin > Marinas; Will Deacon; Kishon Vijay Abraham I; David S.

[PATCH v2 6/7] Binding:PHY: Binding doc for NS2 PCIe PHYs.

2016-05-31 Thread Pramod Kumar
Binding doc for NS2 PCIe PHYs. Signed-off-by: Jon Mason Signed-off-by: Pramod Kumar --- .../bindings/phy/brcm,mdio-mux-bus-pci.txt | 27 ++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/brcm,mdio-mux-bus-pci.txt diff

[PATCH v2 7/7] phy: Add Northstar2 PCI Phy support

2016-05-31 Thread Pramod Kumar
Add PCI Phy support for Broadcom Northstar2 SoCs. This driver uses the interface from the iproc mdio mux driver to enable the devices respective phys. Signed-off-by: Jon Mason Signed-off-by: Pramod Kumar --- drivers/phy/Kconfig| 8 +++ drivers/phy/Makefile | 1

[PATCH v2 1/7] mdio:mux: Enhanced MDIO mux framework for integrated multiplexers

2016-05-31 Thread Pramod Kumar
not scan for phys. 2. Passed down parent bus to mdio mux framework via mdio-mux-init api. Signed-off-by: Pramod Kumar --- drivers/net/phy/mdio-mux-gpio.c| 2 +- drivers/net/phy/mdio-mux-mmioreg.c | 2 +- drivers/net/phy/mdio-mux.c | 28 ++-- drivers/o

[PATCH v2 0/7] Add MDIO bus multiplexer support for iProc SoCs

2016-05-31 Thread Pramod Kumar
p using "brcm,is_c45" from bus node as suggested by Andrew. MDIO PHY driver will logically OR MII_ADDR_C45 into the address when issues any C45 MDIO read/write transaction. Pramod Kumar (7): mdio:mux: Enhanced MDIO mux framework for integrated multiplexers DT: phy.txt: Add mdio-integrate

[PATCH v2 2/7] DT: phy.txt: Add mdio-integrated-mux property

2016-05-31 Thread Pramod Kumar
This property is used by integrated MDIO multiplexer which has bus selection and mdio transaction generation logic, integrated inside. Signed-off-by: Pramod Kumar --- Documentation/devicetree/bindings/net/mdio-mux.txt | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a

[PATCH v2 5/7] net:mdio-mux: Add MDIO mux driver for iProc SoCs

2016-05-31 Thread Pramod Kumar
-45 or C-22 mdio transaction. Signed-off-by: Pramod Kumar --- drivers/net/phy/Kconfig | 11 ++ drivers/net/phy/Makefile | 1 + drivers/net/phy/mdio-mux-bcm-iproc.c | 243 +++ 3 files changed, 255 insertions(+) create mode 100644 drivers

[PATCH v2 4/7] DT:mdio-mux: Add mdio multiplexer driver node

2016-05-31 Thread Pramod Kumar
Add integrated MDIO multiplexer driver node which contains two mux PCIe bus and one ethernet bus along with phys lying on these bus. Signed-off-by: Pramod Kumar --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 12 arch/arm64/boot/dts/broadcom/ns2.dtsi| 32

[PATCH v2 3/7] binding: mdio-mux: Add DT binding doc for Broadcom MDIO bus mutiplexer

2016-05-31 Thread Pramod Kumar
Add DT binding doc for Broadcom MDIO bus mutiplexer driver. Signed-off-by: Pramod Kumar --- .../bindings/net/brcm,mdio-mux-iproc.txt | 60 ++ 1 file changed, 60 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/brcm,mdio-mux-iproc.txt diff

RE: [PATCH 3/7] binding: mdio-mux: Add DT binding doc for Broadcom MDIO bus mutiplexer

2016-05-31 Thread Pramod Kumar
Hi Andrew, > -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: 30 May 2016 20:54 > To: Pramod Kumar > Cc: Rob Herring; Pawel Moll; Mark Rutland; Ian Campbell; Kumar Gala; Catalin > Marinas; Will Deacon; Kishon Vijay Abraham I; David S.

RE: [PATCH 5/7] net:mdio-mux: Add MDIO mux driver for iProc SoCs

2016-05-30 Thread Pramod Kumar
Hi Andrew, Thanks for reviewing. Please see my comment inline. > -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: 30 May 2016 19:05 > To: Pramod Kumar > Cc: Rob Herring; Pawel Moll; Mark Rutland; Ian Campbell; Kumar Gala; Catalin > Marinas; Will De

[PATCH 6/7] Binding:PHY: Binding doc for NS2 PCIe PHYs.

2016-05-30 Thread Pramod Kumar
Binding doc for NS2 PCIe PHYs. Signed-off-by: Jon Mason Signed-off-by: Pramod Kumar --- .../bindings/phy/brcm,mdio-mux-bus-pci.txt | 27 ++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/brcm,mdio-mux-bus-pci.txt diff

[PATCH 7/7] phy: Add Northstar2 PCI Phy support

2016-05-30 Thread Pramod Kumar
Add PCI Phy support for Broadcom Northstar2 SoCs. This driver uses the interface from the iproc mdio mux driver to enable the devices respective phys. Signed-off-by: Jon Mason Signed-off-by: Pramod Kumar --- drivers/phy/Kconfig| 8 +++ drivers/phy/Makefile | 1

[PATCH 4/7] DT:mdio-mux: Add mdio multiplexer driver node

2016-05-30 Thread Pramod Kumar
Add integrated MDIO multiplexer driver node which contains two mux PCIe bus and one ethernet bus along with phys lying on these bus. Signed-off-by: Pramod Kumar --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 12 arch/arm64/boot/dts/broadcom/ns2.dtsi| 32

[PATCH 1/7] mdio:mux: Enhanced MDIO mux framework for integrated multiplexers

2016-05-30 Thread Pramod Kumar
not scan for phys. 2. Passed down parent bus to mdio mux framework via mdio-mux-init api. Signed-off-by: Pramod Kumar --- drivers/net/phy/mdio-mux-gpio.c| 2 +- drivers/net/phy/mdio-mux-mmioreg.c | 2 +- drivers/net/phy/mdio-mux.c | 28 ++-- drivers/o

[PATCH 0/7] Add MDIO bus multiplexer support for iProc SoCs

2016-05-30 Thread Pramod Kumar
with above framework changes. It includes one external bus node having Ethernet PHY attached and two internal bus node holding PCIe PHYs. This patch series is based on v4.6.0-rc1 and is available from github- repo: https://github.com/Broadcom/arm64-linux.git branch:mdio-mux-v1 Pramod Kumar (7): mdi

[PATCH 5/7] net:mdio-mux: Add MDIO mux driver for iProc SoCs

2016-05-30 Thread Pramod Kumar
-45 or C-22 mdio transaction. Signed-off-by: Pramod Kumar --- drivers/net/phy/Kconfig | 11 ++ drivers/net/phy/Makefile | 1 + drivers/net/phy/mdio-mux-bcm-iproc.c | 263 +++ 3 files changed, 275 insertions(+) create mode 100644 drivers

[PATCH 3/7] binding: mdio-mux: Add DT binding doc for Broadcom MDIO bus mutiplexer

2016-05-30 Thread Pramod Kumar
Add DT binding doc for Broadcom MDIO bus mutiplexer driver. Signed-off-by: Pramod Kumar --- .../bindings/net/brcm,mdio-mux-iproc.txt | 64 ++ 1 file changed, 64 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/brcm,mdio-mux-iproc.txt diff

[PATCH 2/7] DT: phy.txt: Add mdio-integrated-mux property

2016-05-30 Thread Pramod Kumar
This property is used by integrated MDIO multiplexer which has bus selection and mdio transaction generation logic, integrated inside. Signed-off-by: Pramod Kumar --- Documentation/devicetree/bindings/net/mdio-mux.txt | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a

RE: [PATCH 1/6] bus: Add shared MDIO bus framework

2016-04-26 Thread Pramod Kumar
Shared MDIO framework in next patch revision to get a feel of its need. Regards, Pramod > -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: 26 April 2016 02:27 > To: Pramod Kumar > Cc: Rob Herring; Catalin Marinas; Will Deacon; Masahiro

RE: [PATCH 5/6] Documentation: Binding doc for ethernet master in NS2

2016-04-24 Thread Pramod Kumar
Hi Rob, Thanks for review and providing your valuable comments. > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: 23 April 2016 01:44 > To: Pramod Kumar > Cc: Catalin Marinas; Will Deacon; Masahiro Yamada; Chen-Yu Tsai; BCM Kernel > Feedback

RE: [PATCH 2/6] Documentation: DT binding doc for iProc Shared MDIO Controller.

2016-04-24 Thread Pramod Kumar
Hi Rob, Thanks for reviewing and providing your valuable comments. > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: 23 April 2016 01:41 > To: Pramod Kumar > Cc: Catalin Marinas; Will Deacon; Masahiro Yamada; Chen-Yu Tsai; Mark >

RE: [PATCH 1/6] bus: Add shared MDIO bus framework

2016-04-24 Thread Pramod Kumar
infradead.org; linux- > ker...@vger.kernel.org; net...@vger.kernel.org; anup.pa...@broadcom.com > Subject: Re: [PATCH 1/6] bus: Add shared MDIO bus framework > > From: Pramod Kumar > Date: Thu, 21 Apr 2016 14:48:38 +0530 > > > +struct shared_mdio_maste

[PATCH 1/6] bus: Add shared MDIO bus framework

2016-04-21 Thread Pramod Kumar
: Pramod Kumar Signed-off-by: Anup Patel Reviewed-by: Ray Jui Reviewed-by: Scott Branden Reviewed-by: Vikram Prakash --- drivers/bus/Kconfig | 11 +++ drivers/bus/Makefile| 1 + drivers/bus/shared_mdio.c | 179 include/linux

[PATCH 6/6] net:phy: Add Ethernet Master for iProc Shared MDIO Controller

2016-04-21 Thread Pramod Kumar
Add Ethernet master driver which registers the ethernet phy to standard legacy mdio framework. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/net/phy/Kconfig | 11 +++ drivers/net/phy/Makefile| 1 + drivers/net/phy

[PATCH 5/6] Documentation: Binding doc for ethernet master in NS2

2016-04-21 Thread Pramod Kumar
Adding binding doc for ethernet master present in shared MDIO controller. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- .../bindings/net/brcm,iproc-mdio-shared.txt| 32 ++ 1 file changed, 32 insertions(+) create mode 100644

[PATCH 4/6] dt: Add Shared MDIO Controller node for NS2

2016-04-21 Thread Pramod Kumar
Add NS2 Shared MDIO Controller DT node having eth phy as child. This node represents the NS2 AMAC eth phy. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 15 +++ arch/arm64/boot/dts/broadcom/ns2.dtsi

[PATCH 3/6] bus: Add platform driver for iProc shared MDIO Controller

2016-04-21 Thread Pramod Kumar
Add platform driver to populate shared MDIO masters on iProc SoC. Signed-off-by: Pramod Kumar Reviewed-by: Anup Patel Reviewed-by: Ray Jui Reviewed-by: Scott Branden Reviewed-by: Vikram Prakash --- drivers/bus/Kconfig | 11 ++ drivers/bus/Makefile| 1 + drivers

[PATCH 2/6] Documentation: DT binding doc for iProc Shared MDIO Controller.

2016-04-21 Thread Pramod Kumar
Add DT binding doc for iProc Shared MDIO Controller which populate all masters to Shared MDIO framework. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- .../bindings/bus/brcm,iproc-shared-mdio.txt| 76 ++ 1 file changed, 76

[PATCH 0/6] Add Shared MDIO framework for iProc based SoCs

2016-04-21 Thread Pramod Kumar
ich will register phys for their subsystem. Patch series is developed based on Linux v4.6-rc1 and available at: repo: https://github.com/Broadcom/arm64-linux.git branch: shared_mdio_v0 Pramod Kumar (6): bus: Add shared MDIO bus framework Documentation: DT binding doc for iProc Shared MDIO

RE: linux-next: build failure after merge of the pinctrl tree

2015-12-20 Thread Pramod Kumar
gt; Cc: linux-n...@vger.kernel.org; linux-kernel@vger.kernel.org; Pramod Kumar; > Ray Jui; Scott Branden > Subject: linux-next: build failure after merge of the pinctrl tree > > Hi Linus, > > After merging the pinctrl tree, today's linux-next build (arm > multi_v7_defconfig) f

RE: linux-next: build failure after merge of the pinctrl tree

2015-12-17 Thread Pramod Kumar
failed. After fixing this I see compilation successful. I don't think we see any more issue after this fix. Please let me know in case I should try any more compilation. Regards, Pramod > -Original Message- > From: Stephen Rothwell [mailto:s...@canb.auug.org.au] > Sent: 18

RE: linux-next: build failure after merge of the pinctrl tree

2015-12-17 Thread Pramod Kumar
> Cc: linux-n...@vger.kernel.org; linux-kernel@vger.kernel.org; Pramod Kumar; > Ray Jui; Scott Branden > Subject: linux-next: build failure after merge of the pinctrl tree > > Hi Linus, > > After merging the pinctrl tree, today's linux-next build (arm > multi

RE: [PATCH v2 6/7] Documentation: Rename gpio controller name from cygnus to iproc

2015-11-20 Thread Pramod Kumar
Hi Rob, > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: 20 November 2015 21:05 > To: Pramod Kumar > Cc: Pawel Moll; Mark Rutland; Ian Campbell; Kumar Gala; Ray Jui; Scott > Branden; > Russell King; Linus Walleij; linux-g...@vger.kernel.org

[PATCH v2 4/7] pinctrl: Add new compatible string to GPIO controller driver

2015-11-18 Thread Pramod Kumar
This compatible string should be used for all new iproc based future SoCs having the same GPIO controller hardware. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/pinctrl/bcm/pinctrl-cygnus-gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH v2 2/7] dts: define ngpios property in gpio controller's node

2015-11-18 Thread Pramod Kumar
Add ngpios property in cygnus ASIU, CCM and CRMU gpio controller's node Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm

[PATCH v2 5/7] gpio: Rename func/macro/var to IP-block,iproc

2015-11-18 Thread Pramod Kumar
Change functions, macros and variables name from cygnus to IP block, iproc, so that it could be used in all iproc based future SoCs having same GPIO controller block. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/pinctrl/bcm/pinctrl-cygnus-gpio.c

  1   2   >