diff --git a/bindings/soc/qcom/qcom,pmic-pon-log.txt b/bindings/soc/qcom/qcom,pmic-pon-log.txt index 1a906f39..4bfc320d 100644 --- a/bindings/soc/qcom/qcom,pmic-pon-log.txt +++ b/bindings/soc/qcom/qcom,pmic-pon-log.txt @@ -12,12 +12,14 @@ PON Log device accesses this log and parses it into a human readable format. - nvmem: Usage: required Value type: - Definition: phandle of the PMIC nvmem device containing the PON log + Definition: phandle list of the PMIC nvmem devices containing the PON + log. - nvmem-names: Usage: required Value type: - Definition: must be "pon_log" + Definition: must be "pon_log" if using a single nvmem device or + "pon_log0", "pon_log1", etc if using multiple nvmem devices. - qcom,pmic-fault-panic: Usage: optional @@ -26,10 +28,16 @@ PON Log device accesses this log and parses it into a human readable format. controlled panic shutdown if the preceding restart was caused by a PMIC fault. -Example: +Examples: pmic-pon-log { compatible = "qcom,pmic-pon-log"; nvmem = <&pmk8350_sdam_5>; nvmem-names = "pon_log"; }; + +pmic-pon-log { + compatible = "qcom,pmic-pon-log"; + nvmem = <&pmk8550_sdam_5>, <&pmk8550_sdam_6>; + nvmem-names = "pon_log0", "pon_log1"; +}; diff --git a/qcom/kalama-pmic-overlay.dtsi b/qcom/kalama-pmic-overlay.dtsi index 6e1645a2..e3f021b4 100644 --- a/qcom/kalama-pmic-overlay.dtsi +++ b/qcom/kalama-pmic-overlay.dtsi @@ -454,4 +454,10 @@ regulator-enable-ramp-delay = <1500>; enable-active-high; }; + + pmic-pon-log { + compatible = "qcom,pmic-pon-log"; + nvmem = <&pmk8550_sdam_5>, <&pmk8550_sdam_6>; + nvmem-names = "pon_log0", "pon_log1"; + }; }; diff --git a/qcom/pmk8550.dtsi b/qcom/pmk8550.dtsi index ad6c16a9..4bf28b0a 100644 --- a/qcom/pmk8550.dtsi +++ b/qcom/pmk8550.dtsi @@ -53,6 +53,11 @@ reg = <0x7400>; }; + pmk8550_sdam_6: sdam@7500 { + compatible = "qcom,spmi-sdam"; + reg = <0x7500>; + }; + pmk8550_sdam_21: sdam@8400 { compatible = "qcom,spmi-sdam"; reg = <0x8400>;