summaryrefslogtreecommitdiff
path: root/drivers/mfd/max8907c.c
AgeCommit message (Collapse)Author
2012-04-18mfd: max8907c: Disable Hard Reset with Power keyAshwini Ghuge
Disable Hard Reset on long press of power key. Bug 893517 Change-Id: Ic328a04e917aa1bed6780e6f9a2f1c575f84fb68 Signed-off-by: Ashwini Ghuge <aghuge@nvidia.com> Reviewed-on: http://git-master/r/96687 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-04-03mfd: max8907c: Do not use I2C_M_NOSTART in first messageLaxman Dewangan
It is not recommended to use the flag I2C_M_NOSTART in first message. The documentation kernel/Documentation/i2c/i2c-proocol says: Flag I2C_M_NOSTART: In a combined transaction, no 'S Addr Wr/Rd [A]' is generated at some point. For example, setting I2C_M_NOSTART on the second partial message generates something like: S Addr Rd [A] [Data] NA Data [A] P If you set the I2C_M_NOSTART variable for the first partial message, we do not generate Addr, but we do generate the startbit S. This will probably confuse all other clients on your bus, so don't try this. Change-Id: I8a8a4f6f91a1b53b6d443588ab18704cf100fd50 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/93187 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sachin Nikam <snikam@nvidia.com> Tested-by: Bandi Krishna Chaitanya <bandik@nvidia.com>
2012-02-22mfd: max8907c: intialize pm_power_offBharat Nihalani
Initialize pm_power_off based on use_power_off passed as platform data. Bug 943129 Change-Id: I0a158d226a046809a6d62cf8d9881152cfc2ab83 Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-on: http://git-master/r/84946 Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
2012-02-15mfd: max8907c: Natively register pm_power_offDan Willemsen
Instead of forcing the board files to register this themselves, just add a bool to the platform data to let the board files opt into this. Change-Id: I4993275f31b0539c62249830d6a1180fb2719df8 Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Reviewed-on: http://git-master/r/83600 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2011-11-303.0: remove mfd_dataDan Willemsen
Rebase-Id: R9e1b0704895a0c413708387071ef2ab2514bcf68
2011-11-30mfd: Update max8907c to mfd_dataDan Willemsen
Rebase-Id: R52ff2d9f5642bfa8b4b41bdfbad32179e92ee2a6
2011-11-30mfd: max8907c: Prog pwren to power down/up corePrashant Gaikwad
apis added to program max8907c regulator to power down and up core supply rail via the pwren signal on enter and exit deep sleep mode. Bug 817378 Original-Change-Id: I5af04db22b6c84fc4359c1a0cf209710ca144159 Reviewed-on: http://git-master/r/28434 Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R1a7cb4d7389d5a593a31bb592d45117f2c0e180d
2011-11-30mfd: max8907c: Add api to power off max8907cPrashant Gaikwad
Add an api to power off max8907c by setting power off bit in RESET_CNFG reg. Bug 799957 Bug 800602 (Cold boot) Original-Change-Id: Ie0206d684a86fecc75273c1d3b087bb2d47b4c56 Reviewed-on: http://git-master/r/22385 Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Ra68f451e8d276ba85ac6c675774f57262cb065c2
2011-11-30max8907c MFD driver: add second i2c bus and irq handlingTom Cherry
Clean up portions of max8907c.c driver Add capability for bulk i2c read and write Add capability for second i2c bus for rtc Add capability for irq handling for rtc and battery charger Original-Change-Id: I6c2c2c42591aee766635a2e32a7404bb2591f4a7 Reviewed-on: http://git-master/r/16613 Tested-by: Thomas Cherry <tcherry@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Rb2215121adf39249e1c0f5fe88534179077cae1f
2011-11-30Regulators: Add max8907c and max8952Jin Park
Add max8907c regulator and mfd driver. Add max8952 regulator driver. Original-Change-Id: If63b724647d887a8088da0f2deb8af91e4fe3cfa Signed-off-by: Jin Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/9902 Reviewed-by: Thomas Cherry <tcherry@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R01d66b7af18617a764bd378b7f71e6294ebcabc8