Skip to content

Expose REFCLK for RMII and enable RMII

[email protected] linux-arm-kernel linux-devicetree lkml netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 5 repliesIn review 4 of 5 applied
  2. v13 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- Add device tree changes to use the new REFCLK property.
- Remove USARIO_HAS_CLKEN from the sama7g54 emac node to use the exposed REFCLK propterty.
- Use property_read_bool() instead of property_present check.
- Adjust variables to follow reverse xmas tree

1) https://lore.kernel.org/all/[email protected]/

Patches in v2 4 of 5 applied

#Subject and filesSizeRepliesApplied
1/5dt-bindings: net: cdns,macb: Add external REFCLK propertyDocumentation/devicetree/bindings/net/cdns,macb.yaml+7 -00 repliesApplied
2/5net: cadence: macb: Expose REFCLK as a device tree propertydrivers/net/ethernet/cadence/macb_main.c+7 -00 repliesApplied
3/5net: cadence: macb: Enable RMII for SAMA7 gemdrivers/net/ethernet/cadence/macb_main.c+1 -00 repliesApplied
4/5net: cadence: macb: sama7g5_emac: Remove USARIO CLKEN flagdrivers/net/ethernet/cadence/macb_main.c+1 -25 repliesApplied
5/5ARM: dts: microchip: sama7g5: Add RMII ext refclk flagarch/arm/boot/dts/microchip/at91-sama7g5ek.dts+1 -00 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchConor Dooley
1/5A-b
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] Expose REFCLK for RMII and enable RMII

From: Ryan Wanner <[email protected]>

This set allows the REFCLK property to be exposed as a dt-property to properly reflect the correct RMII layout. RMII can take an external or internal provided REFCLK, since this is not SoC dependent but board dependent this must be exposed as a DT property for the macb driver.

This set also enables RMII mode for the SAMA7 SoCs gigabit mac.

V1 is here [1]

changes v1 -> v2:
- Add device tree changes to use the new REFCLK property.
- Remove USARIO_HAS_CLKEN from the sama7g54 emac node to use the exposed REFCLK propterty.
- Use property_read_bool() instead of property_present check.
- Adjust variables to follow reverse xmas tree

1) https://lore.kernel.org/all/[email protected]/

Ryan Wanner (5):
dt-bindings: net: cdns,macb: Add external REFCLK property
net: cadence: macb: Expose REFCLK as a device tree property
net: cadence: macb: Enable RMII for SAMA7 gem
net: cadence: macb: sama7g5_emac: Remove USARIO CLKEN flag
ARM: dts: microchip: sama7g5: Add RMII ext refclk flag

 Documentation/devicetree/bindings/net/cdns,macb.yaml |  7 +++++++
 arch/arm/boot/dts/microchip/at91-sama7g5ek.dts       |  1 +
 drivers/net/ethernet/cadence/macb_main.c             | 11 +++++++++--
 3 files changed, 17 insertions(+), 2 deletions(-)
Signature · 1 line
2.43.0