aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGao Pan <pandy.gao@nxp.com>2016-11-22 21:52:16 +0800
committerMark Brown <broonie@kernel.org>2016-11-23 12:37:29 +0000
commita17efbc5ef9468aae32c7799a0ebc329c15cd0dc (patch)
treed27aa9673c79a3f2f5d5332b70ac3baf4d58e570
parentspi: imx: add lpspi bus driver (diff)
downloadlinux-dev-a17efbc5ef9468aae32c7799a0ebc329c15cd0dc.tar.xz
linux-dev-a17efbc5ef9468aae32c7799a0ebc329c15cd0dc.zip
spi: imx: add devicetree binding for lpspi
Add a binding document for lpspi driver Signed-off-by: Gao Pan <pandy.gao@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt
new file mode 100644
index 000000000000..225ace1d0c65
--- /dev/null
+++ b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt
@@ -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>;
+};