Re: [PATCH] spi/atmel: document clock properties

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 17/12/2013 12:01, Boris BREZILLON :
> Document the clock properties required by the spi-atmel driver.
> 
> Signed-off-by: Boris BREZILLON <b.brezillon@xxxxxxxxxxx>

Acked-by: Nicolas Ferre <nicolas.ferre@xxxxxxxxx>

> ---
>  .../devicetree/bindings/spi/spi_atmel.txt          |    5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/spi/spi_atmel.txt b/Documentation/devicetree/bindings/spi/spi_atmel.txt
> index 07e04cd..4f8184d 100644
> --- a/Documentation/devicetree/bindings/spi/spi_atmel.txt
> +++ b/Documentation/devicetree/bindings/spi/spi_atmel.txt
> @@ -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";
>  
> 


-- 
Nicolas Ferre
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux