[PATCH v2 4/6] net: ethernet: bgmac: convert to feature flags

2016-07-07 Thread Jon Mason
that struct. In place of that, each "feature" has been given a flag, and the flags are enabled for their respective device and SoC. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> Acked-by: Arnd Bergmann <a...@arndb.de> --- drivers/net/ethernet/

[PATCH v2 6/6] dt-bindings: net: bgmac: add bindings documentation for bgmac

2016-07-07 Thread Jon Mason
Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- .../devicetree/bindings/net/brcm,amac.txt | 24 ++ .../devicetree/bindings/net/brcm,bgmac-nsp.txt | 24 ++ 2 files changed, 48 insertions(+) create mode 100644 Documentation/devi

[PATCH v2 4/6] net: ethernet: bgmac: convert to feature flags

2016-07-07 Thread Jon Mason
that struct. In place of that, each "feature" has been given a flag, and the flags are enabled for their respective device and SoC. Signed-off-by: Jon Mason Acked-by: Arnd Bergmann --- drivers/net/ethernet/broadcom/bgmac.c | 167 -- drivers/net/ethernet/broadc

[PATCH v2 6/6] dt-bindings: net: bgmac: add bindings documentation for bgmac

2016-07-07 Thread Jon Mason
Signed-off-by: Jon Mason --- .../devicetree/bindings/net/brcm,amac.txt | 24 ++ .../devicetree/bindings/net/brcm,bgmac-nsp.txt | 24 ++ 2 files changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/brcm,amac.txt

[PATCH v2 2/6] net: ethernet: bgmac: add dma_dev pointer

2016-07-07 Thread Jon Mason
-by: Jon Mason <jon.ma...@broadcom.com> Acked-by: Arnd Bergmann <a...@arndb.de> --- drivers/net/ethernet/broadcom/bgmac.c | 17 + drivers/net/ethernet/broadcom/bgmac.h | 1 + 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/drivers/net/ethernet/broadco

[PATCH v2 1/6] net: ethernet: bgmac: change bgmac_* prints to dev_* prints

2016-07-07 Thread Jon Mason
netdev_* prints are more appropriate, so change those as well. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> Acked-by: Arnd Bergmann <a...@arndb.de> --- drivers/net/ethernet/broadcom/bgmac.c | 103 +- drivers/net/ethernet/broadcom/bgmac.h | 14 +-

[PATCH v2 0/6] net: ethernet: bgmac: Add platform device support

2016-07-07 Thread Jon Mason
board (NS SoC), and that the platform code works using a 58625K board (NSP SoC). Thanks, Jon Jon Mason (6): net: ethernet: bgmac: change bgmac_* prints to dev_* prints net: ethernet: bgmac: add dma_dev pointer net: ethernet: bgmac: move BCMA MDIO Phy code into a separate file net: ethernet: bgmac: conv

[PATCH v2 2/6] net: ethernet: bgmac: add dma_dev pointer

2016-07-07 Thread Jon Mason
-by: Jon Mason Acked-by: Arnd Bergmann --- drivers/net/ethernet/broadcom/bgmac.c | 17 + drivers/net/ethernet/broadcom/bgmac.h | 1 + 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/drivers/net/ethernet/broadcom/bgmac.c b/drivers/net/ethernet/broadcom/bgmac.c index

[PATCH v2 1/6] net: ethernet: bgmac: change bgmac_* prints to dev_* prints

2016-07-07 Thread Jon Mason
netdev_* prints are more appropriate, so change those as well. Signed-off-by: Jon Mason Acked-by: Arnd Bergmann --- drivers/net/ethernet/broadcom/bgmac.c | 103 +- drivers/net/ethernet/broadcom/bgmac.h | 14 + 2 files changed, 55 insertions(+), 62 deletions

[PATCH v2 0/6] net: ethernet: bgmac: Add platform device support

2016-07-07 Thread Jon Mason
board (NS SoC), and that the platform code works using a 58625K board (NSP SoC). Thanks, Jon Jon Mason (6): net: ethernet: bgmac: change bgmac_* prints to dev_* prints net: ethernet: bgmac: add dma_dev pointer net: ethernet: bgmac: move BCMA MDIO Phy code into a separate file net: ethernet: bgmac: conv

Re: [PATCH 6/7] dt-bindings: net: bgmac: add bindings documentation for bgmac

2016-07-07 Thread Jon Mason
On Wed, Jul 6, 2016 at 3:34 AM, Arnd Bergmann <a...@arndb.de> wrote: > On Tuesday, July 5, 2016 7:18:45 PM CEST Jon Mason wrote: >> > >> > Ok, then I'd suggest making the compatible string here >> > >> > compatible = "brcm,nsp-amac",

Re: [PATCH 6/7] dt-bindings: net: bgmac: add bindings documentation for bgmac

2016-07-07 Thread Jon Mason
On Wed, Jul 6, 2016 at 3:34 AM, Arnd Bergmann wrote: > On Tuesday, July 5, 2016 7:18:45 PM CEST Jon Mason wrote: >> > >> > Ok, then I'd suggest making the compatible string here >> > >> > compatible = "brcm,nsp-amac", "brcm,amac&quo

