summaryrefslogtreecommitdiff
path: root/drivers/ddr/imx/phy/ddrphy_utils.c
diff options
context:
space:
mode:
authorDhruva Gole <d-gole@ti.com>2023-01-03 12:01:11 +0530
committerJagan Teki <jagan@amarulasolutions.com>2023-01-26 21:01:01 +0530
commit2330af2722d1b5f0772538b0a5cede217a331638 (patch)
tree3f33d7822e32622414a6cb06bb7a8eb265c91330 /drivers/ddr/imx/phy/ddrphy_utils.c
parentda16d72efd004e046b8b4f98a662afd4bef09206 (diff)
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: Dhruva Gole <d-gole@ti.com> Reviewed-by: Pratyush Yadav <pratyush@kernel.org> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'drivers/ddr/imx/phy/ddrphy_utils.c')
0 files changed, 0 insertions, 0 deletions