Skip to content

Commit

Permalink
dt/bindings: add clock-select function property to micrel phy binding
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johan Hovold authored and David S. Miller committed Nov 21, 2014
1 parent 6d01329 commit c3a8e1e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Documentation/devicetree/bindings/net/micrel.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ Optional properties:

See the respective PHY datasheet for the mode values.

- micrel,rmii-reference-clock-select-25-mhz: RMII Reference Clock Select
bit selects 25 MHz mode

Setting the RMII Reference Clock Select bit enables 25 MHz rather
than 50 MHz clock mode.

Note that this option in only needed for certain PHY revisions with a
non-standard, inverted function of this configuration bit.
Specifically, a clock reference ("rmii-ref" below) is always needed to
actually select a mode.

- clocks, clock-names: contains clocks according to the common clock bindings.

supported clocks:
Expand Down

0 comments on commit c3a8e1e

Please sign in to comment.