From: Dmitry Baryshkov Date: Fri, 9 Jun 2023 02:25:50 +0000 (+0300) Subject: dt-bindings: power: reset: qcom-pon: define pm8941-pon X-Git-Tag: v6.6.7~2439^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a54cf02d7176aec484aca7e010deee21d3117ad;p=platform%2Fkernel%2Flinux-starfive.git 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 Acked-by: Rob Herring Signed-off-by: Sebastian Reichel --- diff --git a/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml b/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml index 0b1eca7..5e46012 100644 --- a/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml +++ b/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml @@ -19,6 +19,7 @@ properties: compatible: enum: - qcom,pm8916-pon + - qcom,pm8941-pon - qcom,pms405-pon - qcom,pm8998-pon - qcom,pmk8350-pon @@ -74,6 +75,21 @@ allOf: reg-names: items: - const: pon + + # Special case for pm8941, which doesn't store reset mode + - if: + properties: + compatible: + contains: + const: qcom,pm8941-pon + then: + properties: + reg: + maxItems: 1 + reg-names: + items: + - const: pon + - if: properties: compatible: