]> Git Repo - J-linux.git/commitdiff
doc: lpspi: Document DT bindings for LPSPI slave mode
authorClark Wang <[email protected]>
Fri, 7 Dec 2018 02:50:41 +0000 (02:50 +0000)
committerMark Brown <[email protected]>
Thu, 13 Dec 2018 11:57:41 +0000 (11:57 +0000)
Add introductions of interrupt-parent and spi-slave.

Signed-off-by: Clark Wang <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt

index 8d178a4503cf981d6c9fbcfb13220e5678c7e0bb..6cc3c6fe25a34050a4cfa1d96329d3ef5ab6acb3 100644 (file)
@@ -5,8 +5,11 @@ Required properties:
   - "fsl,imx7ulp-spi" for LPSPI compatible with the one integrated on i.MX7ULP soc
   - "fsl,imx8qxp-spi" for LPSPI compatible with the one integrated on i.MX8QXP soc
 - reg : address and length of the lpspi master registers
+- interrupt-parent : core interrupt controller
 - interrupts : lpspi interrupt
 - clocks : lpspi clock specifier
+- spi-slave : spi slave mode support. In slave mode, add this attribute without
+             value. In master mode, remove it.
 
 Examples:
 
@@ -16,4 +19,5 @@ lpspi2: lpspi@40290000 {
        interrupt-parent = <&intc>;
        interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&clks IMX7ULP_CLK_LPSPI2>;
+       spi-slave;
 };
This page took 0.050316 seconds and 4 git commands to generate.