[PATCH v3 3/6] 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 v3 3/6] 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

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

2016-11-01 Thread Jon Mason
On Tue, Nov 01, 2016 at 05:26:48PM +0100, Andrew Lunn wrote: > > > > + if (of_property_read_bool(np, "brcm,enet-phy-lane-swap")) { > > > > + /* Lane Swap - Undocumented register...magic! */ > > > > + ret = bcm_phy_write_exp(phydev, MII_BCM54XX_EXP_SEL_ER > > > >

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

2016-11-01 Thread Jon Mason
On Tue, Nov 01, 2016 at 05:26:48PM +0100, Andrew Lunn wrote: > > > > + if (of_property_read_bool(np, "brcm,enet-phy-lane-swap")) { > > > > + /* Lane Swap - Undocumented register...magic! */ > > > > + ret = bcm_phy_write_exp(phydev, MII_BCM54XX_EXP_SEL_ER > > > >

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

2016-11-01 Thread Jon Mason
On Sat, Oct 29, 2016 at 10:18:39AM +0200, Andrew Lunn wrote: > On Fri, Oct 28, 2016 at 04:56:55PM -0400, Jon Mason wrote: > > The BCM54810 PHY requires some semi-unique configuration, which results > > in some additional configuration in addition to the standard config. >

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

2016-11-01 Thread Jon Mason
On Sat, Oct 29, 2016 at 10:18:39AM +0200, Andrew Lunn wrote: > On Fri, Oct 28, 2016 at 04:56:55PM -0400, Jon Mason wrote: > > The BCM54810 PHY requires some semi-unique configuration, which results > > in some additional configuration in addition to the standard config. >

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

2016-10-28 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 v2 0/6] add NS2 support to bgmac

2016-10-28 Thread Jon Mason
amac found in the Broadcom 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 (6): net: phy: bro

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

2016-10-28 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 v2 0/6] add NS2 support to bgmac

2016-10-28 Thread Jon Mason
amac found in the Broadcom 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 (6): net: phy: bro

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

2016-10-28 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 v2 5/6] net: ethernet: bgmac: add NS2 support

2016-10-28 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 v2 1/6] net: phy: broadcom: add bcm54xx_auxctl_read

2016-10-28 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 v2 5/6] net: ethernet: bgmac: add NS2 support

2016-10-28 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 v2 1/6] net: phy: broadcom: add bcm54xx_auxctl_read

2016-10-28 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 v2 6/6] arm64: dts: NS2: add AMAC ethernet support

2016-10-28 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 v2 3/6] Documentation: devicetree: net: add NS2 bindings to amac

2016-10-28 Thread Jon Mason
Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- Documentation/devicetree/bindings/net/brcm,amac.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/net/brcm,amac.txt b/Documentation/devicetree/bindings/net/brcm,amac.txt

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

2016-10-28 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 v2 4/6] net: ethernet: bgmac: device tree phy enablement

2016-10-28 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 v2 3/6] Documentation: devicetree: net: add NS2 bindings to amac

2016-10-28 Thread Jon Mason
Signed-off-by: Jon Mason --- Documentation/devicetree/bindings/net/brcm,amac.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/net/brcm,amac.txt b/Documentation/devicetree/bindings/net/brcm,amac.txt index ba5ecc1..f2b194e 100644

Re: [PATCH 1/5] net: phy: broadcom: Add BCM54810 phy entry

2016-10-27 Thread Jon Mason
On Thu, Oct 27, 2016 at 11:15:05AM +0200, Andrew Lunn wrote: > On Wed, Oct 26, 2016 at 03:35:57PM -0400, Jon Mason wrote: > > From: Vikas Soni <vs...@broadcom.com> > > > > Add BCM54810 phy entry > > Hi Jon, Vikis > > The subject line is a bit misleading.

Re: [PATCH 1/5] net: phy: broadcom: Add BCM54810 phy entry

2016-10-27 Thread Jon Mason
On Thu, Oct 27, 2016 at 11:15:05AM +0200, Andrew Lunn wrote: > On Wed, Oct 26, 2016 at 03:35:57PM -0400, Jon Mason wrote: > > From: Vikas Soni > > > > Add BCM54810 phy entry > > Hi Jon, Vikis > > The subject line is a bit misleading. It does more than add a

