Re: [PATCH 2/2] arm64: dts: NS2: add support for XMC form factor

2016-12-06 Thread Jon Mason
; > url: > https://github.com/0day-ci/linux/commits/Jon-Mason/arm64-dts-NS2-reserve-memory-for-Nitro-firmware/20161206-125631 > base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git > for-next > config: arm64-allmodconfig (attached as .config) > compiler: aarch64-linux-

Re: [PATCH 2/2] arm64: dts: NS2: add support for XMC form factor

2016-12-06 Thread Jon Mason
; > url: > https://github.com/0day-ci/linux/commits/Jon-Mason/arm64-dts-NS2-reserve-memory-for-Nitro-firmware/20161206-125631 > base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git > for-next > config: arm64-allmodconfig (attached as .config) > compiler: aarch64-linux-

[PATCH 1/2] arm64: dts: NS2: reserve memory for Nitro firmware

2016-12-05 Thread Jon Mason
Nitro firmware is loaded into memory by the bootloader at a specific location. Set this memory range aside to prevent the kernel from using it. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 0/2] arm64: dts: NS2: XMC support and Nitro memreserve

2016-12-05 Thread Jon Mason
Add support for the NS2 XMC formfactor via a new DTS file. Also, set aside memory for Nitro firmware in the NS2 DTSI file. Jon Mason (2): arm64: dts: NS2: reserve memory for Nitro firmware arm64: dts: NS2: add support for XMC form factor arch/arm64/boot/dts/broadcom/Makefile| 2

[PATCH 1/2] arm64: dts: NS2: reserve memory for Nitro firmware

2016-12-05 Thread Jon Mason
Nitro firmware is loaded into memory by the bootloader at a specific location. Set this memory range aside to prevent the kernel from using it. Signed-off-by: Jon Mason --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom

[PATCH 0/2] arm64: dts: NS2: XMC support and Nitro memreserve

2016-12-05 Thread Jon Mason
Add support for the NS2 XMC formfactor via a new DTS file. Also, set aside memory for Nitro firmware in the NS2 DTSI file. Jon Mason (2): arm64: dts: NS2: reserve memory for Nitro firmware arm64: dts: NS2: add support for XMC form factor arch/arm64/boot/dts/broadcom/Makefile| 2

[PATCH 2/2] arm64: dts: NS2: add support for XMC form factor

2016-12-05 Thread Jon Mason
The BCM958712DxXMC board is a smaller form factor typically used as controller boards for switches. This smaller board has less devices pinned out, so only a few need be populated in the device tree. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- arch/arm64/boot/dts/broadcom/Ma

[PATCH 2/2] arm64: dts: NS2: add support for XMC form factor

2016-12-05 Thread Jon Mason
The BCM958712DxXMC board is a smaller form factor typically used as controller boards for switches. This smaller board has less devices pinned out, so only a few need be populated in the device tree. Signed-off-by: Jon Mason --- arch/arm64/boot/dts/broadcom/Makefile| 2 +- arch/arm64

Re: [PATCH dt V2] ARM: BCM5301X: Enable UART by default for BCM4708(1), BCM4709(4) & BCM53012

2016-12-01 Thread Jon Mason
> It seems to be easier to enable it by default and just disable it if we > ever see a device with different hardware design. > > Signed-off-by: Rafał Miłecki <ra...@milecki.pl> Looks good to me! Acked-by: Jon Mason <jon.ma...@broadcom.com> > --- > V2: Update bcm9

Re: [PATCH dt V2] ARM: BCM5301X: Enable UART by default for BCM4708(1), BCM4709(4) & BCM53012

2016-12-01 Thread Jon Mason
o be easier to enable it by default and just disable it if we > ever see a device with different hardware design. > > Signed-off-by: Rafał Miłecki Looks good to me! Acked-by: Jon Mason > --- > V2: Update bcm94708.dts bcm94709.dts bcm953012er.dts & bcm953012k.dts > --- > arch/arm

[PATCH 1/2] arm64: dts: NS2: enable GICv2m for PAXB/PAXC interfaces

2016-11-28 Thread Jon Mason
PAXB and PAXC PCIe interfaces on NS2 have been using the iProc event queue to handle MSI. With the gicv2m support ready, we should now switch to gicv2m for MSI handling Signed-off-by: Ray Jui <ray@broadcom.com> Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- arch/ar

[PATCH 1/2] arm64: dts: NS2: enable GICv2m for PAXB/PAXC interfaces

2016-11-28 Thread Jon Mason
PAXB and PAXC PCIe interfaces on NS2 have been using the iProc event queue to handle MSI. With the gicv2m support ready, we should now switch to gicv2m for MSI handling Signed-off-by: Ray Jui Signed-off-by: Jon Mason --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 104

[PATCH 0/2] arm64: dts: NS2: Add GICv2m and PAXC

2016-11-28 Thread Jon Mason
Add support for GICv2m and PAXC. GICv2m was tested on an e1000e adapter, with some hacking of the driver to verify MSI and legacy interrupts work. Jon Mason (2): arm64: dts: NS2: enable GICv2m for PAXB/PAXC interfaces arm64: dts: NS2: enable PAXC on NS2 SVK arch/arm64/boot/dts/broadcom/ns2

