summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/spi/spi-samsung.txt
diff options
context:
space:
mode:
authorAndi Shyti <andi.shyti@samsung.com>2016-07-12 12:02:11 +0200
committerMark Brown <broonie@kernel.org>2016-07-14 18:28:20 +0200
commit1ada32ede94fc91ff0f3236fcc70ae74dd0c2cb0 (patch)
treecdd3f7e535a32b1558c66875e38ee78a4254c0c8 /Documentation/devicetree/bindings/spi/spi-samsung.txt
parentspi: s3c64xx: add exynos5433 spi compatible (diff)
downloadlinux-1ada32ede94fc91ff0f3236fcc70ae74dd0c2cb0.tar.xz
linux-1ada32ede94fc91ff0f3236fcc70ae74dd0c2cb0.zip
spi: s3c64xx: document the clocks and the clock-name property
These two properties were not documented but used in the spi dts. Add the related documentation. Suggested-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Andi Shyti <andi.shyti@samsung.com> Reviewed-by: Michael Turquette <mturquette@baylibre.com> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/spi/spi-samsung.txt')
-rw-r--r--Documentation/devicetree/bindings/spi/spi-samsung.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/spi/spi-samsung.txt b/Documentation/devicetree/bindings/spi/spi-samsung.txt
index ab4f0a46e859..49028a4f5df1 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.