Skip to content

Commit

Permalink
spi/atmel: document clock properties
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Boris BREZILLON authored and Nicolas Ferre committed Feb 7, 2014
1 parent 425bb8d commit bdb90b6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Documentation/devicetree/bindings/spi/spi_atmel.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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";

Expand Down

0 comments on commit bdb90b6

Please sign in to comment.