[PATCH 2/2] arm64: dts: NS2: enable PAXC on NS2 SVK

2016-11-28 Thread Jon Mason
This enables the PAXC based PCIe root complex on NS2 SVK. The PAXC based root complex is connected to internally emulated PCIe endpoints Signed-off-by: Ray Jui <r...@broadcom.com> Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 4

[PATCH 0/2] arm64: dts: NS2: Add GICv2m and PAXC

2016-11-28 Thread Jon Mason
Add support for GICv2m and PAXC. GICv2m was tested on an e1000e adapter, with some hacking of the driver to verify MSI and legacy interrupts work. Jon Mason (2): arm64: dts: NS2: enable GICv2m for PAXB/PAXC interfaces arm64: dts: NS2: enable PAXC on NS2 SVK arch/arm64/boot/dts/broadcom/ns2

[PATCH 2/2] arm64: dts: NS2: enable PAXC on NS2 SVK

2016-11-28 Thread Jon Mason
This enables the PAXC based PCIe root complex on NS2 SVK. The PAXC based root complex is connected to internally emulated PCIe endpoints Signed-off-by: Ray Jui Signed-off-by: Jon Mason --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 4 arch/arm64/boot/dts/broadcom/ns2.dtsi| 17

[PATCH 1/2] arm64: dts: NS2: enable sdio1

2016-11-17 Thread Jon Mason
Enable sdio1 in the Northstar2 SVK device tree file Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/ns2-svk.dts b/arch/arm64/boot/dts/broadcom/ns2-svk.dts

[PATCH 1/2] arm64: dts: NS2: enable sdio1

2016-11-17 Thread Jon Mason
Enable sdio1 in the Northstar2 SVK device tree file Signed-off-by: Jon Mason --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/ns2-svk.dts b/arch/arm64/boot/dts/broadcom/ns2-svk.dts index 07c69a3e..de8d379 100644

[PATCH 0/2] arm64: dts: NS2: Add sdio1, PCI phys

2016-11-17 Thread Jon Mason
The second SDIO seems to have been forgotten to be enabled in the Northstar2 SVK dts. Also, the PCI PHY entries are missing from the PCI bus device tree entries. Jon Mason (2): arm64: dts: NS2: enable sdio1 arm64: dts: NS2: Add PCI PHYs arch/arm64/boot/dts/broadcom/ns2-svk.dts | 4

[PATCH 2/2] arm64: dts: NS2: Add PCI PHYs

2016-11-17 Thread Jon Mason
PCI PHYs are missing from the Northstar2 DT entries for the 2 PCI buses. Add them so that PCI devices can be discovered. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/bo

[PATCH 0/2] arm64: dts: NS2: Add sdio1, PCI phys

2016-11-17 Thread Jon Mason
The second SDIO seems to have been forgotten to be enabled in the Northstar2 SVK dts. Also, the PCI PHY entries are missing from the PCI bus device tree entries. Jon Mason (2): arm64: dts: NS2: enable sdio1 arm64: dts: NS2: Add PCI PHYs arch/arm64/boot/dts/broadcom/ns2-svk.dts | 4

[PATCH 2/2] arm64: dts: NS2: Add PCI PHYs

2016-11-17 Thread Jon Mason
PCI PHYs are missing from the Northstar2 DT entries for the 2 PCI buses. Add them so that PCI devices can be discovered. Signed-off-by: Jon Mason --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/ns2.dtsi b/arch

[GIT PULL] NTB bug fixes for v4.9

2016-11-13 Thread Jon Mason
Hello Linus, Here are a few NTB bug fixes for 4.9. Please consider pulling them. Thanks, Jon The following changes since commit a25f0944ba9b1d8a6813fd6f1a86f1bd59ac25a6: Linux 4.9-rc5 (2016-11-13 10:32:32 -0800) are available in the git repository at: git://github.com/jonmason/ntb

[GIT PULL] NTB bug fixes for v4.9

2016-11-13 Thread Jon Mason
Hello Linus, Here are a few NTB bug fixes for 4.9. Please consider pulling them. Thanks, Jon The following changes since commit a25f0944ba9b1d8a6813fd6f1a86f1bd59ac25a6: Linux 4.9-rc5 (2016-11-13 10:32:32 -0800) are available in the git repository at: git://github.com/jonmason/ntb

Re: [PATCH v6 7/7] arm64: dts: NS2: add AMAC ethernet support

2016-11-04 Thread Jon Mason
On Fri, Nov 04, 2016 at 04:31:40PM +0300, Sergei Shtylyov wrote: > Hello. > > On 11/4/2016 8:11 AM, Jon Mason wrote: > > >Add support for the AMAC ethernet to the Broadcom Northstar2 SoC device > >tree > > > >Signed-off-by: Jon Mason <jon.ma...@broad

Re: [PATCH v6 7/7] arm64: dts: NS2: add AMAC ethernet support

2016-11-04 Thread Jon Mason
On Fri, Nov 04, 2016 at 04:31:40PM +0300, Sergei Shtylyov wrote: > Hello. > > On 11/4/2016 8:11 AM, Jon Mason wrote: > > >Add support for the AMAC ethernet to the Broadcom Northstar2 SoC device > >tree > > > >Signed-off-by: Jon Mason > >--- > &g

[PATCH v6 1/7] net: phy: broadcom: add bcm54xx_auxctl_read

2016-11-03 Thread Jon Mason
Add a helper function to read the AUXCTL register for the BCM54xx. This mirrors the bcm54xx_auxctl_write function already present in the code. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> Reviewed-by: Florian Fainelli <f.faine...@gmail.com> --- drivers/net/phy/bro

[PATCH v6 1/7] net: phy: broadcom: add bcm54xx_auxctl_read

2016-11-03 Thread Jon Mason
Add a helper function to read the AUXCTL register for the BCM54xx. This mirrors the bcm54xx_auxctl_write function already present in the code. Signed-off-by: Jon Mason Reviewed-by: Florian Fainelli --- drivers/net/phy/broadcom.c | 10 ++ include/linux/brcmphy.h| 1 + 2 files

[PATCH v6 2/7] Documentation: devicetree: add PHY lane swap binding

2016-11-03 Thread Jon Mason
Add the documentation for PHY lane swapping. This is a boolean entry to notify the phy device drivers that the TX/RX lanes need to be swapped. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> Reviewed-by: Florian Fainelli <f.faine...@gmail.com> Reviewed-by: Andrew Lunn <

[PATCH v6 3/7] net: phy: broadcom: Add BCM54810 PHY entry

2016-11-03 Thread Jon Mason
if it is applicable. Inspired-by: Vikas Soni <vs...@broadcom.com> Signed-off-by: Jon Mason <jon.ma...@broadcom.com> Reviewed-by: Florian Fainelli <f.faine...@gmail.com> Reviewed-by: Andrew Lunn <and...@lunn.ch> --- drivers/net/phy/Kconfig| 2 +- drivers

[PATCH v6 2/7] Documentation: devicetree: add PHY lane swap binding

2016-11-03 Thread Jon Mason
Add the documentation for PHY lane swapping. This is a boolean entry to notify the phy device drivers that the TX/RX lanes need to be swapped. Signed-off-by: Jon Mason Reviewed-by: Florian Fainelli Reviewed-by: Andrew Lunn --- Documentation/devicetree/bindings/net/phy.txt | 4 1 file

[PATCH v6 3/7] net: phy: broadcom: Add BCM54810 PHY entry

2016-11-03 Thread Jon Mason
if it is applicable. Inspired-by: Vikas Soni Signed-off-by: Jon Mason Reviewed-by: Florian Fainelli Reviewed-by: Andrew Lunn --- drivers/net/phy/Kconfig| 2 +- drivers/net/phy/broadcom.c | 58 +- include/linux/brcmphy.h| 9 +++ 3 files changed, 67

[PATCH v6 4/7] Documentation: devicetree: net: add NS2 bindings to amac

2016-11-03 Thread Jon Mason
Clean-up the documentation to the bgmac-amac driver, per suggestion by Rob Herring, and add details for NS2 support. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> Reviewed-by: Florian Fainelli <f.faine...@gmail.com> --- Documentation/devicetree/bindings/net/brcm,a

[PATCH v6 4/7] Documentation: devicetree: net: add NS2 bindings to amac

2016-11-03 Thread Jon Mason
Clean-up the documentation to the bgmac-amac driver, per suggestion by Rob Herring, and add details for NS2 support. Signed-off-by: Jon Mason Reviewed-by: Florian Fainelli --- Documentation/devicetree/bindings/net/brcm,amac.txt | 16 +++- 1 file changed, 11 insertions(+), 5

[PATCH v6 7/7] arm64: dts: NS2: add AMAC ethernet support

2016-11-03 Thread Jon Mason
Add support for the AMAC ethernet to the Broadcom Northstar2 SoC device tree Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 5 + arch/arm64/boot/dts/broadcom/ns2.dtsi| 12 2 files changed, 17 insertions(+) diff --git

[PATCH v6 6/7] net: ethernet: bgmac: add NS2 support

2016-11-03 Thread Jon Mason
of the pending interrupts on init is required due to observed issues on some platforms. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> Reviewed-by: Florian Fainelli <f.faine...@gmail.com> --- drivers/net/ethernet/broadcom/bgmac-platform.c | 56 +- drivers/

[PATCH v6 7/7] arm64: dts: NS2: add AMAC ethernet support

2016-11-03 Thread Jon Mason
Add support for the AMAC ethernet to the Broadcom Northstar2 SoC device tree Signed-off-by: Jon Mason --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 5 + arch/arm64/boot/dts/broadcom/ns2.dtsi| 12 2 files changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom

[PATCH v6 6/7] net: ethernet: bgmac: add NS2 support

2016-11-03 Thread Jon Mason
of the pending interrupts on init is required due to observed issues on some platforms. Signed-off-by: Jon Mason Reviewed-by: Florian Fainelli --- drivers/net/ethernet/broadcom/bgmac-platform.c | 56 +- drivers/net/ethernet/broadcom/bgmac.c | 3 ++ drivers/net

[PATCH v6 5/7] net: ethernet: bgmac: device tree phy enablement

2016-11-03 Thread Jon Mason
Change the bgmac driver to allow for phy's defined by the device tree Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- drivers/net/ethernet/broadcom/bgmac-bcma.c | 22 +++ drivers/net/ethernet/broadcom/bgmac-platform.c | 22 ++- drivers/net/et

[PATCH v6 5/7] net: ethernet: bgmac: device tree phy enablement

2016-11-03 Thread Jon Mason
Change the bgmac driver to allow for phy's defined by the device tree Signed-off-by: Jon Mason --- drivers/net/ethernet/broadcom/bgmac-bcma.c | 22 +++ drivers/net/ethernet/broadcom/bgmac-platform.c | 22 ++- drivers/net/ethernet/broadcom/bgmac.c

[PATCH v6 0/7] add NS2 support to bgmac

2016-11-03 Thread Jon Mason
ndrew Lunn and Florian Fainelli) * Remove bgmac sleep (per Florian Fainelli) * Re-add bgmac chip reset (per Florian Fainelli and Ray Jui) * Rebased on latest net-next * Added patch for bcm54xx_auxctl_read, which is used in the BCM54810 Jon Mason (7): net: phy: broadcom: add bcm54xx_auxctl_read Doc

[PATCH v6 0/7] add NS2 support to bgmac

2016-11-03 Thread Jon Mason
ndrew Lunn and Florian Fainelli) * Remove bgmac sleep (per Florian Fainelli) * Re-add bgmac chip reset (per Florian Fainelli and Ray Jui) * Rebased on latest net-next * Added patch for bcm54xx_auxctl_read, which is used in the BCM54810 Jon Mason (7): net: phy: broadcom: add bcm54xx_auxctl_read Doc

Re: [PATCH v5 5/7] net: ethernet: bgmac: device tree phy enablement

2016-11-03 Thread Jon Mason
On Thu, Nov 03, 2016 at 09:31:21AM +0100, Rafal Milecki wrote: > On 11/02/2016 06:08 PM, Jon Mason wrote: > >Change the bgmac driver to allow for phy's defined by the device tree > > This is a late review, I know, sorry... :( > > > >+static int bcma_phy_direct_

Re: [PATCH v5 5/7] net: ethernet: bgmac: device tree phy enablement

2016-11-03 Thread Jon Mason
On Thu, Nov 03, 2016 at 09:31:21AM +0100, Rafal Milecki wrote: > On 11/02/2016 06:08 PM, Jon Mason wrote: > >Change the bgmac driver to allow for phy's defined by the device tree > > This is a late review, I know, sorry... :( > > > >+static int bcma_phy_direct_

Re: [PATCH v5 4/7] Documentation: devicetree: net: add NS2 bindings to amac

2016-11-02 Thread Jon Mason
On Wed, Nov 02, 2016 at 08:18:51PM +0300, Sergei Shtylyov wrote: > Hello. > > On 11/02/2016 08:08 PM, Jon Mason wrote: > > >Clean-up the documentation to the bgmac-amac driver, per suggestion by > >Rob Herring, and add details for NS2 support. > > >

Re: [PATCH v5 4/7] Documentation: devicetree: net: add NS2 bindings to amac

2016-11-02 Thread Jon Mason
On Wed, Nov 02, 2016 at 08:18:51PM +0300, Sergei Shtylyov wrote: > Hello. > > On 11/02/2016 08:08 PM, Jon Mason wrote: > > >Clean-up the documentation to the bgmac-amac driver, per suggestion by > >Rob Herring, and add details for NS2 support. > &g

[PATCH v5 0/7] add NS2 support to bgmac

2016-11-02 Thread Jon Mason
hy changes are in addition to the changes necessary to get NS2 working. Jon Mason (7): net: phy: broadcom: add bcm54xx_auxctl_read Documentation: devicetree: add PHY lane swap binding net: phy: broadcom: Add BCM54810 PHY entry Documentation: devicetree: net: add NS2 bindings to amac net

[PATCH v5 4/7] Documentation: devicetree: net: add NS2 bindings to amac

2016-11-02 Thread Jon Mason
Clean-up the documentation to the bgmac-amac driver, per suggestion by Rob Herring, and add details for NS2 support. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- Documentation/devicetree/bindings/net/brcm,amac.txt | 16 +++- 1 file changed, 11 insertions(+), 5 del

[PATCH v5 5/7] net: ethernet: bgmac: device tree phy enablement

2016-11-02 Thread Jon Mason
Change the bgmac driver to allow for phy's defined by the device tree Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- drivers/net/ethernet/broadcom/bgmac-bcma.c | 48 drivers/net/ethernet/broadcom/bgmac-platform.c | 48 +++- drive

[PATCH v5 0/7] add NS2 support to bgmac

2016-11-02 Thread Jon Mason
hy changes are in addition to the changes necessary to get NS2 working. Jon Mason (7): net: phy: broadcom: add bcm54xx_auxctl_read Documentation: devicetree: add PHY lane swap binding net: phy: broadcom: Add BCM54810 PHY entry Documentation: devicetree: net: add NS2 bindings to amac net

[PATCH v5 4/7] Documentation: devicetree: net: add NS2 bindings to amac

2016-11-02 Thread Jon Mason
Clean-up the documentation to the bgmac-amac driver, per suggestion by Rob Herring, and add details for NS2 support. Signed-off-by: Jon Mason --- Documentation/devicetree/bindings/net/brcm,amac.txt | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git

[PATCH v5 5/7] net: ethernet: bgmac: device tree phy enablement

2016-11-02 Thread Jon Mason
Change the bgmac driver to allow for phy's defined by the device tree Signed-off-by: Jon Mason --- drivers/net/ethernet/broadcom/bgmac-bcma.c | 48 drivers/net/ethernet/broadcom/bgmac-platform.c | 48 +++- drivers/net/ethernet/broadcom/bgmac.c

[PATCH v5 7/7] arm64: dts: NS2: add AMAC ethernet support

2016-11-02 Thread Jon Mason
Add support for the AMAC ethernet to the Broadcom Northstar2 SoC device tree Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 5 + arch/arm64/boot/dts/broadcom/ns2.dtsi| 12 2 files changed, 17 insertions(+) diff --git

[PATCH v5 7/7] arm64: dts: NS2: add AMAC ethernet support

2016-11-02 Thread Jon Mason
Add support for the AMAC ethernet to the Broadcom Northstar2 SoC device tree Signed-off-by: Jon Mason --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 5 + arch/arm64/boot/dts/broadcom/ns2.dtsi| 12 2 files changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom

[PATCH v5 3/7] net: phy: broadcom: Add BCM54810 PHY entry

2016-11-02 Thread Jon Mason
if it is applicable. Inspired-by: Vikas Soni <vs...@broadcom.com> Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- drivers/net/phy/Kconfig| 2 +- drivers/net/phy/broadcom.c | 58 +- include/linux/brcmphy.h| 9 +++ 3 files changed, 67 inse

[PATCH v5 3/7] net: phy: broadcom: Add BCM54810 PHY entry

2016-11-02 Thread Jon Mason
if it is applicable. Inspired-by: Vikas Soni Signed-off-by: Jon Mason --- drivers/net/phy/Kconfig| 2 +- drivers/net/phy/broadcom.c | 58 +- include/linux/brcmphy.h| 9 +++ 3 files changed, 67 insertions(+), 2 deletions(-) diff --git a/drivers/net/phy

[PATCH v5 1/7] net: phy: broadcom: add bcm54xx_auxctl_read

2016-11-02 Thread Jon Mason
Add a helper function to read the AUXCTL register for the BCM54xx. This mirrors the bcm54xx_auxctl_write function already present in the code. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- drivers/net/phy/broadcom.c | 10 ++ include/linux/brcmphy.h| 1 + 2 files chang

[PATCH v5 6/7] net: ethernet: bgmac: add NS2 support

2016-11-02 Thread Jon Mason
of the pending interrupts on init is required due to observed issues on some platforms. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- drivers/net/ethernet/broadcom/bgmac-platform.c | 56 +- drivers/net/ethernet/broadcom/bgmac.c | 3 ++ drive

[PATCH v5 1/7] net: phy: broadcom: add bcm54xx_auxctl_read

2016-11-02 Thread Jon Mason
Add a helper function to read the AUXCTL register for the BCM54xx. This mirrors the bcm54xx_auxctl_write function already present in the code. Signed-off-by: Jon Mason --- drivers/net/phy/broadcom.c | 10 ++ include/linux/brcmphy.h| 1 + 2 files changed, 11 insertions(+) diff

[PATCH v5 6/7] net: ethernet: bgmac: add NS2 support

2016-11-02 Thread Jon Mason
of the pending interrupts on init is required due to observed issues on some platforms. Signed-off-by: Jon Mason --- drivers/net/ethernet/broadcom/bgmac-platform.c | 56 +- drivers/net/ethernet/broadcom/bgmac.c | 3 ++ drivers/net/ethernet/broadcom/bgmac.h

[PATCH v5 2/7] Documentation: devicetree: add PHY lane swap binding

2016-11-02 Thread Jon Mason
Add the documentation for PHY lane swapping. This is a boolean entry to notify the phy device drivers that the TX/RX lanes need to be swapped. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- Documentation/devicetree/bindings/net/phy.txt | 4 1 file changed, 4 insertions(+)

[PATCH v5 2/7] Documentation: devicetree: add PHY lane swap binding

2016-11-02 Thread Jon Mason
Add the documentation for PHY lane swapping. This is a boolean entry to notify the phy device drivers that the TX/RX lanes need to be swapped. Signed-off-by: Jon Mason --- Documentation/devicetree/bindings/net/phy.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation

Re: [PATCH v4 6/7] net: ethernet: bgmac: add NS2 support

2016-11-02 Thread Jon Mason
On Tue, Nov 01, 2016 at 05:05:13PM -0400, Jon Mason wrote: > On Tue, Nov 01, 2016 at 01:34:30PM -0700, Scott Branden wrote: > > One change in this patch > > > > On 16-11-01 01:04 PM, Jon Mason wrote: > > >Add support for the variant of amac hardware present in the

