-
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.
spi: tegra: add spi driver for SLINK controller
Tegra20/Tegra30 supports the spi interface through its SLINK controller. Add spi driver for SLINK controller. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
- Loading branch information
Laxman Dewangan
authored and
Mark Brown
committed
Oct 30, 2012
1 parent
8f0d816
commit dc4dc36
Showing
5 changed files
with
1,432 additions
and
1 deletion.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
Documentation/devicetree/bindings/spi/nvidia,tegra20-slink.txt
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,26 @@ | ||
NVIDIA Tegra20/Tegra30 SLINK controller. | ||
|
||
Required properties: | ||
- compatible : should be "nvidia,tegra20-slink", "nvidia,tegra30-slink". | ||
- reg: Should contain SLINK registers location and length. | ||
- interrupts: Should contain SLINK interrupts. | ||
- nvidia,dma-request-selector : The Tegra DMA controller's phandle and | ||
request selector for this SLINK controller. | ||
|
||
Recommended properties: | ||
- spi-max-frequency: Definition as per | ||
Documentation/devicetree/bindings/spi/spi-bus.txt | ||
|
||
Example: | ||
|
||
slink@7000d600 { | ||
compatible = "nvidia,tegra20-slink"; | ||
reg = <0x7000d600 0x200>; | ||
interrupts = <0 82 0x04>; | ||
nvidia,dma-request-selector = <&apbdma 16>; | ||
spi-max-frequency = <25000000>; | ||
#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
Oops, something went wrong.