提交 bf171f01 编写于 作者: P Phil Reid 提交者: David S. Miller

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: NRob Herring <robh@kernel.org>
Signed-off-by: NPhil Reid <preid@electromag.com.au>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 e34d6569
...@@ -35,15 +35,14 @@ Optional properties: ...@@ -35,15 +35,14 @@ Optional properties:
- reset-names: Should contain the reset signal name "stmmaceth", if a - reset-names: Should contain the reset signal name "stmmaceth", if a
reset phandle is given reset phandle is given
- max-frame-size: See ethernet.txt file in the same directory - max-frame-size: See ethernet.txt file in the same directory
- clocks: If present, the first clock should be the GMAC main clock and - clocks: If present, the first clock should be the GMAC main clock
the second clock should be peripheral's register interface clock. Further The optional second clock should be peripheral's register interface clock.
clocks may be specified in derived bindings. The third optional clock should be the ptp reference clock.
- clock-names: One name for each entry in the clocks property, the Further clocks may be specified in derived bindings.
first one should be "stmmaceth" and the second one should be "pclk". - clock-names: One name for each entry in the clocks property.
- clk_ptp_ref: this is the PTP reference clock; in case of the PTP is The first one should be "stmmaceth".
available this clock is used for programming the Timestamp Addend Register. The optional second one should be "pclk".
If not passed then the system clock will be used and this is fine on some The optional third one should be "clk_ptp_ref".
platforms.
- snps,burst_len: The AXI burst lenth value of the AXI BUS MODE register. - snps,burst_len: The AXI burst lenth value of the AXI BUS MODE register.
- tx-fifo-depth: See ethernet.txt file in the same directory - tx-fifo-depth: See ethernet.txt file in the same directory
- rx-fifo-depth: See ethernet.txt file in the same directory - rx-fifo-depth: See ethernet.txt file in the same directory
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册