linux-stable/drivers/nvmem
Dmitry Baryshkov 1603a34b80 nvmem: qfprom: switch to 4-byte aligned reads
[ Upstream commit 3566a737db ]

All platforms since Snapdragon 8 Gen1 (SM8450) require using 4-byte
reads to access QFPROM data. While older platforms were more than happy
with 1-byte reads, change the qfprom driver to use 4-byte reads for all
the platforms. Specify stride and word size of 4 bytes. To retain
compatibility with the existing DT and to simplify porting data from
vendor kernels, use fixup_dt_cell_info in order to bump alignment
requirements.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20250411112251.68002-12-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-05-29 11:01:58 +02:00
..
layouts
apple-efuses.c
bcm-ocotp.c
brcm_nvram.c
core.c nvmem: core: update raw_len if the bit reading is required 2025-05-29 11:01:57 +02:00
imx-iim.c
imx-ocotp-ele.c
imx-ocotp-scu.c
imx-ocotp.c
internals.h
jz4780-efuse.c
Kconfig
lan9662-otpc.c
layerscape-sfp.c
layouts.c
lpc18xx_eeprom.c
lpc18xx_otp.c
Makefile
meson-efuse.c
meson-mx-efuse.c
microchip-otpc.c
mtk-efuse.c
mxs-ocotp.c
nintendo-otp.c
qcom-spmi-sdam.c
qfprom.c nvmem: qfprom: switch to 4-byte aligned reads 2025-05-29 11:01:58 +02:00
qoriq-efuse.c
rave-sp-eeprom.c
rmem.c
rockchip-efuse.c
rockchip-otp.c
sc27xx-efuse.c
sec-qfprom.c
snvs_lpgpr.c
sprd-efuse.c
stm32-bsec-optee-ta.c
stm32-bsec-optee-ta.h
stm32-romem.c
sunplus-ocotp.c
sunxi_sid.c
u-boot-env.c
uniphier-efuse.c
vf610-ocotp.c
zynqmp_nvmem.c