5 years agoasoc: codec: spdif: Remove Compiler Warning
Philip Rakity [Fri, 5 Jul 2013 20:22:31 +0000]
asoc: codec: spdif: Remove Compiler Warning

use correct return type per struct
unsigned int -- not int

Change-Id: Ia7a95cba5c983011a3215939bdd0f4ee88fabaf2
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/245592
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agoinput: cfboost: Fix pm_qos_add_request for online cores
Xiaohui Tao [Thu, 27 Jun 2013 00:51:34 +0000]
input: cfboost: Fix pm_qos_add_request for online cores

cf_core is used to set how many cpu cores to be brought
online. The pm_qos_class is set to be the wrong value.
Change it from PM_QOS_CPU_FREQ_MIN to PM_QOS_MIN_ONLINE_CPUS.

Change-Id: I0905ef1afbc2bc3724367e6d6e69da3dcc566632
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/242644
(cherry picked from commit e69fa302132661c71154a8cc0ff92155cdd834f9)
Reviewed-on: http://git-master/r/244436
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Yogish Kulkarni <yogishk@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

5 years agoinput: misc: sensor drivers
Erik Lilliebjerg [Mon, 8 Jul 2013 12:55:56 +0000]
input: misc: sensor drivers

- reduce suspend time for compass and pressure
- fix MPU possible interrupt storm
- fix MPU sample frequency overrun
- fix MPU 9250 support for sw_rev > 2 HW
- add BMP280 support to BMP180 pressure driver
- optimize MPU FIFO timestamp algorithm
- add compass self-test
- add data interface

Bug 1313284
Bug 1311053
Bug 1295128
Bug 1256470
Bug 1236893

Change-Id: I4ffa906c07ed1d07ad3b89aea9eb83fb153b765d
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/246132
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Robert Collins <rcollins@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

5 years agovide: tegra: dc: Update latency allowance for disabled windows
Daniel Solomon [Wed, 26 Jun 2013 20:49:42 +0000]
vide: tegra: dc: Update latency allowance for disabled windows

Currently when a window is disabled (window bandwidth is 0),
latency allowance is not updated; this leads to inaccurate
latency allowance calculations. Fix this by updating latency
allowance when a window becomes disabled.

Bug 1314628

Change-Id: Ifa36b6ddfeef343f41a0831b97cd871741a0f6cc
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/242571
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agomedia:video:tegra delete msleep delay
Karl Kim [Fri, 28 Jun 2013 08:13:13 +0000]
media:video:tegra delete msleep delay

AD5823 open time is long due to msleep delay.
It is no need.

Bug 1315484

Change-Id: Ic0527f2868d4d2d6e11dfd7b40ade4cf0373c44c
Signed-off-by: Karl Kim <kkim@nvidia.com>
Reviewed-on: http://git-master/r/243350
(cherry picked from commit fac48de13b3b9e43e13fcc6149f37d5c421415bb)
Reviewed-on: http://git-master/r/245957
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agomedia:video:tegra: adjusting ad5823 value for rev2
Karl Kim [Tue, 25 Jun 2013 02:21:26 +0000]
media:video:tegra: adjusting ad5823 value for rev2

settletime / POS_LOW / POS_HIGH value is adjusted by
result of ad5823 charaterization

Bug 1308712

Change-Id: I89c0471f3a49d15e54d0293c6a42f12f2d10edbb
Signed-off-by: Karl Kim <kkim@nvidia.com>
Reviewed-on: http://git-master/r/241635
(cherry picked from commit fabc0b3569d1ad2b21bb910ec074deb470ac617e)
Reviewed-on: http://git-master/r/245956
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoARM: tegra11: update macallan sys EDP data
Sivaram Nair [Tue, 25 Jun 2013 09:31:50 +0000]
ARM: tegra11: update macallan sys EDP data

Updated battery cap and depletion data.

Bug 1306298

Change-Id: Ibad362a6ab5240bdffc0b7bef647468968d0ff0f
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/242329
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

5 years agoinput: touch: raydium: conditional wakelock calls
Naveen Kumar S [Mon, 1 Jul 2013 11:16:21 +0000]
input: touch: raydium: conditional wakelock calls

Tasks holding wakelocks in raydium driver intermittently obstruct
system from entering suspend state. Added conditional checks while
invoking wakelock functions so as to disable them if needed.

Bug 1314808

Change-Id: Ie71ea98661e56f2f50d406ee759b007ac877762a
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/243887
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agovideo: tegra: dc: rewrite bandwidth formula
Jon Mayo [Wed, 26 Jun 2013 20:54:47 +0000]
video: tegra: dc: rewrite bandwidth formula

Take vertical scaling into account when calculating
a window's bandwidth, if the window supports
filtering.

Change-Id: Ie0816706322699c3c48bdde31372928972412b74
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/242567
Reviewed-by: Daniel Solomon <daniels@nvidia.com>
Tested-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoRevert "power: sbs-battery: Clear ROSCL bit in data flash"
Darbha Sriharsha [Fri, 5 Jul 2013 09:12:32 +0000]
Revert "power: sbs-battery: Clear ROSCL bit in data flash"

This reverts commit 79f72ff689c872cc8850dc4c3eb7cdb477f838ae.
Reverting commit because sometimes, when an attempt to write the
data flash on the bq20z45 chipset fails, it triggers off a permanent
failure condition which leads to a fuse blowup and renders the
battery pack unusable. Reverting this commit until this issue is
resolved.

Bug 1237672

Change-Id: I697272e219ef3c20f7e1c68fe2392846e16bc929
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/245323
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agopower: sbs-battery: Remove poll time check in suspend function
Darbha Sriharsha [Wed, 3 Jul 2013 16:00:11 +0000]
power: sbs-battery: Remove poll time check in suspend function

Remove poll time check in suspend function. This check is
unnecessary because cancel_delayed_work_sync API already
takes care of the case where the work is already canceled
and only cancels it if it currently stands scheduled. Also,
the poll time check condition fails sometimes which stops
the scheduled work from being canceled, which can stop the
board from entering LP0 state.

Bug 1223793

Change-Id: Ibf5619f1f586ed5d488bfefe47cc14d750c6946e
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/244794
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra: macallan: tegratab: Add EDP data
Harshavardhan Nalajala [Thu, 6 Jun 2013 06:46:06 +0000]
ARM: tegra: macallan: tegratab: Add EDP data

Add edp client information to enable wifi edp client
in macallan and tegratab.

bug 1299023

Change-Id: Ie4a6037a91eef339dd4a3d1417b2810d6bedbbf4
Signed-off-by: Harshavardhan Nalajala <hnalajala@nvidia.com>
Reviewed-on: http://git-master/r/236167
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agopower: max17048: export OCV to sysfs
Sivaram Nair [Tue, 2 Jul 2013 09:50:53 +0000]
power: max17048: export OCV to sysfs

For allowing userspace to read out the OCV value.

Change-Id: I09a82ec24505905e3294d87c05886be49ea66342
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/244282
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agonet: wireless: bcmdhd: Set dpc rt thread priority to max
Mohan T [Wed, 3 Jul 2013 04:42:33 +0000]
net: wireless: bcmdhd: Set dpc rt thread priority to max

Dhd dpc rt thread is getting starved on CPU load scenarios.
NIC driver has to get the data in real time, So we need to
set dpc rt thread priority to max. RT thread with SCHED_FIFO
schedule policy priorities are in ascending order
(i.e. 1 is lowest priority, 99 is highest).

So setting the dhd_dpc_thread priority to 99 to avoid starvation.
- Set  CUSTOM_DPC_PRIO_SETTING to 99

Bug 1286848

Change-Id: I97f9cf2c6d12d78698ea74e401b788c7d33bc7f2
Signed-off-by: Mohan T <mohant@nvidia.com>
Reviewed-on: http://git-master/r/243347
Reviewed-by: Narayan Reddy <narayanr@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra: Fix throttle_count malfunction
Hyungwoo Yang [Wed, 3 Jul 2013 01:49:45 +0000]
ARM: tegra: Fix throttle_count malfunction

Bug 1288550

Change-Id: I4baba118331d579d1522a63b26ffeef3027cd28e
Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-on: http://git-master/r/244600
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

5 years agonet: wireless: wl12xx: Add wifi edp support
Harshavardhan Nalajala [Thu, 6 Jun 2013 06:51:16 +0000]
net: wireless: wl12xx: Add wifi edp support

Enable wl12xx edp support config and add edp support
structures to wl12xx_platform_data.

bug 1299023

Change-Id: Icbb63229eee521f61801beaee77d86295e1e5cc9
Signed-off-by: Harshavardhan Nalajala <hnalajala@nvidia.com>
Reviewed-on: http://git-master/r/236169
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra: config: Add EDP support config
Harshavardhan Nalajala [Thu, 6 Jun 2013 06:40:12 +0000]
ARM: tegra: config: Add EDP support config

Add edp support config for TI wifi module.

bug 1299023

Change-Id: I0b698264b767ebf5546309e80d7d14e203fe1e8a
Signed-off-by: Harshavardhan Nalajala <hnalajala@nvidia.com>
Reviewed-on: http://git-master/r/236160
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agomedia: video: tegra: correct gpio access
Bibek Basu [Tue, 2 Jul 2013 06:29:19 +0000]
media: video: tegra: correct gpio access

Read and write to gpios only when request for the gpio
has suceeded

Bug 1317541

Change-Id: Icfeed36b9e95f4ee03e49bee0cc8b3c2daf4a4a8
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/244190
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

5 years agoarm: tegra: dalmore: remove section mismatch gcc warning.
Jong Kim [Mon, 1 Jul 2013 20:53:06 +0000]
arm: tegra: dalmore: remove section mismatch gcc warning.

Remove section mismatch gcc warnings for dalmore.

bug 1264520

Change-Id: I880ec7d3846ece5f57881ee4f69281c9b91327b8
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/243978
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agoARM: tegra: dalmore: clear fb if bl fb not defined.
Jong Kim [Mon, 1 Jul 2013 20:40:32 +0000]
ARM: tegra: dalmore: clear fb if bl fb not defined.

Clear primary framebuffer if bootloader framebuffer is not defined.
(Some bootloader such as u-boot may not support LCD display and not
supporting LCD in bootloader is purely customer's choice and the
kernel display driver should survive such configuration).

bug 1301464
bug 1264520

Change-Id: Ia37f1f9db08166509bf02673268180f277286dc2
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/243977
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agovm: convert fb_mmap to vm_iomap_memory() helper
Linus Torvalds [Fri, 19 Apr 2013 16:57:35 +0000]
vm: convert fb_mmap to vm_iomap_memory() helper

This is my example conversion of a few existing mmap users.  The
fb_mmap() case is a good example because it is a bit more complicated
than some: fb_mmap() mmaps one of two different memory areas depending
on the page offset of the mmap (but happily there is never any mixing of
the two, so the helper function still works).

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit fc9bbca8f650e5f738af8806317c0a041a48ae4a from upstream v3.9)
Change-Id: Id270c84bdd47ac1026e215316808e0c5b96ed083
Bug 1316563
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/244440

5 years agovm: add vm_iomap_memory() helper function
Linus Torvalds [Tue, 16 Apr 2013 20:45:37 +0000]
vm: add vm_iomap_memory() helper function

Various drivers end up replicating the code to mmap() their memory
buffers into user space, and our core memory remapping function may be
very flexible but it is unnecessarily complicated for the common cases
to use.

Our internal VM uses pfn's ("page frame numbers") which simplifies
things for the VM, and allows us to pass physical addresses around in a
denser and more efficient format than passing a "phys_addr_t" around,
and having to shift it up and down by the page size.  But it just means
that drivers end up doing that shifting instead at the interface level.

It also means that drivers end up mucking around with internal VM things
like the vma details (vm_pgoff, vm_start/end) way more than they really
need to.

So this just exports a function to map a certain physical memory range
into user space (using a phys_addr_t based interface that is much more
natural for a driver) and hides all the complexity from the driver.
Some drivers will still end up tweaking the vm_page_prot details for
things like prefetching or cacheability etc, but that's actually
relevant to the driver, rather than caring about what the page offset of
the mapping is into the particular IO memory region.

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit b4cbb197c7e7a68dbad0d491242e3ca67420c13e in upstream v3.9)
Change-Id: I203f48975ccd9047a588669d13173385b906ab5b
Bug 1316563
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/244439

5 years agotegra: hdmi: fix bug in tegra_hdmi_setup_audio_freq_source()
Haley Teng [Fri, 24 May 2013 12:28:11 +0000]
tegra: hdmi: fix bug in tegra_hdmi_setup_audio_freq_source()

Calling tegra_dc_io_start() is needed before calling
tegra_dc_hdmi_setup_audio() which access HDMI_NV_PDISP_AUDIO* registers

Change-Id: Ibec4e1d7c5d629c81a957d51f78c4fb5d2eada95
Signed-off-by: Haley Teng <hteng@nvidia.com>
Reviewed-on: http://git-master/r/243959
(cherry picked from commit 50bdad1e668fc830406ce3d95e5b71f8c6ef411e)
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/244438
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agovideo: tegra: fb: hdmi: enable new mode on HDMI
Jong Kim [Mon, 1 Jul 2013 21:19:54 +0000]
video: tegra: fb: hdmi: enable new mode on HDMI

Enable HDMI as primary framebuffer console by programming the HW when
new/best mode is detected.

bug 1264520

Change-Id: I8862d2860c97a1241d4acae8206c71de06ea0162
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/243981
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agovideo: tegra: dc: hdmi: remove dead lock
Jong Kim [Tue, 2 Jul 2013 23:15:09 +0000]
video: tegra: dc: hdmi: remove dead lock

Remove dead lock for HDMI used as the primary display.
tegra_dc_hdmi_detect should not acquire dc->lock, which generates
dead lock because its sub-procedure such as tegra_dc_set_mode(),
tegra_dc_enable(), tegra_dc_disable(), etc... try to acquire same
dc->lock withing same process context.

bug 1264520

Change-Id: I4d5f301a8f46e2ad2f990637b1f1c3b1d02a5054
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/243980
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

5 years agoarm: tegra: dalmore: add default hdmi panel mode
Jong Kim [Mon, 1 Jul 2013 20:55:59 +0000]
arm: tegra: dalmore: add default hdmi panel mode

Add default 640x480 hdmi panel mode. This HDMI mode is just a dummy
for device probe to pass and finish dc/fb/fbcon registration. The
actual mode will be detected by detect worker and programmed to the
hw a little later during boot process.

bug 1264520

Change-Id: I79105b760499bb88aae3bc1a01172d31394d6300
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/243979
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agoarm: tegra: tegratab: enable soc_therm OC Alarms
Yong Goo Yi [Thu, 27 Jun 2013 05:10:06 +0000]
arm: tegra: tegratab: enable soc_therm OC Alarms

Enable PMIC powergood(OC2) and Battery(OC4) OC Alarms
- provide base interrupt for soc_therm to support OC interrupt
- Set current threshold for Battery(OC4) to 4500mA
- Throttle only CPU for PMIC powergood(OC2)
- E1569-ERS only has PMIC powergood(OC4)

Bug 1302149

Change-Id: I68d7443a116a7fc529c93a9f0772526a0bae24a2
Signed-off-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-on: http://git-master/r/242726
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agopower: sbs-battery: Clear ROSCL bit in data flash
Darbha Sriharsha [Fri, 28 Jun 2013 11:43:30 +0000]
power: sbs-battery: Clear ROSCL bit in data flash

Clear the ROSCL bit in the data flash so that the battery capacity
reading does not halt at 99% and goes upto 100%

Bug 1237672

Change-Id: I6d939c72b2368403d76b5cb6e33f7f5f94ca6e54
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/244306
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agopower: sbs-battery: Use relative soc to report capacity
Darbha Sriharsha [Fri, 28 Jun 2013 07:47:45 +0000]
power: sbs-battery: Use relative soc to report capacity

Use Relative state of charge as opposed to absoltue state
of charge to report battery capacity

Bug 1237672

Change-Id: Ibad693384d3d3547643244a134e381b5a0ab65f9
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/244305
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agohwmon: ina230: add type casting for negative current
Bo Kim [Thu, 20 Jun 2013 09:30:53 +0000]
hwmon: ina230: add type casting for negative current

When precision_multiplier has positive value and current has negative
value, the calculation makes wrong result by implicit type casting.

Bug 1311630

Change-Id: I272783d1e081059a296a1cce33f660cfb1fcd52b
Signed-off-by: Bo Kim <bok@nvidia.com>
Reviewed-on: http://git-master/r/240533
(cherry picked from commit cb432c7eac648a11602f523fabf05c9662856e7b)
Reviewed-on: http://git-master/r/244215
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra11: power: Cap core voltage on deficient regulator
Alex Frid [Sun, 30 Jun 2013 07:46:46 +0000]
ARM: tegra11: power: Cap core voltage on deficient regulator

If core regulator is not able to supply 6A or above current, cap core
voltage at default 1.12V.

Bug 1316883

Change-Id: Id6ecf6712a13b85656a007f300cf77ee538322c4
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/243726
Reviewed-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-by: Matthew Longnecker <mlongnecker@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agovideo: tegra: dtv: Add runtime profile switch
Adam Jiang [Tue, 14 May 2013 09:14:24 +0000]
video: tegra: dtv: Add runtime profile switch

Typical application requires the capability of switching between
various profiles including different buffer sizes, counts and minimum
CPU frequencies on DTV device. This patch adds new ioctl commands to
support this.

Bug 1061456
Bug 1258577

Change-Id: Ia3e7ab8d4c05cce4bd1fe10b28f075493a512748
Signed-off-by: Adam Jiang <chaoj@nvidia.com>
Reviewed-on: http://git-master/r/237446
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agovideo: tegra: dtv: memory allocation size error
Jun Su [Fri, 28 Jun 2013 12:12:15 +0000]
video: tegra: dtv: memory allocation size error

when we allocate memory for stream buffer, the size should
by sizeof(dtv_buffer), not size(dtv_buffer *)

Bug 1314904

Change-Id: I81a16ead5f232c28ae572d9bffe75ca4ac6aa45e
Signed-off-by: Jun Su <juns@nvidia.com>
Reviewed-on: http://git-master/r/243434
Reviewed-by: Peter Zu <pzu@nvidia.com>
Reviewed-by: Adam Jiang <chaoj@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agotegra: media: video: imx135 add 2104x1560 HDR mode
Ming Wong [Tue, 7 May 2013 01:34:32 +0000]
tegra: media: video: imx135 add 2104x1560 HDR mode

Add 2104X1560 binning + skipping 4:3 HDR mode.

Bug 1279098

Change-Id: I13a8c180421551249d5f93ffb8b325133dc9cd04
Signed-off-by: Ming Wong <miwong@nvidia.com>
Reviewed-on: http://git-master/r/243044
Reviewed-by: Frank Chen <frankc@nvidia.com>
Tested-by: Bhushan Rayrikar <brayrikar@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra11: clock: Add debugfs node for EMC DFS table info
Alex Frid [Sun, 16 Jun 2013 05:08:05 +0000]
ARM: tegra11: clock: Add debugfs node for EMC DFS table info

Bug 1308928

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

5 years agoarch: tegra: Enable cfq IO scheduler
venkatajagadish [Tue, 11 Jun 2013 04:28:00 +0000]
arch: tegra: Enable cfq IO scheduler

Bug 1229761

Change-Id: Ie8c732bea4d9c1525e2d4661c086e91afb9a21cf
Signed-off-by: venkatajagadish <vjagadish@nvidia.com>
Reviewed-on: http://git-master/r/237471
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agommc: tegra: use tegra_sdhci_set_clock to set clock
Naveen Kumar Arepalli [Sat, 29 Jun 2013 08:22:04 +0000]
mmc: tegra: use tegra_sdhci_set_clock to set clock

use tegra_sdhci_set_clock to set clock instead of
tegra_sdhci_set_clk_rate

Bug 1307294
Bug 1304021

Change-Id: I9c9e369a6c9c60fd150eff9313d2d2e90b3462f3
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/243673
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agommc: tegra: Don't skip tuning for 2nd core voltage
Naveen Kumar Arepalli [Thu, 27 Jun 2013 06:33:46 +0000]
mmc: tegra: Don't skip tuning for 2nd core voltage

Even if nominal_vcore_tun_done, override_vcore_tun_done are set
don't skip tuning for 2nd core voltage.

Bug 1307294
Bug 1304021

Reviewed-on: http://git-master/r/242764
(cherry picked from commit 57b7008d0ad3cfdea888416e8b1db3ebb0c7cda7)
Change-Id: I8d60b950d29c897bd1c7c7775ccab40d6188f832
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/243672
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: Tegra: don't clobber SCTLR
Edgardo Handal [Wed, 29 May 2013 20:05:00 +0000]
ARM: Tegra: don't clobber SCTLR

Do read-modify-write on SCTLR when enabling caches and branch
prediction rather than just overwriting the register.

Bug 1292766

Change-Id: Ib76b3100ebb657250ce863e697f7b712d27638ea
Signed-off-by: Edgardo Handal <ehandal@nvidia.com>
Reviewed-on: http://git-master/r/233824
(cherry picked from commit c0a251f8c9507a63456c041510399327eac14354)
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/243538
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoarm: tegra11: config: disable wakelocks for L4T
Naveen Kumar S [Fri, 28 Jun 2013 17:19:05 +0000]
arm: tegra11: config: disable wakelocks for L4T

Wakelocks are not used in L4T. Disabling wakelock config
macros in tegra11 L4T defconfig.

Change-Id: I8016d2661db3190a0dba682da62a7659a282c8d2
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/243501
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Martin <amartin@nvidia.com>

5 years agoPM: Add prompt and help for wakelock in Kconfig
Naveen Kumar S [Fri, 28 Jun 2013 14:03:22 +0000]
PM: Add prompt and help for wakelock in Kconfig

Adding bool prompt and help description for CONFIG_WAKELOCK
and CONFIG_HAS_WAKELOCK options in Kconfig file to ease
menuconfig operations

Bug 1314808

Change-Id: I5c450ef0994a08c1bf51e8c9849bb96c69c69081
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/243459
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Martin <amartin@nvidia.com>

5 years agoarm: tegra: soctherm: check throttle dev indexing
Xin Xie [Tue, 25 Jun 2013 21:38:42 +0000]
arm: tegra: soctherm: check throttle dev indexing

bug 1312613

Change-Id: I1feaa0bbbb3ae11619d6d252633dd6f026661230
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/243075
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>

5 years agoarm: tegra: soctherm: fix invalid array index
Xin Xie [Tue, 25 Jun 2013 00:36:43 +0000]
arm: tegra: soctherm: fix invalid array index

We are using the -1 for the enum typed value and it is used for array
access.

bug 1312613

Change-Id: I52b31327e9c332616675cda30877737d42f23ac1
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/241619
(cherry picked from commit 32ccb8129534e279702eacfa4789d05f93603470)
Reviewed-on: http://git-master/r/243074
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

5 years agoARM: tegra: pluto: Enable SD freq scaling
R Raj Kumar [Wed, 12 Jun 2013 13:27:41 +0000]
ARM: tegra: pluto: Enable SD freq scaling

Enabled SD freq scaling for pluto

Bug 1294659

Change-Id: I598306b0a50fab1dd54a1ff4826fdb4320f0fbf9
Signed-off-by: R Raj Kumar <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/238038
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra: tegratab: limit max HDMI resolution
Youngjin Kim [Wed, 19 Jun 2013 05:12:31 +0000]
ARM: tegra: tegratab: limit max HDMI resolution

Limit max pixel clock of DC1 to 148.5Mhz so that HDMI resolutions
higher than 1080p/60Hz not to be set.

Bug 1308884

Change-Id: I5959036e5b753a2aa818940a1f560e0c436548a3
Signed-off-by: Youngjin Kim <nkim@nvidia.com>
Reviewed-on: http://git-master/r/240005
(cherry picked from commit b3e2d396e373fe728e1f2abe4b586eb35f1e4420)
Reviewed-on: http://git-master/r/241754
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agousb: host: tegra: fix delay in driver remove properly
Rohith Seelaboyina [Thu, 27 Jun 2013 12:40:29 +0000]
usb: host: tegra: fix delay in driver remove properly

mdelay is replaced with msleep as the earlier blocks
the cpu and a hang is observed

Bug 1299561

Change-Id: I2c644a6af95ee014a21df2ab6e5d649fc796ee3d
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/236278
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agousb: host: tegra: remove QOS request
Mark Kuo [Wed, 19 Jun 2013 09:32:50 +0000]
usb: host: tegra: remove QOS request

A pm_qos_request is added during .probe() but is never removed.
This will leave an invalid node in the plist inside the pm_qos
lib, which may cause panic in plist_add() in future requests of
pm_qos_add_request.

Also use the _sync version to cancel delayed pm_qos work to avoid
possible races.

Bug 1304146

Change-Id: I971e5c0d411d1e0f5b788a7e86aacb34f6f2fdf9
Signed-off-by: Mark Kuo <mkuo@nvidia.com>
Reviewed-on: http://git-master/r/238842
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agonet: wireless: bcmdhd:Enable flag QUEUE_BW for RBE
Kadimella Phani Raju [Tue, 18 Jun 2013 12:19:35 +0000]
net: wireless: bcmdhd:Enable flag QUEUE_BW for RBE

Enable QUEUE_BW to support Realtime Bandwidth
estimation for user applications.

Note that this flag is enabled only for bcm43341

Bug 1190552

Change-Id: Ic38e253802b106d15dd250731018fbab60256a2b
Signed-off-by: Kadimella Phani Raju <kphaniraju@nvidia.com>
Reviewed-on: http://git-master/r/239747
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Amit Chaudhary <amitc@nvidia.com>
Reviewed-by: Kenneth Tateno <ktateno@nvidia.com>
Reviewed-by: Thomas J. Meier <tmeier@nvidia.com>
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Nitin Bindal <nbindal@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra: ahb: enable WR_WAIT_COMMIT_ON_1K bit
Ashwini Ghuge [Thu, 27 Jun 2013 08:57:17 +0000]
ARM: tegra: ahb: enable WR_WAIT_COMMIT_ON_1K bit

Enable WR_WAIT_COMMIT_ON_1K bit in AHB_GIZMO_AHB_MEM
for T114 A02 chip on Dalmore

Bug 1312566

Change-Id: If81e7cbd47b070219b772a46a3e8347cad3ece6a
Signed-off-by: Ashwini Ghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/242827
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

5 years agokeyboard: tegra: handle multiple isr calls on resume
Ashwini Ghuge [Thu, 27 Jun 2013 12:13:36 +0000]
keyboard: tegra: handle multiple isr calls on resume

Bug 1313143

Change-Id: I7e3f30ec27cc4918364a04ae7079850e9a119573
Signed-off-by: Ashwini Ghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/242012
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agovideo: tegra: dc: hdmi: call tegra_dc_hpd in tegra_hdmi_hotplug_signal
sharath sarangpur [Fri, 21 Jun 2013 22:57:48 +0000]
video: tegra: dc: hdmi: call tegra_dc_hpd in tegra_hdmi_hotplug_signal

Call tegra_hotplug_signal to queue deferred work after a delay of 30ms and call gpio_get_value
in tegra_dc_hpd

bug 1298680

Change-Id: I7e1c15c1445116b4f6400708335590ea6e2d5d0b
Signed-off-by: sharath sarangpur <ssarangpur@nvidia.com>
Reviewed-on: http://git-master/r/241136
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

5 years agoARM: tegra: fix errors in measuring suspend time
Andy Park [Fri, 21 Jun 2013 21:45:36 +0000]
ARM: tegra: fix errors in measuring suspend time

When a silent wake by RTC alarm interrupts the suspend, measured
suspend time will not behave in a correct way. Fix this issue by only
calculating the first suspend / resume cycle introduced by power
button along with turning the display off.

Bug 1279339

Change-Id: I32c517ede4db9b45387e6e988cf1a755c5527fa7
Signed-off-by: Andy Park <andyp@nvidia.com>
Reviewed-on: http://git-master/r/241104
Reviewed-by: Kamal Balagopalan <kbalagopalan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com>

5 years agomedia: video: tegra: sh532u: fix physical range
Phil Breczinski [Tue, 7 May 2013 01:53:27 +0000]
media: video: tegra: sh532u: fix physical range

Previously, physical range returned different every time.  Hardcode
to the known desired physical range to allow focuser to pass more
stringent focuser tests to be added to automated testing.

Bug 1279178

Change-Id: Ic838860a18e2d1961a08396dd45e37790bbb1378
Signed-off-by: Phil Breczinski <pbreczinski@nvidia.com>
Reviewed-on: http://git-master/r/225976
(cherry picked from commit 9f3a34494d10048f8a4c9d32468342131474f66b)
Reviewed-on: http://git-master/r/242561
Reviewed-by: Brian Bamsch <bbamsch@nvidia.com>
Tested-by: Brian Bamsch <bbamsch@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

5 years agovideo: tegra: Removing tegra_fb_set_par from tegra_fb_register
pdabade [Wed, 26 Jun 2013 17:07:32 +0000]
video: tegra: Removing tegra_fb_set_par from tegra_fb_register

Removing tegra_fb_set_par from tegra_fb_register which tries to set
videomode to nearest mode before the framebuffer modelist is ready.

Function register_framebuffer() is found to add a mode to modelist
and calls tegra_fb_set_par later.

bug 1194793

Change-Id: I3908a435dddba3b8884f33bcaa0f3955b94b4147
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/242499
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

5 years agoARM: tegra: cleanup USB wake support implementation
Bitan Biswas [Wed, 26 Jun 2013 10:57:30 +0000]
ARM: tegra: cleanup USB wake support implementation

Moved dummy implementation of USB wake support APIs from chip-specific
source into common file

bug 1314875

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

5 years agoARM: tegra: config: enable tegra internal USB cable wake
Bitan Biswas [Wed, 26 Jun 2013 10:49:32 +0000]
ARM: tegra: config: enable tegra internal USB cable wake

Enable internal wake mechanism for USB cable wake on T11x
This further needs board specific platform data to work.

bug 1314875

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

5 years agoARM: TEGRA: Removing irrevelant warning message.
pdabade [Wed, 28 Nov 2012 10:03:31 +0000]
ARM: TEGRA: Removing irrevelant warning message.

Warm DVFS limit is set to 1Mhz for cpu voltage less than 800mv.
This limit means that a CPU should never operate at voltage less
than 800mv,even at high temperature.At cold also it will
never operate at lower voltage.so no need for warning at
cold.The warning should appear for frequencies greater than 1 MHz
and less than the offset value.

bug 1166551

Change-Id: I5c10e5b41e28d29c4d4709efc0e4b05cef2918b3
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/166848
(cherry picked from commit 10d8ecf3af66b944bb3267021fd6153dd3bf52f8)
Reviewed-on: http://git-master/r/240969
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com>
Tested-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agousb: xhci: tegra: report and handle oc condition
Bharath Yadav [Wed, 24 Apr 2013 22:42:49 +0000]
usb: xhci: tegra: report and handle oc condition

This commit detects OC on any of the XUSB ports
and handles the same until OC condition is removed.

Bug 1255160

Signed-off-by: Bharath Yadav <byadav@nvidia.com>
Change-Id: I5a056c15b549249a3ac652ce41374fef31a5fbcd
Signed-off-by: JC Kuo <jckuo@nvidia.com>
Signed-off-by: joyw <joyw@nvidia.com>
Reviewed-on: http://git-master/r/222738
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

5 years agousb: xhci: tegra: fix DFE training results
Ajay Gupta [Thu, 13 Jun 2013 16:51:55 +0000]
usb: xhci: tegra: fix DFE training results

Bug 1281372

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

5 years agoaudio: Add License info for tfa9887 driver.
Vinod Subbarayalu [Wed, 12 Jun 2013 01:01:00 +0000]
audio: Add License info for tfa9887 driver.

Bug: 1294260

Change-Id: I5f4e9cf1c032f1aa05f5a75fd717c8a89caa5d19
Signed-off-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com>
Reviewed-on: http://git-master/r/237805
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agousb: tegra: Use common api for shared access
Ajay Gupta [Tue, 11 Jun 2013 00:37:03 +0000]
usb: tegra: Use common api for shared access

Bug 1286074

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

5 years agoARM: tegra: pluto: sensor auto detect using flash ID
Frank Chen [Tue, 25 Jun 2013 00:20:11 +0000]
ARM: tegra: pluto: sensor auto detect using flash ID

Add MAX77387 flash controller support for Pluto.

Newer IMX091 sensor module start using the same
focuser of IMX135 module and that breaks the
current auto detection method.

Now we also need to read the flash controller
ID in order to detect the sensor module
corretly.

Bug 1313511

Change-Id: I56ac413f4bf7ba8d15048f41a4ee8005a43619b4
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/241618
Reviewed-by: Peter Mikolajczyk <pmikolajczyk@nvidia.com>
Reviewed-by: Bhushan Rayrikar <brayrikar@nvidia.com>
Reviewed-by: Yin-Chia Yeh <yyeh@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoARM: tegra: dalmore: sensor auto detect using flash ID
Frank Chen [Tue, 25 Jun 2013 00:00:57 +0000]
ARM: tegra: dalmore: sensor auto detect using flash ID

Newer IMX091 sensor module start using the same
focuser of IMX135 module and that breaks the
current auto detection method.

Now we also need to read the flash controller
ID in order to detect the sensor module
corretly.

Bug 1313511

Change-Id: I0898bd65fa012ce24b49c23a95ecdcf4e98a8260
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/241614
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gary Fitzer <gfitzer@nvidia.com>
Reviewed-by: Bhushan Rayrikar <brayrikar@nvidia.com>
Reviewed-by: Joshua Widen <jwiden@nvidia.com>
Reviewed-by: Peter Mikolajczyk <pmikolajczyk@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agomedia: video: tegra: Read max77387 flash ID
Frank Chen [Mon, 24 Jun 2013 23:47:48 +0000]
media: video: tegra: Read max77387 flash ID

Read max77387 flash controller chip id during
device probe time. We need this info to help
determine which HDR sensor is presented in the
system.

Bug 1313511

Change-Id: Ib4a362fcce2fcd1eb521774cbffe8f2f1fa52395
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/241611
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bhushan Rayrikar <brayrikar@nvidia.com>
Reviewed-by: Gary Fitzer <gfitzer@nvidia.com>
Reviewed-by: Joshua Widen <jwiden@nvidia.com>
Reviewed-by: Peter Mikolajczyk <pmikolajczyk@nvidia.com>
Reviewed-by: Sudhir Vyas <svyas@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agovideo: tegra: host: Vi syncpoint nonclient managed
Peter Mikolajczyk [Mon, 6 May 2013 22:21:20 +0000]
video: tegra: host: Vi syncpoint nonclient managed

This changes the Vi_1 syncpoint to not be client
managed.

This is necessary as the camera will use 2 push
buffers on 2 channels.

Vi_1 and ISP_0 syncpoints are used support the
dual pushbuffers.

Bug 1290316

Change-Id: I8eeff29cf50b15afd3f65b34c1b9dc2767bc000f
Signed-off-by: Peter Mikolajczyk <pmikolajczyk@nvidia.com>
Reviewed-on: http://git-master/r/237780
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yuvraj Pasi <ypasi@nvidia.com>
Reviewed-by: Yin-Chia Yeh <yyeh@nvidia.com>
Reviewed-by: Abhinav Sinha <absinha@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agomedia: ad5823: change the power off sequence
Jake Park [Tue, 18 Jun 2013 01:34:22 +0000]
media: ad5823: change the power off sequence

Changed power off sequence as recommended. CAM1_AF_PWDN should ramp
down before VA_CAM1_AF. Because most of devices require power down
signal ramps down before power rails.

Bug 1300199

Change-Id: I44a60dd90fb7a89cbff344f12ef814b247a9c1ea
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/239527
Reviewed-by: Karl Kim <kkim@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoRevert "usb: xhci: WAR fix for xhci_bus_suspend failed -16"
Henry Lin [Fri, 7 Jun 2013 07:19:27 +0000]
Revert "usb: xhci: WAR fix for xhci_bus_suspend failed -16"

This reverts commit 73596b7df75267487001e35367cb0c81e7d5d51a.

Bug 1221213

Change-Id: I0d826dff21c253dbc31415cadcc9fac2d6a24b10
Signed-off-by: Henry Lin <henryl@nvidia.com>
Reviewed-on: http://git-master/r/236595
Reviewed-by: Jui Chang Kuo <jckuo@nvidia.com>
Reviewed-by: Joy Wang <joyw@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

5 years agomedia: video: tegra: DW9718: Fix kernel warnings
Frank Chen [Thu, 13 Jun 2013 17:11:26 +0000]
media: video: tegra: DW9718: Fix kernel warnings

Unbalanced refernece count causes kernel to generate
warning messages. This is due to disabling a regulator
that has been disabled already.

Bug 1305243

Change-Id: I974f6caad98856250730d2faccb1d9a9ae7c3f45
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/238584
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Naren Bhat <nbhat@nvidia.com>
Reviewed-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agovideo: tegra: dtv: Add PM QoS control over DTV
Adam Jiang [Tue, 30 Apr 2013 10:54:34 +0000]
video: tegra: dtv: Add PM QoS control over DTV

This is an experimental patch for controlling on cpu-dma latency and
minimum cpu frequency over DTV interface. It is required for receiving
ISDB-T Full-seg HDTV signals or ISDB-Tmm signals because TS signals on
input will provide higher frequency up to 32MHz. CPU has to run faster
to handle DMA interrupts too.

Bug 1061456
Bug 1258577

Change-Id: Ic97af353f7575eff6eef977f2b204b6299c84e73
Signed-off-by: Adam Jiang <chaoj@nvidia.com>
Reviewed-on: http://git-master/r/224689
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agovideo: tegra: dtv: Put queue-up to first branch
Adam Jiang [Fri, 26 Apr 2013 08:18:58 +0000]
video: tegra: dtv: Put queue-up to first branch

DTV driver will queue up all buffers filling requests at the first
read() operation. However, after that, we'd like to bypass this section
quickly. The macro 'unlikely' could help to generate machine code which
puts DMA-queue-up on the first branch.

Bug 1061456
Bug 1258577

Change-Id: I95bbc2ae73911591c376e41250ada1b6b575f770
Signed-off-by: Adam Jiang <chaoj@nvidia.com>
Reviewed-on: http://git-master/r/224688
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agovideo: tegra: dtv: Revised comment on buffer filling
Adam Jiang [Fri, 26 Apr 2013 08:17:17 +0000]
video: tegra: dtv: Revised comment on buffer filling

Nothing more than fixing unaligned asterisks.

Bug 1061456
Bug 1258577

Change-Id: I5e43a7d01a0eec9b13b43cf59029e12672890c99
Signed-off-by: Adam Jiang <chaoj@nvidia.com>
Reviewed-on: http://git-master/r/224687
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agovideo: tegra: dtv: Remove DTV platform data
Adam Jiang [Wed, 24 Apr 2013 07:19:09 +0000]
video: tegra: dtv: Remove DTV platform data

Removed legacy platform data for DTV device. Instead, the driver could
be manipulated from user-land application by unique ioctl() interface.

Bug 1061456
Bug 1258577

Change-Id: I7ef24baa8480c26d3e17769e789d26ea03fa866b
Signed-off-by: Adam Jiang <chaoj@nvidia.com>
Reviewed-on: http://git-master/r/224686
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agovideo: tegra: dtv: Add ioctl for buffer size query
Adam Jiang [Wed, 24 Apr 2013 06:56:27 +0000]
video: tegra: dtv: Add ioctl for buffer size query

Userspace has to know the exact buffer size of DTV driver. Export it
with new ioctl() command.

Bug 1061456
Bug 1258577

Change-Id: I7676d0ab90775399245ffa0724bb34845151c680
Signed-off-by: Adam Jiang <chaoj@nvidia.com>
Reviewed-on: http://git-master/r/224685
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agovideo: tegra: dtv: Replace misleading warnings
Adam Jiang [Wed, 24 Apr 2013 06:48:39 +0000]
video: tegra: dtv: Replace misleading warnings

The original "overflow" warning was misleading because when there are
pending DMA transferring it does not necessarily mean buffer had been
filled too much data. Instead, if transferred bytes are more than the
byte numbers required by DTV, driver should report this situation for it
indicates DMA queue-up is too slow.

Bug 1061456
Bug 1258577

Change-Id: I1c39076a1e4b9c018d4a67c08d0ff71c761fbbd5
Signed-off-by: Adam Jiang <chaoj@nvidia.com>
Reviewed-on: http://git-master/r/224684
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agovideo: tegra: dtv: push only one DMA request on read
Adam Jiang [Tue, 23 Apr 2013 08:40:43 +0000]
video: tegra: dtv: push only one DMA request on read

Each read() call on tegra_dtv device should only enqueue one DMA request
into DMA controller. In this way, DTV driver could avoid to waiting on
previous DMA-queued buffers to be finished. Thus, DMA buffer overlapping
could be ease. It also allows user-land run a tighten read() loop.

Bug 1061456
Bug 1258577

Change-Id: I75033c5cef43368636307093890422c1718f44ce
Signed-off-by: Adam Jiang <chaoj@nvidia.com>
Reviewed-on: http://git-master/r/224683
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agovideo: tegra: dtv: Make buffers configurable
Adam Jiang [Thu, 21 Mar 2013 04:09:41 +0000]
video: tegra: dtv: Make buffers configurable

Make DMA buffer count and size configurable via module parameters.

Bug 1061456
Bug 1258577

Change-Id: I45b188e09fb94add00c95cc6013e46a8af8636b0
Signed-off-by: Adam Jiang <chaoj@nvidia.com>
Reviewed-on: http://git-master/r/224682
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agovideo: tegra: dtv: Move swizzling into ioctl
Adam Jiang [Mon, 15 Apr 2013 09:21:09 +0000]
video: tegra: dtv: Move swizzling into ioctl

Move swizzling options into ioctl for providing a unique interface of
hardware configuration.

Bug 1061456
Bug 1258577

Change-Id: I6c9d9b171a170fbe9e9df78b4dac07347d63861e
Signed-off-by: Adam Jiang <chaoj@nvidia.com>
Reviewed-on: http://git-master/r/224681
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agovideo: tegra: dtv: Add warnings to buffer overflow
Adam Jiang [Fri, 19 Oct 2012 04:56:35 +0000]
video: tegra: dtv: Add warnings to buffer overflow

Application should always be notified if buffer overflow happened.

Bug 1061456
Bug 1258577

Reviewed-on: http://git-master/r/160891
(cherry picked from commit e23db607457e8435f86b32b48d55cbbff42e4cd1)

Change-Id: Iaa17470840a3c5817834aa20c7264f19b9ded6a9
Signed-off-by: Adam Jiang <chaoj@nvidia.com>
Reviewed-on: http://git-master/r/224680
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agovideo: tegra: dtv: Add shared clock support
Adam Jiang [Mon, 22 Oct 2012 11:59:47 +0000]
video: tegra: dtv: Add shared clock support

DTV interface could run with 0-20MHz synchronizing clock. When DTV runs
with high speed, it is necessary to ensure system bus and EMC running on
higher frequency to support data transferring between the interface and
memory.

Bug 1061456
Bug 1258577

Change-Id: Id5af7cd8f8aa0373a5c45c9f9f884cd2b755e146
Signed-off-by: Adam Jiang <chaoj@nvidia.com>
Reviewed-on: http://git-master/r/224679
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agoEDP: tegra: changing gpu threshold to 700
Sivaram Nair [Mon, 24 Jun 2013 10:13:25 +0000]
EDP: tegra: changing gpu threshold to 700

To address CPU benchmark regressions

Bug 1293353

Change-Id: Ic0340964308a539684a4cde5ead08adba68519c5
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/241422
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agomedia: video: tegra: Set AD5816 focuser to linear mode
Frank Chen [Fri, 21 Jun 2013 17:01:15 +0000]
media: video: tegra: Set AD5816 focuser to linear mode

This is the proper fix for reducing the stripe
pattern noise seen on IMX091 and IMX135 HDR
sensors. This fix keeps the backward compatibility
for none-AOHDR code path.

Bug 1299338

Change-Id: I5621b173f42ca506e87ee2a2213b1e2dfdef6d32
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/241029
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shiva Dubey <sdubey@nvidia.com>
Reviewed-by: Philip Breczinski <pbreczinski@nvidia.com>
Reviewed-by: Rakesh Sharma <rasharma@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agovideo: tegra: dtv: Enable double-buffering DMA
Adam Jiang [Fri, 7 Jun 2013 03:17:42 +0000]
video: tegra: dtv: Enable double-buffering DMA

Switch from single-buffering to double-buffering to avoid FIFO overflow
on DTV interface.

Bug 1061456
Bug 1258577

Change-Id: Ided86a44fe8c8c40382030fcf6c005bac8ad4708
Signed-off-by: Adam Jiang <chaoj@nvidia.com>
Reviewed-on: http://git-master/r/237447
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agomisc: cec: add wait_event for CEC ops
Shridhar Rasal [Tue, 14 May 2013 09:30:33 +0000]
misc: cec: add wait_event for CEC ops

Add wait_event to make sure that CEC functions
do not execute until CEC init completes.

Bug 1283088

Change-Id: I1d26360326338f549a14cbf109a24c2935ebe472
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/232566
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agomisc: cec: add worker handler for resume
Shridhar Rasal [Tue, 14 May 2013 09:30:33 +0000]
misc: cec: add worker handler for resume

HDMI CEC needs 1 sec delay for reset hardware in resume.
Adding work handler for CEC init.

Bug 1283088

Change-Id: I4498584ec93c1a5eefddfad9966cb5a1e7776e6e
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/228332
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agousb: otg: tegra: enable vbus during LP0 resume
Rohith Seelaboyina [Mon, 24 Jun 2013 05:19:09 +0000]
usb: otg: tegra: enable vbus during LP0 resume

enable vbus while resuming from LP0,when ID is low
and vbus is turned before going to LP0

Bug 1298859

Change-Id: I25c03673af623c97fab53710c6de1adfc2f724b3
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/241336
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

5 years agoARM: Tegra: Dalmore: register usb3_vbus fixed regulator on demand
JC Kuo [Thu, 9 May 2013 13:46:18 +0000]
ARM: Tegra: Dalmore: register usb3_vbus fixed regulator on demand

When XUSB is using UTMI2, XUSB hardware controls VBUS directly.
GPIO functionality of the pad needs to be disabled. However, EHCI
host driver needs the pad in GPIO mode so VBUS can be controlled
by regulator_eanble()/regulator_disable() calls.

This commit registers usb3_vbus fixed regulator only when needed.

Bug 1255160

Change-Id: Ie48c872346df6ad1dd9cdb4232c3ef4b4e066856
Signed-off-by: JC Kuo <jckuo@nvidia.com>
Signed-off-by: joyw <joyw@nvidia.com>
Reviewed-on: http://git-master/r/227069
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agovideo: tegra: camera: set latency allowance value
Jihoon Bang [Sat, 15 Jun 2013 01:19:15 +0000]
video: tegra: camera: set latency allowance value

Set VI latency allowance based on VI clock frequency.
It used to be fixed value regardless of VI clock frequency.

Bug 1305215

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

5 years agoarm: tegra: la: fix error in TEGRA_LA_VI_WSB
Jihoon Bang [Sat, 15 Jun 2013 01:15:09 +0000]
arm: tegra: la: fix error in TEGRA_LA_VI_WSB

MC_LATENCY_ALLOWANCE_VI_0_0 has valid value in [7:0]
not in [23:16].

Bug 1305215

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

5 years agousb: xhci: clear add_flag when no need issue bw cmd
joyw [Fri, 7 Jun 2013 05:54:12 +0000]
usb: xhci: clear add_flag when no need issue bw cmd

This patch fix issue when driver tried to switch between two alt setting
with no eps and return with uncleared add_flag. This will cause later
unplug usb device, driver will clear context entries of slot context dword0
in function xhci_drop_endpoint.

Bug 1267240

Change-Id: I09afe5f640ca61663725c03619a1eb310262279e
Signed-off-by: joyw <joyw@nvidia.com>
Reviewed-on: http://git-master/r/236580
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-by: Jui Chang Kuo <jckuo@nvidia.com>
Reviewed-by: Henry Lin <henryl@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

5 years agoARM: Tegra: Dalmore: update EMC table to v42
Ray Poudrier [Tue, 11 Jun 2013 03:30:53 +0000]
ARM: Tegra: Dalmore: update EMC table to v42

Bug 1265165

Change-Id: I2090d29025af2785b08c91d43737aaab954fedb4
Signed-off-by: Ray Poudrier <rapoudrier@nvidia.com>
Reviewed-on: http://git-master/r/237461
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra: pluto: update emc table to 4.2
Ray Poudrier [Sat, 1 Jun 2013 00:51:59 +0000]
ARM: tegra: pluto: update emc table to 4.2

Bug 1288191

Change-Id: If813383e14f3354ae4214ef3e0dd4b6d88ee0b54
Signed-off-by: Ray Poudrier <rapoudrier@nvidia.com>
Reviewed-on: http://git-master/r/234728
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoxhci: tegra: add firmware logging capability
JC Kuo [Thu, 20 Jun 2013 11:31:31 +0000]
xhci: tegra: add firmware logging capability

This commit
1) enables firmware logging
2) reads and saves firmware log in driver buffer
3) exports firmware log via debugfs (/sys/kernel/debug/tegra_xhci/firmware_log)

bug 1301420

Change-Id: Ib59dac9ae746308451257872ec968cea4a30f4c0
Signed-off-by: JC Kuo <jckuo@nvidia.com>
Reviewed-on: http://git-master/r/240618
Reviewed-by: WK Tsai <wtsai@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

5 years agoasoc: rt5640 codec: Fix compilation warnigs
Vijay Mali [Fri, 21 Jun 2013 05:07:02 +0000]
asoc: rt5640 codec: Fix compilation warnigs

Remove unused variables

Bug 1274537

Change-Id: I9ca17020c101fa56bcb829d9a9fc71b0d78cc96f
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/240866
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agovideo: tegra: nvavp: add support for vde.emc
Kevin Huang [Sun, 26 May 2013 07:07:43 +0000]
video: tegra: nvavp: add support for vde.emc

vde.emc is required to know whether video playback is
going on or not. Display efficiency rate is set to 45%
if both dc.emc and vde.emc is enabled.

vde.emc clock is enabled when non-zero avp.emc clock
rate is requested and is disabled when zero avp.emc clock
is requested.

Bug 1266369

Change-Id: Ic1de7145763a41a8adf11a9e1cd7a1cd723f46e2
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/232614
Reviewed-by: Soumenkumar Dey <sdey@nvidia.com>
Tested-by: Soumenkumar Dey <sdey@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agokeyboard: tegra: handle multiple isr calls on single key press
Laxman Dewangan [Thu, 20 Jun 2013 07:01:52 +0000]
keyboard: tegra: handle multiple isr calls on single key press

There is multple ISR get called when pressing keys. It should get
only call single interrupt per key press independnet for the system
state, Active or in Sleep.

Fixing this issue.

bug 1277289

Change-Id: Iba3ef0ba1babe91cf60f7e9dcc8bc27c43ec4986
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Ashwini Ghuge <aghuge@nvidia.com>
Signed-off-by: Jay Cheng <jacheng@nvidia.com>
Reviewed-on: http://git-master/r/240484

5 years agoARM: tegra: clock: change iso efficiency when vde is on.
Kevin Huang [Sun, 26 May 2013 06:30:24 +0000]
ARM: tegra: clock: change iso efficiency when vde is on.

Add vde.emc node. Change the display efficiency rate to 45% once
dc.emc and vde.emc are both enabled.

Bug 1266369

Change-Id: If66f10d31c198bddcc18090d28639cd3beea86de
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/232804
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agoARM: Tegra: Dalmore: disable SPDIF_IN and USB_VBUS_EN0 pullups
JC Kuo [Thu, 9 May 2013 13:26:55 +0000]
ARM: Tegra: Dalmore: disable SPDIF_IN and USB_VBUS_EN0 pullups

There are already external 100K ohms pullups for VBUS Over-current
detection pins, so it's not necessary to enable internal pullups.

Bug 1255160

Change-Id: I38cd64836baf6a342156f87104b0c125ccddf121
Signed-off-by: JC Kuo <jckuo@nvidia.com>
Reviewed-on: http://git-master/r/227058
Reviewed-by: Ajay Gupta <ajayg@nvidia.com>
Tested-by: Joy Wang <joyw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoarm: tegra: update edp parameters init for t11x
Diwakar Tundlam [Mon, 10 Jun 2013 23:09:43 +0000]
arm: tegra: update edp parameters init for t11x

Updated leakage and dynamic parameters to compute EDP table fro T114
based on latest characterization data.

Bug 1304350

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

5 years agoarm: tegra: refactor edp parameters init
Diwakar Tundlam [Mon, 10 Jun 2013 21:27:35 +0000]
arm: tegra: refactor edp parameters init

Move common numeric values to be macro-based to avoid duplicates

Bug 1304350

Change-Id: Iac5fc39f421423487f6d012cbabe26ecac8a1787
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/237411

5 years agoarm: tegra: refactor Tegra11x leakage and dynamic model
Diwakar Tundlam [Wed, 15 May 2013 21:37:48 +0000]
arm: tegra: refactor Tegra11x leakage and dynamic model

Move t11x leakage parameters to tegra11_edp.c file.
Allow scaling factors to be defined per chip type.

Bug 1304350

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