2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-20 19:43:58 +08:00
linux-next/drivers/nvmem
Ariel D'Alessandro f02f8aee21 nvmem: NXP LPC18xx EEPROM memory NVMEM driver
This commit adds support for NXP LPC18xx EEPROM memory found in NXP
LPC185x/3x and LPC435x/3x/2x/1x devices.

EEPROM size is 16384 bytes and it can be entirely read and
written/erased with 1 word (4 bytes) granularity. The last page
(128 bytes) contains the EEPROM initialization data and is not writable.

Erase/program time is less than 3ms. The EEPROM device requires a
~1500 kHz clock (min 800 kHz, max 1600 kHz) that is generated dividing
the system bus clock by the division factor, contained in the divider
register (minus 1 encoded).

EEPROM will be kept in Power Down mode except during read/write calls.

Signed-off-by: Ariel D'Alessandro <ariel@vanguardiasur.com.ar>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-07 23:04:57 -08:00
..
core.c nvmem: core: Fix memory leak in nvmem_cell_write 2015-10-04 12:09:43 +01:00
imx-ocotp.c nvmem: imx-ocotp: Add i.MX6 OCOTP driver 2015-10-04 12:06:13 +01:00
Kconfig nvmem: NXP LPC18xx EEPROM memory NVMEM driver 2016-02-07 23:04:57 -08:00
lpc18xx_eeprom.c nvmem: NXP LPC18xx EEPROM memory NVMEM driver 2016-02-07 23:04:57 -08:00
Makefile nvmem: NXP LPC18xx EEPROM memory NVMEM driver 2016-02-07 23:04:57 -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: Add Qualcomm QFPROM support. 2015-08-05 13:44:23 -07:00
rockchip-efuse.c nvmem: rockchip_efuse_regmap_config can be static 2015-10-04 12:08:14 +01:00
sunxi_sid.c nvmem: sunxi: Check for memory allocation failure 2015-10-04 12:09:43 +01:00
vf610-ocotp.c nvmem: Add Vybrid OCOTP support 2015-10-04 12:06:13 +01:00