RE: [RESEND PATCH 2/6] staging: fsl-dpaa2/ethsw: Add Freescale DPAA2 Ethernet Switch driver

2017-09-29 Thread Bogdan Purcareata
> Introduce the DPAA2 Ethernet Switch driver, which manages Datapath Switch > (DPSW) objects discovered on the MC bus. > > Suggested-by: Alexandru Marginean > Signed-off-by: Razvan Stefanescu > --- > drivers/staging/fsl-dpaa2/ethsw/Makefile |2 +- > drivers/staging/fsl-dpaa2/ethsw/ethsw.c

[PATCH v4 0/2] net: phy: Support managed Cortina phys

2017-05-29 Thread Bogdan Purcareata
45_ids to describing the device in the device tree via ethernet-phy-id. More patch version changes per individual patches. Bogdan Purcareata (2): net: phy: Add Cortina CS4340 driver dt-bindings: net: Add Cortina device tree bindings Documentation/devicetree/bindings/net/cortina.

[PATCH v4 2/2] dt-bindings: net: Add Cortina device tree bindings

2017-05-29 Thread Bogdan Purcareata
Add device tree description info for Cortina 10G phy devices. Signed-off-by: Bogdan Purcareata --- v3 -> v4: - Consistency nit between phy label and reg value. - Add CORTINNA trademark info. Patch introduced in v3 of the patchset. Documentation/devicetree/bindings/net/cortina.txt |

[PATCH v4 1/2] net: phy: Add Cortina CS4340 driver

2017-05-29 Thread Bogdan Purcareata
t-phy-id" device tree compatible. Signed-off-by: Bogdan Purcareata --- v3 -> v4: - Add CORTINA trademark info. - Change id_lsb and id_msb from u32 to int to cover error checking. v2 -> v3: - Add probe function to check the device we're talking with is the same as the one describ

RE: [PATCH v3 1/2] net: phy: Add Cortina CS4340 driver (fwd)

2017-05-26 Thread Bogdan Purcareata
> -Original Message- > From: Julia Lawall [mailto:julia.law...@lip6.fr] > Sent: Friday, May 26, 2017 5:32 PM > To: Bogdan Purcareata > Cc: and...@lunn.ch; f.faine...@gmail.com; netdev@vger.kernel.org; > devicet...@vger.kernel.org; linux-ker...@vger.kernel.org; kbuild-..

RE: [PATCH v3 2/2] dt-bindings: net: Add Cortina device tree bindings

2017-05-26 Thread Bogdan Purcareata
> -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: Friday, May 26, 2017 4:36 PM > To: Bogdan Purcareata > Cc: f.faine...@gmail.com; netdev@vger.kernel.org; > devicet...@vger.kernel.org; linux-ker...@vger.kernel.org > Subject: Re: [PATCH v3 2/2]

[PATCH v3 2/2] dt-bindings: net: Add Cortina device tree bindings

2017-05-26 Thread Bogdan Purcareata
Add device tree description info for Cortina 10G phy devices. Signed-off-by: Bogdan Purcareata --- Patch introduced in v3 of the patchset. Documentation/devicetree/bindings/net/cortina.txt | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree

[PATCH v3 0/2] net: phy: Support managed Cortina phys

2017-05-26 Thread Bogdan Purcareata
patch version changes per individual patches. Bogdan Purcareata (2): net: phy: Add Cortina CS4340 driver dt-bindings: net: Add Cortina device tree bindings Documentation/devicetree/bindings/net/cortina.txt | 19 drivers/net/phy/Kconfig | 5 + drivers/net/phy/Ma

[PATCH v3 1/2] net: phy: Add Cortina CS4340 driver

2017-05-26 Thread Bogdan Purcareata
t-phy-id" device tree compatible. Signed-off-by: Bogdan Purcareata --- v2 -> v3: - Add probe function to check the device we're talking with is the same as the one described in the device tree. - Change the link status (GPIO interrupt status) register and validate that the read is d

RE: [PATCH v2] drivers: phy: Add Cortina CS4340 driver

