mbox series

[net-next,0/3] add "nxp,reverse-mode" to instead of "nxp,rmii-refclk-in"

Message ID 20240815055126.137437-1-wei.fang@nxp.com (mailing list archive)
Headers show
Series add "nxp,reverse-mode" to instead of "nxp,rmii-refclk-in" | expand

Message

Wei Fang Aug. 15, 2024, 5:51 a.m. UTC
The TJA11xx PHYs support reverse mode so that TX_CLK and RX_CLK can
be set to input in revMII mode and REF_CLK can be set to output in
revRMII mode. Therefore, add the new property "nxp,reverse-mode" to
instead of the "nxp,rmii-refclk-in" property, which is more generic
and reasonable.

Wei Fang (3):
  dt-bindings: net: tja11xx: use reverse-mode to instead of
    rmii-refclk-in
  net: phy: tja11xx: replace "nxp,rmii-refclk-in" with
    "nxp,reverse-mode"
  net: phy: c45-tja11xx: add revRMII mode support

 .../devicetree/bindings/net/nxp,tja11xx.yaml  | 21 +++++---------
 drivers/net/phy/nxp-c45-tja11xx.c             | 29 +++++++++++++++++--
 drivers/net/phy/nxp-c45-tja11xx.h             |  1 +
 drivers/net/phy/nxp-tja11xx.c                 | 13 ++++-----
 4 files changed, 41 insertions(+), 23 deletions(-)