summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-09-24ARM: dts: tegratab: change default brightnessdaily-2013.11.07.1_rel-tegranote-r1-partnerMin-wuk Lee
Change default brightness to 153, which is 60% compared to max brightness Bug 1353323 Change-Id: Ia2e35da24ff2a71c192b8436cc16b909b4d68aaa Signed-off-by: Min-wuk Lee <mlee@nvidia.com> Reviewed-on: http://git-master/r/278325 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2013-09-22asoc: rt5639: Set Speaker OVCD to defaultScott Peterson
Set the speaker over-voltage protection value to the power on reset value. Set OVCD to low value when audio is not playing. Make sure codec mclk is enabled when writing the codec registers. Change-Id: Ib673d667af54f3b4fd7bf3183cbde1759838ae4a Signed-off-by: Scott Peterson <speterson@nvidia.com> Reviewed-on: http://git-master/r/274022 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com> Reviewed-by: Simon Je <sje@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com> (cherry picked from commit 2e0cd932ce9c116b5a0e07a3ce5ad865a63121b3) Reviewed-on: http://git-master/r/277637 Tested-by: Simon Je <sje@nvidia.com>
2013-09-16input: touch: maxim_sti: Check thread stop conditionBo Kim
Problems: If shutdown or remove is called when suspended, it could be stuck in infinite loop. Changes: 1. Check kthread_should_stop() in several loops should be helpful to avoid infinite loop problem. 2. Add __pm_stay_awake() in resume() and __pm_relax() in suspend() should be helpful to avoid messaging error touch fusion driver and touch fusion daemon by user space freezing between suspend and resume. 3. shutdown()/remove() stops processing_thread() before killing daemon. Bug 1366179 Change-Id: I68464164440418a53bd37ce1821e04b630c12aec Signed-off-by: Bo Kim <bok@nvidia.com> Reviewed-on: http://git-master/r/274196 Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-09-16tegratab: use touch_fusion for reversed panelBo Kim
We don't support DVT1(non reversed panel) device. So we don't need to support touch_fusion and touch_fusion_rd together. We will use touch_fusion for reversed panel. Change-Id: I576f926463c69e1a033b763e5e5c2207e373baa6 Signed-off-by: Bo Kim <bok@nvidia.com> Reviewed-on: http://git-master/r/272926 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Youngjin Kim <nkim@nvidia.com> Reviewed-by: Robert Collins <rcollins@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-09-13ARM: dts: tegra114: Add tegratab dvfs table in DTJinyoung Park
Added tegratab dvfs table in device tree. This DT dvfs table is including a ram-code property to support multiple devices of emc. - ram-code = 0: Micron 1GB - ram-code = 1: Hynix 1GB Bug 1352073 Change-Id: I0353d9451043352c033cdcdee5b178d4c736f901 Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/271985 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-09-13ARM: tegra: clock: Use ram code for TegraTabJinyoung Park
Use ram code depending on each TegraTab H/W revisions. Bug 1352073 Change-Id: I92d6267c6f352f3bb788a47db661b4b3499e4327 Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/272929 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Harry Hong <hhong@nvidia.com> Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-09-13misc: ti-st: Send timeout error if ST registration failsShobek Sam Attupurath
Send timeout error in case of ST registration failure so that that ST retries. Bug 1347583 Change-Id: Ie64d17203aa03e7efa126d243c01e9017008a7f3 Signed-off-by: Shobek Sam Attupurath <sattupurath@nvidia.com> Reviewed-on: http://git-master/r/263940 Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-09-12video: tegra: dc: dont restore windows in unblankRakesh Iyer
During unblank, the original framebuffer should be the window 0. This is broken so for the short term we will keep windows unchanged on unblank. Bug 1299586 Bug 1358722 Change-Id: Ib16d901b9bc77d6ec9075a054c0b5e5c5d52cb55 Signed-off-by: Rakesh Iyer <riyer@nvidia.com> Signed-off-by: Min-wuk Lee <mlee@nvidia.com> Reviewed-on: http://git-master/r/248842 (cherry picked from commit 92d5cd55b603857daafb18828c83dc2cc6b1a527) Reviewed-on: http://git-master/r/273765 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-09-12arm: Enable IRQs before attempting to read user space in __und_usrCatalin Marinas
The Undef abort handler in the kernel reads the undefined instruction from user space. If the page table was modified from another CPU, the user access could fail and do_page_fault() will be executed with interrupts disabled. This can potentially deadlock on ARM11MPCore or on Cortex-A15 with erratum 798181 workaround enabled (both implying IPI for TLB maintenance with page table lock held). This patch enables the IRQs in __und_usr before attempting to read the instruction from user space. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com> Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Change-Id: Ie5164d8ada9646d723b2b6ef65797e9307718292 Reviewed-on: http://git-master/r/264300 (cherry picked from commit 099ae886a528059cdda926ce1701caaaeaa9e0e8) Reviewed-on: http://git-master/r/267818 (cherry picked from commit 4b351ab2f929717d7e3c665828c6c9cff5fd4d33) Reviewed-on: http://git-master/r/273633 GVS: Gerrit_Virtual_Submit Tested-by: Harry Hong <hhong@nvidia.com> Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-09-11ARM: dts: tegratab: update CMU calibration dataMin-wuk Lee
Update CMU calibration data. Normalized matrix is chosen for CMU csc matrix. Bug 1354492 Change-Id: I79dde8f33ff89bf261c70a65365eb5555a5e4cd5 Signed-off-by: Min-wuk Lee <mlee@nvidia.com> Reviewed-on: http://git-master/r/272948 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2013-09-11input: misc: akm8975: fix kernel panic on shutdownDavid Yu
When device is full flashed then reboots, sometimes akm_probe() and akm_shutdown() races. akm_shutdown() release all the resources thus kernel panic can occur in akm_probe(). Change-Id: I4ba2d3fc36dd919306637ec550a098e3f174f159 Signed-off-by: David Yu <davyu@nvidia.com> Reviewed-on: http://git-master/r/273088 Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2013-09-11input: sensor: compass: Add sec-salve-id for compassXiaohui Tao
Bug 1356943 Change-Id: If34b39b849e350fd9312b9a73130db13c3571b4c Signed-off-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-on: http://git-master/r/272840 GVS: Gerrit_Virtual_Submit Reviewed-by: Robert Collins <rcollins@nvidia.com> Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-09-11asoc: rt5639: Test mode initializationScott Peterson
Make sure that test mode is not left enabled when powering up the codec. Change-Id: Ie3643220c81764f4f26903c7e88812150f2fc223 Signed-off-by: Scott Peterson <speterson@nvidia.com> Change-Id: I1e3b216f84f87f36d05c9693f9a97d0444b68718 Reviewed-on: http://git-master/r/273276 Reviewed-by: Simon Je <sje@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-09-11mmc: tegra: error handling if no cardHarry Hong
if sd card removed during tap_delay tuning, don't exit until trying MAX_TAP_VALUES. it makes the system un-responsive for 2 sec. Therefore, adding to check card_present before starting freq_tuning. if card is not present, return error and then exit tuning procedure. bug 1364449 Change-Id: Ib8dff29a1c1faade2acaa93c3e97ea23d3e3041c Signed-off-by: Harry Hong <hhong@nvidia.com> Reviewed-on: http://git-master/r/272902 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-09-10ARM: tegra: clock: Correct wrong pointer passingJinyoung Park
Corrected a wrong device node pointer passing. Bug 1352073 Change-Id: Ib4354e0b74d1babf671d141cea238e9a55299343 Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/271984 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-09-10tegra: video: hdmi: WAR: ensure hdcp register access with clk enabledMin-wuk Lee
There is a race condition between hdcp upstream and hdmi disable during suspend/resume stress with hdmi plugged-in. WAR by making host1x/hdmi clk enabled and hdmi clk out of reset. Bug 1349507 Change-Id: I6870066358900d6f6798b3e20bc59bf5645f25b8 Original-author: Roger Hsieh <rhsieh@nvidia.com> Signed-off-by: Roger Hsieh <rhsieh@nvidia.com> Signed-off-by: Min-wuk Lee <mlee@nvidia.com> Reviewed-on: http://git-master/r/271389 GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2013-09-10nvhdcp: avoid i2c transfer retry on suspendDavid Yu
Bug 1346938 Change-Id: I95d8806a6cd4fbb6060f0b6e5bcebc27f1c846fc Signed-off-by: David Yu <davyu@nvidia.com> Reviewed-on: http://git-master/r/267718 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2013-09-10video: tegra: avoid double free in modedbJon Mayo
modedb can double free in some cases, or worse point to free'd memory that later gets allocated. Bug 1328121 Bug 1264520 Bug 1346938 Change-Id: Icc4bba24017a782501f27c4787a63a2e2680e4a7 Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/251070 (cherry picked from commit 5fe405dbe4317a177182eea98d1a09c9891cfcad) Reviewed-on: http://git-master/r/269365 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2013-09-10HDCP: Only Wait for Communication to stop if HDMI is PluggedMatt Wagner
Don't wait for communication to stop if HDMI isn't plugged Bug 1275577 Bug 1346938 Change-Id: Ifb56bc8a4b36ac2cb40614811398920b7e293e04 Signed-off-by: Matt Wagner <mwagner@nvidia.com> Reviewed-on: http://git-master/r/231350 (cherry picked from commit fc774f94ffa54b1a6ce1771ac82b82c3a1eea39f) Reviewed-on: http://git-master/r/267816 GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2013-09-10HDCP: finish hdmi access before turning nvhdcp offRakesh Iyer
Wait for hdmi accesses to finish before turning nvhdcp off. Bug 1275577. Bug 1346938. Change-Id: Ieef8635b66cfdddece7b2e1140b776b91350d272 Signed-off-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-on: http://git-master/r/227243 (cherry picked from commit ac6205a26fbf52d8439524543321012ed95c9d78) Reviewed-on: http://git-master/r/267815 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2013-09-09input: misc: mpu: fix nvi_pwr_mgmt_1_warDavid Yu
Interrupt is not generated after nvi_accl_enable intermittently. Not reading i2c after i2c write failure fixes the issue. Bug 1362994 Change-Id: Icf97b39e740f14d8d76519116e73a38c7f08eed0 Signed-off-by: David Yu <davyu@nvidia.com> Reviewed-on: http://git-master/r/271849 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Erik Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-by: Robert Collins <rcollins@nvidia.com> Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-09-08Cpufreq: Serialize policy update across hotplugPuneet Saxena
It serialise policy parameters update when hot-unplug happens. Bug 1327428 Signed-off-by: Puneet Saxena <puneets@nvidia.com> Reviewed-on: http://git-master/r/265844 (cherry picked from commit 318c456ae7509ca2286200ace7e8cddaff6a2fab) Change-Id: I0be6523add2866e45e413c79ef7c86605a359f44 Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/269945 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-09-08Cpufreq: protect policy & module refcountPuneet Saxena
percpu policy pointer needs to be updated with "cpufreq_cpu_data" synchronously. This will avoid different virtue of policy pointer of an online cpu. It protects ref counting while releasing policy object Bug 1327428 Signed-off-by: Puneet Saxena <puneets@nvidia.com> Reviewed-on: http://git-master/r/261609 (cherry picked from commit e1f0ddb9f2a50a7697864f180fbab745add08682) Change-Id: I817a78c2ead921546f97e4af8943fb5c4ffcfcc6 Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/269944 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-09-08ARM: defconfig: Enable CONFIG_PANIC_TIMEOUT=2Hyongbin Kim
Add "CONFIG_PANIC_TIMEOUT=2" for reboot after 2sec, when kernel panic occur. Bug 1362640 Change-Id: I693573e1e6f2377866b609991c01f753d5e42f5b Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/270760 Reviewed-by: Simon Je <sje@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-09-07input: touch: maxim_sti: Update to version 1.4.1, v25Robert Collins
Description: version 1.2.0 TegraTab bringup v25 DVT3+; Changes: * Eraser starts as being reported as pen and then switches to eraser without an intervening lift of the pen. * Touch panel not responsive after standby resume * Stylus events on virtual keyboard are missing with v24 build. Bug 1357895 Bug 1353325 Bug 1360030 Change-Id: I4c01e13165074f5c0cbd5a71cf961956a66c07b1 Signed-off-by: Robert Collins <rcollins@nvidia.com> Reviewed-on: http://git-master/r/271801 GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2013-09-07ARM: tegra: Assert reset when power ungatingTerje Bergstrom
Ensure unit is in reset when powering it back on. Bug 1329416 Bug 1331777 Bug 1322046 Change-Id: I8ef6646a8fe2ae85fdb836f3222678e5f77a784c Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/256139 (cherry picked from commit 814f276c512cd49abbf15c64e14f8a9bbeb22d39) Signed-off-by: Yong Goo Yi <yyi@nvidia.com> Reviewed-on: http://git-master/r/271354 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2013-09-05ARM: tegra: tegratab: Set proper skin coeff to each P1640 revisionJinyoung Park
Set proper skin coeff to each P1640 board revision. Bug 1362155 Change-Id: Ie3574f71961dec9441a7e8a6f0880385ae54a2b7 Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/271337 Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-09-04arm: tegra: tegratab: KEY_UNKNOWN as default wakeup_keyYong Goo Yi
Key code of SW_LID is 0 same with KEY_RESERVED used as default value when checking wakeup key so even though waking up by RTC or wl18xx, gpio key driver works for SW_LID. It increases LP0 standby power. Use KEY_UNKNOWN as default wakeup_key. Bug 1361016 Change-Id: Id44f78214060eb702e3a44997c1722095c734195 Signed-off-by: Yong Goo Yi <yyi@nvidia.com> Reviewed-on: http://git-master/r/269908 Reviewed-by: Simon Je <sje@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-09-02input: touch: maxim_sti: Shutdown safelyBo Kim
Current shutdown implementation seems to be unsafe. Sometimes it can be locked up due to interrupt from the chip but the interrupt cannot be processed and cleared. Bug 1349939 Bug 1359386 Change-Id: I585c03c2398eb9ab94563d5fe379bbafad7dc03c Signed-off-by: Bo Kim <bok@nvidia.com> Reviewed-on: http://git-master/r/268420 Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2013-09-02ARM: tegra: cpu: Ensure CPU freq with suspend freq during pre/post suspendJinyoung Park
Tegra CPU driver fixes CPU freq with a selected suspend freq between pre-suspend and post-suspend. In this pre/post suspend period, the Tegra CPU driver ignores CPU freq scaling requests from the CPU freq governor. But the CPU freq governor keep working until the system suspended. So the CPU freq governor updates its status even if the system is in the pre/post suspend period. This makes unexpected CPU freq setting issue on post-suspend. To ensure CPU freq with the selected suspend freq in the pre/post suspend period, set a policy max freq on CPU freq governor to the selected suspend freq via PM QoS at pre-suspend and release the setting via PM QoS at post-suspend. Bug 1354391 Change-Id: I8efa6dd438a37adc7cadfb1d36eb7340a4e85c79 Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/268955 Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2013-09-02cpufreq: Set same governor as a first CPU when CPU onlineJinyoung Park
Set governor for a newly online CPU with same governor as a first CPU. Bug 1354391 Change-Id: I104ff8f61e89667f482f262d4cc3cb5ea1a1875a Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/268954 Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2013-09-02cpufreq: conservative: Ensure requested_freq within policy min/max rangeJinyoung Park
Ensure requested_freq within policy min/max reage. Bug 1354391 Change-Id: I55d0221a228c3cdeef3f9ced0a0ecb8bbdb21427 Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/268953 Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2013-09-01input: touch: maxim: Do not rely on previous state of resetXiaohui Tao
Currently the driver does a reset in their resume function (1) rely on previous state of the reset pin (2) rely on touch_fusion daemon to issue a reset signal Both of them are not reliable since (1) The reset pin is possibly not low when the system resumes due to some racing communication between the daemon/driver/chip or some communication between the daemon/driver/chip that is aborted during rapid resume/suspend. This can result in the reset signal in resume not issued to the chip and it can cause touch not working. (1) The chip/daemon may enter some wired state that cannot recover so that the daemon cannot issue the reset signal correctly. The solution is to issue a low signal to the chip in resume function so that it can guarantee that a true reset signal is issued to the chip. Bug 1353325 Change-Id: I2ede0dbb8987457cde344cdba12889b708fd95e7 Signed-off-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-on: http://git-master/r/268630 GVS: Gerrit_Virtual_Submit Reviewed-by: Bo Kim <bok@nvidia.com> Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-09-01input: touch: maxim: Refine power controlXiaohui Tao
(1) Move regulator control from threaded func to probe func since the current machanism will kill the direct touch daemon and restart it when it is not responding. Keeping the regulator code there will make ref count go up, which will keep the power rail always on. (2) Do not call suspend/resume in display off case for touch. Touch suspend/resume should be consistent with display off/on. There is no need to turn touch on/off in display off case. Bug 1353325 Bug 1350928 Change-Id: Id9719f04398be0032faf2c9f685400b292458b06 Signed-off-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-on: http://git-master/r/267625 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bo Kim <bok@nvidia.com> Tested-by: Bo Kim <bok@nvidia.com> Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-09-01arm: tegra: fuse: printing RAM strapping infoHarry Hong
To be aware of RAM strapping info, print it at kernel init by default. bug 1352073 Change-Id: Ia0462392d6a2ca06b68fcced1b39ec7d68110c74 Signed-off-by: Harry Hong <hhong@nvidia.com> Reviewed-on: http://git-master/r/267903 GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-09-01ARM: tegra: nct: add serial number entries for LBHWoojung Min
Bugi 1346871 Change-Id: I20e523a89d214f1265009abc10e183f4dcce67cf Signed-off-by: Woojung Min <wmin@nvidia.com> Reviewed-on: http://git-master/r/265928 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Joshua Cha <joshuac@nvidia.com> Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-08-29ARM: tegra: tegratab: Don't register touch driver if charger boot modeJinyoung Park
Don't register touch driver if charger boot mode to reduce power consumption. Change-Id: I7dcd120ecf2b7f6156aa40551c59aba88f815035 Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/268203 Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2013-08-29ARM: tegra: tegratab: free BL fb in late_initMin-wuk Lee
At this moment, bootloader framebuffer memory is freed in arch_initcall, whereas, kernel framebuffer is used in dc device register with device_initcall. bootloader framebuffer memory should be freed after dc device register, so move it to late_initcall frame. Bug 1346172 Change-Id: Ibd6dc72deea82069aaa2ab6d2cd52d4810b1cb53 Signed-off-by: Min-wuk Lee <mlee@nvidia.com> Reviewed-on: http://git-master/r/267790 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-08-29cpufreq: interactive: Add consecutive I/OJinyoung Park
Treat I/O wait as CPU busy if I/O processing is occurred on the consecutive samples. Bug 1332115 Bug 1351808 Change-Id: Ie47737a10b4896c8bef09181cca644f888ab2ac4 Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/264419 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-08-29ARM: tegra11: power: Specify PMU undershoot gaurd-bandAlex Frid
Specified PMU undershoot gaurd-band 100mV for tegratab, macallan, and pluto boards. Bug 1285525 Change-Id: I950630c1d3208657fde0a8dda7a538c60cfc706d Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/227756 (cherry picked from commit 31a740326f55b922edc0b3c89839dc2332b4ed35) Signed-off-by: Yong Goo Yi <yyi@nvidia.com> Reviewed-on: http://git-master/r/267385 GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-08-29misc: ti-st: enable wakeup deviceHarry Hong
- enable st_host_wake device as wakeup device - set device_wakeup_enabe by default - don't freq irq if irq is not registered in this driver bug 1347948 Change-Id: Id8467cadc21270f73154e32711818111b8eb10c0 Signed-off-by: Harry Hong <hhong@nvidia.com> Reviewed-on: http://git-master/r/267128 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-08-28power: bq2419x: Set attr chmod 644Hyongbin Kim
Chmod 666 make "testAllFilesInSysAreNotWritable" fail in android.permission.cts.FileSystemPermissionTest. Bug 1342684 Change-Id: I60cb2b02080b5b5fd3fdedd5c7fed54b474454c8 Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/267178 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jake Park <jakep@nvidia.com> Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-08-27misc: ti-st: Adding IORESOURCE_IRQ_OPTIONAL caseHarry Hong
if flag is IORESOURCE_IRQ_OPTIONAL, don't request irq because this irq need to be registered in another driver. bug 1347948 Change-Id: I3178aca5b09421b5f6c53d28b6327f530d405e9c Signed-off-by: Harry Hong <hhong@nvidia.com> Reviewed-on: http://git-master/r/265925 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-08-27arm: tegra: tegratab: set INT_UARTC as st_host_wakupHarry Hong
- add IORESOURCE_IRQ_OPTIONAL in st host wakeup irq resource. if it's set, don't request irq. INT_UARTC need to be requested in hsuard driver. So, don't request it in st host wake drvier. only doing enable/disable irq in that driver. - set INT_UARTC as st_host_wakeup irq bug 1347948 Change-Id: Id6ee39b7307dcbbdc812e531ae743a9e14be03b1 Signed-off-by: Harry Hong <hhong@nvidia.com> Reviewed-on: http://git-master/r/265923 GVS: Gerrit_Virtual_Submit Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-08-26power: max17048: correct voltage unit to uVHyongbin Kim
In framework, voltage unit is uV. Bug 1355391 Change-Id: I8a8af62850365b298857289c5a6f0d89bf45d47b Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/266048 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-08-26power: max17048: add battery temperature propertyHyongbin Kim
To show battery temperature in APP, add POWER_SUPPLY_PROP_TEMP and POWER_SUPPLY_PROP_TEMP_AMBIENT in property. Android temperature unit is 1/10 C. And when battery temp is too hot(60) or too cold(-10), change battery health property. Bug 1302687 Bug 1355391 Change-Id: I530a7cd55e1abe8e7a1e3d12cfb2a95c169291d3 Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/266047 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-08-25ARM: tegra: clock: Support EMC freq min/max constraints by PM QoSJinyoung Park
Support EMC frequency min/max constraints by PM QoS Bug 1346293 Change-Id: I6987235c72921fdf8229a2411eb212dd7ffa66f0 Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/263784 GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-08-25PM QoS: Add EMC freq min/max as PM QoS paramsJinyoung Park
Added EMC frequency min/max as PM QoS parameters. Bug 1346293 Change-Id: Ib9eb6977edd56420d8518231d06749b2fbf5c34c Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/263783 GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-08-23staging: iio: cm3217: send every valueDavid Yu
Bug 1352802 Change-Id: Ia4929456b5d595d435db623a103592b5cc2071ad Signed-off-by: David Yu <davyu@nvidia.com> Reviewed-on: http://git-master/r/264289 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-08-23ARM: Tegra: TT-power: set sysedp throttleHyongbin Kim
At low SOC, set current threshold with INA230 is not enough. Need to use sysedp capping in low soc. set 10000mW under 4%, 10500mW under 8%. Bug 1329495 Change-Id: I15b845f7669729692bfa3e32729512af0a20e555 Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/264168 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>