summaryrefslogtreecommitdiff
path: root/include/linux
AgeCommit message (Collapse)Author
2011-07-15mfd: tps6591x: Reorganise GPIO definitionLaxman Dewangan
Adding the TPS6591x gpio definition in tps6591x core header files. bug 849976 Change-Id: I1f7a7cc38e220c091ccf44db5af6e43c34daa1cd Reviewed-on: http://git-master/r/41040 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-07-15mfd: tps80031: Move rail definition to regulator headerLaxman Dewangan
Moving the definitions of regulator rail names into regulator header from core header. bug 849977 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>
2011-07-15mfd: tps6591x: Move rail definition to regulator headerLaxman Dewangan
Moving the definitions of regulator rail names into regulator header from core header. bug 849977 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>
2011-07-13arm: 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. Change-Id: Ifb64e0ffc83bc29c470d08a49d0915613a677537 Reviewed-on: http://git-master/r/40208 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-07-08tegra: avp: Add platform data for avpPrashant Gaikwad
If emc clock is clocked at maximum rate it increases power consumption. emc clock rate requirement is different for different platforms. Change-Id: I21e9afed402d08558c6913b5f194b1a4699ebcb2 Reviewed-on: http://git-master/r/40166 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-07-08mfd: 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 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>
2011-07-08usb: gadget: composite: Allow function drivers to pause control transfersRakesh Bodla
Some USB function drivers (e.g. f_mass_storage.c) need to delay or defer the data/status stages of standard control requests like SET_CONFIGURATION or SET_INTERFACE till they are done with their bookkeeping and are actually ready for accepting new commands to their interface. They can now achieve this functionality by returning USB_GADGET_DELAYED_STATUS in their setup handlers (e.g. set_alt()). The composite framework will then defer completion of the control transfer by not completing the data/status stages. This ensures that the host does not send new packets to the interface till the function driver is ready to take them. When the function driver that requested for USB_GADGET_DELAYED_STATUS is done with its bookkeeping, it should signal the composite framework to continue with the data/status stages of the control transfer. It can do so by invoking the new API usb_composite_setup_continue(). This is where the control transfer's data/status stages are completed and host can initiate new transfers. The DELAYED_STATUS mechanism is currently only supported if the expected data phase is 0 bytes (i.e. w_length == 0). Since SET_CONFIGURATION and SET_INTERFACE are the only cases that will use this mechanism, this is not a limitation. Signed-off-by: Roger Quadros <roger.quadros@nokia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> (cherry picked from commit 1b9ba000177ee47bcc5b44c7c34e48e735f5f9b1 kernel.org, linux-2.6 tree) Change-Id: I9d7082042f33c10110070febf36c95d61a292f82 Reviewed-on: http://git-master/r/37788 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-07-07mfd: 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 Change-Id: I500d7e921e07b43de4eefdde2590f045022d8169 Reviewed-on: http://git-master/r/38732 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com>
2011-07-07arm: mfd/regulator: tps80031: Adding force_update for status registerJin Park
The state register is read and write register, if read, it returned current state, not current written value in register. So if it want to write the value into state register, it must unconditional write the value, don't use update(read and compare and then write). Bug 838189 Change-Id: I2555875a822f159e664b0834af2d00073c859acd Signed-off-by: Jin Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/38396 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2011-06-30regulator: tps80031: Controls regulator output by PREQLaxman Dewangan
Based on platform, it is require to control the regulator output through the peripheral power request signal to pmu. Supporting this type of platform configuration to control output voltage by sw as well as through PREQ input line. bug 839809 bug 829405 Change-Id: Ifa19b9062ca2a2c5cae84de1f311a33cec094ad0 Reviewed-on: http://git-master/r/38936 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Tested-by: Bitan Biswas <bbiswas@nvidia.com>
2011-06-29regulator: tps80031: Add VBUS as regulatorLaxman Dewangan
Providing the control of VBUS through regulator api. bug 833736 Change-Id: Id79f64dfb0ab30a5f0663521defb60a76681c767 Reviewed-on: http://git-master/r/38499 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com> Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
2011-06-24Input: atmel_mxt_touch: NVIDIA touch customizationRobert Collins
* Fix suspend/resume bug to prevent unecessary i2cinterrupts when suspended. * Change input device name to match NVDA IDC name. * Add I2C address defines. * Change "printk" to "dev_info" function calls. BUG 826854 Change-Id: Ic1b25bc469b86d8a26e876e80973597d9f6fb107 Reviewed-on: http://git-master/r/35285 Reviewed-by: Robert R Collins <rcollins@nvidia.com> Tested-by: Robert R Collins <rcollins@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
2011-06-24Input: atmel_mxt_ts: Atmel customizations to touch.Robert Collins
Integrate changes made by Atmel. These changes are in addition to mainline driver. NOTE: Driver will compile as a stand-alone. BUG 826854 Change-Id: If13688d90d97b71718576f3fb756496f57a965d7 Reviewed-on: http://git-master/r/35280 Reviewed-by: Robert R Collins <rcollins@nvidia.com> Tested-by: Robert R Collins <rcollins@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
2011-06-24Input: atmel_mxt_ts: Add Atmel mainline touch driver.Robert Collins
Update to new mainline touch screen driver. NOTE: Driver will not compile as a stand-alone due to missing and/or changed support files on kernel.org. BUG 826854 <As of commit: 8b86c1c28f569301aa1a113a060f9ed803300903> Change-Id: I0c50a122836d495bcf8f0c47c4729e9a4a7834c9 Reviewed-on: http://git-master/r/35279 Reviewed-by: Robert R Collins <rcollins@nvidia.com> Tested-by: Robert R Collins <rcollins@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
2011-06-23rtc: tps80031: Adding driver for TI PMU RTC 80031venu byravarasu
With this change, RTC driver for TI PMU 80031 is being checked in. bug 833336 Change-Id: If4789a5dd49163d2391ab016845ff5807c061f12 Reviewed-on: http://git-master/r/34453 Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-by: Thomas Cherry <tcherry@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2011-06-23serial: tegra: Support for best clock sourceLaxman Dewangan
Finding the best clock source for uart controller which can generate the clock rate having minimum error between requested baudrate and configured baudrate. bug 837140 bug 836059 Change-Id: I4e751b238612a21d894ee8e6611886ab6e832a36 Reviewed-on: http://git-master/r/37635 Tested-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Pradeep Goudagunta <pgoudagunta@nvidia.com> Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2011-06-22Revert "mmc: revert deferred resume"Jin Qian
This reverts commit 40c8a6e8551e81ad4d7647029e0d85f7b0a7e496. Original change broke LP1 suspend/resume Bug 840959,841139 Change-Id: I0fd50729cb81a5e56eca397428ee2c8b04f10e23 Reviewed-on: http://git-master/r/37353 Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Tested-by: Jin Qian <jqian@nvidia.com>
2011-06-21video: tegra: dc: add window inversion interface to overlay driverMichael I. Gold
Support INVERT_H and INVERT_V flags and pass through to the DC driver. Also support TILED flag instead of a separate tiled field. Change-Id: If5aa4e24666020d85272a955ef7b6ce6f70aeccb Reviewed-on: http://git-master/r/36553 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Tested-by: Michael I Gold <gold@nvidia.com> Reviewed-by: Michael Frydrych <mfrydrych@nvidia.com>
2011-06-20aat2870: Change suspend and resume event sourceJin Park
Change aat2870_bl suspend and resume event source to backlight driver from platform driver. Clean-up codes. Bug 813111 Change-Id: If04b77bf0c3c3118f05107db6ffeaea7a21cdfac Signed-off-by: Jin Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/35390 Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-06-17hwmon: ina219: powermon driver for TI ina219venu byravarasu
checking in hwmon driver for TI power monitor device INA219 bug 808311 Change-Id: Idc7a4d6b4fd867db5dc64dc09d6b1f847f9276f4 Reviewed-on: http://git-master/r/34293 Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
2011-06-15mmc: revert deferred resumeDavid Schalig
Revert MMC_BLOCK_DEFERRED_RESUME feature from SD driver. The feature was not implemented thread-safe. Fixing it would require a lot of locking logic at limited value. Deferred resume has no effect on eMMC, because eMMC will be used right after resume. For SD card it only saves power between resume and first SD card access, which is a limited usecase. It does not save power on normal SD card idle. Bug 833034 Change-Id: Ic6c9d751f463ef8135d0cf4c845462598fab774c Reviewed-on: http://git-master/r/36451 Reviewed-by: David Schalig <dschalig@nvidia.com> Tested-by: David Schalig <dschalig@nvidia.com> Reviewed-by: Alex Courbot <acourbot@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-06-06power: bq27x00: add platform data to pass gpio from board filePritesh Raithatha
Change-Id: Ic571561e9f1086fcae5889570dacb64231d0573f Reviewed-on: http://git-master/r/35185 Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com> Tested-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-06-06mfd: tps6591x: add interrupt supportPritesh Raithatha
Change-Id: I2d30f3ce900896805b99288e69a22e734d6c3911 Reviewed-on: http://git-master/r/32717 Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com> Tested-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-06-06mpu3050: Motion Libraries: Update MPU kernel to v3.3.4.Robert Collins
Update 1 of 3: MPU kernel files. Depends on board file and defconfig file. BUG 808052 Change-Id: I42b08570d3a8dac090860276e04f6d2ab7545461 Reviewed-on: http://git-master/r/29724 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Robert R Collins <rcollins@nvidia.com> Tested-by: Robert R Collins <rcollins@nvidia.com>
2011-06-06arm: mfd/regulator: tps80031: Fix I2C addressingLaxman Dewangan
This change adds the possibility of addressing all addresses on the tps80031 I2C Bus. The interrupt registers and SMPS1/2 and VIO require using different I2C addresses to be reached correctly. bug 830904 Change-Id: I1b5b0d03e531c3c8a0551e5049055930e742e10f Reviewed-on: http://git-master/r/34866 Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Matt Wagner <mwagner@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2011-06-03mfd: tps80031x: removing unused files.Laxman Dewangan
Removing unused file include/linux/mfd/tps80031x.h. Change-Id: I671d0dd4ac2aa0462ab828eba1798b12be88b7e2 Reviewed-on: http://git-master/r/34916 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
2011-06-03USB: gadget: f_accessory: Add string for accessory's unique serial numberMike Lockwood
(cherry picked from commit 84e582ad82a1eb610419e700d27c0799837cac0e) Change-Id: Ic9bad64dfbdc822c21cf66757214f6b04098efb1 Reviewed-on: http://git-master/r/34675 Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Tested-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
2011-06-03USB: gadget: f_accessory: Misc improvements and cleanup:Mike Lockwood
- Add URI string - Replace type string with a description string - Add a control call to retrieve accessory protocol version (currently 1) - Driver read() and write() calls now fail after USB disconnect until driver file is closed and reopened. - Misc cleanup work (cherry picked from commit e7cf9509a401e45acbc6bc8411edaeaf07efaf3a) Change-Id: I899e9c44843135aa93f10445567ccb10fa9aa076 Reviewed-on: http://git-master/r/34671 Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Tested-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
2011-06-03USB: gadget: f_accessory: New gadget driver for android USB accesoriesMike Lockwood
(cherry picked from commit 20368beb29603300a351a443119b51df3bf3c7a4) Change-Id: I93f56ecb0dab049a6d4cc8e13907c45079c73c99 Reviewed-on: http://git-master/r/34670 Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Tested-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
2011-06-03[CPUFREQ] Remove old, deprecated per cpu ondemand/conservative sysfs filesThomas Renninger
Marked deprecated for quite a whilte now... Signed-off-by: Thomas Renninger <trenn@suse.de> Signed-off-by: Dave Jones <davej@redhat.com> CC: cpufreq@vger.kernel.org (cherry picked from commit e8951251b89440644a39f2512b4f265973926b41) Reviewed-on: http://git.kernel.org/?p=linux/kernel/git/torvalds/ linux-2.6.git;a=commit;h=e8951251b89440644a39f2512b4f265973926b41 Change-Id: Iea0db8795fc198c40bb81a28cffe72e1abb449ec Reviewed-on: http://git-master/r/34515 Tested-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
2011-05-27mfd: tps6591x: Adding init time configuration for gpiosLaxman Dewangan
Adding the init configuration parameter for initializing the gpio of tps6591x pmic device. The configuration parameter is passed through platform data. bug 821295 Change-Id: If83e0b7edfec4d15a879fcf9085506573efbc1ac Reviewed-on: http://git-master/r/32613 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
2011-05-26arm: mfd/regulator: Adding driver for tps80031Laxman Dewangan
Adding core and regulator driver for the TI pmu device tps80031. Following functionality is added: - Basic core driver interface to access register. - Regulator driver. - gpio driver. - interrupt support from pmu. - clock 32 initialization. bug 830904 bug 829658 Change-Id: I41e732c0b5d0472209798552b5264038e5a97ee4 Reviewed-on: http://git-master/r/33109 Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Thomas Cherry <tcherry@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
2011-05-25mfd: twl-core: Supporting mpu80031 clock 32K generationLaxman Dewangan
The mpu80031 is having the register compatibility with twl6030 and so the mpu80031 driver is based on twl6030 register programming. But mpu80031 has capability of generating 32KHz which is not there in twl6030. Adding subclass for mpu80031 to identify this feature and adding support for 32KHz clock generation. bug 829520 Change-Id: Icac2b0913fb680a472ebbcdc2ec3a54d1df0ebf1 Reviewed-on: http://git-master/r/32595 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
2011-05-25aat2870: Adding backlight, regulator and mfd driverJin Park
Adding backlight, regulator and mfd driver for AnalogicTech AAT2870. Bug 813111 Signed-off-by: Jin Park <jinyoungp@nvidia.com> Change-Id: I0621a25545708d260285545b184f4689a32fa16b Reviewed-on: http://git-master/r/32366 Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-05-25driver:regulator: tps6591x: sleep mode supportLuke Huang
Adding controls for the following items 1. PMU SLEEP state enable/disable 2. Keep 32KHz clock out on sleep mode 3. Keep thermal monitor on sleep mode 4. Keep LDO full load capability on sleep mode 5. Keep high speed internal clock on sleep mode 3. Turn off power rails on sleep mode Change-Id: I389bca4a4d7ff9ae264727af8e93dcec796d3c0c Reviewed-on: http://git-master/r/32222 Reviewed-by: Scott Williams <scwilliams@nvidia.com> Tested-by: Chih-Lung Huang <lhuang@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2011-05-23regulator: Add initial per-regulator debugfs supportMark Brown
We only expose the use and open counts to userspace, providing a tiny bit of insight into what the API is up to. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk> (cherry picked from commit 1130e5b3ff4a7f3f54a48d46e9d0d81b47765bd8) Reviewed-on: http://git.kernel.org/?p=linux/kernel/git/torvalds/ linux-2.6.git;a=commit;h=1130e5b3ff4a7f3f54a48d46e9d0d81b47765bd8 Change-Id: I4454e34ee8dca3ea2932fb3b8f3ff8ad668d3147 Reviewed-on: http://git-master/r/30957 Tested-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
2011-05-23Regulator: add suspend-finish API for regulator core.MyungJoo Ham
The regulator core had suspend-prepare that turns off the regulators when entering a system-wide suspend. However, it did not have suspend-finish that pairs with suspend-prepare and the regulator core has assumed that the regulator devices and their drivers support autonomous recover at resume. This patch adds regulator_suspend_finish that pairs with the previously-existed regulator_suspend_prepare. The function regulator_suspend_finish turns on the regulators that have always_on set or positive use_count so that we can reset the regulator states appropriately at resume. In regulator_suspend_finish, if has_full_constraints, it disables unnecessary regulators. Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> -- Updates v3 comments corrected (Thanks to Igor) v2 disable unnecessary regulators (Thanks to Mark) Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk> (cherry picked from commit 7a32b589a9c856493bccb02db55047edc04eee7b) Reviewed-on: http://git.kernel.org/?p=linux/kernel/git/torvalds/ linux-2.6.git;a=commit;h=7a32b589a9c856493bccb02db55047edc04eee7b Change-Id: Iaf2e36e9d645c724e2d98e6566aadec5c013212e Reviewed-on: http://git-master/r/30956 Tested-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
2011-05-23regulator: Copy constraints from regulators when initialising themMark Brown
Currently the regulator API uses the constraints structure passed in to the core throughout the lifetime of the object. This means that it is not possible to mark the constraints as __initdata so if the kernel supports many boards the constraints for all of them are kept around throughout the lifetime of the system, consuming memory needlessly. By copying constraints that are actually used we allow the use of __initdata, saving memory when multiple boards are supported. This also means the constraints can be const. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk> (cherry picked from commit f8c12fe329c8da9f50d8b2b1183eeaa4d587e747) Reviewed-on: http://git.kernel.org/?p=linux/kernel/git/torvalds/ linux-2.6.git;a=commit;h=f8c12fe329c8da9f50d8b2b1183eeaa4d587e747 Change-Id: Ifaa6a8d1b083960a817c23c970e4fccbad67af05 Reviewed-on: http://git-master/r/30954 Tested-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
2011-05-18misc: nct1008: update edp zones for current temperatureVarun Wadekar
nct1008 will now use the ALERT# functionality to decide which edp zone to switch to. Change-Id: I1616a1d88e9f2f308a8b31935dbecec05ef54bca Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/31340 Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Tested-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
2011-05-17regulator: tps6236x: Adding driverLaxman Dewangan
Adding regulator driver for the device TPS6236x. bug 821295 Change-Id: Ifed4044db33fa6867248fae000bddf6239cb9685 Reviewed-on: http://git-master/r/31386 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
2011-05-11regulator: gpio_switch: voltage should be return in microvoltsLaxman Dewangan
The get_voltage should return voltage in unit of microvolts. bug 823828 Change-Id: I41d168f2845947cab0b076b0d3f0b70305af240b Reviewed-on: http://git-master/r/30488 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com> Tested-by: Peter De Schrijver <pdeschrijver@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
2011-04-26drivers: regulator: Adding the regulator drivernagesh Penumarty
Adding the TI 6025 PMU regulator driver. Original-Change-Id: I8ad675711bbe2ae942bcc0e32b711883eae215b4 Reviewed-on: http://git-master/r/27342 Tested-by: Venkata Nageswara Penumarty <vpenumarty@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Change-Id: Ib91f033c557bb7f4c87522ae4f5c7922a62f71f8
2011-04-26rtc: tps6591x: setting default date & timevenu byravarasu
Following changes are done: 1. Set default date, if platform data is incorrect. 2. Added an offset to adjust the RTC time to show the correct date in the time stamp. Original-Change-Id: I69d9632a3db4a64b61f68bf84098fd00cb95bed7 Reviewed-on: http://git-master/r/27761 Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Change-Id: I875005353c75567821f0497a4ee47dc087d8e322
2011-04-26atmel: Cleanup atmel touchscreen codeScott Williams
Change-Id: If837bf27b18c37eaf50efe8fca20490b35dec4f9
2011-04-26usb: tegra: adding proper usb phy typesSteve Lin
Adding proper usb phy types for link ULPI and null ULPI. Bug 800301 Original-Change-Id: Ifec7d21d7d013ad81792080d276f59a8c6086c8b Reviewed-on: http://git-master/r/24238 Tested-by: Szming Lin <stlin@nvidia.com> Reviewed-by: Udaykumar Rameshchan Raval <uraval@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Change-Id: I9cf7330eb7935a373a5db6cff7e893b9e5a13d51
2011-04-26spi: tegra: Supporting HW based CS controlLaxman Dewangan
Supporting the hw based CS to communicate to spi device. This provides the constraints in hold and setup time of CS before clock start and clock ends. The hw based CS can be selected if spi client provide the option through the device controler data and only one transfer per message is requested. Original-Change-Id: I56d5e466361cb8b3710646e01494ddac46791ae4 Reviewed-on: http://git-master/r/23988 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Amit Kamath <akamath@nvidia.com> Reviewed-by: Ramachandrudu Kandhala <rkandhala@nvidia.com> Change-Id: I52b1dcdefa199cd11ae7f838c61411a6268a2d32
2011-04-26Update copyrightsScott Williams
Change-Id: I2ffeaf6f8dfeb279b40ca6f69f6c9157401a746a
2011-04-26input: keyboard: Adding keys support through interrupt linesLaxman Dewangan
Adding keys support which are directly connected to interrupt lines. Original-Change-Id: Ib26c06b170b82f4745e758be80b3e04122ad1d6c Reviewed-on: http://git-master/r/22069 Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Change-Id: I3921cc88f32558282654fbd36243b4b0b3574133
2011-04-26arm: tegra: cardhu: Cleanup to support multiboards configurationLaxman Dewangan
Cleanup in the configuration related to board is done so that it will be easier to add another board configuration on same build configuration. Original-Change-Id: Id030d70e4893b886ee73aaf944450526e7722e7e Reviewed-on: http://git-master/r/22392 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Mohit Singh <mpsingh@nvidia.com> Tested-by: Mohit Singh <mpsingh@nvidia.com> Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com> Reviewed-by: Rakesh Bodla <rbodla@nvidia.com> Tested-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-by: Ramachandrudu Kandhala <rkandhala@nvidia.com> Change-Id: Id737a2668ce13470be80086e3d3764c4f9ac6096
2011-04-26ARM: tegra: cardhu: Enable VDD_CPU external controlAlex Frid
Original-Change-Id: Ie2b9c7bb441c72c105ca3205bdd42a8dcd76d9ef Reviewed-on: http://git-master/r/20230 Reviewed-by: Hoang Pham <hopham@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Change-Id: I9896c0568ee5103a2608cf4abcab36f592a83f21