Thread (6 messages) 6 messages, 2 authors, 2d ago

[PATCH v9 1/3] dt-bindings: rtc: Add missing type to trickle-voltage-millivolt

WARM2d

From: Sander Speetjens <hidden>
Date: 2026-10-01 19:37:24
Also in: linux-devicetree, linux-rtc
Subsystem: open firmware and flattened device tree bindings, real time clock (rtc) subsystem, the rest · Maintainers: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Alexandre Belloni, Linus Torvalds

Revision v9 of 6 in this series.

Revisions (6)
  1. v1 [diff vs current]
  2. v4 [diff vs current]
  3. v5 [diff vs current]
  4. v6 [diff vs current]
  5. v7 [diff vs current]
  6. v9 current
The property uses a non-standard unit suffix (-millivolt) that is not
recognised by the schema tools, so the type is not inferred. Add an
explicit uint32 reference.

Suggested-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sander Speetjens <redacted>
---
 Documentation/devicetree/bindings/rtc/rtc.yaml | 1 +
 1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/rtc/rtc.yaml b/Documentation/devicetree/bindings/rtc/rtc.yaml
index efb66df82782..e46d50b1063e 100644
--- a/Documentation/devicetree/bindings/rtc/rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/rtc.yaml
@@ -51,6 +51,7 @@ properties:
       if trickle charger should be enabled.
 
   trickle-voltage-millivolt:
+    $ref: /schemas/types.yaml#/definitions/uint32
     description:
       Selected voltage for trickle charger. Should be given
       if trickle charger should be enabled and the trickle voltage is different
-- 
2.55.0

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help