Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Gao Pan and committed by
Mark Brown
a17efbc5 5314987d

+19
+19
Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt
··· 1 + * Freescale Low Power SPI (LPSPI) for i.MX 2 + 3 + Required properties: 4 + - compatible : 5 + - "fsl,imx7ulp-spi" for LPSPI compatible with the one integrated on i.MX7ULP soc 6 + - reg : address and length of the lpspi master registers 7 + - interrupt-parent : core interrupt controller 8 + - interrupts : lpspi interrupt 9 + - clocks : lpspi clock specifier 10 + 11 + Examples: 12 + 13 + lpspi2: lpspi@40290000 { 14 + compatible = "fsl,imx7ulp-spi"; 15 + reg = <0x40290000 0x10000>; 16 + interrupt-parent = <&intc>; 17 + interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; 18 + clocks = <&clks IMX7ULP_CLK_LPSPI2>; 19 + };