2017-05-24 Thread Bogdan Purcareata
> -Original Message- > From: Florian Fainelli [mailto:f.faine...@gmail.com] > Sent: Wednesday, May 24, 2017 8:03 PM > To: Bogdan Purcareata ; Andrew Lunn > > Cc: netdev@vger.kernel.org; linux-ker...@vger.kernel.org > Subject: Re: [PATCH v2] drivers: phy: Add Cortina

RE: [PATCH v2] drivers: phy: Add Cortina CS4340 driver

2017-05-24 Thread Bogdan Purcareata
> -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: Wednesday, May 24, 2017 5:26 PM > To: Bogdan Purcareata > Cc: f.faine...@gmail.com; netdev@vger.kernel.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH v2] drivers: phy: Add Cortina CS4

RE: [PATCH v2] drivers: phy: Add Cortina CS4340 driver

2017-05-24 Thread Bogdan Purcareata
> -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: Wednesday, May 24, 2017 3:59 PM > To: Bogdan Purcareata > Cc: f.faine...@gmail.com; netdev@vger.kernel.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH v2] drivers: phy: Add Cortina

[PATCH v2] drivers: phy: Add Cortina CS4340 driver

2017-05-24 Thread Bogdan Purcareata
hy-id" device tree compatible. Signed-off-by: Bogdan Purcareata --- v1 -> v2: - Rename "mdio-cortina.c" to "cortina.c" since it's a phy driver. - Test probing based on the "ethernet-phy-id" compatible. In the previous version, getting the phy_id via get_p

RE: [PATCH 1/2] net: phy: Update get_phy_c45_ids for Cortina PHYs

2017-05-23 Thread Bogdan Purcareata
> -Original Message- > From: Florian Fainelli [mailto:f.faine...@gmail.com] > Sent: Tuesday, May 23, 2017 9:12 PM > To: Andrew Lunn ; Bogdan Purcareata > > Cc: netdev@vger.kernel.org; linux-ker...@vger.kernel.org > Subject: Re: [PATCH 1/2] net: phy: Update get_phy_c45

RE: [PATCH 2/2] drivers: phy: Add Cortina CS4340 driver

2017-05-23 Thread Bogdan Purcareata
> -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: Tuesday, May 23, 2017 6:57 PM > To: Bogdan Purcareata > Cc: f.faine...@gmail.com; netdev@vger.kernel.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH 2/2] drivers: phy: Add Cortina CS43

RE: [PATCH 1/2] net: phy: Update get_phy_c45_ids for Cortina PHYs

2017-05-23 Thread Bogdan Purcareata
> -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: Tuesday, May 23, 2017 7:04 PM > To: Bogdan Purcareata > Cc: f.faine...@gmail.com; netdev@vger.kernel.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH 1/2] net: phy: Update get_phy_c45

[PATCH 1/2] net: phy: Update get_phy_c45_ids for Cortina PHYs

2017-05-23 Thread Bogdan Purcareata
Complete the work started by the following patches 5f6c99e0 net: phy: fix a bug in get_phy_c45_ids da1da284 net/phy: tune get_phy_c45_ids to support more c45 phy in order to properly get non-standard C45 10G PHY IDs (e.g. Cortina CS4340). Signed-off-by: Bogdan Purcareata --- drivers/net/phy

[PATCH 2/2] drivers: phy: Add Cortina CS4340 driver

2017-05-23 Thread Bogdan Purcareata
Add basic support for Cortina PHY drivers. Support only CS4340 for now. The phys are not fully compatible with IEEE 802.3 clause 45 registers. Implement proper read_status support, so that phy polling does not cause bus register access errors. Signed-off-by: Bogdan Purcareata --- drivers/net

[PATCH 0/2] net: phy: Support managed Cortina phys

2017-05-23 Thread Bogdan Purcareata
while reading PHY16 reg at 1.6 [0.232780] mdio_bus 8b96000: Error while reading PHY16 reg at 1.5 Bogdan Purcareata (2): net: phy: Update get_phy_c45_ids for Cortina PHYs drivers: phy: Add Cortina CS4340 driver drivers/net/phy/Kconfig| 5 +++ drivers/net/phy/Makefile | 1