-
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 tag 'spi-v3.16' of git://git.kernel.org/pub/scm/linux/kernel/gi…
…t/broonie/spi into next Pull spi updates from Mark Brown: "For this release SPI has been exceptionally quiet, all the work has been on improving drivers (including taking advantage of some of the recent framework updates): - DMA support for the rspi driver providing a nice performance boost - performance improvement for the SIRF controller in PIO mode - new support for the Cadence SPI IP and for pxa2xx on BayTrail" * tag 'spi-v3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: (59 commits) spi: rspi: Extract rspi_common_transfer() spi: rspi: Add DMA support for RSPI on RZ/A1H spi: rspi: Add DMA support for QSPI on R-Car Gen2 spi: rspi: Absorb rspi_rz_transfer_out_in() into rspi_rz_transfer_one() spi: rspi: Merge rspi_*_dma() into rspi_dma_transfer() spi: rspi: Pass sg_tables instead of spi_tranfer to rspi_*_dma() spi: rspi: Move RSPI-specific setup out of DMA routines spi: rspi: Use SPI core DMA mapping framework spi: rspi: SPI DMA core needs both RX and TX DMA to function spi: rspi: Remove unneeded resource test in DMA setup spi: rspi: Extract rspi_request_dma_chan() spi: rspi: Don't consider DMA configuration failures fatal spi: rspi: Extract rspi_pio_transfer() spi: rspi: Use core SPI_MASTER_MUST_[RT]X handling spi: rspi: Remove unused 16-bit DMA support spi: rspi: Do not call rspi_receive_init() for TX-only spi: rspi: Extract rspi_wait_for_{tx_empty,rx_full}() spi/pxa2xx: fix runtime PM enabling order spi/fsl-espi: fix rx_buf in fsl_espi_cmd_trans()/fsl_espi_rw_trans() spi: core: Ignore unsupported spi-[tr]x-bus-width property values ...
- Loading branch information
Showing
46 changed files
with
1,582 additions
and
1,052 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Cadence SPI controller Device Tree Bindings | ||
------------------------------------------- | ||
|
||
Required properties: | ||
- compatible : Should be "cdns,spi-r1p6" or "xlnx,zynq-spi-r1p6". | ||
- reg : Physical base address and size of SPI registers map. | ||
- interrupts : Property with a value describing the interrupt | ||
number. | ||
- interrupt-parent : Must be core interrupt controller | ||
- clock-names : List of input clock names - "ref_clk", "pclk" | ||
(See clock bindings for details). | ||
- clocks : Clock phandles (see clock bindings for details). | ||
|
||
Optional properties: | ||
- num-cs : Number of chip selects used. | ||
If a decoder is used, this will be the number of | ||
chip selects after the decoder. | ||
- is-decoded-cs : Flag to indicate whether decoder is used or not. | ||
|
||
Example: | ||
|
||
spi@e0007000 { | ||
compatible = "xlnx,zynq-spi-r1p6"; | ||
clock-names = "ref_clk", "pclk"; | ||
clocks = <&clkc 26>, <&clkc 35>; | ||
interrupt-parent = <&intc>; | ||
interrupts = <0 49 4>; | ||
num-cs = <4>; | ||
is-decoded-cs = <0>; | ||
reg = <0xe0007000 0x1000>; | ||
} ; |
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 @@ | ||
Synopsys DesignWare SPI master | ||
|
||
Required properties: | ||
- compatible: should be "snps,designware-spi" | ||
- #address-cells: see spi-bus.txt | ||
- #size-cells: see spi-bus.txt | ||
- reg: address and length of the spi master registers | ||
- interrupts: should contain one interrupt | ||
- clocks: spi clock phandle | ||
- num-cs: see spi-bus.txt | ||
|
||
Optional properties: | ||
- cs-gpios: see spi-bus.txt | ||
|
||
Example: | ||
|
||
spi: spi@4020a000 { | ||
compatible = "snps,designware-spi"; | ||
interrupts = <11 1>; | ||
reg = <0x4020a000 0x1000>; | ||
clocks = <&pclk>; | ||
num-cs = <2>; | ||
cs-gpios = <&banka 0 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
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.