commit | 9bf522cd5c521f9304e7d54f0cf97eb6c08a0696 | [log] [tgz] |
---|---|---|
author | Michal Simek <michal.simek@amd.com> | Wed May 29 16:48:01 2024 +0200 |
committer | Michal Simek <michal.simek@amd.com> | Mon Jun 17 16:02:29 2024 +0200 |
tree | be21f1be062bcdab9d1bc9c31bc846177b4c08cc | |
parent | 4950a98d14da12335c960c81a62754b667c11300 [diff] [blame] |
spi: versal2: Enable spi drivers for Versal Gen 2 Enable and update OSPI/QSPI/GQSPI drivers to support Versal Gen 2 SoCs. Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/691782470f56f7d49a3204f6757296f2752d4156.1716994063.git.michal.simek@amd.com
diff --git a/drivers/spi/cadence_qspi.c b/drivers/spi/cadence_qspi.c index 75e5223..9c466f8 100644 --- a/drivers/spi/cadence_qspi.c +++ b/drivers/spi/cadence_qspi.c
@@ -253,7 +253,8 @@ /* Versal and Versal-NET use spi calibration to set read delay */ if (CONFIG_IS_ENABLED(ARCH_VERSAL) || - CONFIG_IS_ENABLED(ARCH_VERSAL_NET)) + CONFIG_IS_ENABLED(ARCH_VERSAL_NET) || + CONFIG_IS_ENABLED(ARCH_VERSAL2)) if (priv->read_delay >= 0) priv->read_delay = -1;