public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] spi/atmel: document clock properties
@ 2013-12-17 11:01 Boris BREZILLON
  2013-12-19 15:53 ` Nicolas Ferre
  0 siblings, 1 reply; 2+ messages in thread
From: Boris BREZILLON @ 2013-12-17 11:01 UTC (permalink / raw)
  To: Rob Landley, Nicolas Ferre, Jean-Christophe PLAGNIOL-VILLARD,
	Grant Likely
  Cc: devicetree, linux-doc, linux-kernel, linux-arm-kernel,
	Boris BREZILLON

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

Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
---
 .../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";
 
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] spi/atmel: document clock properties
  2013-12-17 11:01 [PATCH] spi/atmel: document clock properties Boris BREZILLON
@ 2013-12-19 15:53 ` Nicolas Ferre
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Ferre @ 2013-12-19 15:53 UTC (permalink / raw)
  To: Boris BREZILLON, Rob Landley, Jean-Christophe PLAGNIOL-VILLARD,
	Mark Brown
  Cc: Grant Likely, devicetree, linux-doc, linux-kernel,
	linux-arm-kernel

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@overkiz.com>

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

> ---
>  .../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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-19 15:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-17 11:01 [PATCH] spi/atmel: document clock properties Boris BREZILLON
2013-12-19 15:53 ` Nicolas Ferre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox