summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2017-10-24 13:51:36 +0530
committerLee Jones <lee.jones@linaro.org>2018-01-08 11:03:34 +0000
commit572ff4d560be3784205b224cd67d6715620092d7 (patch)
tree3c8b4ac8357335359863ef578d0d6b79fbc6c8a3 /include/linux/mfd
parent0a5d79bfc0154bb587d5a439dc0e439d4d72f25b (diff)
downloadop-kernel-dev-572ff4d560be3784205b224cd67d6715620092d7.zip
op-kernel-dev-572ff4d560be3784205b224cd67d6715620092d7.tar.gz
mfd: palmas: Assign the right powerhold mask for tps65917
The powerhold mask for TPS65917 is different when comapred to the other palmas versions. Hence assign the right mask that enables power off of tps65917 pmic correctly. Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/palmas.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mfd/palmas.h b/include/linux/mfd/palmas.h
index 3c8568a..75e5c8f 100644
--- a/include/linux/mfd/palmas.h
+++ b/include/linux/mfd/palmas.h
@@ -3733,6 +3733,9 @@ enum usb_irq_events {
#define TPS65917_REGEN3_CTRL_MODE_ACTIVE 0x01
#define TPS65917_REGEN3_CTRL_MODE_ACTIVE_SHIFT 0x00
+/* POWERHOLD Mask field for PRIMARY_SECONDARY_PAD2 register */
+#define TPS65917_PRIMARY_SECONDARY_PAD2_GPIO_5_MASK 0xC
+
/* Registers for function RESOURCE */
#define TPS65917_REGEN1_CTRL 0x2
#define TPS65917_PLLEN_CTRL 0x3
OpenPOWER on IntegriCloud