aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings
diff options
context:
space:
mode:
authorTomer Maimon <tmaimon77@gmail.com>2018-12-04 15:54:42 +0200
committerMark Brown <broonie@kernel.org>2018-12-06 20:25:24 +0000
commit6ab4a3502923c20c5a6921868e787e5fd033409b (patch)
tree9168ac9d25e44b5fe7bac9a67954e7f9d1778c5b /Documentation/devicetree/bindings
parentspi: npcm: Modify pspi send function (diff)
downloadlinux-dev-6ab4a3502923c20c5a6921868e787e5fd033409b.tar.xz
linux-dev-6ab4a3502923c20c5a6921868e787e5fd033409b.zip
spi: Update NPCM PSPI controller documentation
Update the PSPI NPCM binding document of the spi aliases use to define the spi ID number. Signed-off-by: Tomer Maimon <tmaimon77@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings')
-rw-r--r--Documentation/devicetree/bindings/spi/nuvoton,npcm-pspi.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/spi/nuvoton,npcm-pspi.txt b/Documentation/devicetree/bindings/spi/nuvoton,npcm-pspi.txt
index 99606b22e5c2..1fd9a4406a1d 100644
--- a/Documentation/devicetree/bindings/spi/nuvoton,npcm-pspi.txt
+++ b/Documentation/devicetree/bindings/spi/nuvoton,npcm-pspi.txt
@@ -19,8 +19,16 @@ Optional properties:
- clock-frequency : Input clock frequency to the PSPI block in Hz.
Default is 25000000 Hz.
+Aliases:
+- All the SPI controller nodes should be represented in the aliases node using
+ the following format 'spi{n}' withe the correct numbered in "aliases" node.
+
Example:
+aliases {
+ spi0 = &spi0;
+};
+
spi0: spi@f0200000 {
compatible = "nuvoton,npcm750-pspi";
reg = <0xf0200000 0x1000>;