Re: [PATCH 6/7] dt-bindings: net: bgmac: add bindings documentation for bgmac

2016-07-05 Thread Jon Mason
On Tue, Jul 5, 2016 at 9:37 AM, Arnd Bergmann <a...@arndb.de> wrote: > On Monday, July 4, 2016 9:34:35 AM CEST Ray Jui wrote: >> On 7/1/2016 8:42 AM, Arnd Bergmann wrote: >> > On Friday, July 1, 2016 11:17:25 AM CEST Jon Mason wrote: >> >> On Fri, J

Re: [PATCH 6/7] dt-bindings: net: bgmac: add bindings documentation for bgmac

2016-07-05 Thread Jon Mason
On Tue, Jul 5, 2016 at 9:37 AM, Arnd Bergmann wrote: > On Monday, July 4, 2016 9:34:35 AM CEST Ray Jui wrote: >> On 7/1/2016 8:42 AM, Arnd Bergmann wrote: >> > On Friday, July 1, 2016 11:17:25 AM CEST Jon Mason wrote: >> >> On Fri, Jul 1, 2016 at 5:46 AM, Arnd Bergm

Re: [PATCH 6/7] dt-bindings: net: bgmac: add bindings documentation for bgmac

2016-07-01 Thread Jon Mason
On Fri, Jul 1, 2016 at 5:46 AM, Arnd Bergmann <a...@arndb.de> wrote: > On Thursday, June 30, 2016 6:59:13 PM CEST Jon Mason wrote: >> + >> +Required properties: >> + - compatible: "brcm,bgmac-nsp" >> + - reg:Address and length of the

Re: [PATCH 6/7] dt-bindings: net: bgmac: add bindings documentation for bgmac

2016-07-01 Thread Jon Mason
On Fri, Jul 1, 2016 at 5:46 AM, Arnd Bergmann wrote: > On Thursday, June 30, 2016 6:59:13 PM CEST Jon Mason wrote: >> + >> +Required properties: >> + - compatible: "brcm,bgmac-nsp" >> + - reg:Address and length of the GMAC registers,

Re: [PATCH 6/7] dt-bindings: net: bgmac: add bindings documentation for bgmac

2016-07-01 Thread Jon Mason
On Thu, Jun 30, 2016 at 10:56 PM, Rob Herring <r...@kernel.org> wrote: > On Thu, Jun 30, 2016 at 06:59:13PM -0400, Jon Mason wrote: >> Signed-off-by: Jon Mason <jon.ma...@broadcom.com> >> --- >> .../devicetree/bindings/net/brcm,bgmac-nsp.txt | 24 >> ++

Re: [PATCH 6/7] dt-bindings: net: bgmac: add bindings documentation for bgmac

2016-07-01 Thread Jon Mason
On Thu, Jun 30, 2016 at 10:56 PM, Rob Herring wrote: > On Thu, Jun 30, 2016 at 06:59:13PM -0400, Jon Mason wrote: >> Signed-off-by: Jon Mason >> --- >> .../devicetree/bindings/net/brcm,bgmac-nsp.txt | 24 >> ++ >> 1 file changed, 24 ins

[PATCH 3/7] net: ethernet: bgmac: move BCMA MDIO Phy code into a separate file

2016-06-30 Thread Jon Mason
more changes to the driver. Note: the phy_reset was intentionally removed, as the mdio phy subsystem automatically resets the phy if a reset function pointer is present. In addition to the moving of the driver, this reset function is added. Signed-off-by: Jon Mason <jon.ma...@broadcom.

[PATCH 5/7] net: ethernet: bgmac: Add platform device support

2016-06-30 Thread Jon Mason
platform functions that access the same areas via MMIO. This necessitated adding function pointers for both platform and bcma to hide which backend is being used from the generic bgmac code. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- drivers/net/ethernet/broadcom/Kconfig

[PATCH 3/7] net: ethernet: bgmac: move BCMA MDIO Phy code into a separate file

2016-06-30 Thread Jon Mason
more changes to the driver. Note: the phy_reset was intentionally removed, as the mdio phy subsystem automatically resets the phy if a reset function pointer is present. In addition to the moving of the driver, this reset function is added. Signed-off-by: Jon Mason --- drivers/net/ethernet

[PATCH 5/7] net: ethernet: bgmac: Add platform device support

2016-06-30 Thread Jon Mason
platform functions that access the same areas via MMIO. This necessitated adding function pointers for both platform and bcma to hide which backend is being used from the generic bgmac code. Signed-off-by: Jon Mason --- drivers/net/ethernet/broadcom/Kconfig | 23 +- drivers/net/ethernet

[PATCH 2/7] net: ethernet: bgmac: add dma_dev pointer

2016-06-30 Thread Jon Mason
-by: Jon Mason <jon.ma...@broadcom.com> --- drivers/net/ethernet/broadcom/bgmac.c | 17 + drivers/net/ethernet/broadcom/bgmac.h | 1 + 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/drivers/net/ethernet/broadcom/bgmac.c b/drivers/net/ethernet/broadcom/bgmac.c

[PATCH 7/7] ARM: dts: NSP: Add bgmac entries

2016-06-30 Thread Jon Mason
Add device tree entries for the ethernet devices present on the Broadcom Northstar Plus SoCs Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- arch/arm/boot/dts/bcm-nsp.dtsi | 18 ++ arch/arm/boot/dts/bcm958625k.dts | 8 2 files changed, 26 insertions(+)

[PATCH 2/7] net: ethernet: bgmac: add dma_dev pointer

2016-06-30 Thread Jon Mason
-by: Jon Mason --- drivers/net/ethernet/broadcom/bgmac.c | 17 + drivers/net/ethernet/broadcom/bgmac.h | 1 + 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/drivers/net/ethernet/broadcom/bgmac.c b/drivers/net/ethernet/broadcom/bgmac.c index 37b3b68..3614bd8 100644

[PATCH 7/7] ARM: dts: NSP: Add bgmac entries

2016-06-30 Thread Jon Mason
Add device tree entries for the ethernet devices present on the Broadcom Northstar Plus SoCs Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm-nsp.dtsi | 18 ++ arch/arm/boot/dts/bcm958625k.dts | 8 2 files changed, 26 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH 0/7] net: ethernet: bgmac: Add platform device support

2016-06-30 Thread Jon Mason
tform code works using a 58625K board (NSP SoC). Thanks, Jon Jon Mason (7): net: ethernet: bgmac: change bgmac_* prints to dev_* prints net: ethernet: bgmac: add dma_dev pointer net: ethernet: bgmac: move BCMA MDIO Phy code into a separate file net: ethernet: bgmac: convert to feature f

[PATCH 6/7] dt-bindings: net: bgmac: add bindings documentation for bgmac

2016-06-30 Thread Jon Mason
Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- .../devicetree/bindings/net/brcm,bgmac-nsp.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/brcm,bgmac-nsp.txt diff --git a/Documentation/devicetree/bindin

[PATCH 4/7] net: ethernet: bgmac: convert to feature flags

2016-06-30 Thread Jon Mason
that struct. In place of that, each "feature" has been given a flag, and the flags are enabled for their respective device and SoC. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- drivers/net/ethernet/broadcom/bgmac.c | 167 -- drivers/net/ethernet/

[PATCH 0/7] net: ethernet: bgmac: Add platform device support

2016-06-30 Thread Jon Mason
tform code works using a 58625K board (NSP SoC). Thanks, Jon Jon Mason (7): net: ethernet: bgmac: change bgmac_* prints to dev_* prints net: ethernet: bgmac: add dma_dev pointer net: ethernet: bgmac: move BCMA MDIO Phy code into a separate file net: ethernet: bgmac: convert to feature f

[PATCH 6/7] dt-bindings: net: bgmac: add bindings documentation for bgmac

2016-06-30 Thread Jon Mason
Signed-off-by: Jon Mason --- .../devicetree/bindings/net/brcm,bgmac-nsp.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/brcm,bgmac-nsp.txt diff --git a/Documentation/devicetree/bindings/net/brcm,bgmac-nsp.txt b

[PATCH 4/7] net: ethernet: bgmac: convert to feature flags

2016-06-30 Thread Jon Mason
that struct. In place of that, each "feature" has been given a flag, and the flags are enabled for their respective device and SoC. Signed-off-by: Jon Mason --- drivers/net/ethernet/broadcom/bgmac.c | 167 -- drivers/net/ethernet/broadcom/bgmac.h | 21

[PATCH 1/7] net: ethernet: bgmac: change bgmac_* prints to dev_* prints

2016-06-30 Thread Jon Mason
netdev_* prints are more appropriate, so change those as well. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- drivers/net/ethernet/broadcom/bgmac.c | 103 +- drivers/net/ethernet/broadcom/bgmac.h | 14 + 2 files changed, 55 insertions(+), 62 del

[PATCH 1/7] net: ethernet: bgmac: change bgmac_* prints to dev_* prints

2016-06-30 Thread Jon Mason
netdev_* prints are more appropriate, so change those as well. Signed-off-by: Jon Mason --- drivers/net/ethernet/broadcom/bgmac.c | 103 +- drivers/net/ethernet/broadcom/bgmac.h | 14 + 2 files changed, 55 insertions(+), 62 deletions(-) diff --git a/drivers/net

Re: [RFC 6/7] dt-bindings: net: bgmac: add bindings documentation for bgmac

2016-06-30 Thread Jon Mason
On Thu, Jun 30, 2016 at 2:06 PM, Ray Jui <ray@broadcom.com> wrote: > Hi Jon, > > On 6/28/2016 12:34 PM, Jon Mason wrote: >> >> Signed-off-by: Jon Mason <jon.ma...@broadcom.com> >> --- >> .../devicetree/bindings/net/brcm,bgmac-enet.txt | 21 &g

Re: [RFC 6/7] dt-bindings: net: bgmac: add bindings documentation for bgmac

2016-06-30 Thread Jon Mason
On Thu, Jun 30, 2016 at 2:06 PM, Ray Jui wrote: > Hi Jon, > > On 6/28/2016 12:34 PM, Jon Mason wrote: >> >> Signed-off-by: Jon Mason >> --- >> .../devicetree/bindings/net/brcm,bgmac-enet.txt | 21 >> + >> 1 file cha

