spi: cadence-quadspi: Add QSPI support for Intel LGM SoC
authorRamuthevar Vadivel Murugan <vadivel.muruganx.ramuthevar@linux.intel.com>
Tue, 24 Nov 2020 04:18:36 +0000 (12:18 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 13 Jan 2021 11:37:01 +0000 (11:37 +0000)
Add QSPI controller support for Intel LGM SoC.

Signed-off-by: Ramuthevar Vadivel Murugan <vadivel.muruganx.ramuthevar@linux.intel.com>
Link: https://lore.kernel.org/r/20201124041840.31066-2-vadivel.muruganx.ramuthevar@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/Kconfig
drivers/spi/spi-cadence-quadspi.c

index aa0c61c0a8905212e80c220f46c05fc3f3a1e57c..7d3af8120da431c5e5395ad8e65d8f9a60f08a30 100644 (file)
@@ -203,7 +203,7 @@ config SPI_CADENCE
 
 config SPI_CADENCE_QUADSPI
        tristate "Cadence Quad SPI controller"
-       depends on OF && (ARM || ARM64 || COMPILE_TEST)
+       depends on OF && (ARM || ARM64 || X86 || COMPILE_TEST)
        help
          Enable support for the Cadence Quad SPI Flash controller.
 
index af13c0025bf51f34be637cf9e4f2bf9613747bd0..a03a8a445c06c881d949dc12f41c3189d19f4187 100644 (file)
@@ -1688,6 +1688,9 @@ static const struct of_device_id cqspi_dt_ids[] = {
                .compatible = "ti,am654-ospi",
                .data = &am654_ospi,
        },
+       {
+               .compatible = "intel,lgm-qspi",
+       },
        { /* end of table */ }
 };