]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
spi: imx: add devicetree binding for lpspi
authorGao Pan <pandy.gao@nxp.com>
Tue, 22 Nov 2016 13:52:16 +0000 (21:52 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 23 Nov 2016 12:37:29 +0000 (12:37 +0000)
Add a binding document for lpspi driver

Signed-off-by: Gao Pan <pandy.gao@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt
new file mode 100644 (file)
index 0000000..225ace1
--- /dev/null
@@ -0,0 +1,19 @@
+* Freescale Low Power SPI (LPSPI) for i.MX
+
+Required properties:
+- compatible :
+  - "fsl,imx7ulp-spi" for LPSPI compatible with the one integrated on i.MX7ULP soc
+- reg : address and length of the lpspi master registers
+- interrupt-parent : core interrupt controller
+- interrupts : lpspi interrupt
+- clocks : lpspi clock specifier
+
+Examples:
+
+lpspi2: lpspi@40290000 {
+       compatible = "fsl,imx7ulp-spi";
+       reg = <0x40290000 0x10000>;
+       interrupt-parent = <&intc>;
+       interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
+       clocks = <&clks IMX7ULP_CLK_LPSPI2>;
+};