@@ -12,6 +12,7 @@ Required properties:
- reg : Offset and length of the register set for the device
- interrupts : Should contain CSPI/eCSPI interrupt
- cs-gpios : Specifies the gpio pins to be used for chipselects.
+ Specify use of native chipselects with "<0>" in place of a gpio.
- clocks : Clock specifiers for both ipg and per clocks.
- clock-names : Clock names should include both "ipg" and "per"
See the clock consumer binding,
@@ -32,7 +33,8 @@ ecspi@70010000 {
reg = <0x70010000 0x4000>;
interrupts = <36>;
cs-gpios = <&gpio3 24 0>, /* GPIO3_24 */
- <&gpio3 25 0>; /* GPIO3_25 */
+ <&gpio3 25 0>, /* GPIO3_25 */
+ <0>; /* Native chip select */
dmas = <&sdma 3 7 1>, <&sdma 4 7 2>;
dma-names = "rx", "tx";
};
Document the "<0>" notation for specifying use of a native chip-select in the "cs-gpios" tag of an SPI device in devicetree. This isn't unique to the spi-imx driver, but this clearly spells out that you can use it with this driver. Signed-off-by: Greg Ungerer <gerg@linux-m68k.org> --- Documentation/devicetree/bindings/spi/fsl-imx-cspi.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) v2: added documentation to patch set