Re: [PATCH 2/5] Documentation: devicetree: net: add NS2 bindings to amac

2016-10-27 Thread Jon Mason
On Thu, Oct 27, 2016 at 11:17:57AM +0200, Andrew Lunn wrote: > On Wed, Oct 26, 2016 at 03:35:58PM -0400, Jon Mason wrote: > > Signed-off-by: Jon Mason <jon.ma...@broadcom.com> > > --- > > Documentation/devicetree/bindings/net/brcm,amac.txt | 7 +-- > > 1

Re: [PATCH 2/5] Documentation: devicetree: net: add NS2 bindings to amac

2016-10-27 Thread Jon Mason
On Thu, Oct 27, 2016 at 11:17:57AM +0200, Andrew Lunn wrote: > On Wed, Oct 26, 2016 at 03:35:58PM -0400, Jon Mason wrote: > > Signed-off-by: Jon Mason > > --- > > Documentation/devicetree/bindings/net/brcm,amac.txt | 7 +-- > > 1 file changed, 5 insertions(+), 2

Re: [PATCH 4/5] net: ethernet: bgmac: add NS2 support

2016-10-27 Thread Jon Mason
On Wed, Oct 26, 2016 at 02:50:39PM -0700, Florian Fainelli wrote: > On 10/26/2016 12:36 PM, Jon Mason wrote: > > Add support for the variant of amac hardware present in the Broadcom > > Northstar2 based SoCs. Northstar2 requires an additional register to be > > configure

Re: [PATCH 4/5] net: ethernet: bgmac: add NS2 support

2016-10-27 Thread Jon Mason
On Wed, Oct 26, 2016 at 02:50:39PM -0700, Florian Fainelli wrote: > On 10/26/2016 12:36 PM, Jon Mason wrote: > > Add support for the variant of amac hardware present in the Broadcom > > Northstar2 based SoCs. Northstar2 requires an additional register to be > > configure

[PATCH 1/5] net: phy: broadcom: Add BCM54810 phy entry

2016-10-26 Thread Jon Mason
From: Vikas Soni <vs...@broadcom.com> Add BCM54810 phy entry Signed-off-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 | 65 +++

[PATCH 1/5] net: phy: broadcom: Add BCM54810 phy entry

2016-10-26 Thread Jon Mason
From: Vikas Soni Add BCM54810 phy entry Signed-off-by: Vikas Soni Signed-off-by: Jon Mason --- drivers/net/phy/Kconfig| 2 +- drivers/net/phy/broadcom.c | 65 ++ include/linux/brcmphy.h| 7 + 3 files changed, 73 insertions(+), 1

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

2016-10-26 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 3/5] net: ethernet: bgmac: device tree phy enablement

2016-10-26 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 5/5] arm64: dts: NS2: add AMAC ethernet support

2016-10-26 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 3/5] net: ethernet: bgmac: device tree phy enablement

2016-10-26 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 4/5] net: ethernet: bgmac: add NS2 support

2016-10-26 Thread Jon Mason
, the bgmac_chip_reset() was intentionally removed to prevent the resetting of the chip to the default values on open. Finally, clearing 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/et

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

2016-10-26 Thread Jon Mason
, the bgmac_chip_reset() was intentionally removed to prevent the resetting of the chip to the default values on open. Finally, clearing 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 | 64

[PATCH 2/5] Documentation: devicetree: net: add NS2 bindings to amac

2016-10-26 Thread Jon Mason
Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- Documentation/devicetree/bindings/net/brcm,amac.txt | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/net/brcm,amac.txt b/Documentation/devicetree/bindings/net/brcm,amac.txt

[PATCH 2/5] Documentation: devicetree: net: add NS2 bindings to amac

2016-10-26 Thread Jon Mason
Signed-off-by: Jon Mason --- Documentation/devicetree/bindings/net/brcm,amac.txt | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/net/brcm,amac.txt b/Documentation/devicetree/bindings/net/brcm,amac.txt index ba5ecc1..f92caee 100644

[PATCH 0/5] add NS2 support to bgmac

