dt_bindings: bd71828: Add clock output mode
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Mon, 5 Apr 2021 11:41:07 +0000 (14:41 +0300)
committerLee Jones <lee.jones@linaro.org>
Wed, 14 Apr 2021 09:18:03 +0000 (10:18 +0100)
The BD71828 allows configuring the clk32kout pin mode to CMOS or
open-drain. Add device-tree property for specifying the preferred mode.

Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml

index 3a6a1a26e2b387c6cc1c3709ea60e806b929f6cb..8380166d176cda73a05258d1b6f8a1f153d6de59 100644 (file)
@@ -44,6 +44,12 @@ properties:
   clock-output-names:
     const: bd71828-32k-out
 
+  rohm,clkout-open-drain:
+    description: clk32kout mode. Set to 1 for "open-drain" or 0 for "cmos".
+    $ref: "/schemas/types.yaml#/definitions/uint32"
+    minimum: 0
+    maximum: 1
+
   rohm,charger-sense-resistor-ohms:
     minimum: 10000000
     maximum: 50000000