TWM (Traditional watch mode) is a low power mode supported
on the BG platform. PMIC is configured differently
while entering into TWM mode.
Add a sysfs node to -
1. Allow the BG daemon to enable/disable TWM mode.
echo 1 > /sys/class/pmic_twm/twm_enable --> Enable TWM mode
echo 0 > /sys/class/pmic_twm/twm_enable --> Clear TWM mode
2. Allow the BG daemon to check the TWM_EXIT state.
cat /sys/class/pmic_twm/twm_exit
Value of "1" indicates exit from TWM state
Also, add a notifier to notify other modules of the TWM enable
configuration.
Change-Id: Ide2f56a80d7b21d3def6a640db71512c20d30015
Signed-off-by: Sundara Vinayagam <sundvi@codeaurora.org>
Signed-off-by: Shilpa Suresh <sbsure@codeaurora.org>
PM8150L revision need to be read by some peripheral drivers to
implement SW workarounds for HW specific issues. Add revision 2.0
and 3.0 for PM8150L to support it.
Change-Id: I617557a6cfa5a4bee5a3fc3573aaaf8547eebb36
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Update file names and file contents to match the new official
PMIC names for the following PMICs:
- PM855 -> PM8150
- PM855B -> PM8150B
- PM855L -> PM8150L
- PM855P -> PM8150C
Change-Id: I167d8b20d40b1dce20c42dbe350c5e74b3ebce16
Signed-off-by: David Collins <collinsd@codeaurora.org>
This is the snapshot of QPNP MISC driver taken as of msm-4.9 commit
463d8c28b7c3 ("Merge "pinctrl: msm: Add pinctrl driver support for
msm8909"").
Change-Id: Ibf21355bfa5f959de19b4a028ff3812511573442
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
PM855B and PM855L revision need to be read by some peripheral
drivers to implement SW workarounds for HW specific issues. Add
revision 1.0 for PM855B and PM855L to support it.
Change-Id: Ibddcffa05e67f041ee8df019a31d4f2bafcc3242
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Add the subtypes for PM855/PM855B/PM855L that can be used by
the peripheral drivers.
Change-Id: I7133160e7198fb2d2c20af6701d4a45bb28b3fbf
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Add a snapshot of several Qualcomm Technologies, Inc. QPNP PMIC
peripheral drivers that are used for User interface modules like
display panels (LCD, AMOLED) and flash LED. Fixed some checkpatch
warnings reported with error logs containing function names which
are not needed.
This snapshot is taken as of msm-4.9 commit
1c7b30fefbb5 ("Merge "Revert "soc: qcom: pil: Log the TZ NMI
caused subsystem err fatal""").
Change-Id: Ic14005244d092cc953a1aa5dd94ca90b693b6c4c
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
This is a snapshot of qpnp-revid driver as of msm-4.9
'commit fc9ce0e0a100 ("Merge changes into msm-4.9")'.
Change-Id: I21dfcf42667f172eb5c8bf81d329035e68cd0561
Signed-off-by: Harry Yang <harryy@codeaurora.org>