forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branches 'spi/topic/s3c64xx', 'spi/topic/sc18is…
…602', 'spi/topic/sh-hspi', 'spi/topic/sh-msiof', 'spi/topic/sh-sci', 'spi/topic/sirf' and 'spi/topic/spidev' into spi-next
- Loading branch information
Showing
15 changed files
with
449 additions
and
534 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,29 @@ | ||
Renesas HSPI. | ||
|
||
Required properties: | ||
- compatible : "renesas,hspi" | ||
- reg : Offset and length of the register set for the device | ||
- interrupts : interrupt line used by HSPI | ||
- compatible : "renesas,hspi-<soctype>", "renesas,hspi" as fallback. | ||
Examples with soctypes are: | ||
- "renesas,hspi-r8a7778" (R-Car M1) | ||
- "renesas,hspi-r8a7779" (R-Car H1) | ||
- reg : Offset and length of the register set for the device | ||
- interrupt-parent : The phandle for the interrupt controller that | ||
services interrupts for this device | ||
- interrupts : Interrupt specifier | ||
- #address-cells : Must be <1> | ||
- #size-cells : Must be <0> | ||
|
||
Pinctrl properties might be needed, too. See | ||
Documentation/devicetree/bindings/pinctrl/renesas,*. | ||
|
||
Example: | ||
|
||
hspi0: spi@fffc7000 { | ||
compatible = "renesas,hspi-r8a7778", "renesas,hspi"; | ||
reg = <0xfffc7000 0x18>; | ||
interrupt-parent = <&gic>; | ||
interrupts = <0 63 IRQ_TYPE_LEVEL_HIGH>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
status = "disabled"; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,40 @@ | ||
Renesas MSIOF spi controller | ||
|
||
Required properties: | ||
- compatible : "renesas,sh-msiof" for SuperH or | ||
"renesas,sh-mobile-msiof" for SH Mobile series | ||
- reg : Offset and length of the register set for the device | ||
- interrupts : interrupt line used by MSIOF | ||
- compatible : "renesas,msiof-<soctype>" for SoCs, | ||
"renesas,sh-msiof" for SuperH, or | ||
"renesas,sh-mobile-msiof" for SH Mobile series. | ||
Examples with soctypes are: | ||
"renesas,msiof-r8a7790" (R-Car H2) | ||
"renesas,msiof-r8a7791" (R-Car M2) | ||
- reg : Offset and length of the register set for the device | ||
- interrupt-parent : The phandle for the interrupt controller that | ||
services interrupts for this device | ||
- interrupts : Interrupt specifier | ||
- #address-cells : Must be <1> | ||
- #size-cells : Must be <0> | ||
|
||
Optional properties: | ||
- num-cs : total number of chip-selects | ||
- renesas,tx-fifo-size : Overrides the default tx fifo size given in words | ||
- renesas,rx-fifo-size : Overrides the default rx fifo size given in words | ||
- clocks : Must contain a reference to the functional clock. | ||
- num-cs : Total number of chip-selects (default is 1) | ||
|
||
Optional properties, deprecated for soctype-specific bindings: | ||
- renesas,tx-fifo-size : Overrides the default tx fifo size given in words | ||
(default is 64) | ||
- renesas,rx-fifo-size : Overrides the default rx fifo size given in words | ||
(default is 64, or 256 on R-Car H2 and M2) | ||
|
||
Pinctrl properties might be needed, too. See | ||
Documentation/devicetree/bindings/pinctrl/renesas,*. | ||
|
||
Example: | ||
|
||
msiof0: spi@e6e20000 { | ||
compatible = "renesas,msiof-r8a7791"; | ||
reg = <0 0xe6e20000 0 0x0064>; | ||
interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>; | ||
clocks = <&mstp0_clks R8A7791_CLK_MSIOF0>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
status = "disabled"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.