drivers/misc: atmel-ssc: document clock properties
authorBoris BREZILLON <b.brezillon@overkiz.com>
Tue, 17 Dec 2013 15:01:47 +0000 (16:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Dec 2013 00:39:54 +0000 (16:39 -0800)
Document the clock properties required by the atmel-ssc driver.

Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/misc/atmel-ssc.txt

index a45ae08c8ed1d3fef886c34c2c07a501a0719520..60960b2755f435f473a9dbb5569b2f845c25cd39 100644 (file)
@@ -6,6 +6,9 @@ Required properties:
        - atmel,at91sam9g45-ssc: support dma transfer
 - reg: Should contain SSC registers location and length
 - interrupts: Should contain SSC interrupt
+- clock-names: tuple listing input clock names.
+       Required elements: "pclk"
+- clocks: phandles to input clocks.
 
 
 Required properties for devices compatible with "atmel,at91sam9g45-ssc":
@@ -20,6 +23,8 @@ ssc0: ssc@fffbc000 {
        compatible = "atmel,at91rm9200-ssc";
        reg = <0xfffbc000 0x4000>;
        interrupts = <14 4 5>;
+       clocks = <&ssc0_clk>;
+       clock-names = "pclk";
 };
 
 - DMA transfer: