dt: add clock binding doc to primecell bindings
authorRob Herring <rob.herring@calxeda.com>
Sun, 15 Apr 2012 01:30:29 +0000 (20:30 -0500)
committerMike Turquette <mturquette@linaro.org>
Thu, 12 Jul 2012 00:58:47 +0000 (17:58 -0700)
Add clock binding information for primecell peripherals. For most, a
clock input name of "apb_pclk" is required. Any primecell peripherals
which are different will need to be documented separately.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Documentation/devicetree/bindings/arm/primecell.txt

index 951ca46789d4130dc8573913943ca429a7812241..64fc82bc89283707924ff30707d445119ea07333 100644 (file)
@@ -13,11 +13,17 @@ Required properties:
 Optional properties:
 
 - arm,primecell-periphid : Value to override the h/w value with
+- clocks : From common clock binding. First clock is phandle to clock for apb
+       pclk. Additional clocks are optional and specific to those peripherals.
+- clock-names : From common clock binding. Shall be "apb_pclk" for first clock.
 
 Example:
 
 serial@fff36000 {
        compatible = "arm,pl011", "arm,primecell";
        arm,primecell-periphid = <0x00341011>;
+       clocks = <&pclk>;
+       clock-names = "apb_pclk";
+       
 };