2016-10-26 Thread Jon Mason
(based on the net-next git tree) has been tested on NSP and NS2 HW. Jon Mason (4): Documentation: devicetree: net: add NS2 bindings to amac net: ethernet: bgmac: device tree phy enablement net: ethernet: bgmac: add NS2 support arm64: dts: NS2: add AMAC ethernet support Vikas Soni (1

[PATCH 0/5] add NS2 support to bgmac

2016-10-26 Thread Jon Mason
(based on the net-next git tree) has been tested on NSP and NS2 HW. Jon Mason (4): Documentation: devicetree: net: add NS2 bindings to amac net: ethernet: bgmac: device tree phy enablement net: ethernet: bgmac: add NS2 support arm64: dts: NS2: add AMAC ethernet support Vikas Soni (1

Re: [PATCH] net: bgmac: fix spelling mistake: "connecton" -> "connection"

2016-10-25 Thread Jon Mason
On Mon, Oct 24, 2016 at 11:46:18PM +0100, Colin King wrote: > From: Colin Ian King <colin.k...@canonical.com> > > trivial fix to spelling mistake in dev_err message > > Signed-off-by: Colin Ian King <colin.k...@canonical.com> One of these days I'll learn to spell.

Re: [PATCH] net: bgmac: fix spelling mistake: "connecton" -> "connection"

2016-10-25 Thread Jon Mason
On Mon, Oct 24, 2016 at 11:46:18PM +0100, Colin King wrote: > From: Colin Ian King > > trivial fix to spelling mistake in dev_err message > > Signed-off-by: Colin Ian King One of these days I'll learn to spell. Acked-by: Jon Mason > --- > drivers/net/ethernet/broadco

[PATCH] net: bgmac: Fix errant feature flag check

2016-10-05 Thread Jon Mason
During the conversion to the feature flags, a check against ci->id != BCMA_CHIP_ID_BCM47162 became bgmac->feature_flags & BGMAC_FEAT_CLKCTLS instead of !(bgmac->feature_flags & BGMAC_FEAT_CLKCTLS) Reported-by: Rafał Miłecki <zaj...@gmail.com> Signed-off-by: Jon Mason

[PATCH] net: bgmac: Fix errant feature flag check

2016-10-05 Thread Jon Mason
During the conversion to the feature flags, a check against ci->id != BCMA_CHIP_ID_BCM47162 became bgmac->feature_flags & BGMAC_FEAT_CLKCTLS instead of !(bgmac->feature_flags & BGMAC_FEAT_CLKCTLS) Reported-by: Rafał Miłecki Signed-off-by: Jon Mason --- drivers/net/ethernet/bro

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

2016-09-20 Thread Jon Mason
On Tue, Sep 20, 2016 at 1:19 AM, Rafał Miłecki <zaj...@gmail.com> wrote: > On 17 August 2016 at 13:34, Rafał Miłecki <zaj...@gmail.com> wrote: >> On 8 July 2016 at 01:08, Jon Mason <jon.ma...@broadcom.com> wrote: >>> mode = (bgmac_read(bgmac,

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

2016-09-20 Thread Jon Mason
On Tue, Sep 20, 2016 at 1:19 AM, Rafał Miłecki wrote: > On 17 August 2016 at 13:34, Rafał Miłecki wrote: >> On 8 July 2016 at 01:08, Jon Mason wrote: >>> mode = (bgmac_read(bgmac, BGMAC_DEV_STATUS) & BGMAC_DS_MM_MASK) >> >>> BGMA

Re: [PATCH 2/2] ntb: make DMA_OUT_RESOURCE_TO HZ independent

2016-08-23 Thread Jon Mason
On Mon, Aug 22, 2016 at 12:58 PM, Jiang, Dave wrote: > > On Mon, 2016-08-22 at 18:51 +0200, Nicholas Mc Guire wrote: >> schedule_timeout_* takes a timeout in jiffies but the code currently >> is >> passing in a constant which makes this timeout HZ dependent, so pass >> it >>

Re: [PATCH 2/2] ntb: make DMA_OUT_RESOURCE_TO HZ independent

2016-08-23 Thread Jon Mason
On Mon, Aug 22, 2016 at 12:58 PM, Jiang, Dave wrote: > > On Mon, 2016-08-22 at 18:51 +0200, Nicholas Mc Guire wrote: >> schedule_timeout_* takes a timeout in jiffies but the code currently >> is >> passing in a constant which makes this timeout HZ dependent, so pass >> it >> through

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

2016-08-15 Thread Jon Mason
ceptable to me Reviewed-and-tested-by: Jon Mason <jon.ma...@broadcom.com> > --- > I don't have this h/w. Appreciate if someone can test this patch serial. > This was sent on http://www.spinics.net/lists/netdev/msg383513.html > > drivers/phy/phy-bcm-ns2-pcie.c | 25 +---

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

2016-08-15 Thread Jon Mason
On Fri, Aug 12, 2016 at 9:43 PM, Axel Lin wrote: > By setting phy_set_drvdata(phy, mdiodev), struct ns2_pci_phy can be > removed. > > Signed-off-by: Axel Lin This patch and the following one work on my NS2, and generally look acceptable to me Reviewed-and-tested-by: Jon Mason >

Re: [PATCH V3] clk: bcm: Add driver for Northstar ILP clock

2016-08-11 Thread Jon Mason
On Thu, Aug 11, 2016 at 4:49 AM, Rafał Miłecki <zaj...@gmail.com> wrote: > On 10 August 2016 at 20:21, Jon Mason <jon.ma...@broadcom.com> wrote: >> On Wed, Aug 10, 2016 at 1:44 PM, Ray Jui <ray@broadcom.com> wrote: >>> On 8/10/2016 10:28 AM, Rafał Miłeck

Re: [PATCH V3] clk: bcm: Add driver for Northstar ILP clock

2016-08-11 Thread Jon Mason
On Thu, Aug 11, 2016 at 4:49 AM, Rafał Miłecki wrote: > On 10 August 2016 at 20:21, Jon Mason wrote: >> On Wed, Aug 10, 2016 at 1:44 PM, Ray Jui wrote: >>> On 8/10/2016 10:28 AM, Rafał Miłecki wrote: >>>> >>>> On 10 August 2016 at 19:22, Jon Mason wr

Re: [PATCH V3] clk: bcm: Add driver for Northstar ILP clock

2016-08-10 Thread Jon Mason
On Wed, Aug 10, 2016 at 1:44 PM, Ray Jui <ray@broadcom.com> wrote: > > > On 8/10/2016 10:28 AM, Rafał Miłecki wrote: >> >> On 10 August 2016 at 19:22, Jon Mason <jon.ma...@broadcom.com> wrote: >>> >>> On Wed, Aug 10, 2016 at 8:05 AM, Rafał Mił

Re: [PATCH V3] clk: bcm: Add driver for Northstar ILP clock

2016-08-10 Thread Jon Mason
On Wed, Aug 10, 2016 at 1:44 PM, Ray Jui wrote: > > > On 8/10/2016 10:28 AM, Rafał Miłecki wrote: >> >> On 10 August 2016 at 19:22, Jon Mason wrote: >>> >>> On Wed, Aug 10, 2016 at 8:05 AM, Rafał Miłecki wrote: >>>> >>>> diff

Re: [PATCH V3] clk: bcm: Add driver for Northstar ILP clock

2016-08-10 Thread Jon Mason
On Wed, Aug 10, 2016 at 8:05 AM, Rafał Miłecki wrote: > From: Rafał Miłecki > > This clock is present on cheaper Northstar devices like BCM53573 or > BCM47189 using Corex-A7. ILP is a part of PMU (Power Management Unit) > and so it should be defined as one of

Re: [PATCH V3] clk: bcm: Add driver for Northstar ILP clock

2016-08-10 Thread Jon Mason
On Wed, Aug 10, 2016 at 8:05 AM, Rafał Miłecki wrote: > From: Rafał Miłecki > > This clock is present on cheaper Northstar devices like BCM53573 or > BCM47189 using Corex-A7. ILP is a part of PMU (Power Management Unit) > and so it should be defined as one of its subnodes (subdevices). For >

Re: [PATCH] NTB: ntb_hw_intel: Fix typo in module parameter descriptions

2016-08-08 Thread Jon Mason
On Mon, Aug 8, 2016 at 9:08 AM, Allen Hubbe wrote: > From: Wei Yongjun >> Fix typo in module parameter descriptions. >> >> Signed-off-by: Wei Yongjun > > Acked-by: Allen Hubbe Another good catch. Applied to the ntb branch. Thanks,

Re: [PATCH] NTB: ntb_hw_intel: Fix typo in module parameter descriptions

2016-08-08 Thread Jon Mason
On Mon, Aug 8, 2016 at 9:08 AM, Allen Hubbe wrote: > From: Wei Yongjun >> Fix typo in module parameter descriptions. >> >> Signed-off-by: Wei Yongjun > > Acked-by: Allen Hubbe Another good catch. Applied to the ntb branch. Thanks, Jon > >> --- >> drivers/ntb/hw/intel/ntb_hw_intel.c | 12

Re: [PATCH] ntb_pingpong: Fix db_init parameter description

2016-08-08 Thread Jon Mason
On Mon, Aug 8, 2016 at 9:07 AM, Allen Hubbe wrote: > From: Wei Yongjun >> Fix 'db_init' parameter description. >> >> Signed-off-by: Wei Yongjun > > Acked-by: Allen Hubbe Good catch! Applied to the ntb branch. Thanks, Jon > >> ---

Re: [PATCH] ntb_pingpong: Fix db_init parameter description

2016-08-08 Thread Jon Mason
On Mon, Aug 8, 2016 at 9:07 AM, Allen Hubbe wrote: > From: Wei Yongjun >> Fix 'db_init' parameter description. >> >> Signed-off-by: Wei Yongjun > > Acked-by: Allen Hubbe Good catch! Applied to the ntb branch. Thanks, Jon > >> --- >> drivers/ntb/test/ntb_pingpong.c | 2 +- >> 1 file

[GIT PULL] NTB bug fixes for v4.8

2016-08-05 Thread Jon Mason
Hello Linus, Here are a few NTB improvements and bug fixes for 4.8. Please consider pulling them. Thanks, Jon The following changes since commit 523d939ef98fd712632d93a5a2b588e477a7565e: Linux 4.7 (2016-07-24 12:23:50 -0700) are available in the git repository at:

[GIT PULL] NTB bug fixes for v4.8

2016-08-05 Thread Jon Mason
Hello Linus, Here are a few NTB improvements and bug fixes for 4.8. Please consider pulling them. Thanks, Jon The following changes since commit 523d939ef98fd712632d93a5a2b588e477a7565e: Linux 4.7 (2016-07-24 12:23:50 -0700) are available in the git repository at:

[PATCH 07/11] ARM: dts: NSP: Add new DT file for bcm958525er

2016-08-03 Thread Jon Mason
Create a new device tree file for the Broadcom Northstar Plus bcm958525er SVK. This SVK has 2GB RAM, 2 ports Ethernet, 2 eSATA, 2 PCI slots, and 1 UART. Also, it has the ability to reboot via GPIO. To be added in the future is support for the USB. Signed-off-by: Jon Mason <jon

[PATCH 07/11] ARM: dts: NSP: Add new DT file for bcm958525er

2016-08-03 Thread Jon Mason
Create a new device tree file for the Broadcom Northstar Plus bcm958525er SVK. This SVK has 2GB RAM, 2 ports Ethernet, 2 eSATA, 2 PCI slots, and 1 UART. Also, it has the ability to reboot via GPIO. To be added in the future is support for the USB. Signed-off-by: Jon Mason --- arch/arm/boot

[PATCH 05/11] ARM: dts: NSP: Add GPIO reboot method to bcm958625hr DTS file

2016-08-03 Thread Jon Mason
Add the ability to reboot the bcm958625hr board via GPIO. Unfortunately, not all of the NSP based boards use the same GPIO pin and one doesn't have the ability to reboot via GPIO at all. So, this will need to be specified per DTS file. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> ---

[PATCH 05/11] ARM: dts: NSP: Add GPIO reboot method to bcm958625hr DTS file

2016-08-03 Thread Jon Mason
Add the ability to reboot the bcm958625hr board via GPIO. Unfortunately, not all of the NSP based boards use the same GPIO pin and one doesn't have the ability to reboot via GPIO at all. So, this will need to be specified per DTS file. Signed-off-by: Jon Mason --- arch/arm/boot/dts

[PATCH 04/11] ARM: dts: NSP: Specify RAM amount for BCM958525XMC board

2016-08-03 Thread Jon Mason
Add 1GB of memory starting at physical offset 0x6000_. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- arch/arm/boot/dts/bcm958525xmc.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/bcm958525xmc.dts b/arch/arm/boot/dts/bcm958525xmc.dts index a

[PATCH 06/11] ARM: dts: NSP: Add GPIO reboot method to bcm958625xmc DTS file

2016-08-03 Thread Jon Mason
Add the ability to reboot the bcm958625xmc board via GPIO. Unfortunately, not all of the NSP based boards use the same GPIO pin and one doesn't have the ability to reboot via GPIO at all. So, this will need to be specified per DTS file. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> ---

[PATCH 04/11] ARM: dts: NSP: Specify RAM amount for BCM958525XMC board

2016-08-03 Thread Jon Mason
Add 1GB of memory starting at physical offset 0x6000_. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm958525xmc.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/bcm958525xmc.dts b/arch/arm/boot/dts/bcm958525xmc.dts index a337f2d..9517360 100644 --- a/arch

[PATCH 06/11] ARM: dts: NSP: Add GPIO reboot method to bcm958625xmc DTS file

2016-08-03 Thread Jon Mason
Add the ability to reboot the bcm958625xmc board via GPIO. Unfortunately, not all of the NSP based boards use the same GPIO pin and one doesn't have the ability to reboot via GPIO at all. So, this will need to be specified per DTS file. Signed-off-by: Jon Mason --- arch/arm/boot/dts

[PATCH 10/11] ARM: dts: NSP: Add new DT file for bcm958623hr

2016-08-03 Thread Jon Mason
Create a new device tree file for the Broadcom Northstar Plus bcm958623hr SVK. This SVK has 2GB RAM, 5 ports Ethernet, SATA, 2 PCI slots, and 1 UART. Also, it has the ability to reboot via GPIO. To be added in the future are support for the USB and SLIC audio. Signed-off-by: Jon Mason <jon

[PATCH 01/11] ARM: dts: NSP: Enable SATA on bcm958625hr

2016-08-03 Thread Jon Mason
Add SATA support to bcm958625hr DTS Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- arch/arm/boot/dts/bcm958625hr.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/bcm958625hr.dts b/arch/arm/boot/dts/bcm958625hr.dts index 4239e58..78970b9

[PATCH 09/11] ARM: dts: NSP: Add new DT file for bcm988312hr

2016-08-03 Thread Jon Mason
Create a new device tree file for the Broadcom Northstar Plus bcm988312hr SVK. This SVK has 2GB RAM, 5 ports Ethernet, 2 eSATA, 2 PCI slots, and 1 UART. Also, it has the ability to reboot via GPIO. To be added in the future is support for the USB. Signed-off-by: Jon Mason <jon

[PATCH 11/11] ARM: dts: NSP: Add new DT file for bcm958622hr

2016-08-03 Thread Jon Mason
Create a new device tree file for the Broadcom Northstar Plus bcm958622hr SVK. This SVK has 2GB RAM, 5 port Ethernet, 2 PCI slots, and 1 UART. Also, it has the ability to reboot via GPIO. To be added in the future are support for the USB and SLIC audio. Signed-off-by: Jon Mason <jon

[PATCH 08/11] ARM: dts: NSP: Add new DT file for bcm958522er

2016-08-03 Thread Jon Mason
Create a new device tree file for the Broadcom Northstar Plus bcm958522er SVK. This SVK has 2GB RAM, 2 ports Ethernet, 2 PCI slots, and 1 UART. Also, it has the ability to reboot via GPIO. To be added in the future is support for the USB. Signed-off-by: Jon Mason <jon.ma...@broadcom.

[PATCH 10/11] ARM: dts: NSP: Add new DT file for bcm958623hr

2016-08-03 Thread Jon Mason
Create a new device tree file for the Broadcom Northstar Plus bcm958623hr SVK. This SVK has 2GB RAM, 5 ports Ethernet, SATA, 2 PCI slots, and 1 UART. Also, it has the ability to reboot via GPIO. To be added in the future are support for the USB and SLIC audio. Signed-off-by: Jon Mason

[PATCH 01/11] ARM: dts: NSP: Enable SATA on bcm958625hr

2016-08-03 Thread Jon Mason
Add SATA support to bcm958625hr DTS Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm958625hr.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/bcm958625hr.dts b/arch/arm/boot/dts/bcm958625hr.dts index 4239e58..78970b9 100644 --- a/arch/arm/boot/dts

[PATCH 09/11] ARM: dts: NSP: Add new DT file for bcm988312hr

2016-08-03 Thread Jon Mason
Create a new device tree file for the Broadcom Northstar Plus bcm988312hr SVK. This SVK has 2GB RAM, 5 ports Ethernet, 2 eSATA, 2 PCI slots, and 1 UART. Also, it has the ability to reboot via GPIO. To be added in the future is support for the USB. Signed-off-by: Jon Mason --- arch/arm/boot

[PATCH 11/11] ARM: dts: NSP: Add new DT file for bcm958622hr

2016-08-03 Thread Jon Mason
Create a new device tree file for the Broadcom Northstar Plus bcm958622hr SVK. This SVK has 2GB RAM, 5 port Ethernet, 2 PCI slots, and 1 UART. Also, it has the ability to reboot via GPIO. To be added in the future are support for the USB and SLIC audio. Signed-off-by: Jon Mason --- arch/arm

[PATCH 08/11] ARM: dts: NSP: Add new DT file for bcm958522er

2016-08-03 Thread Jon Mason
Create a new device tree file for the Broadcom Northstar Plus bcm958522er SVK. This SVK has 2GB RAM, 2 ports Ethernet, 2 PCI slots, and 1 UART. Also, it has the ability to reboot via GPIO. To be added in the future is support for the USB. Signed-off-by: Jon Mason --- arch/arm/boot/dts

[PATCH 02/11] ARM: dts: NSP: Enable SATA and add i2c devices on XMC

2016-08-03 Thread Jon Mason
Enable SATA on bcm958625xmc and add the i2c devices present. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- arch/arm/boot/dts/bcm958525xmc.dts | 32 +++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/bcm958525xmc.dts

[PATCH 02/11] ARM: dts: NSP: Enable SATA and add i2c devices on XMC

2016-08-03 Thread Jon Mason
Enable SATA on bcm958625xmc and add the i2c devices present. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm958525xmc.dts | 32 +++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/bcm958525xmc.dts b/arch/arm/boot/dts

[PATCH 00/11] ARM: dts: NSP: define SATA, Reboot, RAM and new device tree files

2016-08-03 Thread Jon Mason
is done. I thought it better to do it this way instead of splitting it off and sending it as a follow-on in a couple of weeks. Let me know if it is preferred I do it that way. Thanks, Jon Jon Mason (11): ARM: dts: NSP: Enable SATA on bcm958625hr ARM: dts: NSP: Enable SATA and add i2c devices

[PATCH 03/11] ARM: dts: NSP: Specify RAM amount for BCM958625K board

2016-08-03 Thread Jon Mason
Add 2GB of memory starting at physical offset 0x6000_. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- arch/arm/boot/dts/bcm958625k.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/bcm958625k.dts b/arch/arm/boot/dts/bcm958625k.dts index f41a13b..f

[PATCH 00/11] ARM: dts: NSP: define SATA, Reboot, RAM and new device tree files

2016-08-03 Thread Jon Mason
is done. I thought it better to do it this way instead of splitting it off and sending it as a follow-on in a couple of weeks. Let me know if it is preferred I do it that way. Thanks, Jon Jon Mason (11): ARM: dts: NSP: Enable SATA on bcm958625hr ARM: dts: NSP: Enable SATA and add i2c devices

[PATCH 03/11] ARM: dts: NSP: Specify RAM amount for BCM958625K board

2016-08-03 Thread Jon Mason
Add 2GB of memory starting at physical offset 0x6000_. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm958625k.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/bcm958625k.dts b/arch/arm/boot/dts/bcm958625k.dts index f41a13b..feed1b7 100644 --- a/arch/arm/boot

Re: [PATCH 1/1] net: s2io: simplify logical constraint

2016-08-01 Thread Jon Mason
On Sun, Jul 31, 2016 at 5:53 AM, Heinrich Schuchardt <xypron.g...@gmx.de> wrote: > (!A || (A && B)) is equivalent to (!A || B) Seems logical to me. Acked-by: Jon Mason <jdma...@kudzu.us> > Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de> > --- > dr

Re: [PATCH 1/1] net: s2io: simplify logical constraint

2016-08-01 Thread Jon Mason
On Sun, Jul 31, 2016 at 5:53 AM, Heinrich Schuchardt wrote: > (!A || (A && B)) is equivalent to (!A || B) Seems logical to me. Acked-by: Jon Mason > Signed-off-by: Heinrich Schuchardt > --- > drivers/net/ethernet/neterion/s2io.c | 2 +- > 1 file changed, 1 i

[PATCH v2] ARM: dts: NSP: Correct RAM amount for BCM958625HR board

2016-07-14 Thread Jon Mason
The BCM958625HR board has 2GB of RAM available. Increase the amount from 512MB to 2GB and add the device type to the memory entry. Fixes: 9a4865d42fe5 ("ARM: dts: NSP: Specify RAM amount for BCM958625HR board") Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- a

[PATCH v2] ARM: dts: NSP: Correct RAM amount for BCM958625HR board

2016-07-14 Thread Jon Mason
The BCM958625HR board has 2GB of RAM available. Increase the amount from 512MB to 2GB and add the device type to the memory entry. Fixes: 9a4865d42fe5 ("ARM: dts: NSP: Specify RAM amount for BCM958625HR board") Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm958625hr.dts | 3 +

Re: [PATCH] ARM: dts: NSP: Correct RAM amount for BCM958625HR board

2016-07-14 Thread Jon Mason
On Wed, Jul 13, 2016 at 5:23 PM, Florian Fainelli <f.faine...@gmail.com> wrote: > On 07/13/2016 11:18 AM, Jon Mason wrote: >> The BCM958625HR board has 2GB of RAM available. Increase the amount >> from 512MB to 2GB and add the device type to the memory entry. >>

Re: [PATCH] ARM: dts: NSP: Correct RAM amount for BCM958625HR board

2016-07-14 Thread Jon Mason
On Wed, Jul 13, 2016 at 5:23 PM, Florian Fainelli wrote: > On 07/13/2016 11:18 AM, Jon Mason wrote: >> The BCM958625HR board has 2GB of RAM available. Increase the amount >> from 512MB to 2GB and add the device type to the memory entry. >> >> Signed-off-by: Jon Maso

[PATCH] ARM: dts: NSP: Correct RAM amount for BCM958625HR board

2016-07-13 Thread Jon Mason
The BCM958625HR board has 2GB of RAM available. Increase the amount from 512MB to 2GB and add the device type to the memory entry. Signed-off-by: Jon Mason <jon.ma...@broadcom.com> --- arch/arm/boot/dts/bcm958625hr.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH] ARM: dts: NSP: Correct RAM amount for BCM958625HR board

2016-07-13 Thread Jon Mason
The BCM958625HR board has 2GB of RAM available. Increase the amount from 512MB to 2GB and add the device type to the memory entry. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm958625hr.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts

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

2016-07-08 Thread Jon Mason
On Thu, Jul 7, 2016 at 7:08 PM, Jon Mason <jon.ma...@broadcom.com> wrote: > David Miller, Please consider including patches 1-5 in net-next > > Florian Fainelli, Please consider including patches 6 & 7 in > devicetree/next Oops. I didn't send out the 7th patch in thi

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

2016-07-08 Thread Jon Mason
On Thu, Jul 7, 2016 at 7:08 PM, Jon Mason wrote: > David Miller, Please consider including patches 1-5 in net-next > > Florian Fainelli, Please consider including patches 6 & 7 in > devicetree/next Oops. I didn't send out the 7th patch in this series. Sending out shortly as 7

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

2016-07-08 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 7/7] ARM: dts: NSP: Add bgmac entries

2016-07-08 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 v2 3/6] net: ethernet: bgmac: move BCMA MDIO Phy code into a separate file

2016-07-07 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.com>

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

2016-07-07 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> Acked-by: Arnd Bergmann <a...@arndb.de> ---

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

2016-07-07 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 Acked-by: Arnd Bergmann

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

2016-07-07 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 Acked-by: Arnd Bergmann --- drivers/net/ethernet/broadcom/Kconfig | 23

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