Skip to contentSkip to conversation

devicetree: macb: Document clock properties

PATCH In review Soren Brinkmann 3 participants 4 messages Dec 13, 2013 – Jan 6, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 devicetree: macb: Document clock properties

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

---
 Documentation/devicetree/bindings/net/macb.txt | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/net/macb.txt +6 -0
index 4ff65047bb9a..70af2ec12b09 100644
@@ -10,6 +10,10 @@ Required properties:
 - interrupts: Should contain macb interrupt
 - phy-mode: String, operation mode of the PHY interface.
   Supported values are: "mii", "rmii", "gmii", "rgmii".
+- clock-names: Tuple listing input clock names.
+	Required elements: 'pclk', 'hclk'
+	Optional elements: 'tx_clk'
+- clocks: Phandles to input clocks.
 
 Optional properties:
 - local-mac-address: 6 bytes, mac address
@@ -22,4 +26,6 @@ Examples:
 		interrupts = <21>;
 		phy-mode = "rmii";
 		local-mac-address = [3a 0e 03 04 05 06];
+		clock-names = "pclk", "hclk", "tx_clk";
+		clocks = <&clkc 30>, <&clkc 30>, <&clkc 13>;
 	};
Signature · 1 line
1.8.5.1
Acked-by on v1 1/1
#1 lore raw

On 13/12/2013 23:03, Soren Brinkmann :

Quoted 4 lines

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

Thanks.

Quoted 27 lines
---
 Documentation/devicetree/bindings/net/macb.txt | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/net/macb.txt +6 -0
index 4ff65047bb9a..70af2ec12b09 100644
@@ -10,6 +10,10 @@ Required properties:
 - interrupts: Should contain macb interrupt
 - phy-mode: String, operation mode of the PHY interface.
   Supported values are: "mii", "rmii", "gmii", "rgmii".
+- clock-names: Tuple listing input clock names.
+	Required elements: 'pclk', 'hclk'
+	Optional elements: 'tx_clk'
+- clocks: Phandles to input clocks.
 
 Optional properties:
 - local-mac-address: 6 bytes, mac address
@@ -22,4 +26,6 @@ Examples:
 		interrupts = <21>;
 		phy-mode = "rmii";
 		local-mac-address = [3a 0e 03 04 05 06];
+		clock-names = "pclk", "hclk", "tx_clk";
+		clocks = <&clkc 30>, <&clkc 30>, <&clkc 13>;
 	};
Signature · 1 line
Nicolas Ferre
#2 lore raw
Quoted 7 lines · Nicolas Ferre

On 13/12/2013 23:03, Soren Brinkmann :

Quoted 4 lines

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

Has someone taken this patch?
If not, Rob can you please add it to your tree?

Thanks,
Michal

Signature · 5 lines
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform
#3 lore raw

Hi,

Quoted 11 lines · Michal Simek
Quoted 7 lines · Nicolas Ferre

On 13/12/2013 23:03, Soren Brinkmann :

Quoted 4 lines

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

Has someone taken this patch?
If not, Rob can you please add it to your tree?

Since nobody responded to Michal's question and I also don't see this in next yet, I just wanted to check in on the status. Does anybody take this for 3.14?

Sören