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

spi: Add bindings for Lightning Mountain SoC

Add support to SPI controller on Intel Atom based Lightning Mountain
SoC which reuses the Lantiq SPI controller IP.

Signed-off-by: Dilip Kota <eswara.kota@linux.intel.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/7d644e5d03ef534f719763e5c823c1673e53d1a5.1594957019.git.eswara.kota@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Dilip Kota and committed by
Mark Brown
956284a3 040f7f97

+19 -2
+19 -2
Documentation/devicetree/bindings/spi/spi-lantiq-ssc.txt
··· 1 1 Lantiq Synchronous Serial Controller (SSC) SPI master driver 2 2 3 3 Required properties: 4 - - compatible: "lantiq,ase-spi", "lantiq,falcon-spi", "lantiq,xrx100-spi" 4 + - compatible: "lantiq,ase-spi", "lantiq,falcon-spi", "lantiq,xrx100-spi", 5 + "intel,lgm-spi" 5 6 - #address-cells: see spi-bus.txt 6 7 - #size-cells: see spi-bus.txt 7 8 - reg: address and length of the spi master registers 8 - - interrupts: should contain the "spi_rx", "spi_tx" and "spi_err" interrupt. 9 + - interrupts: 10 + For compatible "intel,lgm-ssc" - the common interrupt number for 11 + all of tx rx & err interrupts. 12 + or 13 + For rest of the compatibles, should contain the "spi_rx", "spi_tx" and 14 + "spi_err" interrupt. 9 15 10 16 11 17 Optional properties: ··· 32 26 #size-cells = <1>; 33 27 num-cs = <6>; 34 28 base-cs = <1>; 29 + }; 30 + 31 + ssc0: spi@e0800000 { 32 + compatible = "intel,lgm-spi"; 33 + reg = <0xe0800000 0x400>; 34 + interrupt-parent = <&ioapic1>; 35 + interrupts = <35 1>; 36 + #address-cells = <1>; 37 + #size-cells = <0>; 38 + clocks = <&cgu0 LGM_CLK_NGI>, <&cgu0 LGM_GCLK_SSC0>; 39 + clock-names = "freq", "gate"; 35 40 };