]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
spi/atmel: document clock properties
authorBoris BREZILLON <b.brezillon@overkiz.com>
Tue, 17 Dec 2013 11:01:34 +0000 (12:01 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 7 Feb 2014 16:20:39 +0000 (17:20 +0100)
Document the clock properties required by the spi-atmel driver.

Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Documentation/devicetree/bindings/spi/spi_atmel.txt

index 07e04cdc0c9e0c3619347791f40d1177e6707fe2..4f8184d069cb5a472058a59578101d7b70896367 100644 (file)
@@ -5,6 +5,9 @@ Required properties:
 - reg: Address and length of the register set for the device
 - interrupts: Should contain spi interrupt
 - cs-gpios: chipselects
+- clock-names: tuple listing input clock names.
+       Required elements: "spi_clk"
+- clocks: phandles to input clocks.
 
 Example:
 
@@ -14,6 +17,8 @@ spi1: spi@fffcc000 {
        interrupts = <13 4 5>;
        #address-cells = <1>;
        #size-cells = <0>;
+       clocks = <&spi1_clk>;
+       clock-names = "spi_clk";
        cs-gpios = <&pioB 3 0>;
        status = "okay";