mbox series

[0/2] reset: lan996x: Add reset driver for lan966x phys

Message ID 20211019115205.1516311-1-horatiu.vultur@microchip.com
Headers show
Series reset: lan996x: Add reset driver for lan966x phys | expand

Message

Horatiu Vultur Oct. 19, 2021, 11:52 a.m. UTC
The lan966x switch is reseted using the 'sparx5-switch-reset' but the
PHYs are still keep in reset. Therefore add this patch to release the
HW reset of the PHYs.

Horatiu Vultur (2):
  dt-bindings: reset: lan966x phy reset driver bindings
  reset: lan966x: Add support for the phy reset on lan966x

 .../bindings/reset/lan966x-phy,rst.yaml       | 53 +++++++++++
 drivers/reset/Kconfig                         |  8 ++
 drivers/reset/Makefile                        |  1 +
 drivers/reset/reset-microchip-lan966x-phy.c   | 93 +++++++++++++++++++
 4 files changed, 155 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/reset/lan966x-phy,rst.yaml
 create mode 100644 drivers/reset/reset-microchip-lan966x-phy.c