Skip to contentSkip to conversation

dt-bindings: nvmem: convert lpc1857-eeprom.txt to yaml format

PATCH Applied Frank Li 3 participants 3 messages Jun 3, 2025 – Jun 27, 2025

Subsystems (3)
lore
Share & tools
lore

Frank Li

author maintainer
#0 lore raw

PATCH v2 1/1 dt-bindings: nvmem: convert lpc1857-eeprom.txt to yaml format

Convert lpc1857-eeprom.txt to yaml format.

---
change in v2
- add missed maintainer to fix dt_binding_check warning
- remove trivial changes in commit message

---
 .../bindings/nvmem/lpc1857-eeprom.txt         | 28 ---------
 .../bindings/nvmem/nxp,lpc1857-eeprom.yaml    | 61 +++++++++++++++++++
 2 files changed, 61 insertions(+), 28 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/nvmem/lpc1857-eeprom.txt
 create mode 100644 Documentation/devicetree/bindings/nvmem/nxp,lpc1857-eeprom.yaml
Documentation/devicetree/bindings/nvmem/lpc1857-eeprom.txt deleted +0 -28
deleted file mode 100644
index 809df68f6e148..0000000000000
@@ -1,28 +0,0 @@
-* NXP LPC18xx EEPROM memory NVMEM driver
-
-Required properties:
-  - compatible: Should be "nxp,lpc1857-eeprom"
-  - reg: Must contain an entry with the physical base address and length
-    for each entry in reg-names.
-  - reg-names: Must include the following entries.
-    - reg: EEPROM registers.
-    - mem: EEPROM address space.
-  - clocks: Must contain an entry for each entry in clock-names.
-  - clock-names: Must include the following entries.
-    - eeprom: EEPROM operating clock.
-  - resets: Should contain a reference to the reset controller asserting
-    the EEPROM in reset.
-  - interrupts: Should contain EEPROM interrupt.
-
-Example:
-
-  eeprom: eeprom@4000e000 {
-    compatible = "nxp,lpc1857-eeprom";
-    reg = <0x4000e000 0x1000>,
-          <0x20040000 0x4000>;
-    reg-names = "reg", "mem";
-    clocks = <&ccu1 CLK_CPU_EEPROM>;
-    clock-names = "eeprom";
-    resets = <&rgu 27>;
-    interrupts = <4>;
-  };
Documentation/devicetree/bindings/nvmem/nxp,lpc1857-eeprom.yaml new file +61 -0

61 lines not on this page · raw message

Signature · 1 line
2.34.1
maintainer Applied
#2 lore raw
In reply to Frank Li
Quoted 3 lines · Frank Li

Convert lpc1857-eeprom.txt to yaml format.

Applied, thanks!

[1/1] dt-bindings: nvmem: convert lpc1857-eeprom.txt to yaml format

      commit: e315a752a6a5399d711fe413bd3543306ef5e421

Best regards,

Signature · 1 line
Srinivas Kandagatla <[email protected]>