Skip to content

Commit 830d705

Browse files
committed
Merge remote-tracking branches 'spi/topic/fsl-lpspi', 'spi/topic/imx', 'spi/topic/jcore' and 'spi/topic/omap' into spi-next
5 parents 3bc1ad2 + d989eed + 32df9ff + aa12c1a + 2e9c079 commit 830d705

7 files changed

Lines changed: 581 additions & 17 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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+
};

‎drivers/spi/Kconfig‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,12 @@ config SPI_FALCON
271271
has only been tested with m25p80 type chips. The hardware has no
272272
support for other types of SPI peripherals.
273273

274+
config SPI_FSL_LPSPI
275+
tristate "Freescale i.MX LPSPI controller"
276+
depends on ARCH_MXC || COMPILE_TEST
277+
help
278+
This enables Freescale i.MX LPSPI controllers in master mode.
279+
274280
config SPI_GPIO
275281
tristate "GPIO-based bitbanging SPI Master"
276282
depends on GPIOLIB || COMPILE_TEST

‎drivers/spi/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ obj-$(CONFIG_SPI_FSL_CPM) += spi-fsl-cpm.o
4444
obj-$(CONFIG_SPI_FSL_DSPI) += spi-fsl-dspi.o
4545
obj-$(CONFIG_SPI_FSL_LIB) += spi-fsl-lib.o
4646
obj-$(CONFIG_SPI_FSL_ESPI) += spi-fsl-espi.o
47+
obj-$(CONFIG_SPI_FSL_LPSPI) += spi-fsl-lpspi.o
4748
obj-$(CONFIG_SPI_FSL_SPI) += spi-fsl-spi.o
4849
obj-$(CONFIG_SPI_GPIO) += spi-gpio.o
4950
obj-$(CONFIG_SPI_IMG_SPFI) += spi-img-spfi.o

0 commit comments

Comments
 (0)