Skip to contentSkip to conversation

dt-bindings: nvmem: Introduce nvmem efuse binding for TI K3 SoCs

RFC PATCH New Judith Mendez 1 participant 1 message Sep 24, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

RFC PATCH v3 1/1 dt-bindings: nvmem: Introduce nvmem efuse binding for TI K3 SoCs

On K3 SoCs there are efuse registers scattered across the memory map. In order to reference these efuse registers like gp-sw which may store SW REV information or other general purpose information for drivers to consume, treat them appropriately as efuse devices with nvmem framework.

---
This patch is not complete and is sent as an RFC to get some initial thoughts on this implementation to solve [0].

[0] https://lore.kernel.org/linux-mmc/[email protected]

Changes since v2 RFC:
- Fix yamllint warnings/errors
- Rebase against next/master

Link to RFC v2:
https://lore.kernel.org/linux-devicetree/[email protected]/
Link to RFC v1:
https://lore.kernel.org/linux-devicetree/[email protected]/

---
 .../devicetree/bindings/nvmem/ti,efuses.yaml  | 36 +++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/nvmem/ti,efuses.yaml
Documentation/devicetree/bindings/nvmem/ti,efuses.yaml new file +36 -0
new file mode 100644
index 0000000000000..c6c66016b9d44
@@ -0,0 +1,36 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/nvmem/ti,efuses.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: TI SoC eFuse-based NVMEM
+
+maintainers:
+  - Judith Mendez <[email protected]>
+
+allOf:
+  - $ref: nvmem.yaml#
+
+properties:
+  compatible:
+    enum:
+      - ti,am62p-efuse
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    efuse@43000230 {
+        compatible = "ti,am62p-efuse";
+        reg = <0x43000230 0x10>;
+    };
+
+...
Signature · 1 line
2.51.0