Skip to content

Commit 7a54cf0

Browse files
lumagsre
authored andcommitted
dt-bindings: power: reset: qcom-pon: define pm8941-pon
On PM8941 pon doesn't store the reset reason. However we still need the wrapping node for pwrkey and resin nodes. Add bindings for pm8941-pon device. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
1 parent 8648aeb commit 7a54cf0

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Documentation/devicetree/bindings/power/reset/qcom,pon.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ properties:
1919
compatible:
2020
enum:
2121
- qcom,pm8916-pon
22+
- qcom,pm8941-pon
2223
- qcom,pms405-pon
2324
- qcom,pm8998-pon
2425
- qcom,pmk8350-pon
@@ -74,6 +75,21 @@ allOf:
7475
reg-names:
7576
items:
7677
- const: pon
78+
79+
# Special case for pm8941, which doesn't store reset mode
80+
- if:
81+
properties:
82+
compatible:
83+
contains:
84+
const: qcom,pm8941-pon
85+
then:
86+
properties:
87+
reg:
88+
maxItems: 1
89+
reg-names:
90+
items:
91+
- const: pon
92+
7793
- if:
7894
properties:
7995
compatible:

0 commit comments

Comments
 (0)