[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 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 ---

[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 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 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 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 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

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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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-ker...@vger.kernel.org; > netdev@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 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

[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 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 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 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 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

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 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 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 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 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 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 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

[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

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; netdev@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 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

[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 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 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 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 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 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