Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt/bindings: add clock-select function property to micrel phy binding

Add "micrel,rmii-reference-clock-select-25-mhz" to Micrel ethernet PHY
binding documentation.

This property is needed to properly describe some revisions of Micrel
PHYs which has the function of this configuration bit inverted so that
setting it enables 25 MHz rather than 50 MHz clock mode.

Note that a clock reference ("rmii-ref") is still needed to actually
select either mode.

Cc: devicetree@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Johan Hovold and committed by
David S. Miller
c3a8e1ed 6d013294

+11
+11
Documentation/devicetree/bindings/net/micrel.txt
··· 19 19 20 20 See the respective PHY datasheet for the mode values. 21 21 22 + - micrel,rmii-reference-clock-select-25-mhz: RMII Reference Clock Select 23 + bit selects 25 MHz mode 24 + 25 + Setting the RMII Reference Clock Select bit enables 25 MHz rather 26 + than 50 MHz clock mode. 27 + 28 + Note that this option in only needed for certain PHY revisions with a 29 + non-standard, inverted function of this configuration bit. 30 + Specifically, a clock reference ("rmii-ref" below) is always needed to 31 + actually select a mode. 32 + 22 33 - clocks, clock-names: contains clocks according to the common clock bindings. 23 34 24 35 supported clocks: