Skip to content

Commit

Permalink
spi: Update NPCM PSPI controller documentation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tomer Maimon authored and Mark Brown committed Dec 6, 2018
1 parent 1fa33be commit 6ab4a35
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Documentation/devicetree/bindings/spi/nuvoton,npcm-pspi.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down

0 comments on commit 6ab4a35

Please sign in to comment.