Linux-Clk Archive on
 help / color / Atom feed
From: Andi Shyti <>
To: Rob Herring <>,
	Mark Rutland <>,
	Kukjin Kim <>,
	Krzysztof Kozlowski <>,
	Mark Brown <>,
	Sylwester Nawrocki <>,
	Tomasz Figa <>,
	Michael Turquette <>,
	Stephen Boyd <>
Cc: Chanwoo Choi <>,
	Jaehoon Chung <>,,,,,,
	Andi Shyti <>,
	Andi Shyti <>
Subject: [PATCH v3] bindings: spi-samsung: document the clocks and the clock-name property
Date: Mon, 11 Jul 2016 11:36:21 +0900
Message-ID: <> (raw)
In-Reply-To: <20160708203207.GB25980@kozik-lap>

These two properties were not documented but used in the spi
dts. Add the related documentation.

Suggested-by: Krzysztof Kozlowski <>
Signed-off-by: Andi Shyti <>
Reviewed-by: Michael Turquette <>
Reviewed-by: Krzysztof Kozlowski <>

Changelog related only to this patch:

V1 -> V2: [new] added the clocks and clock-name documentation
   in the bindings

V2 -> V3: reworded the 'clock-names' as suggested by Krzysztof,
   added Mike's and Krzysztof's review and Krzysztof's


 Documentation/devicetree/bindings/spi/spi-samsung.txt | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/Documentation/devicetree/bindings/spi/spi-samsung.txt b/Documentation/devicetree/bindings/spi/spi-samsung.txt
index 57d5539..f45c6eb 100644
--- a/Documentation/devicetree/bindings/spi/spi-samsung.txt
+++ b/Documentation/devicetree/bindings/spi/spi-samsung.txt
@@ -24,6 +24,15 @@ Required SoC Specific Properties:
 - dma-names: Names for the dma channels. There must be at least one channel
   named "tx" for transmit and named "rx" for receive.
+- clocks: specifies the clock IDs provided to the SPI controller; they are
+  required for interacting with the controller itself, for synchronizing the bus
+  and as I/O clock (the latter is required by exynos5433 and exynos7).
+- clock-names: string names of the clocks in the 'clocks' property; for all the
+  the devices the names must be "spi", "spi_busclkN" (where N is determined by
+  "samsung,spi-src-clk"), while Exynos5433 should specify a third clock
+  "spi_ioclk" for the I/O clock.
 Required Board Specific Properties:
 - #address-cells: should be 1.

           reply index

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20160708203207.GB25980@kozik-lap>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-Clk Archive on

Archives are clonable:
	git clone --mirror linux-clk/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-clk linux-clk/ \
	public-inbox-index linux-clk

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone