[PATCH] dt-bindings: rtc: microcrystal,rv3032: Add missing type to 'trickle-voltage-millivolt'

Rob Herring posted 1 patch 3 years, 9 months ago
Documentation/devicetree/bindings/rtc/microcrystal,rv3032.yaml | 1 +
1 file changed, 1 insertion(+)
[PATCH] dt-bindings: rtc: microcrystal,rv3032: Add missing type to 'trickle-voltage-millivolt'
Posted by Rob Herring 3 years, 9 months ago
'trickle-voltage-millivolt' is missing a type definition. '-millivolt' is
not a standard unit (should be '-microvolt'). As the property is already
in use, add a type reference.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/rtc/microcrystal,rv3032.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/rtc/microcrystal,rv3032.yaml b/Documentation/devicetree/bindings/rtc/microcrystal,rv3032.yaml
index 9593840a4a2b..60f9027e8299 100644
--- a/Documentation/devicetree/bindings/rtc/microcrystal,rv3032.yaml
+++ b/Documentation/devicetree/bindings/rtc/microcrystal,rv3032.yaml
@@ -32,6 +32,7 @@ properties:
       - 11000
 
   trickle-voltage-millivolt:
+    $ref: /schemas/types.yaml#/definitions/uint32
     enum:
       - 1750
       - 3000
-- 
2.34.1
Re: [PATCH] dt-bindings: rtc: microcrystal,rv3032: Add missing type to 'trickle-voltage-millivolt'
Posted by Alexandre Belloni 3 years, 8 months ago
On Tue, 19 Jul 2022 15:51:42 -0600, Rob Herring wrote:
> 'trickle-voltage-millivolt' is missing a type definition. '-millivolt' is
> not a standard unit (should be '-microvolt'). As the property is already
> in use, add a type reference.
> 
> 

Applied, thanks!

[1/1] dt-bindings: rtc: microcrystal,rv3032: Add missing type to 'trickle-voltage-millivolt'
      commit: 2830320122d87fb65632f09cdffe129046915d51

Best regards,

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com