Re: [RFC 5/7] net: ethernet: bgmac: Add platform device support

2016-06-30 Thread Jon Mason
On Thu, Jun 30, 2016 at 1:58 PM, Ray Jui <ray@broadcom.com> wrote: > Hi Jon, > > > On 6/28/2016 12:34 PM, Jon Mason wrote: >> >> The bcma portion of the driver has been split off into a bcma specific >> driver. This has been mirrored for the plat

Re: [RFC 5/7] net: ethernet: bgmac: Add platform device support

2016-06-30 Thread Jon Mason
On Thu, Jun 30, 2016 at 1:58 PM, Ray Jui wrote: > Hi Jon, > > > On 6/28/2016 12:34 PM, Jon Mason wrote: >> >> The bcma portion of the driver has been split off into a bcma specific >> driver. This has been mirrored for the platform driver. The last >> ref

Re: [RFC 3/7] net: ethernet: bgmac: move BCMA MDIO Phy code into a separate file

2016-06-29 Thread Jon Mason
On Wed, Jun 29, 2016 at 4:15 PM, Andrew Lunn <and...@lunn.ch> wrote: > On Wed, Jun 29, 2016 at 04:08:20PM -0400, Jon Mason wrote: >> On Wed, Jun 29, 2016 at 2:46 PM, Andrew Lunn <and...@lunn.ch> wrote: >> > On Wed, Jun 29, 2016 at 11:35:28AM -0700, Florian Fainelli wr

Re: [RFC 3/7] net: ethernet: bgmac: move BCMA MDIO Phy code into a separate file

2016-06-29 Thread Jon Mason
On Wed, Jun 29, 2016 at 4:15 PM, Andrew Lunn wrote: > On Wed, Jun 29, 2016 at 04:08:20PM -0400, Jon Mason wrote: >> On Wed, Jun 29, 2016 at 2:46 PM, Andrew Lunn wrote: >> > On Wed, Jun 29, 2016 at 11:35:28AM -0700, Florian Fainelli wrote: >> >> On 06/29/20

Re: [RFC 1/7] net: ethernet: bgmac: change bgmac_* prints to dev_* prints

2016-06-29 Thread Jon Mason
On Tue, Jun 28, 2016 at 3:43 PM, Joe Perches <j...@perches.com> wrote: > On Tue, 2016-06-28 at 15:34 -0400, Jon Mason wrote: >> The bgmac_* print wrappers call dev_* prints with the dev pointer from >> the bcma core. In anticipation of removing the bcma requirement for >&

Re: [RFC 1/7] net: ethernet: bgmac: change bgmac_* prints to dev_* prints

2016-06-29 Thread Jon Mason
On Tue, Jun 28, 2016 at 3:43 PM, Joe Perches wrote: > On Tue, 2016-06-28 at 15:34 -0400, Jon Mason wrote: >> The bgmac_* print wrappers call dev_* prints with the dev pointer from >> the bcma core. In anticipation of removing the bcma requirement for >> this driver,

Re: [RFC 3/7] net: ethernet: bgmac: move BCMA MDIO Phy code into a separate file

2016-06-29 Thread Jon Mason
On Wed, Jun 29, 2016 at 2:46 PM, Andrew Lunn wrote: > On Wed, Jun 29, 2016 at 11:35:28AM -0700, Florian Fainelli wrote: >> On 06/29/2016 07:13 AM, Andrew Lunn wrote: >> > Hi Jon >> > >> > I know you are just refactoring code, but at some point it would be >> > good to take a

Re: [RFC 3/7] net: ethernet: bgmac: move BCMA MDIO Phy code into a separate file

2016-06-29 Thread Jon Mason
On Wed, Jun 29, 2016 at 2:46 PM, Andrew Lunn wrote: > On Wed, Jun 29, 2016 at 11:35:28AM -0700, Florian Fainelli wrote: >> On 06/29/2016 07:13 AM, Andrew Lunn wrote: >> > Hi Jon >> > >> > I know you are just refactoring code, but at some point it would be >> > good to take a closer look at this

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

2016-06-28 Thread Jon Mason
On Tue, Jun 28, 2016 at 6:13 PM, Scott Branden <scott.bran...@broadcom.com> wrote: > > > On 16-06-28 03:10 PM, Jon Mason wrote: >> >> From: Jon Mason <jonma...@broadcom.com> >> >> Add the ability to reboot via a reset of the processor. This is >

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

2016-06-28 Thread Jon Mason
On Tue, Jun 28, 2016 at 6:13 PM, Scott Branden wrote: > > > On 16-06-28 03:10 PM, Jon Mason wrote: >> >> From: Jon Mason >> >> Add the ability to reboot via a reset of the processor. This is >> achieved via a write of 0x39 to the CRU Reset Register. Unfo

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

2016-06-28 Thread Jon Mason
From: Jon Mason <jonma...@broadcom.com> Add the ability to reboot via a reset of the processor. This is achieved via a write of 0x39 to the CRU Reset Register. Unfortunately, this only resets the core and not the other IP blocks. So if possible, other methods should be used on the indi

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

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

