-
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-v4.10' of git://git.kernel.org/pub/scm/linux/kernel/gi…
…t/broonie/spi Pull spi updates from Mark Brown: "The nicest things about this release for me is seeing some older drivers getting some cleanups and modernization, it's really good to see things moving forwards even for older drivers. In content terms it's a fairly humdrum release but where the work has been happening is great. - Support for simultaneous use of internal and GPIO chip selects for devices that require the use of the internal select even if it's not connected and a GPIO is actually routed to the slave device. - A major rework and cleanup of the fsl-espi driver from Heiner Kallweit which should make it work substantially better. - DMA support for Freescale DSPI IPs. - New drivers for Freescale LPSPI IPs and Marvell Armada 3700. - Support for Allwinner H3" * tag 'spi-v4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: (85 commits) spi: mvebu: fix baudrate calculation for armada variant spi: Add support for Armada 3700 SPI Controller spi: armada-3700: Add documentation for the Armada 3700 SPI Controller spi: fsl-lpspi: quit reading rx fifo under error condition spi: fsl-lpspi: use GPL as module license spi: fsl-espi: fix ioread16/iowrite16 endianness spi: fsl-espi: remove unused linearization code spi: fsl-espi: eliminate need for linearization when reading from hardware spi: fsl-espi: eliminate need for linearization when writing to hardware spi: fsl-espi: determine need for byte swap only once spi: fsl-lpspi: read lpspi tx/rx fifo size in probe() spi: fsl-lpspi: use wait_for_completion_timeout() while waiting transfer done spi: orion: fix comment to mention MVEBU spi: atmel: remove the use of private channel fields spi: atmel: trivial: remove unused fields in DMA structure spi: atmel: Use SPI core DMA mapping framework spi: atmel: Use core SPI_MASTER_MUST_[RT]X handling spi: atmel: trivial: move info banner to latest probe action spi: imx: replace schedule() with cond_resched() spi: imx: fix potential shift truncation ...
- Loading branch information
Showing
31 changed files
with
2,611 additions
and
615 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
* Marvell Armada 3700 SPI Controller | ||
|
||
Required Properties: | ||
|
||
- compatible: should be "marvell,armada-3700-spi" | ||
- reg: physical base address of the controller and length of memory mapped | ||
region. | ||
- interrupts: The interrupt number. The interrupt specifier format depends on | ||
the interrupt controller and of its driver. | ||
- clocks: Must contain the clock source, usually from the North Bridge clocks. | ||
- num-cs: The number of chip selects that is supported by this SPI Controller | ||
- #address-cells: should be 1. | ||
- #size-cells: should be 0. | ||
|
||
Example: | ||
|
||
spi0: spi@10600 { | ||
compatible = "marvell,armada-3700-spi"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
reg = <0x10600 0x5d>; | ||
clocks = <&nb_perih_clk 7>; | ||
interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>; | ||
num-cs = <4>; | ||
}; |
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,19 @@ | ||
* Freescale Low Power SPI (LPSPI) for i.MX | ||
|
||
Required properties: | ||
- compatible : | ||
- "fsl,imx7ulp-spi" for LPSPI compatible with the one integrated on i.MX7ULP soc | ||
- reg : address and length of the lpspi master registers | ||
- interrupt-parent : core interrupt controller | ||
- interrupts : lpspi interrupt | ||
- clocks : lpspi clock specifier | ||
|
||
Examples: | ||
|
||
lpspi2: lpspi@40290000 { | ||
compatible = "fsl,imx7ulp-spi"; | ||
reg = <0x40290000 0x10000>; | ||
interrupt-parent = <&intc>; | ||
interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; | ||
clocks = <&clks IMX7ULP_CLK_LPSPI2>; | ||
}; |
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.