Use the new macb bindings and add an mdio sub-node to contain all the
phy nodes.
Signed-off-by: Codrin Ciubotariu
Reviewed-by: Florian Fainelli
---
Changes in v3:
- added tag from Florian
Changes in v2:
- none
arch/arm/boot/dts/at91-sama5d3_xplained.dts | 16
1 file
Use the new macb bindings and add an mdio sub-node to contain all the
phy nodes.
Signed-off-by: Codrin Ciubotariu
Reviewed-by: Florian Fainelli
---
Changes in v3:
- added tag from Florian
Changes in v2:
- none
arch/arm/boot/dts/at91-sama5d4_xplained.dts | 12
1 file changed
Use the new macb bindings and add an mdio sub-node to contain all the
phy nodes.
Signed-off-by: Codrin Ciubotariu
Reviewed-by: Florian Fainelli
---
Changes in v3:
- added tag from Florian
Changes in v2:
- none
arch/arm/boot/dts/at91-sama5d27_som1.dtsi | 16 ++--
arch/arm
Use the new macb bindings and add an mdio sub-node to contain all the
phy nodes.
Signed-off-by: Codrin Ciubotariu
Reviewed-by: Florian Fainelli
---
Changes in v3:
- added tag from Florian
Changes in v2:
- none
arch/arm/boot/dts/at91-sam9x60ek.dts | 8 ++--
1 file changed, 6 insertions
nodes).
Signed-off-by: Codrin Ciubotariu
Acked-by: Claudiu Beznea
Reviewed-by: Rob Herring
Reviewed-by: Florian Fainelli
---
Changes in v3:
- Added tags from Claudiu, Rob and Florian
Changes in v2:
- patch renamed from "macb: bindings doc: use an MDIO node as a
container for PHY nod
Use the device-managed variant for the allocating the MDIO bus. This
cleans-up the code a little on the remove and error paths.
Signed-off-by: Codrin Ciubotariu
Tested-by: Claudiu Beznea
Acked-by: Claudiu Beznea
Reviewed-by: Florian Fainelli
---
Changes in v3:
- added tags from Claudiu and
de as a
container for PHY nodes" to "dt-bindings: net: macb: use an MDIO
node as a container for PHY nodes"
- added back a newline removed by mistake in patch 3/7
Codrin Ciubotariu (7):
net: macb: use device-managed devm_mdiobus_alloc()
dt-bindings: net: macb: use an MDIO
became deprecated, we adjust the MACB driver to look
for an MDIO node and register the subnode MDIO devices.
Signed-off-by: Codrin Ciubotariu
---
Changes in v3:
- moved the check for the mdio node at the beginnging of
macb_mdiobus_register(). This way, the mdio devices will be probed even
Use the new macb bindings and add an mdio sub-node to contain all the
phy nodes.
Signed-off-by: Codrin Ciubotariu
---
Changes in v2:
- none
arch/arm/boot/dts/at91-sama5d4_xplained.dts | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/at91
Use the new macb bindings and add an mdio sub-node to contain all the
phy nodes.
Signed-off-by: Codrin Ciubotariu
---
Changes in v2:
- none
arch/arm/boot/dts/at91-sam9x60ek.dts | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/at91-sam9x60ek.dts
b
Use the new macb bindings and add an mdio sub-node to contain all the
phy nodes.
Signed-off-by: Codrin Ciubotariu
---
Changes in v2:
- none;
arch/arm/boot/dts/at91-sama5d3_xplained.dts | 16
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts
Use the new macb bindings and add an mdio sub-node to contain all the
phy nodes.
Signed-off-by: Codrin Ciubotariu
---
Changes in v2:
- none
arch/arm/boot/dts/at91-sama5d27_som1.dtsi | 16 ++--
arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi | 17 ++---
arch/arm/boot/dts
became deprecated, we adjust the MACB driver to look
for an MDIO node and register the subnode MDIO devices.
Signed-off-by: Codrin Ciubotariu
---
Changes in v2:
- readded newline removed by mistake;
drivers/net/ethernet/cadence/macb_main.c | 10 ++
1 file changed, 10 insertions
nodes).
Signed-off-by: Codrin Ciubotariu
---
Changes in v2:
- patch renamed from "macb: bindings doc: use an MDIO node as a
container for PHY nodes" to "dt-bindings: net: macb: use an MDIO
node as a container for PHY nodes"
Documentation/devicetree/bindings/net/macb.txt | 1
Use the device-managed variant for the allocating the MDIO bus. This
cleans-up the code a little on the remove and error paths.
Signed-off-by: Codrin Ciubotariu
---
Changes in v2:
- none
drivers/net/ethernet/cadence/macb_main.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions
r PHY nodes" to "dt-bindings: net: macb: use an MDIO
node as a container for PHY nodes"
- added back a newline removed by mistake in patch 3/7
Codrin Ciubotariu (7):
net: macb: use device-managed devm_mdiobus_alloc()
dt-bindings: net: macb: use an MDIO node as a container
Use the new macb bindings and add an mdio sub-node to contain all the
phy nodes.
Signed-off-by: Codrin Ciubotariu
---
arch/arm/boot/dts/at91-sam9x60ek.dts | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/at91-sam9x60ek.dts
b/arch/arm/boot/dts/at91
Use the new macb bindings and add an mdio sub-node to contain all the
phy nodes.
Signed-off-by: Codrin Ciubotariu
---
arch/arm/boot/dts/at91-sama5d3_xplained.dts | 16
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
b
Use the new macb bindings and add an mdio sub-node to contain all the
phy nodes.
Signed-off-by: Codrin Ciubotariu
---
arch/arm/boot/dts/at91-sama5d4_xplained.dts | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/at91-sama5d4_xplained.dts
b/arch
Use the new macb bindings and add an mdio sub-node to contain all the
phy nodes.
Signed-off-by: Codrin Ciubotariu
---
arch/arm/boot/dts/at91-sama5d27_som1.dtsi | 16 ++--
arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi | 17 ++---
arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts
became deprecated, we adjust the MACB driver to look
for an MDIO node and register the subnode MDIO devices.
Signed-off-by: Codrin Ciubotariu
---
drivers/net/ethernet/cadence/macb_main.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/cadence
nodes).
Signed-off-by: Codrin Ciubotariu
---
Documentation/devicetree/bindings/net/macb.txt | 15 ---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/net/macb.txt
b/Documentation/devicetree/bindings/net/macb.txt
index 0b61a90f1592..88d5199
bindings and
adapt macb driver to parse the device-tree PHY nodes from under an MDIO
node. The last patches add the MDIO node in the device-trees of sama5d2,
sama5d3, samad4 and sam9x60 boards.
Codrin Ciubotariu (7):
net: macb: use device-managed devm_mdiobus_alloc()
macb: bindings doc: use an
Use the device-managed variant for the allocating the MDIO bus. This
cleans-up the code a little on the remove and error paths.
Signed-off-by: Codrin Ciubotariu
---
drivers/net/ethernet/cadence/macb_main.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/net
Private structure members live_ports, on_ports, rx_ports, tx_ports are
initialized but not used anywhere. Let's remove them.
Suggested-by: Russell King
Signed-off-by: Codrin Ciubotariu
---
Changes in v2:
- new patch, there was no v1
drivers/net/dsa/microchip/ksz8795.c
The DSA subsystem moved to phylink and adjust_link() became deprecated in
the process. This patch removes adjust_link from the KSZ DSA switches and
adds phylink_mac_link_up() and phylink_mac_link_down().
Signed-off-by: Codrin Ciubotariu
Reviewed-by: Russell King
---
Changes in v2:
- added
The DSA subsystem moved to phylink and adjust_link() became deprecated in
the process. This patch removes adjust_link from the KSZ DSA switches and
adds phylink_mac_link_up() and phylink_mac_link_down().
Signed-off-by: Codrin Ciubotariu
---
drivers/net/dsa/microchip/ksz8795.c| 3
known
registers.
Fixes: b987e98e50ab ("dsa: add DSA switch driver for Microchip KSZ9477")
Signed-off-by: Codrin Ciubotariu
---
drivers/net/dsa/microchip/ksz8795.c | 3 +++
drivers/net/dsa/microchip/ksz9477.c | 3 +++
2 files changed, 6 insertions(+)
diff --git a/drivers/net/dsa/microchip/ksz87
The DSA subsystem moved to phylink and adjust_link() became deprecated in
the process. This patch removes adjust_link from the KSZ DSA switches and
adds phylink_mac_link_up() and phylink_mac_link_down().
Signed-off-by: Codrin Ciubotariu
---
drivers/net/dsa/microchip/ksz8795.c| 3
known
registers.
Fixes: b987e98e50ab ("dsa: add DSA switch driver for Microchip KSZ9477")
Signed-off-by: Codrin Ciubotariu
---
drivers/net/dsa/microchip/ksz8795.c| 7 +--
drivers/net/dsa/microchip/ksz9477.c| 7 +--
drivers/net/dsa/microchip/ks
30 matches
Mail list logo