From 9bce36ddae3d733d63a06a518efba77249f9d467 Mon Sep 17 00:00:00 2001 From: David Collins Date: Thu, 16 Jul 2020 16:38:17 -0700 Subject: [PATCH] dt-bindings: soc: qcom: add PMIC PON log bindings Add Qualcomm Technologies, Inc. PMIC PON log device bindings. The PMIC PON log device parses power-on, power-off, and fault messages stored in a binary log within the SDAM memory found on some QTI PMIC devices. Change-Id: If537d6abeebbdb93d01b268442bff1ba72c101ab --- bindings/soc/qcom/qcom,pmic-pon-log.txt | 28 +++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 bindings/soc/qcom/qcom,pmic-pon-log.txt diff --git a/bindings/soc/qcom/qcom,pmic-pon-log.txt b/bindings/soc/qcom/qcom,pmic-pon-log.txt new file mode 100644 index 000000000000..49dbcc5a5ec0 --- /dev/null +++ b/bindings/soc/qcom/qcom,pmic-pon-log.txt @@ -0,0 +1,28 @@ +Qualcomm Technologies, Inc. PMIC PON Log + +Certain Qualcomm Technologies, Inc. PMIC devices capture power-on, power-off, +and fault information in a binary log found within SDAM peripherals. The PMIC +PON Log device accesses this log and parses it into a human readable format. + +- compatible: + Usage: required + Value type: + Definition: must be "qcom,pmic-pon-log" + +- nvmem: + Usage: required + Value type: + Definition: phandle of the PMIC nvmem device containing the PON log + +- nvmem-names: + Usage: required + Value type: + Definition: must be "pon_log" + +Example: + +pmic-pon-log { + compatible = "qcom,pmic-pon-log"; + nvmem = <&pmk8350_sdam_5>; + nvmem-names = "pon_log"; +};