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
This commit is contained in:
David Collins
2019-10-14 17:13:18 -07:00
parent e637b67104
commit f867ae0e7f

View File

@@ -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>;
};