linux-yocto/drivers/nvmem
Dmitry Baryshkov beb6382add 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-06-04 14:41:52 +02:00
..
layouts nvmem: Simplify the ->add_cells() hook 2025-02-27 04:10:47 -08:00
apple-efuses.c
bcm-ocotp.c
brcm_nvram.c
core.c nvmem: core: update raw_len if the bit reading is required 2025-06-04 14:41:52 +02:00
imx-iim.c
imx-ocotp-ele.c nvmem: imx-ocotp-ele: fix MAC address byte order 2025-02-27 04:10:47 -08:00
imx-ocotp-scu.c
imx-ocotp.c nvmem: Move and rename ->fixup_cell_info() 2025-02-27 04:10:47 -08:00
internals.h nvmem: Move and rename ->fixup_cell_info() 2025-02-27 04:10:47 -08:00
jz4780-efuse.c
Kconfig
lan9662-otpc.c
layerscape-sfp.c
lpc18xx_eeprom.c
lpc18xx_otp.c
Makefile
meson-efuse.c
meson-mx-efuse.c
microchip-otpc.c
mtk-efuse.c nvmem: Move and rename ->fixup_cell_info() 2025-02-27 04:10:47 -08:00
mxs-ocotp.c
nintendo-otp.c
qcom-spmi-sdam.c
qfprom.c nvmem: qfprom: switch to 4-byte aligned reads 2025-06-04 14:41:52 +02:00
qoriq-efuse.c
rave-sp-eeprom.c
rmem.c
rockchip-efuse.c
rockchip-otp.c nvmem: rockchip-otp: add rk3576 variant data 2025-06-04 14:41:52 +02:00
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