summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2011-11-30video: tegra: ov9726: follow linux conventionCharlie Huang
move the set mode table from odm driver to the kernel driver. Bug 856739 Original Gerrit: http://git-master/r/#change,60741 (cherry picked from commit 18e2d9f8b61767a4dc0df7621531d1b040fe3ca0) Change-Id: I22fd3e012c3f91a0c7cd07a00ae25987b4cb75dd Reviewed-on: http://git-master/r/61666 Reviewed-by: Charlie Huang <chahuang@nvidia.com> Tested-by: Charlie Huang <chahuang@nvidia.com> Reviewed-by: Frank Chen <frankc@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Rebase-Id: R75397527d8b9b33c186b71d87866f8ca5ab2f9c3
2011-11-30gcov-kernel: Add ARM eABI supportJuha Tukkinen
Based on work by George G. Davis <gdavis@mvista.com>. See http://lwn.net/Articles/390419/ Change-Id: I8df700d20a154e179f8cf6cdfe4015efc5d384f2 Signed-off-by: Juha Tukkinen <jtukkinen@nvidia.com> Reviewed-on: http://git-master/r/62998 Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Rebase-Id: R2607a46c8bd1e521abe44a57a5ccf7317333d6c9
2011-11-30regulator: ricoh583: Support for external PWRREQ controlLaxman Dewangan
Supporting the different rails control through the external control signal PWRREQ1 and PWRREQ2. Reviewed-on: http://git-master/r/61898 (cherry picked from commit fc07ccae30b61a92fa0b77ee6b2b7c8d43176bbe) Change-Id: Id6322ef251e4b87673d3a647efb1f0d74b8e0815 Reviewed-on: http://git-master/r/62912 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R687c186e89635a5bd4e3f399709cdf3520936a3f
2011-11-30nfc: initial commit of pn544 nfc driverRakesh Goyal
Bug 846684 Bug 873017 Reviewed-on: http://git-master/r/55880 (cherry picked from commit 9ed3de486a47dfc8598e73157bccd76ff518048b) Change-Id: If85503592945bd5967e03ab429f5973dac0c65f7 Reviewed-on: http://git-master/r/62696 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R75e0a2682ffd4d007722eaabe19c9cb20d27a9b7
2011-11-30tegra: usb: otg: factorize host registration codeAlexandre Courbot
OTG host register/unregister functions were duplicated identically across all board files, making the code difficult to maintain (and actually some boards did not get all some code fixes leading to the same bug being met again and again). This patch moves this common code into tegra-otg.c. Bug 884315 Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Change-Id: I99b118664f0481f6c5470411b43f36609e0feb52 Reviewed-on: http://git-master/r/61763 Reviewed-by: Lokesh Pathak <lpathak@nvidia.com> Tested-by: Lokesh Pathak <lpathak@nvidia.com> Rebase-Id: R0f6060514c017946cc9ae2ba2f04a1c134d14d9b
2011-11-30regulator: tps6236x: Support to configure in force PWM modeLaxman Dewangan
Added the platform data to configure the pmu in force pwm mode. Reviewed-on: http://git-master/r/61896 (cherry picked from commit 6488995a7ead950e3ab585e71528f86f3208b0da) Change-Id: I1a828013abdbdf132d77207c7c294e526d9bb825 Reviewed-on: http://git-master/r/62593 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Rebase-Id: Rd5da6f04a8941a13a3437988dcaaafed2fe6aa8d
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-30regulator: tps6591x: Support to put LDO in low power in suspendLaxman Dewangan
Adding the configuration flag to put the ldos in the low power mode when it is suspended. The option can be provided through platform data. bug 890770 Reviewed-on: http://git-master/r/60408 (cherry picked from commit e317af259582d04c4eba2feabb757eb05d174002) Change-Id: I65ee0ef9ae963cf3d9f73ed9c5bb7c7fa4af77c8 Reviewed-on: http://git-master/r/61435 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Rebase-Id: R869a6c46008af761bc3eec1a3fbb50681786b7de
2011-11-30video: backlight: tegra: Add check_fb hook.Kevin Huang
Bug 873860 Reviewed-on: http://git-master/r/52135 Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com> Tested-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com> Reviewed-by: Robert Morell <rmorell@nvidia.com> (cherry picked from commit 92ec78210ee1526dc2c35b7775674105aa6f729b) Change-Id: If8b1f7af86574af2158609742bc8e18a2585ad36 Reviewed-on: http://git-master/r/61607 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rc3d4771e2f1c7250e7f8eacedfd7dad1790441b5
2011-11-30media: video: tegra: ar0832: Sunny P8M01E supportCharlie Huang
Add support of Sunny P8M01E module (AKA aptina 8141) This new module is identical with 8140 plus pixel improvement. Use different recommended register settings for each sensor. Add function to figure out the sensor id and let the odm driver pick up the right config data. Bug 868929 Original Gerrit: http://git-master/r/#change,53022 (cherry picked from commit f59f83468f71980c9ce3204df3a34f2aafffc512) Change-Id: Ibed03f01b13a22a75753f8495ab17eb6077a99d3 Reviewed-on: http://git-master/r/60765 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R10688d303b3b7c401a58c8fb069654dade019d47
2011-11-30video: tegra: dc: support global fbdev gamma tableDavid Schalig
Add support to set a global gamma correction table via fbdev cmap API. The 3 Tegra DC windows have their own local gamma tables, which can either override or alter the global table. Bug 868060 Change-Id: I0be1c5e4afa8fd8c010b772c7808c883c0848ab4 Reviewed-on: http://git-master/r/60201 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R7e613b1c8ac469242172bd81db9dfba25176e0c3
2011-11-30nvhost: Throttle low-priority tasksTerje Bergstrom
Add interface for setting priority of a channel. When the priority is low, wait for channel to become empty before submitting it. Bug 864407 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/57237 (cherry picked from commit 75228616ee2c3073e391c529aecb3f82be3fc5a4) Change-Id: I2f346918ae15427b826a2ec0c28bee6bc72dc859 Reviewed-on: http://git-master/r/59595 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rfb9ae7e88bec3a0c1e8f51f49f3e6f473d853b21
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-30HACK: Revert "USB: extend ehci-fsl and fsl_udc_core driver for OTG operation"Dan Willemsen
This reverts commit 83722bc9430424de1614ff31696f73a40b3d81a9. Our OTG support doesn't play nice with the upstreamed OTG support, so for now, revert the upstream commit. Conflicts: drivers/usb/gadget/fsl_udc_core.c Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Rebase-Id: R5a4b466ee983307ee277a591e664c854b0ddd970
2011-11-30kernel: Add ioctl constants for i2s loopback testsVijay Mali
Add required ioctl constants for i2s loopback tests. Audio test framework is using these ioctls for setting pcm format paramters for I2S loopback test. Change-Id: Id192668c5e9937e3cb42f8712a982f214e999289 Reviewed-on: http://git-master/r/59524 Reviewed-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-by: Vijay Mali <vmali@nvidia.com> Tested-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Rebase-Id: R5cb6bfb63d281559d992818c2a2a95cb00fba78d
2011-11-30media: video: tegra: OV14810 sensor supportkdivvela
Support for OV14810 (14MP) sensor Bug 839441 Reviewed-on: http://git-master/r/47714 (cherry picked from commit 2a9be1047fe93fba46c32edf60054261cc90970b) Change-Id: Ib5c55c56017f4f18312c5b4fdc2c884857003f5f Reviewed-on: http://git-master/r/58657 Reviewed-by: Krupal Divvela <kdivvela@nvidia.com> Tested-by: Krupal Divvela <kdivvela@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Ra0bf2a7d2fdfff8303dcdb84b8655afce11a4a12
2011-11-30power: tps80031-charger:Mechanism for getting charging statusLaxman Dewangan
Adding api which provides the mechanism to getting charging status. bug 872697 Reviewed-on: http://git-master/r/56625 (cherry picked from commit 4c271cf84923cd5ae9225f41a1a665b116cb974a) Change-Id: Ibd88cbb568ac65f992a8142934017ed468268d72 Reviewed-on: http://git-master/r/57808 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Rebase-Id: R45759b0f319acd29663aa1c23658f094caa6a06f
2011-11-30video: tegra: dc: ioctl for setting gamma lutDavid Schalig
- enable gamma look-up hardware only when needed to save power - add flags field to ioctl TEGRA_DC_EXT_SET_LUT for forward compatibility Bug 868060 Change-Id: I690f8b8856e0b1acd6215907ca8bd78ecaf30b17 Reviewed-on: http://git-master/r/57736 Reviewed-by: David Schalig <dschalig@nvidia.com> Tested-by: David Schalig <dschalig@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Robert Morell <rmorell@nvidia.com> Rebase-Id: Rf6081a9372ba7d6e53a66b9b58a50a62ad409d9a
2011-11-30usb: host: tegra: Configurable USB hotplugArtiste Hsu
Hotplug on usb is supported when hotplug flag is set in platform data Bug 869745 (cherry picked from commit I57ba0b18a2d4232b2df2074c91aff97c6e639e7d) Reviewed-on: http://git-master/r/54588 Change-Id: I24e5ddf49cead14d3eebe30da0f92402015c95c7 Reviewed-on: http://git-master/r/57725 Tested-by: Artiste Hsu <chhsu@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Rdf4296a0b0e04733832b8b60b347a3da9cc67413
2011-11-30media: video: nvavp: Add ioctl to set/get clock ratePrashant Gaikwad
These ioctls provides interface to user space for VDE/AVP/EMC clock rate anagement. This helps to save power. Bug 876405 Change-Id: Ic36cd78bf78a3c04dac49dd4b3040542130bc855 Reviewed-on: http://git-master/r/54697 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Rebase-Id: Rcd1d8e536641d109c7e1db7ccaf3a8e54a169acc
2011-11-30asoc: max98088: add headset/headphone detection codeNikesh Oswal
Bug: 862023 Change-Id: Ieb9247cef5feecf3e241d8980f9c4376cadf2965 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/55465 Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Rebase-Id: Rf725fad369dbbe4d5f6eaa7b667170a127fa0a08
2011-11-30kernel: Add ioctl constants for audio test frameworkRahul Mittal
Added some ioctl constants required for audio test framework use cases like DAM mixing and APBIF channel validation Change-Id: Icc536fbb2cfd28f89ac760cd67b24e5a46892d7d Reviewed-on: http://git-master/r/56222 Tested-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Rebase-Id: Re03b618eb7923447c13d0732641be8a2bf80e75f
2011-11-30regulator: tps6591x: Take care of voltage slew rateLaxman Dewangan
Adding delays in set_voltage to stablize the voltage as per voltage slew rate when changing the voltage. bug 872382 Reviewed-on: http://git-master/r/51324 (cherry picked from commit 2aae0d2db5959b16ca73d53b4543e62ebc5c3c88) Change-Id: Ia8ad81281dc78e121c7d701055235c490e731d09 Reviewed-on: http://git-master/r/55642 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com> Rebase-Id: R53948e9aa72d1dd303a4011fc2b43229df92c6b7
2011-11-30video: tegra: dc: add ioctl for setting gamma lutDavid Schalig
Adds ioctl TEGRA_DC_EXT_SET_LUT to dc_ext driver for setting a DC window's color palette. Bug 868060 Change-Id: I57ffcf3a3f91e76efd1c7f1f972b73c2edbaed82 Reviewed-on: http://git-master/r/56392 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Rebase-Id: R712c71151d0c3e3d274279f334bedf312e26e75d
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-30media: tegra_camera: Enable Null sensorkdivvela
Enable pd2vi_clk in case of Null sensor Bug 870406 Reviewed-on: http://git-master/r/50822 (cherry picked from commit 4eaca0ed7652aacf1bf56d1f7ad1ff1bd39c73a9) Change-Id: Ie508e3addf4e757201bed9499dbba2887a8d423f Reviewed-on: http://git-master/r/55199 Tested-by: Krupal Divvela <kdivvela@nvidia.com> Reviewed-by: Prayas Mohanty <pmohanty@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Rdc286d25cf01b6bae9e50accf618cb96e17c5bd9
2011-11-30arm:tegra: Add EXPORT_SYMBOL and ioctls for test frameworkRahul Mittal
Added EXPORT_SYMBOL to functions to be used by loadable kernel module for audio test framework. Also added ioctl declarations for the same. Change-Id: Id8a023c1d76fd031c042c7c663bb0e1df2d33b5c Reviewed-on: http://git-master/r/52333 Tested-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Rebase-Id: Rfdc9fd3b9a42b2ee601c273480f9986ab897f046
2011-11-30media: tegra: Adding member flag in tegra_camera_clk_infoSachin Nikam
In struct tegra_camera_clk_info adding member flag. This will create a same IOCTL number for TEGRA_CAMERA_IOCTL_CLK_SET_RATE as of user space. Bug 872674 Change-Id: I23c725a50bad429b27498662370698c6734f82d5 Signed-off-by: Sachin Nikam <snikam@nvidia.com> Reviewed-on: http://git-master/r/51762 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Rc70f14f716ed3df266d0ba37f993b29aa6c639a4
2011-11-30regulator: max77663: Active-discharge mode for SDxHarry Hong
Adding Active-discharge option for SDx rails. bug 859415 Original-Change-Id: Ia4d3933b9dbf4a0ec646c586f99a7411d2a93371 Reviewed-on: http://git-master/r/50281 Tested-by: Harry Hong <hhong@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Rac11236a7f0f305f0e821c5a8f911e5751bd2c82
2011-11-30media: video: nvavp: Add AVP syncpoint ID queryGajanan Bhat
Add support to query syncpoint ID assigned to the AVP by nvhost driver. Original-Change-Id: Id963e6c32f97e095da253de4b7d83ee8fa8d62a8 Reviewed-on: http://git-master/r/49702 Tested-by: Gajanan Bhat <gbhat@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com> Reviewed-by: Isaac Richards <irichards@nvidia.com> Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> Rebase-Id: R2735f76ea5d9f9ec186df3c17cef96b3584f3dfe
2011-11-30video: tegra: Implement EDID queryRobert Morell
This change implements the TEGRA_DC_EXT_CONTROL_GET_OUTPUT_EDID ioctl in the dc_ext interface. It first adds a way for the tegra dc EDID module to export EDID data safely, without the risk of reading an incomplete or corrupted EDID in the presence of hotplug, by moving the actual data to a substructure with a lifetime maintained by a kref. Then, that support is plumbed through the hdmi block (which is currently the only way to get at the EDID) and out to userspace. Signed-off-by: Robert Morell <rmorell@nvidia.com> Bug 817119 Original-Change-Id: I78cd170e15322011b428cb71ffad2c0c3ea058ac Reviewed-on: http://git-master/r/49127 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Rebase-Id: Rafafc0a6fbacda5494b12162ad99a8c70ceeb2e0
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-30video: tegra: dc: Separate allocations for U and VRobert Morell
Currently, dc_ext only takes a single nvmap memory ID per overlay, even in the YUV case (the U and V planes are expected to be differentiated using an offset from the beginning of the nvmap allocation). This is problematic for some software flows, such as certain video interlacing algorithms that will vary the luma plane while keeping the chrome plane constant. This change allows dc_ext clients to specify a different nvmap allocation for each of the Y, U, and V planes. If a YUV surface is used and no U or V plane allocation is specified, the old behavior is preserved: the U and V offsets are assumed to be within the same allocation as Y. Note: this changes the behavior of the offset parameter: the old code added offset to offset_u and offset_v when using it. The new code treats all three offsets as relative to the beginning of the allocation. It also fixes a bug in the code where offset was applied twice to the Y plane. I believe this is safe because the presence of this bug means that no existing clients are using offset != 0 (or if they are, they're already broken). Signed-off-by: Robert Morell <rmorell@nvidia.com> Bug 850882 Original-Change-Id: I230e03db25baaae73a3bdc0d45a2aec162b87fa4 Reviewed-on: http://git-master/r/41471 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Ra6dd17a50de7150edf104d2a6c9b3b9949919022
2011-11-30misc: nct1008: sub-zero temperature supportBitan Biswas
Added support for sub-zero temperatures Original-Change-Id: Id35590ee4d058f35625088089623cc063f9a711a Reviewed-on: http://git-master/r/48690 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Tested-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Ramachandrudu Kandhala <rkandhala@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Rebase-Id: Rf705a1b4f3c246029abc55570f26e876ae3bfaa9
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-30power: tps80031-charger: Add battery charger driverLaxman Dewangan
Adding battery charger driver for tps80031. bug 841080 Original-Change-Id: Id5bd717f4784b9bb48b2c2cb0b1b16a8a85aa830 Reviewed-on: http://git-master/r/48361 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Rebase-Id: Rae0d4723273b65c6a30820a876c8a8499bb69cf3
2011-11-30regulator: tps80031: Support for delay configurationLaxman Dewangan
Adding support for delay configuration after setting the voltage from platform data based on board behavior. Also providing flag to enable the VBUS discharging though internal pull down. bug 853393 Change-Id: I27e7ae1eab9893241e775e17ec7b98afac71195b Reviewed-on: http://git-master/r/41886 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R395c7ac35ccfabbea8de403d0db3cc4708981ab8
2011-11-30regulator: tps8003x: Add Charging bus IDLaxman Dewangan
Adding charging rail ID for registering as regulator. Original-Change-Id: I654f8d040be5387bc8d6949e0338db6d4fdd5ed4 Reviewed-on: http://git-master/r/48208 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Ramachandrudu Kandhala <rkandhala@nvidia.com> Rebase-Id: R57f4505477c2bea7e3be5b5f6e7a61e665014181
2011-11-30regulator: max77663: Slew rate and forced PWM mode for SDxJin Park
Adding slew rate and forced PWM mode for SD power rails. Bug 849360 Original-Change-Id: Ie66074bd36e600f2f72ba04e2c04331a58dd6a5c Signed-off-by: Jin Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/47830 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R21ef37ada9a64dec082f82468f5c51d92e30a394
2011-11-30regulator: ricoh583: Add ricoh583 regulatorLaxman Dewangan
Adding ricoh583 regulator driver to supprot RICOH 583 PMIC. bug 822562 Original-Change-Id: Ie4b3aab91f2057965e2352f7a9509c651fb2ad0a Reviewed-on: http://git-master/r/40319 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R0d28e8d36a4052250f2d9c20e7f463e1bbda4883
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-30i2c: tegra: Remove warningsAlok Chauhan
Updated the tegra_i2c_platform_data to remove warnings. bug 854305 Original-Change-Id: I21257dc7b78b6fe3a6d19c959f003f2cb13b10f1 Reviewed-on: http://git-master/r/47729 Reviewed-by: Alok Chauhan <alokc@nvidia.com> Tested-by: Alok Chauhan <alokc@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Rebase-Id: R9ef4b727c6c0e4f8c9ec275fd311fdaf95400ce0
2011-11-30video: tegra: nvhost: add submit timeout supportChris Johnson
In this change, nvhost_cdma starts a timer (if a timeout is specified in the userctx), for the buffer at the head of the sync_queue that has not reached its syncpt threshold. If the timeout fires, nvhost_cdma initiates a channel / module reset. It then detects up to where in the sync_queue it stopped execution (based on the current HW syncpt value). For any remaining uncompleted buffers in the context, nvhost_cdma NOPs the entry and CPU incrs the syncpt to where it should be had it completed. If one of the sync_queue entries belongs to another context, it still does the syncpt incrs for this context, but via the PB as a GATHER opcode, At the end, CDMA is restarted, so buffers are refetched (either with NOP slots, or GATHERs to incr syncpts). This appears as though the buffer has completed (and the associated resources released). For testing, debugfs entries have been added under /d/tegra_nvhost force_timeout_val - set the timeout value, in ms force_timeout_channel - channel ID, were timeouts checks occur force_timeout_pid - process ID to set the userctx The idea is to set the timeout_val, then the timeout_channel (e.g. for 3D, the channel ID is 1) and then the process ID, gotten from running adb shell ps. Bug 625545 Original-Change-Id: I659e9255f1105f3439ce23e9169a19739b83ea52 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/42655 Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R89759c129e2db8f7dbf83a6066fc29947f95cc27
2011-11-30tracelevel module: Prioritize trace eventsAlon Farchy
This module lets subsystem authors prioritize ftrace events by calling tracelevel_register(...). High priority traces will be automatically enabled on boot. See tracelevel.h for more details Original-Change-Id: If03699e96c598bdcf93b9a9f73918ce7b0c750cb Reviewed-on: http://git-master/r/40290 Reviewed-by: Alon Farchy <afarchy@nvidia.com> Tested-by: Alon Farchy <afarchy@nvidia.com> Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Tested-by: Daniel Solomon <daniels@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com> Rebase-Id: R49f59f81d61907f66fdf892130a1b4dc6575d40e
2011-11-30media: tegra: nvavp: ucode loading in driverGajanan Bhat
Implementation to load the app ucode from driver instead of each client instance maintaining copy of common ucode.The driver will load and maintain a single instance of the app ucode, but gives ability to flag external ucode usage for every submit call. The driver also caches both the os and app ucode till driver is unloaded. Original-Change-Id: I96ad3c039bf96c621774d41b3f838ea6fbe52ae9 Reviewed-on: http://git-master/r/45872 Tested-by: Gajanan Bhat <gbhat@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Rebase-Id: R35fe5c503cc761e7e26efe91d254109fb215f520
2011-11-30media: video: ov5650: add 2x2 binning mode controlChangyeon Jo
Add IOCTL (OV5650_IOCTL_SET_BINNING) that user code can access to registers which have 2x2 binning control bits. Bug 835589 Original-Change-Id: I07f8d3536fcdb92e8bae0af294d1a0f8523cefbc Reviewed-on: http://git-master/r/43727 Tested-by: Changyeon Jo <cjo@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R36b1a800652a73e5b51dd56f30e0f56f6dda7d36
2011-11-30i2c: tegra: Updated Arbitration lost recoveryAlok Chauhan
Updated arbitration lost recovery to accumulate i2c multiplexing. bug 854305 Original-Change-Id: I3f669c507980df78fa443c84b304d337bbe6a6da Reviewed-on: http://git-master/r/46630 Reviewed-by: Alok Chauhan <alokc@nvidia.com> Reviewed-by: Bandi Krishna Chaitanya <bandik@nvidia.com> Tested-by: Bandi Krishna Chaitanya <bandik@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Rebase-Id: R987d84dcf51a3d8e366f2e4b2d0d278304e2db76
2011-11-30nvhost: Move include files to kernel/includeTerje Bergstrom
To prepare for kernel modularization, nvhost include files need to be moved from mach-tegra/include to kernel/include. At the same time user space specific part is split into nvhost_ioctl.h. Bug 854182 Original-Change-Id: I3694a40d786028733310ecf5b59341282af571be Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/43211 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rc4fadf65d59ddfb5bb924e7adfccd39e86a0b2c7