Searched +full:lpc1857 +full:- +full:eeprom (Results 1 – 2 of 2) sorted by relevance
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---4 $id: http://devicetree.org/schemas/nvmem/nxp,lpc1857-eeprom.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#7 title: NXP LPC18xx EEPROM memory10 - Frank Li <Frank.Li@nxp.com>14 const: nxp,lpc1857-eeprom19 reg-names:21 - const: reg22 - const: mem[all …]
1 // SPDX-License-Identifier: GPL-2.0-only3 * NXP LPC18xx/LPC43xx EEPROM memory NVMEM driver15 #include <linux/nvmem-provider.h>38 /* EEPROM device requires a ~1500 kHz clock (min 800 kHz, max 1600 kHz) */41 /* EEPROM requires 3 ms of erase/program time between each writing */54 static inline void lpc18xx_eeprom_writel(struct lpc18xx_eeprom_dev *eeprom, in lpc18xx_eeprom_writel() argument57 writel(val, eeprom->reg_base + reg); in lpc18xx_eeprom_writel()60 static inline u32 lpc18xx_eeprom_readl(struct lpc18xx_eeprom_dev *eeprom, in lpc18xx_eeprom_readl() argument63 return readl(eeprom->reg_base + reg); in lpc18xx_eeprom_readl()66 static int lpc18xx_eeprom_busywait_until_prog(struct lpc18xx_eeprom_dev *eeprom) in lpc18xx_eeprom_busywait_until_prog() argument[all …]