Re: [PATCH net-next 1/3] dt-bindings: net: tja11xx: use reverse-mode to instead of rmii-refclk-in

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Based on the TJA data sheet, like TJA1103/TJA1104, if the reverse mode
> is set. If XMII_MODE is set to MII, the device operates in revMII mode
> (TXCLK and RXCLK are input). If XMII_MODE is set to RMII, the device
> operates in revRMII mode (REF_CLK is output). So it's just that the input
> and output directions of xx_CLK are reversed.
> we don't need to tell the MAC to play the role of the PHY, in our case, we
> just need the PHY to provide the reference clock in RMII mode.

If this is purely about providing a reference clock, normally 25Mhz,
there are a few PHY drivers which support this. Find one and copy
it. There is no need to invent something new.

	Andrew




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux