diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-01-20 15:25:11 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-01-20 15:25:11 -0500 |
| commit | cca112ecf259e24096bc18b736c3ae985e81ac72 (patch) | |
| tree | 0eb80216d469e5fade76bb35b7e729751a38d019 /Documentation | |
| parent | e90665a5d38b17fdbe484a85fbba917a7006522d (diff) | |
| parent | 52cc720c568efd8fd454053b98fe4b4fd94688fe (diff) | |
Merge tag 'spi-fix-v4.10-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi
Pull spi fixes from Mark Brown:
"The usual small smattering of driver specific fixes. A few bits that
stand out here:
- the R-Car patches adding fallbacks are just adding new compatible
strings to the driver so that device trees are written in a more
robustly future proof fashion, this isn't strictly a fix but it's
just new IDs and it's better to get it into mainline sooner to
improve the ABI
- the DesignWare "switch to new API part 2" patch is actually a
misleadingly titled fix for a bit that got missed in the original
conversion"
* tag 'spi-fix-v4.10-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
spi: davinci: use dma_mapping_error()
spi: spi-axi: Free resources on error path
spi: pxa2xx: add missed break
spi: dw-mid: switch to new dmaengine_terminate_* API (part 2)
spi: dw: Make debugfs name unique between instances
spi: sh-msiof: Do not use C++ style comment
spi: armada-3700: Set mode bits correctly
spi: armada-3700: fix unsigned compare than zero on irq
spi: sh-msiof: Add R-Car Gen 2 and 3 fallback bindings
spi: SPI_FSL_DSPI should depend on HAS_DMA
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/devicetree/bindings/spi/sh-msiof.txt | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/Documentation/devicetree/bindings/spi/sh-msiof.txt b/Documentation/devicetree/bindings/spi/sh-msiof.txt index da6614c63796..dc975064fa27 100644 --- a/Documentation/devicetree/bindings/spi/sh-msiof.txt +++ b/Documentation/devicetree/bindings/spi/sh-msiof.txt | |||
| @@ -1,17 +1,23 @@ | |||
| 1 | Renesas MSIOF spi controller | 1 | Renesas MSIOF spi controller |
| 2 | 2 | ||
| 3 | Required properties: | 3 | Required properties: |
| 4 | - compatible : "renesas,msiof-<soctype>" for SoCs, | 4 | - compatible : "renesas,msiof-r8a7790" (R-Car H2) |
| 5 | "renesas,sh-msiof" for SuperH, or | ||
| 6 | "renesas,sh-mobile-msiof" for SH Mobile series. | ||
| 7 | Examples with soctypes are: | ||
| 8 | "renesas,msiof-r8a7790" (R-Car H2) | ||
| 9 | "renesas,msiof-r8a7791" (R-Car M2-W) | 5 | "renesas,msiof-r8a7791" (R-Car M2-W) |
| 10 | "renesas,msiof-r8a7792" (R-Car V2H) | 6 | "renesas,msiof-r8a7792" (R-Car V2H) |
| 11 | "renesas,msiof-r8a7793" (R-Car M2-N) | 7 | "renesas,msiof-r8a7793" (R-Car M2-N) |
| 12 | "renesas,msiof-r8a7794" (R-Car E2) | 8 | "renesas,msiof-r8a7794" (R-Car E2) |
| 13 | "renesas,msiof-r8a7796" (R-Car M3-W) | 9 | "renesas,msiof-r8a7796" (R-Car M3-W) |
| 14 | "renesas,msiof-sh73a0" (SH-Mobile AG5) | 10 | "renesas,msiof-sh73a0" (SH-Mobile AG5) |
| 11 | "renesas,sh-mobile-msiof" (generic SH-Mobile compatibile device) | ||
| 12 | "renesas,rcar-gen2-msiof" (generic R-Car Gen2 compatible device) | ||
| 13 | "renesas,rcar-gen3-msiof" (generic R-Car Gen3 compatible device) | ||
| 14 | "renesas,sh-msiof" (deprecated) | ||
| 15 | |||
| 16 | When compatible with the generic version, nodes | ||
| 17 | must list the SoC-specific version corresponding | ||
| 18 | to the platform first followed by the generic | ||
| 19 | version. | ||
| 20 | |||
| 15 | - reg : A list of offsets and lengths of the register sets for | 21 | - reg : A list of offsets and lengths of the register sets for |
| 16 | the device. | 22 | the device. |
| 17 | If only one register set is present, it is to be used | 23 | If only one register set is present, it is to be used |
| @@ -61,7 +67,8 @@ Documentation/devicetree/bindings/pinctrl/renesas,*. | |||
| 61 | Example: | 67 | Example: |
| 62 | 68 | ||
| 63 | msiof0: spi@e6e20000 { | 69 | msiof0: spi@e6e20000 { |
| 64 | compatible = "renesas,msiof-r8a7791"; | 70 | compatible = "renesas,msiof-r8a7791", |
| 71 | "renesas,rcar-gen2-msiof"; | ||
| 65 | reg = <0 0xe6e20000 0 0x0064>; | 72 | reg = <0 0xe6e20000 0 0x0064>; |
| 66 | interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>; | 73 | interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>; |
| 67 | clocks = <&mstp0_clks R8A7791_CLK_MSIOF0>; | 74 | clocks = <&mstp0_clks R8A7791_CLK_MSIOF0>; |
