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 aa0c61c..7d3af81 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 af13c00..a03a8a4 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 */ }
 };