-
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.19' of git://git.kernel.org/pub/scm/linux/kernel/gi…
…t/broonie/spi Pull spi updates from Mark Brown: "Not a huge amount going on this release, mainly new drivers (there's a couple more waiting that didn't quite make the cut for this release too): - An interface for querying if the current transfer is the last in a message, allowing controllers that need special handling for the final transfer to use the core message parsing. - Support for Amlogic Meson SPIFC, Imagination Technologies SFPI, Intel Quark X1000 and Samsung Exynos 7 controllers" * tag 'spi-v3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: (38 commits) spi/s3c64xx: Remove redundant runtime PM management spi: fsl-spi: remove unused variable assignment spi: spi-fsl-spi: Return an error code in fsl_spi_do_one_msg() spi: core: Do not mangle error code from kthread_run() spi: fsl-espi: add (un)prepare_transfer_hardware calls to save power if SPI is not in use spi: fsl-(e)spi: migrate to generic master queueing spi/txx9: Deletion of an unnecessary check before the function call "clk_disable" spi: cadence: Fix 3-to-8 mux mode spi: cadence: Init HW after reading devicetree attributes spi: meson: Select REGMAP_MMIO spi: s3c64xx: add support for exynos7 SPI controller spi: spi-pxa2xx: SPI support for Intel Quark X1000 spi: meson: meson_spifc_setup_speed() can be static spi: spi-pxa2xx: Add helpers for regiseters' accessing spi: spi-mxs: Fix mapping from vmalloc-ed buffer to scatter list spi: atmel: introduce probe deferring spi: atmel: remove compat for non DT board when requesting dma chan spi: meson: Add support for Amlogic Meson SPIFC spi: meson: Add device tree bindings documentation for SPIFC spi: core: Add spi_transfer_is_last() helper ...
- Loading branch information
Showing
31 changed files
with
1,911 additions
and
279 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,37 @@ | ||
IMG Synchronous Peripheral Flash Interface (SPFI) controller | ||
|
||
Required properties: | ||
- compatible: Must be "img,spfi". | ||
- reg: Must contain the base address and length of the SPFI registers. | ||
- interrupts: Must contain the SPFI interrupt. | ||
- clocks: Must contain an entry for each entry in clock-names. | ||
See ../clock/clock-bindings.txt for details. | ||
- clock-names: Must include the following entries: | ||
- spfi: SPI operating clock | ||
- sys: SPI system interface clock | ||
- dmas: Must contain an entry for each entry in dma-names. | ||
See ../dma/dma.txt for details. | ||
- dma-names: Must include the following entries: | ||
- rx | ||
- tx | ||
- #address-cells: Must be 1. | ||
- #size-cells: Must be 0. | ||
|
||
Optional properties: | ||
- img,supports-quad-mode: Should be set if the interface supports quad mode | ||
SPI transfers. | ||
|
||
Example: | ||
|
||
spi@18100f00 { | ||
compatible = "img,spfi"; | ||
reg = <0x18100f00 0x100>; | ||
interrupts = <GIC_SHARED 22 IRQ_TYPE_LEVEL_HIGH>; | ||
clocks = <&spi_clk>, <&system_clk>; | ||
clock-names = "spfi", "sys"; | ||
dmas = <&mdc 9 0xffffffff 0>, <&mdc 10 0xffffffff 0>; | ||
dma-names = "rx", "tx"; | ||
|
||
#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,22 @@ | ||
Amlogic Meson SPI controllers | ||
|
||
* SPIFC (SPI Flash Controller) | ||
|
||
The Meson SPIFC is a controller optimized for communication with SPI | ||
NOR memories, without DMA support and a 64-byte unified transmit / | ||
receive buffer. | ||
|
||
Required properties: | ||
- compatible: should be "amlogic,meson6-spifc" | ||
- reg: physical base address and length of the controller registers | ||
- clocks: phandle of the input clock for the baud rate generator | ||
- #address-cells: should be 1 | ||
- #size-cells: should be 0 | ||
|
||
spi@c1108c80 { | ||
compatible = "amlogic,meson6-spifc"; | ||
reg = <0xc1108c80 0x80>; | ||
clocks = <&clk81>; | ||
#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
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.