[PATCH 2/2] arm: dts: nsp: Add syscon based reboot in DT

2016-06-28 Thread Jon Mason
From: Jon Mason <jonma...@broadcom.com> Add the ability to reboot via a reset of the processor. This is achieved via a write of 0x2f9 to the CRU Reset Register. Unfortunately, this only resets the core and not the other IP blocks. So if possible, other methods should be used on the indi

[PATCH 2/2] arm: dts: nsp: Add syscon based reboot in DT

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

[PATCH 0/2] arm: dts: syscon based reboot in DT

2016-06-28 Thread Jon Mason
or less identical to syscon-reboot? Thanks, Jon Jon Mason (2): arm: dts: bcm5301x: Add syscon based reboot in DT arm: dts: nsp: Add syscon based reboot in DT arch/arm/boot/dts/bcm-nsp.dtsi | 12 arch/arm/boot/dts/bcm5301x.dtsi | 12 2 files changed, 24 insertions

[PATCH 0/2] arm: dts: syscon based reboot in DT

2016-06-28 Thread Jon Mason
or less identical to syscon-reboot? Thanks, Jon Jon Mason (2): arm: dts: bcm5301x: Add syscon based reboot in DT arm: dts: nsp: Add syscon based reboot in DT arch/arm/boot/dts/bcm-nsp.dtsi | 12 arch/arm/boot/dts/bcm5301x.dtsi | 12 2 files changed, 24 insertions

[RFC 3/7] net: ethernet: bgmac: move BCMA MDIO Phy code into a separate file

2016-06-28 Thread Jon Mason
more changes to the driver. Note: the phy_reset was intentionally removed, as the mdio phy subsystem automatically resets the phy if a reset function pointer is present. In addition to the moving of the driver, this reset function is added. Signed-off-by: Jon Mason <jon.ma...@broadcom.

[RFC 3/7] net: ethernet: bgmac: move BCMA MDIO Phy code into a separate file

2016-06-28 Thread Jon Mason
more changes to the driver. Note: the phy_reset was intentionally removed, as the mdio phy subsystem automatically resets the phy if a reset function pointer is present. In addition to the moving of the driver, this reset function is added. Signed-off-by: Jon Mason --- drivers/net/ethernet

[RFC 4/7] net: ethernet: bgmac: convert to feature flags

2016-06-28 Thread Jon Mason
that struct. In place of that, each "feature" has been given a flag, and the flags are enabled for their respective device and SoC. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- drivers/net/ethernet/broadcom/bgmac.c | 167 -- drivers/net/ethernet/

[RFC 4/7] net: ethernet: bgmac: convert to feature flags

2016-06-28 Thread Jon Mason
that struct. In place of that, each "feature" has been given a flag, and the flags are enabled for their respective device and SoC. Signed-off-by: Jon Mason --- drivers/net/ethernet/broadcom/bgmac.c | 167 -- drivers/net/ethernet/broadcom/bgmac.h | 21

[RFC 0/7] net: ethernet: bgmac: Add platform device support

2016-06-28 Thread Jon Mason
ch the NSP bgmac can use for the external MDIO Phy to properly connect (instead of using the fixed phy). Thanks, Jon Jon Mason (7): net: ethernet: bgmac: change bgmac_* prints to dev_* prints net: ethernet: bgmac: add dma_dev pointer net: ethernet: bgmac: move BCMA MDIO Phy code into a sep

[RFC 0/7] net: ethernet: bgmac: Add platform device support

2016-06-28 Thread Jon Mason
ch the NSP bgmac can use for the external MDIO Phy to properly connect (instead of using the fixed phy). Thanks, Jon Jon Mason (7): net: ethernet: bgmac: change bgmac_* prints to dev_* prints net: ethernet: bgmac: add dma_dev pointer net: ethernet: bgmac: move BCMA MDIO Phy code into a sep

[RFC 5/7] net: ethernet: bgmac: Add platform device support

2016-06-28 Thread Jon Mason
platform functions that access the same areas via MMIO. This necessitated adding function pointers for both platform and bcma to hide which backend is being used from the generic bgmac code. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- drivers/net/ethernet/broadcom/Kconfig

[RFC 5/7] net: ethernet: bgmac: Add platform device support

2016-06-28 Thread Jon Mason
platform functions that access the same areas via MMIO. This necessitated adding function pointers for both platform and bcma to hide which backend is being used from the generic bgmac code. Signed-off-by: Jon Mason --- drivers/net/ethernet/broadcom/Kconfig | 23 +- drivers/net/ethernet

[RFC 7/7] ARM: dts: NSP: Add bgmac entries

2016-06-28 Thread Jon Mason
Add device tree entries for the ethernet devices present on the Broadcom Northstar Plus SoCs Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- arch/arm/boot/dts/bcm-nsp.dtsi | 16 arch/arm/boot/dts/bcm958625k.dts | 8 2 files changed, 24 insertions(+) diff

[RFC 7/7] ARM: dts: NSP: Add bgmac entries

2016-06-28 Thread Jon Mason
Add device tree entries for the ethernet devices present on the Broadcom Northstar Plus SoCs Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm-nsp.dtsi | 16 arch/arm/boot/dts/bcm958625k.dts | 8 2 files changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/bcm

[RFC 2/7] net: ethernet: bgmac: add dma_dev pointer

2016-06-28 Thread Jon Mason
-by: Jon Mason <jon.ma...@broadcom.com> --- drivers/net/ethernet/broadcom/bgmac.c | 17 + drivers/net/ethernet/broadcom/bgmac.h | 1 + 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/drivers/net/ethernet/broadcom/bgmac.c b/drivers/net/ethernet/broadcom/bgmac.c

[RFC 2/7] net: ethernet: bgmac: add dma_dev pointer

2016-06-28 Thread Jon Mason
-by: Jon Mason --- drivers/net/ethernet/broadcom/bgmac.c | 17 + drivers/net/ethernet/broadcom/bgmac.h | 1 + 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/drivers/net/ethernet/broadcom/bgmac.c b/drivers/net/ethernet/broadcom/bgmac.c index 2ab0887..b5c35bc 100644

[RFC 6/7] dt-bindings: net: bgmac: add bindings documentation for bgmac

2016-06-28 Thread Jon Mason
Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- .../devicetree/bindings/net/brcm,bgmac-enet.txt | 21 + 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/brcm,bgmac-enet.txt diff --git a/Documentation/devicetree/bindin

[RFC 1/7] net: ethernet: bgmac: change bgmac_* prints to dev_* prints

2016-06-28 Thread Jon Mason
netdev_* prints are more appropriate, so change those as well. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- drivers/net/ethernet/broadcom/bgmac.c | 105 +- drivers/net/ethernet/broadcom/bgmac.h | 14 + 2 files changed, 56 insertions(+), 63 del

[RFC 6/7] dt-bindings: net: bgmac: add bindings documentation for bgmac

2016-06-28 Thread Jon Mason
Signed-off-by: Jon Mason --- .../devicetree/bindings/net/brcm,bgmac-enet.txt | 21 + 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/brcm,bgmac-enet.txt diff --git a/Documentation/devicetree/bindings/net/brcm,bgmac-enet.txt b

[RFC 1/7] net: ethernet: bgmac: change bgmac_* prints to dev_* prints

2016-06-28 Thread Jon Mason
netdev_* prints are more appropriate, so change those as well. Signed-off-by: Jon Mason --- drivers/net/ethernet/broadcom/bgmac.c | 105 +- drivers/net/ethernet/broadcom/bgmac.h | 14 + 2 files changed, 56 insertions(+), 63 deletions(-) diff --git a/drivers/net

Re: [PATCH v5 00/10] NTB Selftest Script

2016-06-26 Thread Jon Mason
On Mon, Jun 20, 2016 at 01:15:03PM -0600, Logan Gunthorpe wrote: > Sorry, I thought this was done but I found one more minor issue with > these patches so I'm resubmitting them one last time. Besides this isuse, > I think I have acks for all the patches and everything is working as I'd > like.

Re: [PATCH v5 00/10] NTB Selftest Script

2016-06-26 Thread Jon Mason
On Mon, Jun 20, 2016 at 01:15:03PM -0600, Logan Gunthorpe wrote: > Sorry, I thought this was done but I found one more minor issue with > these patches so I'm resubmitting them one last time. Besides this isuse, > I think I have acks for all the patches and everything is working as I'd > like.

[PATCH 3/4] MAINTAINERS: Update BCM63XX entry

2016-06-20 Thread Jon Mason
There are more files being supported by the BCM63XX than simply "arch/arm/mach-bcm/bcm63xx.c" and "arch/arm/include/debug/bcm63xx.S". Add a regex of "bcm63xx" to catch all the other files that are out there. Signed-off-by: Jon Mason <jon.ma...@broadcom.com&

[PATCH 3/4] MAINTAINERS: Update BCM63XX entry

2016-06-20 Thread Jon Mason
There are more files being supported by the BCM63XX than simply "arch/arm/mach-bcm/bcm63xx.c" and "arch/arm/include/debug/bcm63xx.S". Add a regex of "bcm63xx" to catch all the other files that are out there. Signed-off-by: Jon Mason --- MAINTAINERS | 3 +-- 1 f

[PATCH 0/4] MAINTAINERS: update BCM SoC entries

2016-06-20 Thread Jon Mason
An overall clean-up to the MAINTAINER entries for a few Broadcom SoCs. Jon Mason (4): MAINTAINERS: Fix nsp false-positives MAINTAINERS: Add NS2 entry MAINTAINERS: Update BCM63XX entry MAINTAINERS: Update BCM281XX/BCM11XXX/BCM216XX entry MAINTAINERS | 19 +-- 1 file

[PATCH 2/4] MAINTAINERS: Add NS2 entry

2016-06-20 Thread Jon Mason
Add NS2 to the Broadcom iProc Subsystem maintainers entry. Since most of the NS2 entries are already covered via the ns* already present there, all that is currently needed is to reference the device tree files. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- MAINTAINERS | 1 +

[PATCH 0/4] MAINTAINERS: update BCM SoC entries

2016-06-20 Thread Jon Mason
An overall clean-up to the MAINTAINER entries for a few Broadcom SoCs. Jon Mason (4): MAINTAINERS: Fix nsp false-positives MAINTAINERS: Add NS2 entry MAINTAINERS: Update BCM63XX entry MAINTAINERS: Update BCM281XX/BCM11XXX/BCM216XX entry MAINTAINERS | 19 +-- 1 file

[PATCH 2/4] MAINTAINERS: Add NS2 entry

2016-06-20 Thread Jon Mason
Add NS2 to the Broadcom iProc Subsystem maintainers entry. Since most of the NS2 entries are already covered via the ns* already present there, all that is currently needed is to reference the device tree files. Signed-off-by: Jon Mason --- MAINTAINERS | 1 + 1 file changed, 1 insertion

[PATCH 1/4] MAINTAINERS: Fix nsp false-positives

2016-06-20 Thread Jon Mason
e regex and add file entries for those that do not naturally match this new regex. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- MAINTAINERS | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 7304d2e..18b235a 100644 --- a/MAINTAINERS ++

[PATCH 1/4] MAINTAINERS: Fix nsp false-positives

2016-06-20 Thread Jon Mason
e regex and add file entries for those that do not naturally match this new regex. Signed-off-by: Jon Mason --- MAINTAINERS | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 7304d2e..18b235a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2601,7 +260

Re: [PATCH 8/8] ntb_test: Add a selftest script for the NTB subsystem

2016-06-14 Thread Jon Mason
gt; > diff --git a/MAINTAINERS b/MAINTAINERS > index 9c567a4..f178e7e 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -7846,6 +7846,7 @@ F:drivers/ntb/ > F: drivers/net/ntb_netdev.c > F: include/linux/ntb.h > F: include/linux/ntb_transport.h &

Re: [PATCH 8/8] ntb_test: Add a selftest script for the NTB subsystem

2016-06-14 Thread Jon Mason
index 9c567a4..f178e7e 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -7846,6 +7846,7 @@ F:drivers/ntb/ > F: drivers/net/ntb_netdev.c > F: include/linux/ntb.h > F: include/linux/ntb_transport.h > +F: tools/testing/selftests/ntb/ > > NT

[tip:x86/boot] MAINTAINERS: Update the Calgary IOMMU entry

2016-06-14 Thread tip-bot for Jon Mason
Commit-ID: 8d950d2fb23b696d393020486ab6a350bcb2c582 Gitweb: http://git.kernel.org/tip/8d950d2fb23b696d393020486ab6a350bcb2c582 Author: Jon Mason <jdma...@kudzu.us> AuthorDate: Thu, 9 Jun 2016 13:24:19 -0400 Committer: Ingo Molnar <mi...@kernel.org> CommitDate: Tue, 14 Jun 2

[tip:x86/boot] MAINTAINERS: Update the Calgary IOMMU entry

2016-06-14 Thread tip-bot for Jon Mason
Commit-ID: 8d950d2fb23b696d393020486ab6a350bcb2c582 Gitweb: http://git.kernel.org/tip/8d950d2fb23b696d393020486ab6a350bcb2c582 Author: Jon Mason AuthorDate: Thu, 9 Jun 2016 13:24:19 -0400 Committer: Ingo Molnar CommitDate: Tue, 14 Jun 2016 12:02:29 +0200 MAINTAINERS: Update

Re: [RFC 1/1] ARM: print MHz in /proc/cpuinfo

2016-06-09 Thread Jon Mason
On Thu, Jun 9, 2016 at 5:09 AM, Sudeep Holla <sudeep.ho...@arm.com> wrote: > > > On 08/06/16 20:31, Jon Mason wrote: >> >> On Wed, Jun 08, 2016 at 09:34:06AM +0100, Sudeep Holla wrote: >>> >>> >>> >>> On 07/06/16 22:08, Jon Mas

Re: [RFC 1/1] ARM: print MHz in /proc/cpuinfo

2016-06-09 Thread Jon Mason
On Thu, Jun 9, 2016 at 5:09 AM, Sudeep Holla wrote: > > > On 08/06/16 20:31, Jon Mason wrote: >> >> On Wed, Jun 08, 2016 at 09:34:06AM +0100, Sudeep Holla wrote: >>> >>> >>> >>> On 07/06/16 22:08, Jon Mason wrote: >>>> >>

[PATCH 0/1] MAINTAINERS: Update Calgary IOMMU

2016-06-09 Thread Jon Mason
resulted in agreement of me resending the original patch. Since it was so long ago I don't want to call this a "RESEND", but that is technically accurate. Jon Mason (1): MAINTAINERS: Update Calgary IOMMU MAINTAINERS | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.1.4

[PATCH 0/1] MAINTAINERS: Update Calgary IOMMU

2016-06-09 Thread Jon Mason
resulted in agreement of me resending the original patch. Since it was so long ago I don't want to call this a "RESEND", but that is technically accurate. Jon Mason (1): MAINTAINERS: Update Calgary IOMMU MAINTAINERS | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.1.4

[PATCH 1/1] MAINTAINERS: Update Calgary IOMMU

2016-06-09 Thread Jon Mason
Update the contact info for Muli, clean-up my name, and update the mailing list to the IOMMU mailing list. Signed-off-by: Jon Mason <jdma...@kudzu.us> Cc: Muli Ben-Yehuda <mu...@mulix.org> --- MAINTAINERS | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/M

