It's not always the case that reboot mode value gets stored in PON register. For example, Sony Xperia M4 Aqua phone (MSM8939) uses a different set of mode values and stores them in IMEM. Add property 'qcom,mode-in-imem' to distinguish this mechanism from the existing one. Shawn Guo (3): dt-bindings: power: reset: Convert qcom,pon to DT schema dt-bindings: qcom,pon: Add 'qcom,mode-in-imem' support power: reset: qcom-pon: Add support for 'qcom,mode-in-imem' .../bindings/power/reset/qcom,pon.txt | 49 ------------- .../bindings/power/reset/qcom,pon.yaml | 68 +++++++++++++++++++ drivers/power/reset/qcom-pon.c | 25 ++++++- 3 files changed, 92 insertions(+), 50 deletions(-) delete mode 100644 Documentation/devicetree/bindings/power/reset/qcom,pon.txt create mode 100644 Documentation/devicetree/bindings/power/reset/qcom,pon.yaml -- 2.17.1