Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: power: reset: qcom-pon: Only allow reboot-mode pre-pmk8350

As pointed out by Shazad [1], PMICs using a separate HLOS+PBS scheme
(so PMK8350 and newer) are expected to pass reboot mode data through SDAM,
as the reboot mode registers are absent in the HLOS reg space.

Limit the reboot-mode.yaml inclusion to PMICs without a separate PBS
region.

[1] https://lore.kernel.org/linux-arm-msm/12f13183-c381-25f7-459e-62e0c2b19498@quicinc.com/

Fixes: 03fccdc76dce ("dt-bindings: power: reset: qcom-pon: Add new compatible "qcom,pmk8350-pon"")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>

authored by

Konrad Dybcio and committed by
Sebastian Reichel
d41dab4c 131c0c76

+3 -1
+3 -1
Documentation/devicetree/bindings/power/reset/qcom,pon.yaml
··· 56 56 unevaluatedProperties: false 57 57 58 58 allOf: 59 - - $ref: reboot-mode.yaml# 60 59 - if: 61 60 properties: 62 61 compatible: ··· 65 66 - qcom,pms405-pon 66 67 - qcom,pm8998-pon 67 68 then: 69 + allOf: 70 + - $ref: reboot-mode.yaml# 71 + 68 72 properties: 69 73 reg: 70 74 maxItems: 1