Skip to content

Commit

Permalink
dts: max20335-charger: make constant-charge-current/voltage props req…
Browse files Browse the repository at this point in the history
…uired

There are no default values for those properties
in the driver so let's make them required.

Signed-off-by: Bartosz Bilas <[email protected]>
  • Loading branch information
bbilas authored and fabiobaltieri committed Nov 15, 2023
1 parent 350747c commit 24b004f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dts/bindings/charger/maxim,max20335-charger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,10 @@ description: Maxim MAX20335 battery charger
include: battery.yaml

compatible: "maxim,max20335-charger"

properties:
constant-charge-current-max-microamp:
required: true

constant-charge-voltage-max-microvolt:
required: true

0 comments on commit 24b004f

Please sign in to comment.