summaryrefslogtreecommitdiff
path: root/include/linux/mfd
AgeCommit message (Collapse)Author
2012-06-04mfd: Register tps65910 gpios as an mfd deviceLaxman Dewangan
As gpio support for tps65910 is on gpio driver, registering gpio support as the mfd sub devices instead of calling gpio_init() from the core probe. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> (cherry picked from commit 32df986e985921386b75b4bd1117102bf65fe095) Change-Id: I631596313528ab192d7d8c2f376965ccc989c313 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/105926 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2012-06-04mfd: Commonize tps65910 regmap access through headerRhyland Klein
This change removes the read/write callback functions in favor of common regmap accessors inside the header file. This change also makes use of regmap_read/write for single register access which maps better onto what this driver actually needs. Signed-off-by: Rhyland Klein <rklein@nvidia.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> (Cherry-pick from mainline 3f7e82759c692df473675ed06fb90b20f1f225c3) Change-Id: Ida79b196acf65ed14ff9fd2cc1f7c0048f99ba2b Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/105922 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Rhyland Klein <rklein@nvidia.com> GVS: Gerrit_Virtual_Submit
2012-06-04mfd: Add support for tps65910 device sleepLaxman Dewangan
Adding support for device sleep through the external input control signal "SLEEP". Changing the SLEEP signal state can switch the device into SLEEP and ACTIVE state. Also adding sleep configuration for different resources so that they should be keep on during sleep state of device. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> (Cherry-picked from mainline 201cf052810d20814a77ca0e0045a2c1a3508a1f) Change-Id: Iec18bfcc7a1df6442e833dccaa1d39407918f710 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/105920 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2012-06-03gpio/rc5t583: add gpio driver for RICOH PMIC RC5T583Laxman Dewangan
The PMIC device RC5T583 from RICOH supports 8 gpios. Adding gpio driver for this device to access the pins control through gpio library. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> [grant.likely: slight cosmetic changes] Signed-off-by: Grant Likely <grant.likely@secretlab.ca> (Cherry-picked from mainline e9fe32bcadb8a7a40411d77f168abd45941b049b) Change-Id: Id11f0dec229a92ce0ddcf606376ff83b6e14ca90 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/105885 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2012-06-03mfd: Fix modular builds of rc5t583 regulator supportPaul Gortmaker
The combination of commit 1b1247dd75aa5cf5fae54a3bec7280046e9c7957 "mfd: Add support for RICOH PMIC RC5T583" and commit 6ffc3270210efa2bea526953a142ffc908f5bd86 "regulator: Add support for RICOH PMIC RC5T583 regulator" are causing the i386 allmodconfig builds to fail with this: ERROR: "rc5t583_update" [drivers/regulator/rc5t583-regulator.ko] undefined! ERROR: "rc5t583_set_bits" [drivers/regulator/rc5t583-regulator.ko] undefined! ERROR: "rc5t583_clear_bits" [drivers/regulator/rc5t583-regulator.ko] undefined! ERROR: "rc5t583_read" [drivers/regulator/rc5t583-regulator.ko] undefined! and this: ERROR: "rc5t583_ext_power_req_config" [drivers/regulator/rc5t583-regulator.ko] undefined! For the 1st four, make the simple ops static inline, instead of polluting the namespace with trivial exports. For the last one, add an EXPORT_SYMBOL. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> (cherry picked from commit 82ea267f7dc853a5e6a724916a70a10656efdfc2) Change-Id: I7f03cc5c0005883eb8355170cdc7996a9c392091 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/105878 GVS: Gerrit_Virtual_Submit Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2012-06-03regulator: Add support for RICOH PMIC RC5T583 regulatorLaxman Dewangan
The RC5T583 PMIC from RICOH consists of 4 DCDC and 10 LDOs. This driver supports the control of different regulator output through regulator interface. This driver depends on MFD driver of RC5T583 and uses mfd rc5t583 apis to communicate to device for accessing different device's registers. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> (Cherry-picked from mainline commit 6ffc3270210efa2bea526953a142ffc908f5bd86) Change-Id: If6bcc9c987fc97ff6f0c61e53de715cd84d0151b Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/105877 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2012-06-01rtc: tps80031: add msecure supportTom Cherry
Bug 986402 Change-Id: Id12540e31f8d7d9a04d764ed012310a685eafb8d Signed-off-by: Tom Cherry <tcherry@nvidia.com> Reviewed-on: http://git-master/r/104269 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2012-04-05mfd: tps80031: add option to enable internal pullup or pulldownTom Cherry
Bug 958089 (cherry-picked from commit 7f4c6d6b9dd2b06984b59dcd60d92026cab4c87c) Reviewed-on: http://git-master/r/92053 Change-Id: I0f2bdb5482fdcb508808d2d58771d74a05b5597f Signed-off-by: Tom Cherry <tcherry@nvidia.com> Reviewed-on: http://git-master/r/94117 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2012-03-23mfd: Add support for RICOH PMIC RC5T583Laxman Dewangan
Ricoh power management IC RC5T583 contains is multi functional device having multiple sub devices inside this. This device has multiple dcdc/ldo regulators, gpios, interrupt controllers, on-key, RTCs, ADCs. This device have 4 DCDCs, 8 LDOs, 8 GPIOs, 6 ADCs, 3 RTCs etc. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Cherry-picked from mainline 1b1247dd75aa5cf5fae54a3bec7280046e9c7957 Change-Id: I5d3bcfb45e232a1a9a210ec14815356ae1918c5d Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/91798 Reviewed-by: Automatic_Commit_Validation_User
2012-03-12regulator: tps65910: Sleep off rails when ext sleep configuredLaxman Dewangan
Keep the rails OFF in sleep mode only when the rails are controlled by external sleep control. The devices tps65910 and tps65911, both has the sleep input. The tps65911's sleep input is not same as tps65910's EN3 and hence taking care of SLEEP input as separate external sleep control input. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> cherry picked from mainline commit 87ae88a17396fe3f91c34ab44f460e5680eb6f61 Change-Id: I05645082ad5268a4553891db6b35af33650b7a95 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/89125
2012-03-01Revert "mfd: max77663: add support for status LED control through PMU GPIO"Johnny Qiu
This reverts commit 11c94f0d529a089f8cc37311258fd518be576383. Stat LED control through PMU GPIO should be implemented in another way. No need to touch PMU driver. Change-Id: Iecde818425640616df0a92339e1c0e8b323800bd Signed-off-by: Johnny Qiu <joqiu@nvidia.com> Reviewed-on: http://git-master/r/86828 Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-02-29regmap: merge 7cccbdc84487616c3dbe493b04bfa1f362f4bc56Laxman Dewangan
Merge commit '7cccbdc84487616c3dbe493b04bfa1f362f4bc56' into origin/android-tegra-nv-3.1 Conflicts: drivers/base/regmap/regmap.c Change-Id: I7c74b1745e592390538419a2c8026a3ba29be8ea Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
2012-02-28mfd: Use regmap for tps65910 register access.Laxman Dewangan
Using regmap apis for accessing the device registers and using RBTREE caching mechanims for caching registers. Enabling caching of the registers which is used for voltage controls. By doing this, the modify_bits operation is faster as it does not involve the i2c register read from device, just read from cache. This results faster set voltage operation. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> cherry picked from mainline commit 0e7018c7b161dc5544f7af862dc59e0b9a0dbd20 Change-Id: Ie0bc1fd32f1c7f7b80004b30ec9ba615d4c29360 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/86349
2012-02-17mfd: max77663: add support for status LED control through PMU GPIOJohnny Qiu
Bug 920845 Bug 931371 Change-Id: I7c03c7f2f16aee1be636c2f8fd8ad18cf7539eae Signed-off-by: Johnny Qiu <joqiu@nvidia.com> Signed-off-by: Hao Tang <htang@nvidia.com> Reviewed-on: http://git-master/r/83724 Reviewed-by: Kerwin Wan <kerwinw@nvidia.com> Reviewed-by: Simone Willett <swillett@nvidia.com>
2012-02-16gpio: tps65910: Add sleep control supportLaxman Dewangan
The device tps65910/tps65911 supports the sleep functionality in some of gpios. If gpio is configured in output mode and sleep is enabled then during device sleep state, the output of gpio becomes LOW regardless of non-sleep output value. Such gpio can be used to control regulator switch such that output of regulator is off in device sleep state. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Linus Walleij <linus.walleij@linaro.org> Cherry-picked from mainline commit: ccd68fff6b86b93a2d69caf4679c0ba4ca6dbc53 Resolve merge conflicts. Change-Id: Ib424499821fde2ae916ae3792e980eab7dbdae4a Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/79788
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>
2012-02-15mfd: tps6586x: 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: I831c93026f8343d9962e174a3591e6832c5219d8 Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Reviewed-on: http://git-master/r/83598 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2012-02-15mfd: max77663: 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: Id3342142e5e7b49d2e16a83889d0b6a1cace1d95 Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Reviewed-on: http://git-master/r/83595 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2012-02-15mfd: tps6591x: 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: Ide3d6cbc49584c3ed993f30b1396c8ae56d87b3b Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Reviewed-on: http://git-master/r/83594 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2012-02-15mfd: tps80031: 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: Ia545f23b95f9727932aaf3f3b64a109dae0f2448 Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Reviewed-on: http://git-master/r/83592 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2012-02-13mfd: max77663: Add option for RTC I2C slave addressJohnny Qiu
MAX77663 used on Kai has different I2C slave address from the one used on PM298. We should add option in platform data to specifiy the address. Change-Id: Iaec0a09bbd2b7a37741d8a867be203165d098a15 Signed-off-by: Johnny Qiu <joqiu@nvidia.com> Reviewed-on: http://git-master/r/83297 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-02-13regulator: tps65910: Sleep control through external inputsLaxman Dewangan
Add support for sleep controls of different regulator through external inputs EN1, EN2 or EN3. Each regulator's output will be active when its external input is high and turns to OFF/Low power mode when its external input is low. The configuration parameters for sleep control is provided through board specific platform data. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> cherry picked from mainline 1e0c66f49762fa1866ab20b1feb6e86a9aa4838f Change-Id: Ie8256fae45c21f08b2d101efebca004cb32963a0 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/79181 Reviewed-by: Automatic_Commit_Validation_User
2012-01-30regulator: TPS65910: Fix VDD1/2 voltage selector countAfzal Mohammed
Count of selector voltage is required for regulator_set_voltage to work via set_voltage_sel. VDD1/2 currently have it as zero, so regulator_set_voltage won't work for VDD1/2. Update count (n_voltages) for VDD1/2. Output Voltage = (step value * 12.5 mV + 562.5 mV) * gain With above expr, number of voltages that can be selected is step value count * gain count constant for gain count will be called VDD1_2_NUM_VOLT_COARSE existing constant for step value count is VDD1_2_NUM_VOLTS, use VDD1_2_NUM_VOLT_FINE instead to make clear that step value is not the only component in deciding selectable voltage count Signed-off-by: Afzal Mohammed <afzal@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cherry picked from mainline's commit 780dc9ba4eb682a89be48d5b814feae6722a19e0 Change-Id: I1c246a02f1c647fe3c647b3dde2a0633c2783764 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/77536 Reviewed-by: Automatic_Commit_Validation_User
2012-01-30regulator: TPS65910: Create an array for init dataKyle Manna
Create an array of fixed size for the platform to pass regulator initalization data through. Passing an array of pointers to init data also allows more flexible definition of init data as well as prevents reading past the end of the array should the platform define an incorrectly sized array. Signed-off-by: Kyle Manna <kyle.manna@fuel7.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> cherry picked from mainline's commit c1fc1480249dfe059254779a4bb7ca27cf5f8038 Change-Id: Ia298bbd2828e644d24e10ab67ff76f1169cf7f51 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/77535 Reviewed-by: Automatic_Commit_Validation_User
2012-01-30regulator: TPS65910: Move regulator defs to headerKyle Manna
Move the regulator defintions to the header so that platform board file can use them to configure specific regulators. Signed-off-by: Kyle Manna <kyle.manna@fuel7.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cherry picked from mainline's commit: 72c108cc4947db2fcdd3f3e8a2b60bd65e74a1cc Change-Id: I7659c33cab6f20c91dc4bf36e1c157e1878993ab Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/77534 Reviewed-by: Automatic_Commit_Validation_User
2012-01-19mfd: max77663: Support Low-Power Mode during sleep modeJin Park
Put the power rails into Low-Power Mode during sleep mode, if SLP_LPM is enabled and the power rail's power mode is GLPM. Bug 924686 Change-Id: I460f8bfa6be73a440a4924160d8e271695fc4973 Reviewed-on: http://git-master/r/75626 Signed-off-by: Jin Park <jinyoungp@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/75890 Reviewed-by: Automatic_Commit_Validation_User
2012-01-13mfd: TPS65090: Add PMIC supportvenu byravarasu
This PMIC MFD driver provides- PMIC register read/write access support for interrupt handling. bug 909648 Change-Id: I7f1a22e055b08b9cd31e987c94589c2a8c857d73 Signed-off-by: venu byravarasu <vbyravarasu@nvidia.com> Reviewed-on: http://git-master/r/73135 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/74894 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-12-21mfd: ricoh583: update API prototypevenu byravarasu
With this commit below changes to ricoh583 MFD are done: 1. Updating cache copy of int enable register. 2. Changing the prototypes for bulk read & write APIs. 3. Updating rtc platform data structure. bug 902137 Change-Id: I616d86628addaaa04f3faec035120bd6f9569603 Signed-off-by: venu byravarasu <vbyravarasu@nvidia.com> Reviewed-on: http://git-master/r/70010 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2011-12-08mfd: tps80031: Support sleep configuration through platform dataLaxman Dewangan
Supporting the sleep configuration through platform data. Rearranging clock initialization to take external power control. Reviewed-on: http://git-master/r/67076 (cherry picked from commit 9da9d369bdbe988b98eec9b63085dfdb26de8237) Change-Id: I40c5a8608522dbc322e148b5d569e8f5a00faa21 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/67331
2011-11-30regulator: tps80031: Check configuraton for LDO2-Track modeLaxman Dewangan
Some of the values are not supported in the LDO2 configuration when using in track mode due to hw issue in tps80031 and tps80032-ES1.0. Adding proper check before configuring the LDO2 in this case. bug 898613 Reviewed-on: http://git-master/r/65441 (cherry picked from commit 58e3672102825b662ea904b46b6c1efbf639365b) Change-Id: I4e63a932d32c7cb2d13a07611acfa0b7dae649cc Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/66327 Reviewed-by: Lokesh Pathak <lpathak@nvidia.com> Tested-by: Lokesh Pathak <lpathak@nvidia.com> Rebase-Id: R8b818dcb4fdaab118426df32144f846a0ab00fb3
2011-11-30mfd: ricoh583: Support shutdown through input signalLaxman Dewangan
Adding configuration parameter through platform data to shutdown the PMIC when shutdown signal in input pin SHUTDB is active. bug 900732 Reviewed-on: http://git-master/r/65443 (cherry picked from commit 9327b9815e9791f56f95e0e691c1f1e15cf39b04) Change-Id: I200c6f8755a55ad1875ba54c9c88a77e0937fb38 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/66325 Rebase-Id: Rcabdd1c5d217bfd201b241f443701d9253625df7
2011-11-30power: tps80031-battery: Exit driver if battery is not detectedsyed rafiuddin
Exit fuel-gauge driver if battery presence is not detected. bug 873965 Reviewed-on: http://git-master/r/61830 (cherry picked from commit 149469646e1e5e7ece787ef9546de60a97b46802) Change-Id: I00139f1a92822875fb1409a918c580b83d4789f0 Reviewed-on: http://git-master/r/64090 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rebb08c9d9cbe6a3bb2a3bcaf4cc89beceb55c480
2011-11-30mfd: tps80031: Move external pwr req to core driverLaxman Dewangan
Moving the configuration function for configuring the rail control through the PREQ line to core from regulator driver. Fixing the correct voltage configuration for the LDO2 based on TRACK mode. Reviewed-on: http://git-master/r/63503 (cherry picked from commit 9190130f6cf1ba0bae3231321841ebe4ad94a54e) Change-Id: I7dd511da7f809a44b1e66706054c0a4c57c36323 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/64055 Rebase-Id: R433728b4c83ccaf6f3ae2734412a90d9c89b6a2c
2011-11-30mfd: ricoh583: Move sleep configuration to core driverLaxman Dewangan
Moving the sleep sequence configuration for the pmu from regulator driver to core driver so that other than power rails, gpio can also use these APIs. Reviewed-on: http://git-master/r/62901 (cherry picked from commit 7c2817b42785302c3d9a779c817f70163fabee71) Change-Id: I9b8584cfd507b34596eee41e9ea799df76c26e5f Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/64098 Rebase-Id: R5a6aead9fdda64bf26c0d59a17f794177e82b640
2011-11-30power: tps80031-battery: add new power supply propertiessyed rafiuddin
- Addition of temperature, charge_now and charge counter properties to fuel-gauge controller - Fixed the voltage reading as linux power class requires uV as voltage unit instead of mV bug 872686, 872697 Reviewed-on: http://git-master/r/56988 (cherry picked from commit df7b02de84e4665516caed2f1e00da60d868b1de) Change-Id: Iabad1f4fdc0431a3070d8ee3558aaf010e667853 Reviewed-on: http://git-master/r/61860 Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com> Tested-by: Syed Rafiuddin <srafiuddin@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Rebase-Id: R3192775354d90ef7923ad43bd5f4554b8ff7d8cc
2011-11-30mfd: tps80031-gpadc: Add gpadc driversyed rafiuddin
Adding gpadc driver for TPS8003x controller bug 872697 Reviewed-on: http://git-master/r/56987 (cherry picked from commit 9e0a4ef0f800d40d04587538f47ff656fab70971) Change-Id: I8687d18023f174324d8bb818d73a9bdf8b7ac8f0 Reviewed-on: http://git-master/r/61858 Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com> Tested-by: Syed Rafiuddin <srafiuddin@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Rebase-Id: R984a39824def8aa26b21a6baff86c638a2a75b28
2011-11-30mfd: mx77663: Fix build failure for undefined referenceJin Park
Fixing build failure what undefined reference to max77663_xxx APIs when didn't built-in max77663 mfd core driver. Signed-off-by: Jin Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/58579 (cherry picked from commit 99baa03a6d3401228f58c13a7dad5228f59d8718) Change-Id: I971e132ec9ca12a4ce4bc47897c3722d07b93cbd Reviewed-on: http://git-master/r/59890 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R0d9ce223d77c4005fa3c4c75dd5ac3221417a578
2011-11-30mfd: max77663: Add GPIO attributes into platform dataJin Park
For board specific configuration, adding GPIO attributes such as push-pull, pull-up, pull-down, direction, output level and alternate into platform data. Bug 849360 Signed-off-by: Jin Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/54429 (cherry picked from commit 3c5148a04fbc50c3200efe8793b8850ca07e05c2) Reviewed-on: http://git-master/r/55149 (cherry picked from commit c2b439c884808c8452fc32930b6bb5dd66c9c5b4) Change-Id: I52f360e045358e01740cada440438864a8fc5fe4 Reviewed-on: http://git-master/r/56356 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R605eab7d8d562497cca811bb5931e695cb951542
2011-11-30mfd: max77663: Add power off functionJin Park
Bug 849360 Signed-off-by: Jin Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/54428 (cherry picked from commit 6c06d12f10bc221cde89f5a1738b9f003796dd45) Reviewed-on: http://git-master/r/55148 (cherry picked from commit 45466efa9c551cd2e5ee05d217a30a1c4342a7cd) Change-Id: Iad256cf4d6e21e963987df04bd30a1f563ae1d12 Reviewed-on: http://git-master/r/56355 Tested-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R2b513f87f2e21240821a0a2d05e9e1a861fcc7fb
2011-11-30rtc: max77663: Add MAX77663 RTC driverJin Park
Add RTC driver for Maxim PMU MAX77663. Bug 849360 Original-Change-Id: Ia7c910a852527f6a7bf5d2622cb1f76fd72222cd Signed-off-by: Jin Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/49584 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Rebase-Id: R716e08b9f98c3be480877009bef0db99ccf8043e
2011-11-30power: tps80031-battery-gauge: Add battery gauge driversyed rafiuddin
Adding battery-gauge driver for TPS8003x controller bug 841080 Original-Change-Id: Id65c3de88e6893005a8d7590fc7273cd7c43a1b3 Reviewed-on: http://git-master/r/48428 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Syed Rafiuddin <srafiuddin@nvidia.com> Rebase-Id: R231e287e3ffa10bf03f9b599ab9b80ffb2acd727
2011-11-30mfd: ricoh583: Add core driverLaxman Dewangan
Adding core driver for the Powermanagement system device RICOH 583. bug 822562 Original-Change-Id: I8a21b42800bd9043f901689ed354618165c42534 Reviewed-on: http://git-master/r/40035 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rc2821a3f6493ffe8a8ec7a67c214c09b67775433
2011-11-30mfd: Add MAX77663 mfd driverJin Park
Add mfd core driver for Maxim PMU MAX77663. Bug 849360 Bug 854414 Original-Change-Id: I6699540fd7d0f7b428a1be64cf06f7cd65b5b32e Signed-off-by: Jin Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/41503 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Rc0f0a67db8b7d554bada7dd6b3e103ab30b374d4
2011-11-30regulator: tps6586x: add SMx slew rate settingXin Xie
bug 815933 Original-Change-Id: I3b8f8910b12ff4f8a5f9588615bd0bb6452bdc3b Reviewed-on: http://git-master/r/40263 Reviewed-by: Xin Xie <xxie@nvidia.com> Tested-by: Xin Xie <xxie@nvidia.com> Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R18292e6e68c95b9f67d24281a9f2b80439452ba8
2011-11-30mfd: tps6591x: Reorganise GPIO definitionLaxman Dewangan
Adding the TPS6591x gpio definition in tps6591x core header files. bug 849976 Original-Change-Id: I1f7a7cc38e220c091ccf44db5af6e43c34daa1cd Reviewed-on: http://git-master/r/41040 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rcaf75875841aab0b12f3876086245701eb754669
2011-11-30mfd: tps80031: Move rail definition to regulator headerLaxman Dewangan
Moving the definitions of regulator rail names into regulator header from core header. bug 849977 Original-Change-Id: Ia2e4e9394b6ee013e2e12355038e15609d5077ea Reviewed-on: http://git-master/r/41023 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Mallikarjun Kasoju <mkasoju@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Rebase-Id: Rb37a8ce8264396ddb18708596cf7908df2fac3ff
2011-11-30mfd: tps6591x: Move rail definition to regulator headerLaxman Dewangan
Moving the definitions of regulator rail names into regulator header from core header. bug 849977 Original-Change-Id: I84cb56e64995c37fbf79f51936bfab9c01644c00 Reviewed-on: http://git-master/r/41015 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Rebase-Id: R7962b8ffed55ffe9de23f37d66c549ec847996d0
2011-11-30arm: enterprise: Clean some of tps80031 definitionLaxman Dewangan
Adding public definition in the 80031 header so that client can used directly in place of defining at client level. Original-Change-Id: Ifb64e0ffc83bc29c470d08a49d0915613a677537 Reviewed-on: http://git-master/r/40208 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R981610616a78797050538c2a4eb5160ea11384c8
2011-11-30mfd: tps80031: Support for 80032 chipLaxman Dewangan
Creating framework so that tps80031 driver can be instantiated with the name of tps80032 also and it can provide the device/chip info to its client. bug 820885 Original-Change-Id: I1c40b7c6bec1f4abbc670aaa4317fad49e5d308a Reviewed-on: http://git-master/r/38859 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Rebase-Id: R4953c404fb2af827b53a0173ac6a06806d2f2112
2011-11-30mfd: tps80031: Support second level of charge_control interruptLaxman Dewangan
There is multiple independent case for charge control interrupt and so exposing each of the case as separate interrupt number. bug 842072 Original-Change-Id: I500d7e921e07b43de4eefdde2590f045022d8169 Reviewed-on: http://git-master/r/38732 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com> Rebase-Id: R2a6a949e0c38731dd28af9c8bc67289f53c0066f