Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bdb90b6b authored by Boris BREZILLON's avatar Boris BREZILLON Committed by Nicolas Ferre
Browse files

spi/atmel: document clock properties



Document the clock properties required by the spi-atmel driver.

Signed-off-by: default avatarBoris BREZILLON <b.brezillon@overkiz.com>
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
parent 425bb8d6
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -5,6 +5,9 @@ Required properties:
- reg: Address and length of the register set for the device
- reg: Address and length of the register set for the device
- interrupts: Should contain spi interrupt
- interrupts: Should contain spi interrupt
- cs-gpios: chipselects
- cs-gpios: chipselects
- clock-names: tuple listing input clock names.
	Required elements: "spi_clk"
- clocks: phandles to input clocks.


Example:
Example:


@@ -14,6 +17,8 @@ spi1: spi@fffcc000 {
	interrupts = <13 4 5>;
	interrupts = <13 4 5>;
	#address-cells = <1>;
	#address-cells = <1>;
	#size-cells = <0>;
	#size-cells = <0>;
	clocks = <&spi1_clk>;
	clock-names = "spi_clk";
	cs-gpios = <&pioB 3 0>;
	cs-gpios = <&pioB 3 0>;
	status = "okay";
	status = "okay";