Skip to content

Commit 4776679

Browse files
tlebbroonie
authored andcommitted
spi: cadence-qspi: add mobileye,eyeq5-ospi compatible
Declare a new mobileye,eyeq5-ospi compatible. Signed-off-by: Théo Lebrun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent c188739 commit 4776679

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

drivers/spi/spi-cadence-quadspi.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2055,6 +2055,12 @@ static const struct cqspi_driver_platdata pensando_cdns_qspi = {
20552055
.quirks = CQSPI_NEEDS_APB_AHB_HAZARD_WAR | CQSPI_DISABLE_DAC_MODE,
20562056
};
20572057

2058+
static const struct cqspi_driver_platdata mobileye_eyeq5_ospi = {
2059+
.hwcaps_mask = CQSPI_SUPPORTS_OCTAL,
2060+
.quirks = CQSPI_DISABLE_DAC_MODE | CQSPI_NO_SUPPORT_WR_COMPLETION |
2061+
CQSPI_RD_NO_IRQ,
2062+
};
2063+
20582064
static const struct of_device_id cqspi_dt_ids[] = {
20592065
{
20602066
.compatible = "cdns,qspi-nor",
@@ -2088,6 +2094,10 @@ static const struct of_device_id cqspi_dt_ids[] = {
20882094
.compatible = "amd,pensando-elba-qspi",
20892095
.data = &pensando_cdns_qspi,
20902096
},
2097+
{
2098+
.compatible = "mobileye,eyeq5-ospi",
2099+
.data = &mobileye_eyeq5_ospi,
2100+
},
20912101
{ /* end of table */ }
20922102
};
20932103

0 commit comments

Comments
 (0)