Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f867ae0e authored by David Collins's avatar David Collins
Browse files

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
parent e637b671
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
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>;
	};