Message ID | 20230609022553.1775844-2-dmitry.baryshkov@linaro.org (mailing list archive) |
---|---|
State | Handled Elsewhere, archived |
Headers | show |
Series | ARM: dts: qcom: apq8074-dragonboard: enable resin device | expand |
On Fri, 09 Jun 2023 05:25:50 +0300, Dmitry Baryshkov wrote: > 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> > --- > .../bindings/power/reset/qcom,pon.yaml | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > Acked-by: Rob Herring <robh@kernel.org>
Hi, On Fri, Jun 09, 2023 at 10:52:50AM -0600, Rob Herring wrote: > > On Fri, 09 Jun 2023 05:25:50 +0300, Dmitry Baryshkov wrote: > > 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> > > --- > > .../bindings/power/reset/qcom,pon.yaml | 16 ++++++++++++++++ > > 1 file changed, 16 insertions(+) > > > > Acked-by: Rob Herring <robh@kernel.org> Thanks, queued. -- Sebastian
diff --git a/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml b/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml index 0b1eca734d3b..5e460128b0d1 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:
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> --- .../bindings/power/reset/qcom,pon.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)