[PATCH net-next v2 0/2] net: ethernet: oa_tc6: add reset-gpios support

Alessandro Zini posted 2 patches 1 week, 1 day ago
There is a newer version of this series
.../bindings/net/microchip,lan8650.yaml       |  5 +++++
drivers/net/ethernet/oa_tc6.c                 | 21 +++++++++++++++++++
2 files changed, 26 insertions(+)
[PATCH net-next v2 0/2] net: ethernet: oa_tc6: add reset-gpios support
Posted by Alessandro Zini 1 week, 1 day ago
This patch series adds optional reset GPIO support for OPEN Alliance
10BASE-T1x MAC-PHY devices using the OA TC6 framework, and documents the
property for the Microchip LAN8650/1.

Patch 1 updates the Device Tree binding schema for the Microchip LAN8650/1
to document the optional reset-gpios property connected to the active-low
RESET_N pin.

Patch 2 implements optional reset GPIO handling in the common oa_tc6
library. If specified, the hardware reset line is asserted for 10 us
(datasheet specifies min 5 us) and allowed 1 ms settle time for crystal
oscillator startup before starting OPEN Alliance TC6 communication.

Changes in v2:
- Moved reset-gpios handling from the lan865x driver into the common oa_tc6
  library (drivers/net/ethernet/oa_tc6.c), so all MAC-PHY devices can make
  use of it, as suggested by Parthiban Veerasooran.

Alessandro Zini (2):
  dt-bindings: net: microchip,lan8650: add reset-gpios property
  net: ethernet: oa_tc6: add reset-gpios support

 .../bindings/net/microchip,lan8650.yaml       |  5 +++++
 drivers/net/ethernet/oa_tc6.c                 | 21 +++++++++++++++++++
 2 files changed, 26 insertions(+)

-- 
2.55.0