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

devicetree: macb: Document clock properties

The macb driver uses the clock bindings. Document the required
properties, especially the driver specific clock-names.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Soren Brinkmann and committed by
Rob Herring
e2897d7e 6514dff9

+6
+6
Documentation/devicetree/bindings/net/macb.txt
··· 10 10 - interrupts: Should contain macb interrupt 11 11 - phy-mode: String, operation mode of the PHY interface. 12 12 Supported values are: "mii", "rmii", "gmii", "rgmii". 13 + - clock-names: Tuple listing input clock names. 14 + Required elements: 'pclk', 'hclk' 15 + Optional elements: 'tx_clk' 16 + - clocks: Phandles to input clocks. 13 17 14 18 Optional properties: 15 19 - local-mac-address: 6 bytes, mac address ··· 26 22 interrupts = <21>; 27 23 phy-mode = "rmii"; 28 24 local-mac-address = [3a 0e 03 04 05 06]; 25 + clock-names = "pclk", "hclk", "tx_clk"; 26 + clocks = <&clkc 30>, <&clkc 30>, <&clkc 13>; 29 27 };