diff options
Diffstat (limited to 'Documentation/devicetree/bindings/spi/fsl-imx-cspi.txt')
| -rw-r--r-- | Documentation/devicetree/bindings/spi/fsl-imx-cspi.txt | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/Documentation/devicetree/bindings/spi/fsl-imx-cspi.txt b/Documentation/devicetree/bindings/spi/fsl-imx-cspi.txt index 5bf13960f7f4..e3c48b20b1a6 100644 --- a/Documentation/devicetree/bindings/spi/fsl-imx-cspi.txt +++ b/Documentation/devicetree/bindings/spi/fsl-imx-cspi.txt | |||
| @@ -12,24 +12,30 @@ Required properties: | |||
| 12 | - "fsl,imx53-ecspi" for SPI compatible with the one integrated on i.MX53 and later Soc | 12 | - "fsl,imx53-ecspi" for SPI compatible with the one integrated on i.MX53 and later Soc |
| 13 | - reg : Offset and length of the register set for the device | 13 | - reg : Offset and length of the register set for the device |
| 14 | - interrupts : Should contain CSPI/eCSPI interrupt | 14 | - interrupts : Should contain CSPI/eCSPI interrupt |
| 15 | - cs-gpios : Specifies the gpio pins to be used for chipselects. | ||
| 16 | - clocks : Clock specifiers for both ipg and per clocks. | 15 | - clocks : Clock specifiers for both ipg and per clocks. |
| 17 | - clock-names : Clock names should include both "ipg" and "per" | 16 | - clock-names : Clock names should include both "ipg" and "per" |
| 18 | See the clock consumer binding, | 17 | See the clock consumer binding, |
| 19 | Documentation/devicetree/bindings/clock/clock-bindings.txt | 18 | Documentation/devicetree/bindings/clock/clock-bindings.txt |
| 20 | - dmas: DMA specifiers for tx and rx dma. See the DMA client binding, | ||
| 21 | Documentation/devicetree/bindings/dma/dma.txt | ||
| 22 | - dma-names: DMA request names should include "tx" and "rx" if present. | ||
| 23 | 19 | ||
| 24 | Obsolete properties: | 20 | Recommended properties: |
| 25 | - fsl,spi-num-chipselects : Contains the number of the chipselect | 21 | - cs-gpios : GPIOs to use as chip selects, see spi-bus.txt. While the native chip |
| 22 | select lines can be used, they appear to always generate a pulse between each | ||
| 23 | word of a transfer. Most use cases will require GPIO based chip selects to | ||
| 24 | generate a valid transaction. | ||
| 26 | 25 | ||
| 27 | Optional properties: | 26 | Optional properties: |
| 27 | - num-cs : Number of total chip selects, see spi-bus.txt. | ||
| 28 | - dmas: DMA specifiers for tx and rx dma. See the DMA client binding, | ||
| 29 | Documentation/devicetree/bindings/dma/dma.txt. | ||
| 30 | - dma-names: DMA request names, if present, should include "tx" and "rx". | ||
| 28 | - fsl,spi-rdy-drctl: Integer, representing the value of DRCTL, the register | 31 | - fsl,spi-rdy-drctl: Integer, representing the value of DRCTL, the register |
| 29 | controlling the SPI_READY handling. Note that to enable the DRCTL consideration, | 32 | controlling the SPI_READY handling. Note that to enable the DRCTL consideration, |
| 30 | the SPI_READY mode-flag needs to be set too. | 33 | the SPI_READY mode-flag needs to be set too. |
| 31 | Valid values are: 0 (disabled), 1 (edge-triggered burst) and 2 (level-triggered burst). | 34 | Valid values are: 0 (disabled), 1 (edge-triggered burst) and 2 (level-triggered burst). |
| 32 | 35 | ||
| 36 | Obsolete properties: | ||
| 37 | - fsl,spi-num-chipselects : Contains the number of the chipselect | ||
| 38 | |||
| 33 | Example: | 39 | Example: |
| 34 | 40 | ||
| 35 | ecspi@70010000 { | 41 | ecspi@70010000 { |