Re: [PATCH v4 6/7] net: ethernet: bgmac: add NS2 support

2016-11-02 Thread Jon Mason
On Tue, Nov 01, 2016 at 05:05:13PM -0400, Jon Mason wrote: > On Tue, Nov 01, 2016 at 01:34:30PM -0700, Scott Branden wrote: > > One change in this patch > > > > On 16-11-01 01:04 PM, Jon Mason wrote: > > >Add support for the variant of amac hardware present in the

Re: [PATCH v4 6/7] net: ethernet: bgmac: add NS2 support

2016-11-01 Thread Jon Mason
On Tue, Nov 01, 2016 at 01:34:30PM -0700, Scott Branden wrote: > One change in this patch > > On 16-11-01 01:04 PM, Jon Mason wrote: > >Add support for the variant of amac hardware present in the Broadcom > >Northstar2 based SoCs. Northstar2 requires an additional registe

Re: [PATCH v4 6/7] net: ethernet: bgmac: add NS2 support

2016-11-01 Thread Jon Mason
On Tue, Nov 01, 2016 at 01:34:30PM -0700, Scott Branden wrote: > One change in this patch > > On 16-11-01 01:04 PM, Jon Mason wrote: > >Add support for the variant of amac hardware present in the Broadcom > >Northstar2 based SoCs. Northstar2 requires an additional registe

Re: [PATCH v4 2/7] Documentation: devicetree: add PHY lane swap binding

2016-11-01 Thread Jon Mason
On Tue, Nov 01, 2016 at 09:48:26PM +0100, Andrew Lunn wrote: > > +- enet-phy-lane-swap: If set, indicates the PHY device requires swapping > > the > > + TX/RX lanes to function properly. > > Is 'requires' the right word here? The PHY performs the actual swap of > the Tx/Rx lanes. What I'm

Re: [PATCH v4 2/7] Documentation: devicetree: add PHY lane swap binding

2016-11-01 Thread Jon Mason
On Tue, Nov 01, 2016 at 09:48:26PM +0100, Andrew Lunn wrote: > > +- enet-phy-lane-swap: If set, indicates the PHY device requires swapping > > the > > + TX/RX lanes to function properly. > > Is 'requires' the right word here? The PHY performs the actual swap of > the Tx/Rx lanes. What I'm

[PATCH v4 1/7] net: phy: broadcom: add bcm54xx_auxctl_read

2016-11-01 Thread Jon Mason
Add a helper function to read the AUXCTL register for the BCM54xx. This mirrors the bcm54xx_auxctl_write function already present in the code. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- drivers/net/phy/broadcom.c | 10 ++ include/linux/brcmphy.h| 1 + 2 files chang

[PATCH v4 3/7] net: phy: broadcom: Add BCM54810 PHY entry

2016-11-01 Thread Jon Mason
if it is applicable. Inspired-by: Vikas Soni <vs...@broadcom.com> Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- drivers/net/phy/Kconfig| 2 +- drivers/net/phy/broadcom.c | 58 +- include/linux/brcmphy.h| 9 +++ 3 files changed, 67 inse

[PATCH v4 1/7] net: phy: broadcom: add bcm54xx_auxctl_read

2016-11-01 Thread Jon Mason
Add a helper function to read the AUXCTL register for the BCM54xx. This mirrors the bcm54xx_auxctl_write function already present in the code. Signed-off-by: Jon Mason --- drivers/net/phy/broadcom.c | 10 ++ include/linux/brcmphy.h| 1 + 2 files changed, 11 insertions(+) diff

[PATCH v4 3/7] net: phy: broadcom: Add BCM54810 PHY entry

2016-11-01 Thread Jon Mason
if it is applicable. Inspired-by: Vikas Soni Signed-off-by: Jon Mason --- drivers/net/phy/Kconfig| 2 +- drivers/net/phy/broadcom.c | 58 +- include/linux/brcmphy.h| 9 +++ 3 files changed, 67 insertions(+), 2 deletions(-) diff --git a/drivers/net/phy

[PATCH v4 5/7] net: ethernet: bgmac: device tree phy enablement

2016-11-01 Thread Jon Mason
Change the bgmac driver to allow for phy's defined by the device tree Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- drivers/net/ethernet/broadcom/bgmac-bcma.c | 48 drivers/net/ethernet/broadcom/bgmac-platform.c | 48 +++- drive

[PATCH v4 4/7] Documentation: devicetree: net: add NS2 bindings to amac

2016-11-01 Thread Jon Mason
Clean-up the documentation to the bgmac-amac driver, per suggestion by Rob Herring, and add details for NS2 support. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- Documentation/devicetree/bindings/net/brcm,amac.txt | 16 +++- 1 file changed, 11 insertions(+), 5 del

[PATCH v4 5/7] net: ethernet: bgmac: device tree phy enablement

2016-11-01 Thread Jon Mason
Change the bgmac driver to allow for phy's defined by the device tree Signed-off-by: Jon Mason --- drivers/net/ethernet/broadcom/bgmac-bcma.c | 48 drivers/net/ethernet/broadcom/bgmac-platform.c | 48 +++- drivers/net/ethernet/broadcom/bgmac.c

[PATCH v4 4/7] Documentation: devicetree: net: add NS2 bindings to amac

2016-11-01 Thread Jon Mason
Clean-up the documentation to the bgmac-amac driver, per suggestion by Rob Herring, and add details for NS2 support. Signed-off-by: Jon Mason --- Documentation/devicetree/bindings/net/brcm,amac.txt | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git

[PATCH v4 7/7] arm64: dts: NS2: add AMAC ethernet support

2016-11-01 Thread Jon Mason
Add support for the AMAC ethernet to the Broadcom Northstar2 SoC device tree Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 5 + arch/arm64/boot/dts/broadcom/ns2.dtsi| 12 2 files changed, 17 insertions(+) diff --git

[PATCH v4 6/7] net: ethernet: bgmac: add NS2 support

2016-11-01 Thread Jon Mason
of the pending interrupts on init is required due to observed issues on some platforms. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- drivers/net/ethernet/broadcom/bgmac-platform.c | 56 +- drivers/net/ethernet/broadcom/bgmac.c | 3 ++ drive

[PATCH v4 2/7] Documentation: devicetree: add PHY lane swap binding

2016-11-01 Thread Jon Mason
Add the documentation for PHY lane swapping. This is a boolean entry to notify the phy device drivers that the TX/RX lanes need to be swapped. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- Documentation/devicetree/bindings/net/phy.txt | 3 +++ 1 file changed, 3 insertions(+) diff

[PATCH v4 7/7] arm64: dts: NS2: add AMAC ethernet support

2016-11-01 Thread Jon Mason
Add support for the AMAC ethernet to the Broadcom Northstar2 SoC device tree Signed-off-by: Jon Mason --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 5 + arch/arm64/boot/dts/broadcom/ns2.dtsi| 12 2 files changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom

[PATCH v4 6/7] net: ethernet: bgmac: add NS2 support

2016-11-01 Thread Jon Mason
of the pending interrupts on init is required due to observed issues on some platforms. Signed-off-by: Jon Mason --- drivers/net/ethernet/broadcom/bgmac-platform.c | 56 +- drivers/net/ethernet/broadcom/bgmac.c | 3 ++ drivers/net/ethernet/broadcom/bgmac.h

[PATCH v4 2/7] Documentation: devicetree: add PHY lane swap binding

2016-11-01 Thread Jon Mason
Add the documentation for PHY lane swapping. This is a boolean entry to notify the phy device drivers that the TX/RX lanes need to be swapped. Signed-off-by: Jon Mason --- Documentation/devicetree/bindings/net/phy.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation

[PATCH v4 0/7] add NS2 support to bgmac

2016-11-01 Thread Jon Mason
Northstar2 SoC to the bgmac driver. This necessitates adding support to connect to an externally defined phy (as described in the device tree) in the driver. These phy changes are in addition to the changes necessary to get NS2 working. Jon Mason (7): net: phy: broadcom: add bcm54xx_a

[PATCH v4 0/7] add NS2 support to bgmac

2016-11-01 Thread Jon Mason
Northstar2 SoC to the bgmac driver. This necessitates adding support to connect to an externally defined phy (as described in the device tree) in the driver. These phy changes are in addition to the changes necessary to get NS2 working. Jon Mason (7): net: phy: broadcom: add bcm54xx_a

Re: [PATCH v3 2/6] net: phy: broadcom: Add BCM54810 PHY entry

2016-11-01 Thread Jon Mason
On Tue, Nov 01, 2016 at 07:46:39PM +0100, Andrew Lunn wrote: > Hi Jon > > > @@ -56,6 +57,8 @@ > > #define PHY_BRCM_EXT_IBND_TX_ENABLE0x2000 > > #define PHY_BRCM_CLEAR_RGMII_MODE 0x4000 > > #define PHY_BRCM_DIS_TXCRXC_NOENRGY0x8000 > > +#define

Re: [PATCH v3 2/6] net: phy: broadcom: Add BCM54810 PHY entry

2016-11-01 Thread Jon Mason
On Tue, Nov 01, 2016 at 07:46:39PM +0100, Andrew Lunn wrote: > Hi Jon > > > @@ -56,6 +57,8 @@ > > #define PHY_BRCM_EXT_IBND_TX_ENABLE0x2000 > > #define PHY_BRCM_CLEAR_RGMII_MODE 0x4000 > > #define PHY_BRCM_DIS_TXCRXC_NOENRGY0x8000 > > +#define

Re: [PATCH v3 0/6] add NS2 support to bgmac

2016-11-01 Thread Jon Mason
On Tue, Nov 01, 2016 at 11:01:19AM -0700, Scott Branden wrote: > Hi Jon, > > On 16-11-01 10:51 AM, Jon Mason wrote: > >Changes in v3: > >* Clean-up the bgmac DT binding doc (per Rob Herring) > >* Document the lane swap binding and make it generic (Per Andrew Lunn) &

Re: [PATCH v3 0/6] add NS2 support to bgmac

