Commit Graph

4 Commits

Author SHA1 Message Date
Anirudh Ghayal
c2019339bc mfd: pm8058: Modify pm8058 subdevices to pm8xxx interface
Move the following  subdevices to use the pm8xxx interface -
mpp, irq, gpio, keypad, power-key, leds, othc, vibrator,
rtc, batt-alarm, thermal, upl, nfc, pwm, xoadc, regulators,
xo-buffers, charger.

This allows usage of a common driver for modules which are same
across multiple PM8XXX PMICs. It also provides flexibility
to add/remove subdevices for multiple board configurations.

Change-Id: Id9795552fc9f4a2c920c070babfaef1f4cd6ca61
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2011-11-16 19:06:11 +05:30
Siddartha Mohanadoss
8d8df13f60 misc: pmic8058-xoadc: Use ideal calibration for Headset
Input voltage range for Headset detect is in the region
close to the acceptable voltage range for this ADC.
Applying overall calibration on this channel offsets the
input voltage on this channel. Therefore use ideal
calibration for the HDSET MPP channel.

Change-Id: I9d4e926f9522ac2715accac47b1031d37ae38df7
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2011-10-26 18:31:30 -07:00
Siddartha Mohanadoss
7112848099 misc: pmic8058-xoadc: request's done late into suspend
-Add checks in the driver for suspend_noirq/resume_noirq
to prevent clients from invoking the driver for ADC requests
after suspend has begun. This will lead to interrupts being
lost since the request is done very late into suspend.
-Obtain a wakelock when an ADC request is occuring.

CRs-Fixed: 295261
Change-Id: I610e1fbcd25f5ff947cb7e5e7738100ac86015a9
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2011-10-13 10:18:24 -07:00
Bryan Huntsman
3f2bc4d6eb Initial Contribution
msm-2.6.38: tag AU_LINUX_ANDROID_GINGERBREAD.02.03.04.00.142

Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
2011-10-03 09:57:10 -07:00