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

Commit 0ae8ff3d authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

dt-bindings: platform: msm: Add DT bindings for qpnp-revid driver



Add DT bindings for QPNP REVID driver that provides the QTI PMIC
revision information for other peripheral drivers upon request.

This is taken as a snapshot from msm-4.14 kernel
'commit 9bb584ae3a9d ("msm/sde/rotator: Add rev checks for sdmmagpie")'

Change-Id: I966a03d2594c3985083d4083cb7301fe48a93f0f
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent ab411024
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>;
	};