@@ -1869,7 +1869,7 @@ static const struct cqspi_driver_platdata intel_lgm_qspi = {
.quirks = CQSPI_DISABLE_DAC_MODE,
};
-static const struct cqspi_driver_platdata socfpga_qspi = {
+static const struct cqspi_driver_platdata cdns_qspi_0010 = {
.quirks = CQSPI_NO_SUPPORT_WR_COMPLETION,
};
@@ -1902,8 +1902,8 @@ static const struct of_device_id cqspi_dt_ids[] = {
.data = (void *)&versal_ospi,
},
{
- .compatible = "intel,socfpga-qspi",
- .data = (void *)&socfpga_qspi,
+ .compatible = "cdns,qspi-nor-ver-00-10",
+ .data = (void *)&cdns_qspi_0010,
},
{ /* end of table */ }
};
To make the "intel,socfpga-qspi" more generic, change the binding to "cdns,qspi-nor-ver-00-10". The "0010" represents the Module/Revision ID number that is in the MODULE_ID register. Fixes: f0234e62e4 ("spi: cadence-quadspi: fix write completion support") Signed-off-by: Dinh Nguyen <dinguyen@kernel.org> --- drivers/spi/spi-cadence-quadspi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)