-
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/sunxi', 'spi/topic/tegra114…
…', 'spi/topic/ti-qspi', 'spi/topic/ti-ssp', 'spi/topic/topcliff-pch', 'spi/topic/txx9', 'spi/topic/xcomm' and 'spi/topic/xfer' into spi-next
- Loading branch information
Showing
13 changed files
with
1,053 additions
and
459 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Allwinner A10 SPI controller | ||
|
||
Required properties: | ||
- compatible: Should be "allwinner,sun4-a10-spi". | ||
- reg: Should contain register location and length. | ||
- interrupts: Should contain interrupt. | ||
- clocks: phandle to the clocks feeding the SPI controller. Two are | ||
needed: | ||
- "ahb": the gated AHB parent clock | ||
- "mod": the parent module clock | ||
- clock-names: Must contain the clock names described just above | ||
|
||
Example: | ||
|
||
spi1: spi@01c06000 { | ||
compatible = "allwinner,sun4i-a10-spi"; | ||
reg = <0x01c06000 0x1000>; | ||
interrupts = <11>; | ||
clocks = <&ahb_gates 21>, <&spi1_clk>; | ||
clock-names = "ahb", "mod"; | ||
status = "disabled"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Allwinner A31 SPI controller | ||
|
||
Required properties: | ||
- compatible: Should be "allwinner,sun6i-a31-spi". | ||
- reg: Should contain register location and length. | ||
- interrupts: Should contain interrupt. | ||
- clocks: phandle to the clocks feeding the SPI controller. Two are | ||
needed: | ||
- "ahb": the gated AHB parent clock | ||
- "mod": the parent module clock | ||
- clock-names: Must contain the clock names described just above | ||
- resets: phandle to the reset controller asserting this device in | ||
reset | ||
|
||
Example: | ||
|
||
spi1: spi@01c69000 { | ||
compatible = "allwinner,sun6i-a31-spi"; | ||
reg = <0x01c69000 0x1000>; | ||
interrupts = <0 66 4>; | ||
clocks = <&ahb1_gates 21>, <&spi1_clk>; | ||
clock-names = "ahb", "mod"; | ||
resets = <&ahb1_rst 21>; | ||
}; |
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.