2016-11-01 Thread Jon Mason
On Tue, Nov 01, 2016 at 11:01:19AM -0700, Scott Branden wrote: > Hi Jon, > > On 16-11-01 10:51 AM, Jon Mason wrote: > >Changes in v3: > >* Clean-up the bgmac DT binding doc (per Rob Herring) > >* Document the lane swap binding and make it generic (Per Andrew Lunn) &

[PATCH v3 0/6] add NS2 support to bgmac

2016-11-01 Thread Jon Mason
evice tree) in the driver. These phy changes are in addition to the changes necessary to get NS2 working. Jon Mason (6): net: phy: broadcom: add bcm54xx_auxctl_read net: phy: broadcom: Add BCM54810 PHY entry Documentation: devicetree: net: add NS2 bindings to amac net: ethernet: bgmac: devic

[PATCH v3 0/6] add NS2 support to bgmac

2016-11-01 Thread Jon Mason
evice tree) in the driver. These phy changes are in addition to the changes necessary to get NS2 working. Jon Mason (6): net: phy: broadcom: add bcm54xx_auxctl_read net: phy: broadcom: Add BCM54810 PHY entry Documentation: devicetree: net: add NS2 bindings to amac net: ethernet: bgmac: devic

[PATCH v3 5/6] net: ethernet: bgmac: add NS2 support

2016-11-01 Thread Jon Mason
of the pending interrupts on init is required due to observed issues on some platforms. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- drivers/net/ethernet/broadcom/bgmac-platform.c | 56 +- drivers/net/ethernet/broadcom/bgmac.c | 3 ++ drive

[PATCH v3 1/6] net: phy: broadcom: add bcm54xx_auxctl_read

2016-11-01 Thread Jon Mason
Add a helper function to read the AUXCTL register for the BCM54xx. This mirrors the bcm54xx_auxctl_write function already present in the code. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- drivers/net/phy/broadcom.c | 10 ++ include/linux/brcmphy.h| 1 + 2 files chang

[PATCH v3 1/6] net: phy: broadcom: add bcm54xx_auxctl_read

2016-11-01 Thread Jon Mason
Add a helper function to read the AUXCTL register for the BCM54xx. This mirrors the bcm54xx_auxctl_write function already present in the code. Signed-off-by: Jon Mason --- drivers/net/phy/broadcom.c | 10 ++ include/linux/brcmphy.h| 1 + 2 files changed, 11 insertions(+) diff

[PATCH v3 5/6] net: ethernet: bgmac: add NS2 support

2016-11-01 Thread Jon Mason
of the pending interrupts on init is required due to observed issues on some platforms. Signed-off-by: Jon Mason --- drivers/net/ethernet/broadcom/bgmac-platform.c | 56 +- drivers/net/ethernet/broadcom/bgmac.c | 3 ++ drivers/net/ethernet/broadcom/bgmac.h

[PATCH v3 4/6] net: ethernet: bgmac: device tree phy enablement

2016-11-01 Thread Jon Mason
Change the bgmac driver to allow for phy's defined by the device tree Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- drivers/net/ethernet/broadcom/bgmac-bcma.c | 48 drivers/net/ethernet/broadcom/bgmac-platform.c | 48 +++- drive

[PATCH v3 4/6] net: ethernet: bgmac: device tree phy enablement

2016-11-01 Thread Jon Mason
Change the bgmac driver to allow for phy's defined by the device tree Signed-off-by: Jon Mason --- drivers/net/ethernet/broadcom/bgmac-bcma.c | 48 drivers/net/ethernet/broadcom/bgmac-platform.c | 48 +++- drivers/net/ethernet/broadcom/bgmac.c

[PATCH v3 2/6] net: phy: broadcom: Add BCM54810 PHY entry

2016-11-01 Thread Jon Mason
if it is applicable. Inspired-by: Vikas Soni <vs...@broadcom.com> Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- drivers/net/phy/Kconfig| 2 +- drivers/net/phy/broadcom.c | 58 +- include/linux/brcmphy.h| 10 3 files changed, 68 inse

[PATCH v3 2/6] net: phy: broadcom: Add BCM54810 PHY entry

2016-11-01 Thread Jon Mason
if it is applicable. Inspired-by: Vikas Soni Signed-off-by: Jon Mason --- drivers/net/phy/Kconfig| 2 +- drivers/net/phy/broadcom.c | 58 +- include/linux/brcmphy.h| 10 3 files changed, 68 insertions(+), 2 deletions(-) diff --git a/drivers/net/phy

[PATCH v3 6/6] arm64: dts: NS2: add AMAC ethernet support

2016-11-01 Thread Jon Mason
Add support for the AMAC ethernet to the Broadcom Northstar2 SoC device tree Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 5 + arch/arm64/boot/dts/broadcom/ns2.dtsi| 12 2 files changed, 17 insertions(+) diff --git

[PATCH v3 6/6] arm64: dts: NS2: add AMAC ethernet support

2016-11-01 Thread Jon Mason
Add support for the AMAC ethernet to the Broadcom Northstar2 SoC device tree Signed-off-by: Jon Mason --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 5 + arch/arm64/boot/dts/broadcom/ns2.dtsi| 12 2 files changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom

<    1   2   3   4   5   6   7   8   9   10   >