linux/drivers/nvmem
Srinivas Kandagatla 795ddd18d3 nvmem: core: remove regmap dependency
nvmem uses regmap_raw_read/write apis to read/write data from providers,
regmap raw apis stopped working with recent kernels which removed raw
accessors on mmio bus. This resulted in broken nvmem for providers
which are based on regmap mmio bus. This issue can be fixed temporarly
by moving to other regmap apis, but we might hit same issue in future.
Moving to interfaces based on read/write callbacks from providers would
be more robust.

This patch removes regmap dependency from nvmem and introduces
read/write callbacks from the providers.

Without this patch nvmem providers like qfprom based on regmap mmio
bus would not work.

Reported-by: Rajendra Nayak <rjendra@qti.qualcomm.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-05-01 14:01:00 -07:00
..
core.c nvmem: core: remove regmap dependency 2016-05-01 14:01:00 -07:00
imx-ocotp.c nvmem: imx-ocotp: Fix return value of imx_ocotp_read 2016-03-05 12:20:29 -08:00
Kconfig nvmem: core: remove regmap dependency 2016-05-01 14:01:00 -07:00
lpc18xx_eeprom.c nvmem: NXP LPC18xx EEPROM memory NVMEM driver 2016-02-07 23:04:57 -08:00
Makefile nvmem: mediatek: Add Mediatek EFUSE driver 2016-02-07 23:04:57 -08:00
mtk-efuse.c nvmem: mediatek: Fix later provider initialization 2016-03-05 12:20:29 -08:00
mxs-ocotp.c nvmem: add driver for ocotp in i.MX23 and i.MX28 2015-10-04 12:06:13 +01:00
qfprom.c nvmem: qfprom: Specify LE device endianness 2016-02-07 23:09:13 -08:00
rockchip-efuse.c nvmem: rockchip: trivial: Make the driver more readability 2016-02-07 23:07:21 -08:00
sunxi_sid.c nvmem: sunxi: trivial: fix code style 2016-02-07 23:07:21 -08:00
vf610-ocotp.c nvmem: Add Vybrid OCOTP support 2015-10-04 12:06:13 +01:00