Skip to content

Commit b2b911a

Browse files
konradybciosre
authored andcommitted
dt-bindings: power: supply: pm8941-coincell: Don't require charging properties
It's fine for these properties to be absent, as the driver doesn't fail without them and functions with settings inherited from the reset/previous stage bootloader state. Fixes: 6c46322 ("dt-bindings: power: supply: pm8941-coincell: Convert to DT schema format") Signed-off-by: Konrad Dybcio <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
1 parent b8ad34c commit b2b911a

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Documentation/devicetree/bindings/power/supply/qcom,pm8941-coincell.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,18 @@ properties:
2828
maxItems: 1
2929

3030
qcom,rset-ohms:
31-
description: resistance (in ohms) for current-limiting resistor
31+
description: |
32+
Resistance (in ohms) for current-limiting resistor. If unspecified,
33+
inherit the previous configuration (e.g. from bootloader or hardware
34+
default value).
3235
enum: [ 800, 1200, 1700, 2100 ]
3336

3437
qcom,vset-millivolts:
3538
$ref: /schemas/types.yaml#/definitions/uint32
36-
description: voltage (in millivolts) to apply for charging
39+
description: |
40+
Voltage (in millivolts) to apply for charging. If unspecified, inherit
41+
the previous configuration (e.g. from bootloader or hardware default
42+
value).
3743
enum: [ 2500, 3000, 3100, 3200 ]
3844

3945
qcom,charger-disable:
@@ -43,8 +49,6 @@ properties:
4349
required:
4450
- compatible
4551
- reg
46-
- qcom,rset-ohms
47-
- qcom,vset-millivolts
4852

4953
additionalProperties: false
5054

0 commit comments

Comments
 (0)