Skip to content

Commit

Permalink
dt_bindings: bd71828: Add clock output mode
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
  • Loading branch information
M-Vaittinen authored and Lee Jones committed Apr 14, 2021
1 parent 316d0d9 commit d6ee7f2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d6ee7f2

Please sign in to comment.