Skip to content

Commit

Permalink
spi: imx: add devicetree binding for lpspi
Browse files Browse the repository at this point in the history
Add a binding document for lpspi driver

Signed-off-by: Gao Pan <pandy.gao@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Gao Pan authored and Mark Brown committed Nov 23, 2016
1 parent 5314987 commit a17efbc
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt
Original file line number Diff line number Diff line change
@@ -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>;
};

0 comments on commit a17efbc

Please sign in to comment.