[PATCH 1/1] MAINTAINERS: Update Calgary IOMMU

2016-06-09 Thread Jon Mason
Update the contact info for Muli, clean-up my name, and update the mailing list to the IOMMU mailing list. Signed-off-by: Jon Mason Cc: Muli Ben-Yehuda --- MAINTAINERS | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index ed42cb6..9475395

Re: [PATCH v2 2/3] ntb_transport: Check the number of spads the hardware supports

2016-06-09 Thread Jon Mason
On Tue, Jun 7, 2016 at 1:24 PM, Jiang, Dave wrote: > On Tue, 2016-06-07 at 11:20 -0600, Logan Gunthorpe wrote: >> I'm working on hardware that currently has a limited number of >> scratchpad registers and ntb_ndev fails with no clue as to why. I >> feel it is better to fail

Re: [PATCH v2 2/3] ntb_transport: Check the number of spads the hardware supports

2016-06-09 Thread Jon Mason
On Tue, Jun 7, 2016 at 1:24 PM, Jiang, Dave wrote: > On Tue, 2016-06-07 at 11:20 -0600, Logan Gunthorpe wrote: >> I'm working on hardware that currently has a limited number of >> scratchpad registers and ntb_ndev fails with no clue as to why. I >> feel it is better to fail early and provide a

Re: [RFC 1/1] ARM: print MHz in /proc/cpuinfo

2016-06-08 Thread Jon Mason
On Wed, Jun 08, 2016 at 09:34:06AM +0100, Sudeep Holla wrote: > > > On 07/06/16 22:08, Jon Mason wrote: > >Query the CPU core clock in the device tree to determine the core clock > >speed. > > How do guarantee that it's the current frequency of the CPU ? I am

Re: [RFC 1/1] ARM: print MHz in /proc/cpuinfo

2016-06-08 Thread Jon Mason
On Wed, Jun 08, 2016 at 09:34:06AM +0100, Sudeep Holla wrote: > > > On 07/06/16 22:08, Jon Mason wrote: > >Query the CPU core clock in the device tree to determine the core clock > >speed. > > How do guarantee that it's the current frequency of the CPU ? I am

Re: [RFC 0/1] ARM: print MHz in /proc/cpuinfo

2016-06-07 Thread Jon Mason
On Tue, Jun 07, 2016 at 11:18:10PM +0100, Russell King - ARM Linux wrote: > On Tue, Jun 07, 2016 at 05:08:32PM -0400, Jon Mason wrote: > > Many users (and some applications) are expecting the CPU clock speed to > > be output in /proc/cpuinfo (as is done in x86, avr32, c6x, tile, p

Re: [RFC 0/1] ARM: print MHz in /proc/cpuinfo

2016-06-07 Thread Jon Mason
On Tue, Jun 07, 2016 at 11:18:10PM +0100, Russell King - ARM Linux wrote: > On Tue, Jun 07, 2016 at 05:08:32PM -0400, Jon Mason wrote: > > Many users (and some applications) are expecting the CPU clock speed to > > be output in /proc/cpuinfo (as is done in x86, avr32, c6x, tile, p

[PATCH 1/2] ARM: dts: NSP: Add XMC board support

2016-06-07 Thread Jon Mason
From: Jon Mason <jonma...@broadcom.com> The BCM958525XMC 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 <jonma...@bro

[PATCH 1/2] ARM: dts: NSP: Add XMC board support

2016-06-07 Thread Jon Mason
From: Jon Mason The BCM958525XMC 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/arm/boot/dts/Makefile | 1 + arch

[PATCH 0/2] ARM: dts: NSP: add PL330 support and XMC board

2016-06-07 Thread Jon Mason
Add support for the PL330 DMA engine and the XMC form factor for Broadcom Northstar Plus SoCs Jon Mason (2): ARM: dts: NSP: Add XMC board support ARM: dts: NSP: Add PL330 support arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/bcm-nsp.dtsi | 17 ++ arch/arm/boot/dts

[PATCH 2/2] ARM: dts: NSP: Add PL330 support

2016-06-07 Thread Jon Mason
From: Jon Mason <jonma...@broadcom.com> Add PL330 support to the the Broadcom Northstar Plus device tree. Signed-off-by: Jon Mason <jonma...@broadcom.com> --- arch/arm/boot/dts/bcm-nsp.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/bc

[PATCH 0/2] ARM: dts: NSP: add PL330 support and XMC board

2016-06-07 Thread Jon Mason
Add support for the PL330 DMA engine and the XMC form factor for Broadcom Northstar Plus SoCs Jon Mason (2): ARM: dts: NSP: Add XMC board support ARM: dts: NSP: Add PL330 support arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/bcm-nsp.dtsi | 17 ++ arch/arm/boot/dts

[PATCH 2/2] ARM: dts: NSP: Add PL330 support

2016-06-07 Thread Jon Mason
From: Jon Mason Add PL330 support to the the Broadcom Northstar Plus device tree. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm-nsp.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi index 1759e65

<    3   4   5   6   7   8   9   10   11   12   >