Skip to content
Commit 2330af27 authored by Dhruva Gole's avatar Dhruva Gole Committed by Jagan Teki
Browse files

spi: cadence_qspi: setup ADDR Bits in cmd reads



Setup the Addr bit field while issuing register reads in STIG mode. This
is needed for example flashes like cypress define in their transaction
table that to read any register there is 1 cmd byte and a few more address
bytes trailing the cmd byte. Absence of addr bytes will obviously fail
to read correct data from flash register that maybe requested by flash
driver because the controller doesn't even specify which address of the
flash register the read is being requested from.

Signed-off-by: default avatarDhruva Gole <d-gole@ti.com>
Reviewed-by: default avatarPratyush Yadav <pratyush@kernel.org>
Reviewed-by: default avatarJagan Teki <jagan@amarulasolutions.com>
parent da16d72e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment