6 years agoregulator: palmas: fix build warnings
Laxman Dewangan [Thu, 4 Apr 2013 09:07:37 +0000]
regulator: palmas: fix build warnings

Fix following build warnings:

drivers/regulator/palmas-regulator.c: In function 'palmas_disable_smps10_boost':
drivers/regulator/palmas-regulator.c:1035:6: warning: unused variable 'i' [-Wunused-variable]
drivers/regulator/palmas-regulator.c:1032:15: warning: unused variable 'reg' [-Wunused-variable]
drivers/regulator/palmas-regulator.c: In function 'palmas_enable_smps10_boost':
drivers/regulator/palmas-regulator.c:1052:6: warning: unused variable 'i' [-Wunused-variable]
drivers/regulator/palmas-regulator.c: In function 'palmas_enable_ldo8_track':
drivers/regulator/palmas-regulator.c:1077:6: warning: unused variable 'i' [-Wunused-variable]

Change-Id: If0337f5acc6c30e3e13be47b8486f18fb4f684b2
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/216441
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra: power: Disable pll secondary dividers in LP1
Alex Frid [Thu, 4 Apr 2013 05:32:52 +0000]
ARM: tegra: power: Disable pll secondary dividers in LP1

Change-Id: I6ab85b72690994152b0bb3fafba8589baf6cf542
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/216375
GVS: Gerrit_Virtual_Submit
Reviewed-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>

6 years agovideo: tegra: hdmi: serialize hotplug processing
Rakesh Iyer [Thu, 4 Apr 2013 00:23:51 +0000]
video: tegra: hdmi: serialize hotplug processing

Serialize HDMI hot plug processing to handle boot init and spurious hotplugs.

Bug 1254317.

Change-Id: I7a695033eea659500c7b73da321ec3345084fa97
Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-on: http://git-master/r/216321
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agousb: otg: tegra: mask interrupt status value
Rakesh Bodla [Wed, 3 Apr 2013 12:19:03 +0000]
usb: otg: tegra: mask interrupt status value

ID and VBUS detection can happen through different ways.
Masking the interrupt status based on type of interrupts
enabled in USB controller for correct interrupt status.

Bug 1227226

Change-Id: Ibd5acfacabf78681ff54dcc721879f2935b5f836
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/216129
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoarm: tegra: soctherm: Modify support configuring OC alarms
Diwakar Tundlam [Tue, 2 Apr 2013 22:34:46 +0000]
arm: tegra: soctherm: Modify support configuring OC alarms

Don't enable OC2 and OC4 handling for Dalmore as it has neither a
modem (for OC2 handling) nor a max77663 regulator (for OC4 handling)

Bug 1206300

Change-Id: I3e7955af2d180c56790b1e6cb559a3503eac3af7
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/215718
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishnan Geeyarpuram <kgeeyarpuram@nvidia.com>

6 years agoARM: tegra11: dvfs: Update sdmmc dvfs tables
Alex Frid [Tue, 2 Apr 2013 06:44:51 +0000]
ARM: tegra11: dvfs: Update sdmmc dvfs tables

Change-Id: I579627950d5f06c6dd97807a5fd9d0a62c0443f9
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/215400
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra: tegratab: Add TegraTab board defconfig
Joshua Cha [Mon, 25 Mar 2013 01:26:23 +0000]
ARM: tegra: tegratab: Add TegraTab board defconfig

We need TegraTab specific kernel config for production level.
CONFIG_USB_OTG_WAKELOCK is also defined for preventing adb
from being disconnected due to entering suspend.

Bug 1262450
Bug 1262648

Change-Id: Ia054859fec16aee768aafd76316993d64a56ae3a
Reviewed-on: http://git-master/r/212437
(cherry picked from commit 7f253589e6d2eb27fb3e8fdd43c564bec74a7ece)
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/216456
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoarm: tegra: tegratab: 7" LGD panel
Min-wuk Lee [Tue, 19 Mar 2013 06:38:52 +0000]
arm: tegra: tegratab: 7" LGD panel

tegratab 7" LGD panel code is prepared.

Bug 1262450
Bug 1262648
Bug 1234973

Change-Id: I2fdb43f09f5e738ef86f16dfaccf3ab78d83f13e
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/210623
(cherry picked from commit 8923bd91acc486eb2c56e9aab685dcc797ad4e6d)
Reviewed-on: http://git-master/r/216455
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agomfd: max77665: use regmap irq for interrupt support
Laxman Dewangan [Wed, 3 Apr 2013 12:39:55 +0000]
mfd: max77665: use regmap irq for interrupt support

Add regmap irq framework for interrupt support. This will
reduce the code size in mfd driver for implementing the
interrupt support and duplicating code.

Change-Id: Iabe4abf9047269ccd7add2fd361663b8297a3804
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/216136
GVS: Gerrit_Virtual_Submit

6 years agoARM: mach-tegra: Fix vm_insert_pfn() return value
Arto Merilainen [Mon, 11 Mar 2013 10:59:00 +0000]
ARM: mach-tegra: Fix vm_insert_pfn() return value

tegra_iovmm_vm_insert_pfn() returned 1 (true) instead of a valid
error code. This change converts the function to return -ENOMEM
in error cases.

Bug 1246095
Bug 1263718

Change-Id: I58b7475345361ae7a9dd260ce25eebbb05d88ad0
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/208050
(cherry picked from commit fad248c6c53f620057a920c7cfb2e6f9d00ff67b)
Reviewed-on: http://git-master/r/215998
Tested-by: Sandeep Shinde <sashinde@nvidia.com>
Reviewed-by: Sandeep Shinde <sashinde@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoarch: arm: tegratab: add tegratab support
Jake Park [Tue, 2 Apr 2013 08:36:10 +0000]
arch: arm: tegratab: add tegratab support

Create initial board files for Tegratab

bug 1262450
bug 1262648

Change-Id: Ic1049e8be7c77f7f41f8db6ddc3f6643e1dd6914
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/215438
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoarm: tegra3: config:Remove INV_MPU and INV_AK8975
Arun Mohare [Tue, 2 Apr 2013 00:07:30 +0000]
arm: tegra3: config:Remove INV_MPU and INV_AK8975

Message "i2c transfer timed out,addr 0x0068,data"
seen with these options turned on

Change-Id: I3c863e25659d9c14c62b2f2f9d55adcc7db496a7

Signed-off-by: Arun Mohare <arg@nvidia.com>
Change-Id: Ic44dc748a25a9f843f4fa4f60db4c8f407482de7
Reviewed-on: http://git-master/r/215714
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agoARM: tegra11: defconfig: Enable OTG wakelock
Rakesh Bodla [Fri, 29 Mar 2013 16:03:24 +0000]
ARM: tegra11: defconfig: Enable OTG wakelock

Enabling otg wakelock.

Bug 1262358

Change-Id: Iaec5fcf1a3ee6983b41c53dbc9807d2a12d6fc97
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/214567
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoARM: tegra: macallan: update vbus extcon dev name
Rakesh Bodla [Thu, 28 Mar 2013 14:28:20 +0000]
ARM: tegra: macallan: update vbus extcon dev name

Bug 1262180

Change-Id: I0be93d6435c26ae70b5fe239a86edf43c5c11480
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/214006
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agousb: otg: tegra: seperate extcon dev for id, vbus
Rakesh Bodla [Thu, 28 Mar 2013 14:25:51 +0000]
usb: otg: tegra: seperate extcon dev for id, vbus

Use seperate extcon dev for id and vbus.
Platforms can use different pmu for each
detection.

Bug 1262180

Change-Id: I58dcfd4b822089049197855b8241f6f362768243
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/214005
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agousb: tegra: add id extcon dev name
Rakesh Bodla [Thu, 28 Mar 2013 14:23:40 +0000]
usb: tegra: add id extcon dev name

Adding id extcon dev name.

Bug 1262180

Change-Id: I9b63e6172856df7a13cfcc8c131fef78e03dfb71
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/214004
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoextcon: max77665: fix supported cable name
Mallikarjun Kasoju [Wed, 3 Apr 2013 11:05:13 +0000]
extcon: max77665: fix supported cable name

Supported cable name array index was wrong. Corrected it.

bug 1227226

Change-Id: I971f3ebe25ab8dc81bbe2a12970dcad8f5d2a95d
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/216103
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agonohz: stat: Fix CPU iowait time accounting
Bo Yan [Tue, 2 Apr 2013 17:44:52 +0000]
nohz: stat: Fix CPU iowait time accounting

Since cpustat[CPUTIME_IOWAIT] is never connected to
ts->iowait_sleeptime, never read from cpustat[CPUTIME_IOWAIT] when
reporting stats in /proc/stat.

Note this was rejected by Michal Hocko when it was initially proposed
by Martin Schwidefsky in LKML, so if you want to upstream it, better
find an alternative (either completely disable cpustat[CPUTIME_IOWAIT]
for CONFIG_NO_HZ or somehow connect them to keep them in sync.)

bug 1190321

Change-Id: Iee057315f871a5b99e3647494d3e4095e0c9680f
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/215620
Reviewed-by: Liang Cheng (SW) <licheng@nvidia.com>
Tested-by: Liang Cheng (SW) <licheng@nvidia.com>

6 years agosched: remove redundant update_runtime notifier
Neil Zhang [Fri, 28 Dec 2012 10:00:26 +0000]
sched: remove redundant update_runtime notifier

migration_call() will do all the things that update_runtime() does.
So it seems update_runtime() is a redundant notifier, remove it.

Furthermore, there is potential risk that the current code will catch
BUG_ON at line 687 of rt.c when do cpu hotplug while there are realtime
threads running because of enable runtime twice.

Change-Id: I0fdad8d5a1cebb845d3f308b205dbd6517c3e4de
Cc: bitbucket@online.de
Signed-off-by: Neil Zhang <zhangwm@marvell.com>
Reviewed-on: http://git-master/r/215596
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Tested-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Paul Walmsley <pwalmsley@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agovideo: tegra: nvmap: Fix rewinding crash
Hiroshi Doyu [Fri, 22 Mar 2013 11:03:28 +0000]
video: tegra: nvmap: Fix rewinding crash

Change unsigned int to int for rewinding at error.

bug 1246095
bug 1263718

Change-Id: I5a2e1a6f02f61681a70acf28ded315ffde9c1b86
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/212081
(cherry picked from commit 5bd491fb4753d13d434387aba1f11f19293efab7)
Reviewed-on: http://git-master/r/215469
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Sandeep Shinde <sashinde@nvidia.com>

6 years agovideo: tegra: nvmap: Unpin memory on errors
Arto Merilainen [Mon, 11 Mar 2013 11:07:43 +0000]
video: tegra: nvmap: Unpin memory on errors

This patch adds a missing handle_unpin() calls to nvmap_pin_array()
error paths.

Bug 1246095
Bug 1263718

Change-Id: Iee1f76b8d5357a01dd823a06680da23a8365f3b1
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/208051
(cherry picked from commit b575aeb627d828f639d81f63f8069e1b11dcc5fe)
Reviewed-on: http://git-master/r/215468
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Sandeep Shinde <sashinde@nvidia.com>

6 years agovideo: tegra: nvmap: Unpin memory on errors
Hiroshi Doyu [Fri, 15 Mar 2013 12:50:50 +0000]
video: tegra: nvmap: Unpin memory on errors

This patch adds a missing handle_unpin() calls to nvmap_pin_ids() and
_nvmap_pin() error paths.

Bug 1246095
Bug 1263718

Change-Id: I6b8e632aa8d90f2436cfbaad8015e11527c6da83
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/210009
(cherry picked from commit 68e43a5aa350eff1c66f0020fbdd189f085cce58)
Reviewed-on: http://git-master/r/215467
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Sandeep Shinde <sashinde@nvidia.com>

6 years agovideo: tegra: nvmap: Check if map_iovmm_area succeeds or not
Hiroshi Doyu [Tue, 26 Feb 2013 11:23:41 +0000]
video: tegra: nvmap: Check if map_iovmm_area succeeds or not

Check if mapping succeeds or not and return err if any for client to retry.

bug 1235233
bug 1263718

Change-Id: I1f3b8432e0459c6cb7ae7d265d635e3037040414
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/204173
(cherry picked from commit 6cf340b30cc5579bab9d9c0f8b9114b75caa0266)
Reviewed-on: http://git-master/r/215466
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Sandeep Shinde <sashinde@nvidia.com>

6 years agocommon: DMA-mapping: add DMA_ATTR_SKIP_FREE_IOVA attribute
Hiroshi Doyu [Wed, 27 Feb 2013 07:40:39 +0000]
common: DMA-mapping: add DMA_ATTR_SKIP_FREE_IOVA attribute

This patch adds DMA_ATTR_SKIP_CPU_SYNC attribute to the DMA-mapping
subsystem.

This is the counter part of map_page_at() which just maps the
pre-allocate iova to a page. With this attribute, unmap_page() unmap
the link between iova and a page, leaving iova allocated.

bug 1235233
bug 1263718

Change-Id: Id5535b73e0ca212a045dd0b0ff57de8432e7cf13
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/204468
(cherry picked from commit 77374aee027c51c4e887eaaa3e6b8540f9f6ea87)
Reviewed-on: http://git-master/r/215465
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Sandeep Shinde <sashinde@nvidia.com>

6 years agoiommu/tegra: smmu: Check if mapping succeeds or not
Hiroshi Doyu [Tue, 26 Feb 2013 10:48:23 +0000]
iommu/tegra: smmu: Check if mapping succeeds or not

Check if mapping succeeds or not and return err if any for client to retry.

bug 1235233
bug 1263718

Change-Id: I51335f3602696f0f84767e7ce95c7e83dae9ff8c
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/204172
(cherry picked from commit efc4aa3f239b7558d8b54cd29159ae625dbbb229)
Reviewed-on: http://git-master/r/215464
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Sandeep Shinde <sashinde@nvidia.com>

6 years agoARM: tegra: clock: Setting max rate to 900Mz
Jeetesh Burman [Tue, 2 Apr 2013 08:30:52 +0000]
ARM: tegra: clock: Setting max rate to 900Mz

Since there is no special characterization data for pll_m_out1,
maximum frequency of pll_m_out1 can be set to the maximum
frequency of the parent i.e pll_m. Maximum frequency for pll_m
is 900Mz.

Bug 1248769

Change-Id: I30d0652821dcfacfb977a9f8860b0b252deb26f0
Signed-off-by: Jeetesh Burman <jburman@nvidia.com>
Reviewed-on: http://git-master/r/215439
GVS: Gerrit_Virtual_Submit
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agovideo: tegra: host: reset enable flag before updating status
Mayuresh Kulkarni [Mon, 1 Apr 2013 12:16:52 +0000]
video: tegra: host: reset enable flag before updating status

- whenever userspace disables 3d scaling via
echo 0 > enable_3d_scaling, it results into calling
podgov_enable which calls update_devfreq to set the
max frequency for a SOC
- update_devfreq ends up calling gov->get_target_freq
whose implementation checks if scaling is enabled or not
- if it is NOT enabled then it returns the max frequency
for that SOC
- however, since enable flag was made = 0 after updating
the dev-freq, it might end up giving away < max freq value

bug 1242049

Change-Id: I1fe9498ca0c8403f76047442d8e8f478d22dbeb6
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/215067
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agommc: tegra: Write xfer_mode, CMD regs in together
Pavan Kunapuli [Mon, 1 Apr 2013 13:04:20 +0000]
mmc: tegra: Write xfer_mode, CMD regs in together

If there is a gap between xfer mode and command register writes, tegra SDMMC
controller can sometimes issue a spurious command before the CMD register is
written. To avoid this, these two registers need to be written together in a
single write operation.

Bug 1263858

Change-Id: I78563dd06e3a601fe0574ddd4b9efcb99459af6b
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/215050
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoarm: tegra: macallan: Update macallan DVFS table.
Hayden Du [Thu, 28 Mar 2013 06:00:14 +0000]
arm: tegra: macallan: Update macallan DVFS table.

bug 1222285

Change-Id: I6303cb01f21aa5d651be3f4bb53a0bd3be78297c
Signed-off-by: Hayden Du <haydend@nvidia.com>
Reviewed-on: http://git-master/r/213849
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agommc: tegra: Add tuning retries for failing taps
Pavan Kunapuli [Fri, 22 Mar 2013 09:25:02 +0000]
mmc: tegra: Add tuning retries for failing taps

Retry if frequency tuning fails for any tap value. Consider the tap
value as passing if tuning retry is a success.

Bug 1167519

Change-Id: I4bf121ddd5f70134cdc376ca41d37eda82c61ffd
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/212042
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: tegra: pluto: use extcon for battery
Xin Xie [Wed, 6 Mar 2013 00:06:18 +0000]
ARM: tegra: pluto: use extcon for battery

Add extcon dev name.

Bug 1261951

Change-Id: If59bce0d0fee87f93ac6fb01000e7d5227bb714b
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/207221
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agopower: max77665: add extcon support
Xin Xie [Fri, 1 Mar 2013 22:31:16 +0000]
power: max77665: add extcon support

Add extcon support to get notifications for different usb cables and
notify UI to show different icons depending on the cable.

Bug 1261951

Change-Id: Ie0d6e7f1e6fb2db843b11f1a75374a267fe6bfbb
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/207220
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: tegra: pluto: register max77665 interrupt through OC pins
Laxman Dewangan [Mon, 1 Apr 2013 12:06:35 +0000]
ARM: tegra: pluto: register max77665 interrupt through OC pins

Following are changes:
- Provide base interrupt for soc therm to support OC interrupt.
- Register max77665 interrupt to the OC interrupt.

bug 1216535

Change-Id: I60df6e81316ad12c8262acdc35937ea601f7a51c
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/215060
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra: soctherm: add OC interrupt support
Laxman Dewangan [Mon, 1 Apr 2013 11:41:21 +0000]
ARM: tegra: soctherm: add OC interrupt support

The soctherm_oc pins are generally connected to the device
OC pins and sometimes this pins from device act as interrupt
line also.

In this case, it is require to act the tegra oc pin as SFIO and
route the interrupt call to device's isr.

Adding OC interrupt support so that soctherm can provide the interrupt
number and device can register with this irq number for handling their
interrupts.

Change-Id: Ibcb36afda9960305343f93109bb5d60b16e2320d
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/215055

6 years agoARM: tegra: clock: Make EMC BW request calculation common
Alex Frid [Sat, 30 Mar 2013 00:39:46 +0000]
ARM: tegra: clock: Make EMC BW request calculation common

Moved EMC bandwidth request calculation from Tegra11 specific code
to commmon tegra emc file.

Change-Id: Ia6f86cb0a4bf99328792baeeae027fa0931f2337
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/215162
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agoARM: tegra11: clock: Remove ISO BW double scaling
Alex Frid [Fri, 29 Mar 2013 23:47:51 +0000]
ARM: tegra11: clock: Remove ISO BW double scaling

ISO clients bandwidth requests were scaled up twice in a row: first
to meet iso share allocation, second to account for overall memory
bandwidth efficiency. This commit applies each scale separately and
choose maximum between the two.

Change-Id: Ic5e673ac02402736a2a1fa9e4ae990edef9a4bf7
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/215161
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agotouch: Fix spurious interrupts with NULL data packets.
Jong Kim [Mon, 1 Apr 2013 18:30:50 +0000]
touch: Fix spurious interrupts with NULL data packets.

Fix spurious interrupts.

bug 1216777
bug 1255112

Change-Id: I0d300c89b87c6760411363c0f85d2cfbab0a719b
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/215131
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agoextcon: max77665: fix the USB host detection interrupt issue
Laxman Dewangan [Mon, 1 Apr 2013 12:02:30 +0000]
extcon: max77665: fix the USB host detection interrupt issue

Following are changes:
- Enable host cable interrupt detection.
- interrupt number through platform resource.
- ext connection name through platform data.
- remove unused code for simiplicity.

bug 1227226

Change-Id: I85791f8091e524d8de1f8848b5f3bfa933720eae
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/215059
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agomfd: max77665: Pass interrupt number for muic as platform irq resource
Laxman Dewangan [Mon, 1 Apr 2013 12:01:11 +0000]
mfd: max77665: Pass interrupt number for muic as platform irq resource

bug 1227226

Change-Id: Id773cde8930fc797854e44ce006c52854f2ef36f
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/215058
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agovideo: tegra: dc: Correct HDMI drive strength
Rakesh Iyer [Fri, 29 Mar 2013 21:58:44 +0000]
video: tegra: dc: Correct HDMI drive strength

Correct HDMI drive strength to prod settings.

Bug 1157049.
Bug 1226687.

Change-Id: I25433963fd181134b10ccd9728c24fb4046bd531
Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-on: http://git-master/r/214686
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agoarm: tegra: macallan: add power detect rails
Hunk Lin [Fri, 29 Mar 2013 08:29:49 +0000]
arm: tegra: macallan: add power detect rails

Add full power detect rails to fix high power in many io power rails.

Bug 1255023
Bug 1254991
Bug 1254993
Bug 1255002
Bug 1255008
Bug 1255016
Bug 1255020

Change-Id: I1736e2f2784437a6d287554d3bba1f47afca77ed
Signed-off-by: Hunk Lin <hulin@nvidia.com>
Reviewed-on: http://git-master/r/214429
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: tegra: dvfs: Hide CL-DVFS skipper rate fluctuation
Alex Frid [Thu, 28 Mar 2013 22:54:45 +0000]
ARM: tegra: dvfs: Hide CL-DVFS skipper rate fluctuation

Return stored requested rate in DFLL get rate operation when target
is below dvco minimum, and output clock skipper is engaged. Skipper
output rates ladder is no longer constant, since dvco minimum rate
calibration was recently introduced. As a result get/set rate calls
in a loop while dvco minimum rate is fluctuating may cause rounding
spiral in either direction. Returning requested rate "as is" allows
to avoid such spiral.

This approach also helps in case when get/set rate loop is executed
across switch between DFLL and PLL. Therefore, now it is possible to
round target rate to the closest skipper output (before rounding up
was used to compensate PLL rounding down)

Bug 1262225

Change-Id: I6840f760cac688d9155fcabd1e14e2449531bdcb
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/214414
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Tested-by: Antti Miettinen <amiettinen@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoarm: tegra: soctherm: Convert from workqueue to threaded ISR handling
Diwakar Tundlam [Fri, 29 Mar 2013 01:29:27 +0000]
arm: tegra: soctherm: Convert from workqueue to threaded ISR handling

Bug 1216535

Change-Id: Ie93c60c71f906457393624ccdbeca679eaef2851
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/214278
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agommc: tegra: Support sdhci rails off before reboot
Ken Chang [Tue, 12 Mar 2013 07:42:27 +0000]
mmc: tegra: Support sdhci rails off before reboot

Bug 1222606
Bug 1242658

Change-Id: I1f6aeab31d42d953fe73cecacb7a3d117054090c
Signed-off-by: Ken Chang <kenc@nvidia.com>
(cherry picked from commit b00f8fbe8a3ce474d6f64a9aed9ef7f592ea8e77)
Reviewed-on: http://git-master/r/208324
Reviewed-on: http://git-master/r/213886
GVS: Gerrit_Virtual_Submit
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agovideo: tegra: dc: add advanced cursor support
Kevin Huang [Fri, 25 Jan 2013 19:31:17 +0000]
video: tegra: dc: add advanced cursor support

Support advanced display cursor for t11x.

Change-Id: If5ef50401b8a2b2fd22500636d07506983aee0b5
Signed-off-by: Michael I Gold <gold@nvidia.com>
Reviewed-on: http://git-master/r/213743
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Reviewed-by: Robert Morell <rmorell@nvidia.com>

6 years agoarm: tegra: soctherm: Support configuring OC alarms
Diwakar Tundlam [Tue, 19 Mar 2013 07:23:54 +0000]
arm: tegra: soctherm: Support configuring OC alarms

Added support to program throttling when OC alarms are triggered.
Support OC1-OC5 with CPU+GPU throttling with preset throttle depths.
Disable suspend cooling device when any OC alarm is configured.

Enhanced regs debug node to display more information about OC alarm
configuration and status.

Enable OC2 and OC4 handling for Dalmore and Pluto.
See Bug 1216535 for testing info to trigger throttling with OC4.

Bug 1206300
Bug 1216535

Change-Id: I32eb161ce34ae52725e81c1852d5b00a0b88314a
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/211013
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra11x: Enable ARM_ERRATA_798181
Bo Yan [Fri, 15 Mar 2013 04:46:30 +0000]
ARM: tegra11x: Enable ARM_ERRATA_798181

Change-Id: I533f1965a93694484a910723c77454a0bd9e5fe0
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/209853
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoarm: errata: Workaround for Cortex-A15 erratum 798181 (TLBI/DSB operations)
Catalin Marinas [Tue, 19 Feb 2013 16:34:29 +0000]
arm: errata: Workaround for Cortex-A15 erratum 798181 (TLBI/DSB operations)

On Cortex-A15 (r0p0..r3p2) the TLBI/DSB are not adequately shooting down
all use of the old entries. This patch implements the erratum workaround
which consists of:

1. Dummy TLBIMVAIS and DSB on the CPU doing the TLBI operation.
2. Send IPI to the CPUs that are running the same mm (and ASID) as the
   one being invalidated (or all the online CPUs for global pages).
3. CPU receiving the IPI executes a DMB and CLREX (part of the exception
   return code already).

The switch_mm() code includes a DMB operation since the IPI is only sent
to CPUs running the same ASID.

Change-Id: Ideb7f479910f7d4bf25182c84eb5e71691c42a93
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/209830
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoRevert "ARM: Remove __ARCH_WANT_INTERRUPTS_ON_CTXSW on ASID-capable CPUs"
Bo Yan [Fri, 15 Mar 2013 02:26:38 +0000]
Revert "ARM: Remove __ARCH_WANT_INTERRUPTS_ON_CTXSW on ASID-capable CPUs"

This reverts commit 7fec1b57b8a925d83c194f995f83d9f8442fd48e.

Change-Id: I3e2a4ed4e3dcb52368ec42e10819316078323ea4
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/209829
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoRevert "ARM: Remove current_mm per-cpu variable"
Bo Yan [Fri, 15 Mar 2013 02:26:29 +0000]
Revert "ARM: Remove current_mm per-cpu variable"

This reverts commit e323969ccda2d69f02e047c08b03faa09215c72a.

Change-Id: I0f44f33b4848ec8e326bd356545903ca14d0da9a
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/209827
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoRevert "ARM: Remove __ARCH_WANT_INTERRUPTS_ON_CTXSW on pre-ARMv6 CPUs"
Bo Yan [Fri, 15 Mar 2013 02:26:17 +0000]
Revert "ARM: Remove __ARCH_WANT_INTERRUPTS_ON_CTXSW on pre-ARMv6 CPUs"

This reverts commit b9d4d42ad901cc848ac87f1cb8923fded3645568.

Change-Id: Icdc220a988b0e6b145466148fc922b5f8e5cdba8
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/209826
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoRevert "ARM: 6944/1: mm: allow ASID 0 to be allocated to tasks"
Russell King [Thu, 9 Jun 2011 09:12:41 +0000]
Revert "ARM: 6944/1: mm: allow ASID 0 to be allocated to tasks"

This reverts commit 45b95235b0ac86cef2ad4480b0618b8778847479.

Will Deacon reports that:

 In 52af9c6c ("ARM: 6943/1: mm: use TTBR1 instead of reserved context ID")
 I updated the ASID rollover code to use only the kernel page tables
 whilst updating the ASID.

 Unfortunately, the code to restore the user page tables was part of a
 later patch which isn't yet in mainline, so this leaves the code
 quite broken.

We're also in the process of eliminating __ARCH_WANT_INTERRUPTS_ON_CTXSW
from ARM, so lets revert these until we can properly sort out what we're
doing with the context switching.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
(cherry picked from commit a0a54d37b4b1d1f55d1e81e8ffc223bb85472fa3)
Change-Id: Id3bd7c795bb84269b646e6a1344d1974d85bf094
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/209825
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoarch: arm: lib: optimize memcpy for cortex-A15
Chandler Zhang [Fri, 15 Mar 2013 12:02:59 +0000]
arch: arm: lib: optimize memcpy for cortex-A15

The LDRD/STRD instruction is faster than LDM/STM on Cortex-A15.
Also optimized preload cache size for Cortex-A15.

Added USE_LDRDSTRD_OVER_LDMSTM to turn on LDRD/STRD optimization.
Added ARM_PLD_SIZE, default 32. Should set to 64 for Cortex-A15.

Bug 1185248

Change-Id: I4fa8c25bcd9b7823a11018817a4d17e3357ae681
Signed-off-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-on: http://git-master/r/212965
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoarm: tegra: Define DT bindings for T114 EMC tables
Prashant Gaikwad [Tue, 4 Sep 2012 08:50:53 +0000]
arm: tegra: Define DT bindings for T114 EMC tables

Bug 999688
Bug 1243373

Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Signed-off-by: Amit Kamath <akamath@nvidia.com>
Reviewed-on: http://git-master/r/130701
(cherry picked from commit 52d06b4f8288a05561840cb451e65d1cd386ad16)

Change-Id: I33b56bda4ac3c09442f142ce13e05a81497902d6
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/212579
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: Tegra11: Add support for EMC bindings
Prashant Gaikwad [Tue, 4 Sep 2012 08:29:22 +0000]
ARM: Tegra11: Add support for EMC bindings

Implement function to parse EMC tables from device
tree.

Bug 999688
Bug 1243373

Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Signed-off-by: Amit Kamath <akamath@nvidia.com>
Reviewed-on: http://git-master/r/130702
(cherry picked from commit b3a94f3b98dea7f052eaa93504994fa3626bf447)

Change-Id: Ib7268da6d660d2d0b0b4c79416b5ad0e088eef75
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/212578
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra: use 150 milli ohms for RBAT
Sivaram Nair [Fri, 29 Mar 2013 18:37:54 +0000]
ARM: tegra: use 150 milli ohms for RBAT

Lookup table based RBAT is underperforming, so use 150 milli ohms as the
RBAT always for calculating the battery depletion.

Bug 1261008

Change-Id: Ief7c1bb751faf91f18947f45e521e06fa34d68b2
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/214616
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoarm: tegra: soctherm: Rearrange code to prepare for OC alarms
Diwakar Tundlam [Thu, 28 Mar 2013 01:19:04 +0000]
arm: tegra: soctherm: Rearrange code to prepare for OC alarms

Change-Id: I0e0abd992930104060a99d38c171f11ee6f74ff5
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/213795
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>

6 years agoARM: tegra11: emc: adjust iso efficiency during camera
Jihoon Bang [Wed, 27 Mar 2013 01:51:33 +0000]
ARM: tegra11: emc: adjust iso efficiency during camera

If vi is on, then apply 45% of iso efficiency.
It will help avoid power regression by not asking too
high emc frequency.

Bug 1246180

Change-Id: I0eb74b29f81a99ccdfceb08d56f1b7f231b26d13
Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-on: http://git-master/r/213380
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra11: clock: Re-factor EMC bw requirement calculation
Alex Frid [Tue, 26 Mar 2013 02:58:22 +0000]
ARM: tegra11: clock: Re-factor EMC bw requirement calculation

- Separated iso EMC shared users (display and camera) from other
bandwidth shared users
- Added shared user id flags to EMC shared users that may affect
maximum iso share allocation
- Determined EMC bw requirement as maximum of total bw requested
by all bw users, and iso bw scaled up to guarantee allocated share

Bug 1253271

Change-Id: If4ab7931c668e063cf607fc43b34e1e09574d0bd
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/212913
Reviewed-by: Daniel Solomon <daniels@nvidia.com>
Tested-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoARM: tegra11: clock: Add emc use case table
Alex Frid [Tue, 26 Mar 2013 06:31:10 +0000]
ARM: tegra11: clock: Add emc use case table

Added initial table to specify iso bandwidth share dependency on emc
use cases. Just two use cases: display only and display + camera are
identified for now.

Bug 1253271

Change-Id: I499c45914d0296f2106511c8ddecbcdb0a818d7f
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/212912
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Daniel Solomon <daniels@nvidia.com>
Tested-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoARM: tegra: clock: Support variable iso share with emc usage
Alex Frid [Tue, 26 Mar 2013 05:30:32 +0000]
ARM: tegra: clock: Support variable iso share with emc usage

Added mechanism to determine maximum allowed iso bandwidth share
depending on emc usage. Each use case is identified by a combination
of shared emc user clocks turned on. The list of use cases and the
respective iso share percentage is to be provided by chip specific
tables.

This commit only added variable iso share APIs and emc shared users
enumeration. No platform specific tables are specified, and APIs are
not used.

Bug 1253271

Change-Id: If08ce2c0e180de600ccb28b91381066543659180
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/212911
Reviewed-by: Daniel Solomon <daniels@nvidia.com>
Tested-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agotty: serial: tegra: wait for tasklets during shutdown
Sang-Hun Lee [Thu, 21 Mar 2013 23:44:37 +0000]
tty: serial: tegra: wait for tasklets during shutdown

Problem description:
 - Race between tegra_uart_tasklet_action and tegra_shutdown
 - When uart_close calls tegra_shutdown, it removes tty_struct
   from tty_port

Fix description:
 - Wait for tasklets to complete within tegra_shutdown before
   returning to the caller

Bug 1246098

Change-Id: Ic211d6c8b9a5e0e6a7dc75e9dffcf6315b776cd7
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/211843
(cherry picked from commit cc22b4724cac21b9bf24f66560c1b4df7e7c9712)
Reviewed-on: http://git-master/r/211845
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agousb: gadget: tegra: add extcon device notification
Xin Xie [Tue, 26 Feb 2013 02:53:34 +0000]
usb: gadget: tegra: add extcon device notification

Add extcon device notification in usb gadget driver
to notify different types of usb cable connections.

Bug 1261946

Change-Id: I7c9a6035ba4f2414dc38910d4f700bc49a91be0f
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/207219
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoarm: tegra: macallan: set vdd_rtc to 950mV during lp0
Kerwin Wan [Thu, 28 Mar 2013 10:17:16 +0000]
arm: tegra: macallan: set vdd_rtc to 950mV during lp0

When vdd_rtc is set to 900mv, cpu will meet hard hang after
wake up from lp0. Hardware team should do WAT to get the proper margin
for vdd_rtc. Set vdd_rtc to 950mV to avoid this issue now.

Bug 1262674

Change-Id: Ic3ddfeb586a78e6731178bb6bd672dda0ae49566
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/213967
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra114: config: enable kernel memcpy optimization
Chandler Zhang [Tue, 19 Mar 2013 08:07:41 +0000]
ARM: tegra114: config: enable kernel memcpy optimization

Turn on USE_LDRDSTRD_OVER_STMLDM to optimize throughput.
Set ARM_PLD_SIZE to 64.
The optimization is for Cortex A15 only.

Bug 1185248

Change-Id: I96fb7f3adb0f2aa004e1373d6a2cd4e985b62c4e
Signed-off-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-on: http://git-master/r/212964
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agomedia: video: edp states not available info
Bibek Basu [Mon, 25 Mar 2013 04:12:02 +0000]
media: video: edp states not available info

This patch changes the EDP states not available from
platform data, warning message into a info message
in kernel log.

Bug 1249598

Change-Id: I957f26d93967cc3f74ee206b2e29783b0e07fc97
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/212450
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agousb: xhci: tegra: enable fw messaging
Ajay Gupta [Thu, 28 Mar 2013 16:14:36 +0000]
usb: xhci: tegra: enable fw messaging

This is needed to enabled fw messageing

Bug 1237223

Change-Id: I55c2b129b4e60a6263ff0e179bcf46803afef452
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/214197
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: tegra: Change NCT72 conversion rate for Dalmore
Daniel Solomon [Thu, 28 Mar 2013 18:21:16 +0000]
ARM: tegra: Change NCT72 conversion rate for Dalmore

Reduce conversion rate to 4Hz on Dalmore. It was confirmed that
this is a sufficiently fast to detect crossing of key temperature
points during worst case temperature change rates.

Bug 1261703

Change-Id: I2078937e1eb3b8fc72bf5e404da7f964d45fe91e
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/214086
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: tegra: Change NCT72 conversion rate for Pluto
Daniel Solomon [Thu, 28 Mar 2013 18:21:16 +0000]
ARM: tegra: Change NCT72 conversion rate for Pluto

Reduce conversion rate to 4Hz on Pluto. It was confirmed that
this is a sufficiently fast to detect crossing of key temperature
points during worst case temperature change rates.

Bug 1261703

Change-Id: I701cb1a93b513c7a26292f3f5df20a182ae00130
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/214084
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agovide: tegra: dc: remove iso efficiency
Jihoon Bang [Tue, 26 Mar 2013 21:25:26 +0000]
vide: tegra: dc: remove iso efficiency

Since clock framework take care of iso efficiency, DC
doesn't have to consider it.

Bug 1246180

Change-Id: Iaab67018f81450bcb84fd6fbc67d56c375b55f99
Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-on: http://git-master/r/213205
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agovideo: tegra: camera: remove iso efficiency
Jihoon Bang [Tue, 26 Mar 2013 21:23:33 +0000]
video: tegra: camera: remove iso efficiency

Remove iso efficiency since it will be taken care
of in clock framework.

Bug 1246180

Change-Id: I666bebd4646d9483fd09c9000b231e7d17079d29
Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-on: http://git-master/r/213204
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoxhci: tegra: fix race between remote wake and host wake
joyw [Tue, 19 Mar 2013 10:20:03 +0000]
xhci: tegra: fix race between remote wake and host wake

A race condition has been discovered during stress testing remote wake
from LP0. Occasionally, remote wake doesn't get served soon enough and
later hub driver tries to do host initiate resume for the port. That
causes the port staying PLS=RESUME with PLC cleared.

This patch fix the race by letting remote wake being completed before
hub driver can resume port.

Bug 1235232

Change-Id: I0595cfca6bb97df96e8b8554ece18041787cb6b9
Signed-off-by: joyw <joyw@nvidia.com>
Signed-off-by: JC Kuo <jckuo@nvidia.com>
Reviewed-on: http://git-master/r/210752
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Reviewed-by: Henry Lin <henryl@nvidia.com>

6 years agopower: max17042: use RBAT lut for depletion calc
Sivaram Nair [Thu, 28 Mar 2013 12:49:50 +0000]
power: max17042: use RBAT lut for depletion calc

Patch to calculate RBAT from remaining battery capacity using the RBAT
lookup table.

Change-Id: I59aa9b9a4d34cc96094f51137afdbef53b1be4fd
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/213981
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoARM: tegra: add RBAT mapping data for pluto
Sivaram Nair [Thu, 28 Mar 2013 12:15:18 +0000]
ARM: tegra: add RBAT mapping data for pluto

RBAT mapping table added for the pluto fuel gauge platform data.

Bug 1261008

Change-Id: I8090bbdf7306ccce4119b9ccddcd5b029716e4e8
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/213980
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agopower: max17042: add rbat mapping
Sivaram Nair [Thu, 28 Mar 2013 11:28:37 +0000]
power: max17042: add rbat mapping

Added a new struct to the platform data for mapping RBAT to battery
level capacity.

Bug 1261008

Change-Id: I37b75b4f7a5db4a2c08a4ff17839af71640e62ea
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/213979
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agopower: max17042: remove temperature from calc
Sivaram Nair [Thu, 28 Mar 2013 11:09:45 +0000]
power: max17042: remove temperature from calc

Fuel gauge temperature readings are not working correctly - so remove
this variable from battery depletion calculations and assume room
temperature values.

Change-Id: I37d5ab043caa4e5f737c87e1fa917bd4e989d62f
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/213978
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agocpufreq: interactive: Fix race when canceling timer at min freq
Peter Boonstoppel [Wed, 27 Mar 2013 17:29:34 +0000]
cpufreq: interactive: Fix race when canceling timer at min freq

When target_freq reaches policy->min the governor calls del_timer()
upon entry to idle. However, it is possible for the timer handler to
still be running at this time, in which case it could rearm itself
such that the timer stays pending.

If we exit from idle before the next timer fires, the timer handler
will find idle_exit_time == 0 and will exit without rearming, from
this point on frequency will be stuck at the current level until we
enter idle again. This sometimes causes frequency to get stuck at
minimum, with cpu load at 100%, causing serious performance problems.

This patch replaces the del_timer() with del_timer_sync().

Bug: 1173466

(Issue no longer exists in upstream interactive governor)

Change-Id: Ic61194f2afb4ac041e18c7556e6ed4aee9c90303
Signed-off-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-on: http://git-master/r/213638
Reviewed-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoasoc: tegra: Add rt5640 pll configuration for hifi i2s slave
Rahul Mittal [Thu, 28 Mar 2013 18:46:17 +0000]
asoc: tegra: Add rt5640 pll configuration for hifi i2s slave

- Configure codec PLL to generate 512*fs mhz clock from 12mhz clk_m input
- Correct bclk_ms bit in codec which should be 1 for frame_size = 32 bits

Bug 1256349

Change-Id: I94238622a43aff9efdefbf8aaf68e655fa6662cd
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/211493
Reviewed-by: Scott Peterson <speterson@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoarm: tegra3: config: Add INV_MPU and INV_AK8975
Arun Mohare [Mon, 18 Mar 2013 20:58:00 +0000]
arm: tegra3: config: Add INV_MPU and INV_AK8975

Modify tegra3_defconfig to enable
Accelerometer, gyro and compass on cardhu.

Bug 1255587

Change-Id: I8b01668bbfe5152ed1d02033121df3772043bd86
Signed-off-by: Arun Mohare <arg@nvidia.com>
Reviewed-on: http://git-master/r/210485
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agotty: serial: 8250: tegra fix spurious interrupts
Pradeep Goudagunta [Tue, 19 Feb 2013 11:22:14 +0000]
tty: serial: 8250: tegra fix spurious interrupts

This is the WAR for spurious interrupts for PORT_TEGRA.

Bug 1229695

Change-Id: Ia4c92577399334a50faacabd38ae3fac4f71a9d3
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/205164
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra: Correct fuse bits check for RAM repair
Seshendra Gadagottu [Fri, 22 Mar 2013 18:41:08 +0000]
ARM: tegra: Correct fuse bits check for RAM repair

If any one of spare_10 or spare_11 bits are set then
trigger RAM repair

Bug 1211371

Change-Id: I55f7b2a5d03f2d61cd7c840392241b1b92dafb37
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/212183
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agopower: max77665: add watchdog timer for charging
Rakesh Bodla [Thu, 28 Mar 2013 07:12:21 +0000]
power: max77665: add watchdog timer for charging

Bug 1242272

Change-Id: Ie09fccea64c0953be0120b505557bc791ed150ca
Signed-off-by: Xin Xie <xxie@nvidia.com>
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/207405
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agopower: max77665: refactor err code handling
Rakesh Bodla [Thu, 28 Mar 2013 06:38:48 +0000]
power: max77665: refactor err code handling

Bug 1242272

Change-Id: I9dc9d0578557f2de5f3e11c3779f5f3a89bf364b
Signed-off-by: Xin Xie <xxie@nvidia.com>
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/207404
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra: roth: Check if board is Roth
Shobek Sam Attupurath [Fri, 15 Feb 2013 07:17:11 +0000]
ARM: tegra: roth: Check if board is Roth

Check whether board is roth before wifi power on

Bug 1236452

Change-Id: Iaedeb2a956f20795fd3d0514c4021ec2003b1bd7
Signed-off-by: Shobek Sam Attupurath <sattupurath@nvidia.com>
Reviewed-on: http://git-master/r/201045
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoextcon: palmas: make vbus/ID cable detection to platform choice
Laxman Dewangan [Mon, 25 Mar 2013 16:12:42 +0000]
extcon: palmas: make vbus/ID cable detection to platform choice

Enable vbus/id pin detection only if it is enabled through
platform data. Also provide the connection name through platform
data.

bug 1242273

Change-Id: I6a95552c46e3c850549da656c6947f9bdcd7423f
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/212609
Tested-by: Yunfan Zhang <yunfanz@nvidia.com>
Reviewed-by: Yunfan Zhang <yunfanz@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra: thermal: Update due to struct_est_data modification
Jinyoung Park [Thu, 21 Mar 2013 08:48:08 +0000]
ARM: tegra: thermal: Update due to struct_est_data modification

Updated initialization of skin_data because struct therm_est_data in
include/linux/therm_est.h is modified; adding multiple trip points,
removing get_temp callback in struct therm_est_subdevice, and changing
type of devs from flexible array to pointer.

Bug 1233363
Bug 1236444

Change-Id: Id170d06ddcffbe546b01003e49fe327f361df4b3
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/211124
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoRevert "USB: Handle warm reset failure on empty port."
Ajay Gupta [Wed, 27 Mar 2013 18:18:51 +0000]
Revert "USB: Handle warm reset failure on empty port."

This reverts commit 9dbcaec830cd97f44a0b91b315844e0d7144746b.

Bug 1261759

Change-Id: I12b512e3a8c54b8066166f1203c4bd7d5b924602
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/213735
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agomisc: tegra-throughput: fix fps reading
Ilan Aelion [Tue, 26 Mar 2013 00:31:16 +0000]
misc: tegra-throughput: fix fps reading

fixed a bug in values written to /d/fps

Bug 1171636

Change-Id: Idb6036c5658c1a5c8df79a4bda982655a63ad053
Signed-off-by: Ilan Aelion <iaelion@nvidia.com>
Reviewed-on: http://git-master/r/212823
Reviewed-by: Simo Melenius <smelenius@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agodrivers: misc: therm_est: Change flexible array to pointer
Jinyoung Park [Thu, 21 Mar 2013 10:58:42 +0000]
drivers: misc: therm_est: Change flexible array to pointer

Changed type of devs from flexible array to pointer in struct therm_est_data.

Bug 1233363
Bug 1236444

Change-Id: Ic2c9591314aca8e3bea28b85bf53327c5c73039f
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/211612
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agodrivers: misc: therm_est: Add therm_est_subdev_get_temp function
Jinyoung Park [Thu, 21 Mar 2013 07:59:54 +0000]
drivers: misc: therm_est: Add therm_est_subdev_get_temp function

Added therm_est_subdev_get_temp function instead of get_temp callback in
struct therm_est_subdevice in order to remove redeundancy code.

Bug 1233363
Bug 1236444

Change-Id: If1126f9227b6821a79ed1d9718ed4cd7cea3c540
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/211539
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agodrivers: misc: therm_est: Add multiple trip points support
Jinyoung Park [Thu, 21 Mar 2013 07:44:38 +0000]
drivers: misc: therm_est: Add multiple trip points support

Replaced cdev_typa and trip_temp to struct thermal_trip_info to support
multiple trip points on therm_est.
And the struct thermal_trip_info has hysteresis for trip temp. So applied
hysteresis to trip temp.

Bug 1233363
Bug 1236444

Change-Id: I6ce2806a323c25ec298291d1e4ee067c3adaebfa
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/211123
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agousb: otg: tegra: handle resume for all id det types
Rakesh Bodla [Tue, 26 Mar 2013 08:18:06 +0000]
usb: otg: tegra: handle resume for all id det types

Adding the support in suspend/resume for all
id detection types.

Bug 1228619

Change-Id: I10686d4e848eb97de6457b1a104afb74015584a7
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/212968
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agomfd: palmas: fix irq missing issue
Yunfan Zhang [Tue, 26 Mar 2013 07:52:30 +0000]
mfd: palmas: fix irq missing issue

Should NOT disable irq during suspend, or there might be pending
interrupt to abort suspend flow and make the secondary irq not be
processing that will cause PMIC can't detect coming interrupts any more

Bug 1253337

Change-Id: If7d99647b049446fe4ae7dfdc4c95a8c6577af78
Signed-off-by: Yunfan Zhang <yunfanz@nvidia.com>
Reviewed-on: http://git-master/r/212934
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agovideo: tegra: dc: calculate LA based on real bw
Jihoon Bang [Mon, 25 Mar 2013 22:21:49 +0000]
video: tegra: dc: calculate LA based on real bw

LA value was calculated with iso memory BW not with
real memory BW. It caused LA to be zero.

Bug 1246180

Change-Id: I31120608f1d99ec1d046cfb219eeb2babd198c6b
Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-on: http://git-master/r/212797
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agoARM errata: A memory read can stall indefinitely in the L2 cache
Bo Yan [Mon, 25 Mar 2013 21:21:30 +0000]
ARM errata: A memory read can stall indefinitely in the L2 cache

Define a configuration option for platform to implement

Change-Id: I352c644a33ebbf809e450004a01394f07f2903b7
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/212781

6 years agoarm: tega: pluto: Fix pinmux for tearing signal
Animesh Kishore [Wed, 27 Mar 2013 05:31:10 +0000]
arm: tega: pluto: Fix pinmux for tearing signal

pin kb_row6 must be muxed to displaya_alt.

Bug 1259733

Change-Id: I962cb796f573585a95864a8b97964ccafb1f74db
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/212606
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoarm: tegra: fuse: Fix sysfs R/W functions
Sumit Sharma [Wed, 20 Mar 2013 10:04:31 +0000]
arm: tegra: fuse: Fix sysfs R/W functions

Modified store & show functions for fuse sysfs R/W

Bug 1255974

Change-Id: Ifb4b02b2f0d051b4936e65871afe2ac376e553cc
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/211443
(cherry picked from commit cdef8a802a905af0dce1eb3173e59d06fd4cc09c)
Reviewed-on: http://git-master/r/212491
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agoarm: tegra: fuse: Fix size of fuse array
Sumit Sharma [Mon, 18 Mar 2013 06:16:23 +0000]
arm: tegra: fuse: Fix size of fuse array

Fixed size of fuse array in order to cover PKC_DISABLE fuse
during read/write operations

Bug 1249668

Change-Id: I7f4325b740b420b9ca3ac0dcce6111d180f26cf3
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/211442
(cherry picked from commit a310acc3fa4e135e989aee8c09156f4a73eb9634)
Reviewed-on: http://git-master/r/212490
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agoARM: tegra11: clock: Add EMC DPD control to EMC DFS
Alex Frid [Sun, 24 Mar 2013 05:44:14 +0000]
ARM: tegra11: clock: Add EMC DPD control to EMC DFS

Added EMC_SEL_DPD_CTRL register to the list of burst registers updated
during EMC clock rate change. Increased EMC DFS table revision to 4.2.

Bug 1259481

Change-Id: I5b46fefdadfd8f4cbe0f56de0a9e0eaeecf6a1c5
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/212385
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoThermal: pid_thermal_gov: Separate compensation into up and down compensations
Jinyoung Park [Fri, 22 Mar 2013 11:49:33 +0000]
Thermal: pid_thermal_gov: Separate compensation into up and down compensations

Separated compensation into up and down compensations in order to apply
different compensation rate to each cases.

Bug 1200111

Change-Id: I236750009d5d64ea09508cd1864efb7bfb99ee58
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/212090
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>