mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 12:21:37 +00:00
26aafa77df
With the generic DMA device tree helper supported by mxs-dma driver, client devices only need to call dma_request_slave_channel() for requesting a DMA channel from dmaengine. Since mxs is a DT only platform now, along with the changes, the non-DT case handling in probe function also gets removed. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Grant Likely <grant.likely@secretlab.ca> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
27 lines
734 B
Plaintext
27 lines
734 B
Plaintext
* Freescale MX233/MX28 SSP/SPI
|
|
|
|
Required properties:
|
|
- compatible: Should be "fsl,<soc>-spi", where soc is "imx23" or "imx28"
|
|
- reg: Offset and length of the register set for the device
|
|
- interrupts: Should contain SSP ERROR interrupt
|
|
- dmas: DMA specifier, consisting of a phandle to DMA controller node
|
|
and SSP DMA channel ID.
|
|
Refer to dma.txt and fsl-mxs-dma.txt for details.
|
|
- dma-names: Must be "rx-tx".
|
|
|
|
Optional properties:
|
|
- clock-frequency : Input clock frequency to the SPI block in Hz.
|
|
Default is 160000000 Hz.
|
|
|
|
Example:
|
|
|
|
ssp0: ssp@80010000 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
compatible = "fsl,imx28-spi";
|
|
reg = <0x80010000 0x2000>;
|
|
interrupts = <96>;
|
|
dmas = <&dma_apbh 0>;
|
|
dma-names = "rx-tx";
|
|
};
|