diff options
author | Gao Pan | 2016-11-22 14:52:16 +0100 |
---|---|---|
committer | Mark Brown | 2016-11-23 13:37:29 +0100 |
commit | a17efbc5ef9468aae32c7799a0ebc329c15cd0dc (patch) | |
tree | d27aa9673c79a3f2f5d5332b70ac3baf4d58e570 /Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt | |
parent | spi: imx: add lpspi bus driver (diff) | |
download | kernel-qcow2-linux-a17efbc5ef9468aae32c7799a0ebc329c15cd0dc.tar.gz kernel-qcow2-linux-a17efbc5ef9468aae32c7799a0ebc329c15cd0dc.tar.xz kernel-qcow2-linux-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>
Diffstat (limited to 'Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt')
-rw-r--r-- | Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt | 19 |
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>; +}; |