[PATCH 1/2] dt-bindings: nvmem: rockchip,otp: Add RV1106

Weihong Guan weihong.guan at gmail.com
Thu Dec 3 04:24:11 PST 2026


The RV1106 OTP controller works as the RK3568's, behind six clocks and
six resets: the RK3568's four (otp, apb, phy, sbpi), the arbiter's
the RK3588 also has (arb), and CLK_PMC_OTP / SRST_PMC_OTP (pmc), as
Rockchip's own RV1106 device tree lists them. The RV1103 has the same
block.

Allow up to six clocks and resets, and add the compatible with its
clock and reset names.

Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Weihong Guan <weihong.guan at gmail.com>
---
 .../bindings/nvmem/rockchip,otp.yaml          | 38 +++++++++++++++++--
 1 file changed, 34 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/nvmem/rockchip,otp.yaml b/Documentation/devicetree/bindings/nvmem/rockchip,otp.yaml
index 7e4d5e1c4..0db99a365 100644
--- a/Documentation/devicetree/bindings/nvmem/rockchip,otp.yaml
+++ b/Documentation/devicetree/bindings/nvmem/rockchip,otp.yaml
@@ -19,25 +19,26 @@ properties:
       - rockchip,rk3568-otp
       - rockchip,rk3576-otp
       - rockchip,rk3588-otp
+      - rockchip,rv1106-otp
 
   reg:
     maxItems: 1
 
   clocks:
     minItems: 3
-    maxItems: 4
+    maxItems: 6
 
   clock-names:
     minItems: 3
-    maxItems: 4
+    maxItems: 6
 
   resets:
     minItems: 1
-    maxItems: 4
+    maxItems: 6
 
   reset-names:
     minItems: 1
-    maxItems: 4
+    maxItems: 6
 
 required:
   - compatible
@@ -174,6 +175,35 @@ allOf:
             - const: apb
             - const: arb
 
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - rockchip,rv1106-otp
+    then:
+      properties:
+        clocks:
+          minItems: 6
+        clock-names:
+          items:
+            - const: otp
+            - const: apb_pclk
+            - const: phy
+            - const: sbpi
+            - const: arb
+            - const: pmc
+        resets:
+          minItems: 6
+        reset-names:
+          items:
+            - const: otp
+            - const: apb
+            - const: phy
+            - const: sbpi
+            - const: arb
+            - const: pmc
+
 unevaluatedProperties: false
 
 examples:
-- 
2.47.3




More information about the linux-arm-kernel mailing list