Skip to content

Commit bf171f0

Browse files
reid-pdavem330
authored andcommitted
stmmac: Correct documentation on stmmac clocks.
devm_get_clk looks in clock-name property for matching clock. the ptp_ref_clk property is ignored. Acked-by: Rob Herring <[email protected]> Signed-off-by: Phil Reid <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent e34d656 commit bf171f0

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

Documentation/devicetree/bindings/net/stmmac.txt

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,14 @@ Optional properties:
3535
- reset-names: Should contain the reset signal name "stmmaceth", if a
3636
reset phandle is given
3737
- max-frame-size: See ethernet.txt file in the same directory
38-
- clocks: If present, the first clock should be the GMAC main clock and
39-
the second clock should be peripheral's register interface clock. Further
40-
clocks may be specified in derived bindings.
41-
- clock-names: One name for each entry in the clocks property, the
42-
first one should be "stmmaceth" and the second one should be "pclk".
43-
- clk_ptp_ref: this is the PTP reference clock; in case of the PTP is
44-
available this clock is used for programming the Timestamp Addend Register.
45-
If not passed then the system clock will be used and this is fine on some
46-
platforms.
38+
- clocks: If present, the first clock should be the GMAC main clock
39+
The optional second clock should be peripheral's register interface clock.
40+
The third optional clock should be the ptp reference clock.
41+
Further clocks may be specified in derived bindings.
42+
- clock-names: One name for each entry in the clocks property.
43+
The first one should be "stmmaceth".
44+
The optional second one should be "pclk".
45+
The optional third one should be "clk_ptp_ref".
4746
- snps,burst_len: The AXI burst lenth value of the AXI BUS MODE register.
4847
- tx-fifo-depth: See ethernet.txt file in the same directory
4948
- rx-fifo-depth: See ethernet.txt file in the same directory

0 commit comments

Comments
 (0)