summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKiran Gunda <kgunda@codeaurora.org>2017-04-14 12:25:20 +0530
committerKiran Gunda <kgunda@codeaurora.org>2017-04-19 16:36:46 +0530
commit35b84c47a59fae5755fd21532b2fee48ef1cf540 (patch)
treedb48e1632dfadc505a033723bdb71cf4cc04db97 /include/linux
parent7f0d77b390e15aa9ea4b517aec21a0e88e02f5a0 (diff)
regulator: qpnp-oledb: Clear SPARE_CTL register during disable
OLEDB_SPARE_CTL register bit is set by the PBS during the display enable and is used during the display suspend to trigger the PBS event. Hence, move clearing of the OLEDB_SPARE_CTL register to regulator disable. Also enable the force_pd_ctl only for DRAX-A revisions <=2.0. Change-Id: I339cefc91f94f772bc4f84e85f2471e1a73e4aed Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/qpnp/qpnp-revid.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/qpnp/qpnp-revid.h b/include/linux/qpnp/qpnp-revid.h
index 7fca674b6230..b025df568259 100644
--- a/include/linux/qpnp/qpnp-revid.h
+++ b/include/linux/qpnp/qpnp-revid.h
@@ -214,6 +214,11 @@
#define PM660L_V1P1_REV3 0x01
#define PM660L_V1P1_REV4 0x01
+#define PM660L_V2P0_REV1 0x00
+#define PM660L_V2P0_REV2 0x00
+#define PM660L_V2P0_REV3 0x00
+#define PM660L_V2P0_REV4 0x02
+
/* PMI8998 FAB_ID */
#define PMI8998_FAB_ID_SMIC 0x11
#define PMI8998_FAB_ID_GF 0x30