From f867ae0e7f646bed6e6ecb0fbb856e554127bc6d Mon Sep 17 00:00:00 2001 From: David Collins Date: Mon, 14 Oct 2019 17:13:18 -0700 Subject: [PATCH] dt-bindings: platform: msm: add bindings for qpnp-revid devices Add device tree bindings for QPNP REVID devices that provide Qualcomm Technologies, Inc. PMIC revision information for other PMIC peripheral devices upon request. Change-Id: I966a03d2594c3985083d4083cb7301fe48a93f0f --- bindings/platform/msm/qpnp-revid.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 bindings/platform/msm/qpnp-revid.txt diff --git a/bindings/platform/msm/qpnp-revid.txt b/bindings/platform/msm/qpnp-revid.txt new file mode 100644 index 000000000000..dd14890123e6 --- /dev/null +++ b/bindings/platform/msm/qpnp-revid.txt @@ -0,0 +1,19 @@ +QPNP-REVID + +QPNP-REVID provides a way to read the PMIC part number and revision. + +Required properties: +- compatible : should be "qcom,qpnp-revid" +- reg : offset and length of the PMIC peripheral register map. + +Optional property: +- qcom,fab-id-valid: Use this property when support to read Fab + identification from REV ID peripheral is available. +- qcom,tp-rev-valid: Use this property when support to read TP + revision identification from REV ID peripheral. + +Example: + qcom,revid@100 { + compatible = "qcom,qpnp-revid"; + reg = <0x100 0x100>; + };