ソースを参照

drivers/misc: atmel_tclib: document clock properties

Document the clock properties required by the atmel_tclib driver.

Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Boris BREZILLON 11 年 前
コミット
864382dcc1
1 ファイル変更8 行追加0 行削除
  1. 8 0
      Documentation/devicetree/bindings/arm/atmel-at91.txt

+ 8 - 0
Documentation/devicetree/bindings/arm/atmel-at91.txt

@@ -20,6 +20,10 @@ TC/TCLIB Timer required properties:
 - interrupts: Should contain all interrupts for the TC block
 - interrupts: Should contain all interrupts for the TC block
   Note that you can specify several interrupt cells if the TC
   Note that you can specify several interrupt cells if the TC
   block has one interrupt per channel.
   block has one interrupt per channel.
+- clock-names: tuple listing input clock names.
+	Required elements: "t0_clk"
+	Optional elements: "t1_clk", "t2_clk"
+- clocks: phandles to input clocks.
 
 
 Examples:
 Examples:
 
 
@@ -28,6 +32,8 @@ One interrupt per TC block:
 		compatible = "atmel,at91rm9200-tcb";
 		compatible = "atmel,at91rm9200-tcb";
 		reg = <0xfff7c000 0x100>;
 		reg = <0xfff7c000 0x100>;
 		interrupts = <18 4>;
 		interrupts = <18 4>;
+		clocks = <&tcb0_clk>;
+		clock-names = "t0_clk";
 	};
 	};
 
 
 One interrupt per TC channel in a TC block:
 One interrupt per TC channel in a TC block:
@@ -35,6 +41,8 @@ One interrupt per TC channel in a TC block:
 		compatible = "atmel,at91rm9200-tcb";
 		compatible = "atmel,at91rm9200-tcb";
 		reg = <0xfffdc000 0x100>;
 		reg = <0xfffdc000 0x100>;
 		interrupts = <26 4 27 4 28 4>;
 		interrupts = <26 4 27 4 28 4>;
+		clocks = <&tcb1_clk>;
+		clock-names = "t0_clk";
 	};
 	};
 
 
 RSTC Reset Controller required properties:
 RSTC Reset Controller required properties: