spi: cadence_qspi_apb: Disable rising edge sampling
Disable rising edge sampling is set by previous stage. This is not supported by the driver at the moment Signed-off-by: Apurva Nandan <a-nandan@ti.com> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
This commit is contained in:
parent
f19312796a
commit
107f490c0c
|
|
@ -84,6 +84,7 @@
|
|||
|
||||
#define CQSPI_REG_RD_DATA_CAPTURE 0x10
|
||||
#define CQSPI_REG_RD_DATA_CAPTURE_BYPASS BIT(0)
|
||||
#define CQSPI_REG_RD_DATA_CAPTURE_SMPL_EDGE BIT(5)
|
||||
#define CQSPI_REG_READCAPTURE_DQS_ENABLE BIT(8)
|
||||
#define CQSPI_REG_RD_DATA_CAPTURE_DELAY_LSB 1
|
||||
#define CQSPI_REG_RD_DATA_CAPTURE_DELAY_MASK 0xF
|
||||
|
|
|
|||
|
|
@ -238,6 +238,9 @@ void cadence_qspi_apb_readdata_capture(void *reg_base,
|
|||
|
||||
reg = readl(reg_base + CQSPI_REG_RD_DATA_CAPTURE);
|
||||
|
||||
/* Disable Rising edge sampling */
|
||||
reg &= ~CQSPI_REG_RD_DATA_CAPTURE_SMPL_EDGE;
|
||||
|
||||
if (bypass)
|
||||
reg |= CQSPI_REG_RD_DATA_CAPTURE_BYPASS;
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue