6 years agovideo: tegra: dc: always dump active registers
Jon Mayo [Mon, 13 May 2013 19:22:07 +0000]
video: tegra: dc: always dump active registers

Always dump active registers instead of whatever mode was chosen on the
previous flip.

Change-Id: I368be06216b4fc1c1f317d3d9cda262ee728203e
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/228068
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agovideo: tegra: dc: disable irq when overriding hpd
Jon Mayo [Wed, 8 May 2013 00:30:22 +0000]
video: tegra: dc: disable irq when overriding hpd

Disable the GPIO IRQ when overriding hotplug detect.

Change-Id: I7910cc3c32b6a50752eaafb837f8b3527834a150
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/228067
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agotegra: dc: hdmi: don't call tegra_dc_hpd in spinlock
Jon Mayo [Wed, 8 May 2013 01:10:11 +0000]
tegra: dc: hdmi: don't call tegra_dc_hpd in spinlock

Avoid calling gpio_get_value_cansleep() inside a held spinlock.

Change-Id: If0250a7a275cd8ad96de62432c83e0b948b359fd
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/226458
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
(cherry picked from commit 946e53410468dafd92b6ccb313dba1bb1b72d04d)
Reviewed-on: http://git-master/r/228058
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>

6 years agotegra: dc: don't call tegra_dc_hpd in atomic context
Alexandre Courbot [Thu, 4 Apr 2013 18:37:16 +0000]
tegra: dc: don't call tegra_dc_hpd in atomic context

tegra_dc_hpd(), which uses gpio_get_value_cansleep(), is called from
tegra_dc_hdmi_resume() in atomic context. Move this call outside of the
atomic context to avoid potential lockup.

Change-Id: I983e58724727803c67a4145e11630746aff86a52
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-on: http://git-master/r/216593
(cherry picked from commit 65e0b90df3d17ae6d97234f61d1a4b4624d88feb)
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/228057
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>

6 years agoARM: tegra14: clock: Add interface to set G CPU idle rate
Alex Frid [Sun, 12 May 2013 01:16:19 +0000]
ARM: tegra14: clock: Add interface to set G CPU idle rate

Added interface to set fast CPU idle rate by direct (i.e., underneath
cpufreq governor) DFLL rate control. This interface is not used by cpu
idle governor, yet.

Change-Id: I5df4bcffba6215b877f93a9349a1077dbe39b5d4
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/227748
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: pluto: update unaligned_dma_buf_support properly
Rohith Seelaboyina [Tue, 30 Apr 2013 10:31:11 +0000]
ARM: tegra: pluto: update unaligned_dma_buf_support properly

update unaligned_dma_buf_support properly

Bug 1235943

Change-Id: I215b16a41af121b7cdc82188875f5052d5b473d7
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/224201
(cherry picked from commit bb74f063d59497a37d3eacc27deaf2dfe7a35d5c)
Reviewed-on: http://git-master/r/226995
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: camera: refactor isomgr interface
Jihoon Bang [Wed, 8 May 2013 16:26:44 +0000]
video: tegra: camera: refactor isomgr interface

Reduce #ifdef code by defining null function in function
defintion. This will increase readability of code.

Bug 1275691

Change-Id: If534566d0e84542f637fd38817cff66de120a9c4
Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-on: http://git-master/r/226752
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agovideo: tegra: host: add interrupt resource to vi
Jihoon Bang [Tue, 7 May 2013 16:04:30 +0000]
video: tegra: host: add interrupt resource to vi

Add interrupt resource to vi.

Bug 1275691

Change-Id: I111b6650b4856123721879855940f2770e7bcf84
Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-on: http://git-master/r/226279
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agobacklight: max8831: Change brightness setting under System EDP constraints
Daniel Solomon [Wed, 24 Apr 2013 22:59:23 +0000]
backlight: max8831: Change brightness setting under System EDP constraints

Change backlight setting behavior to the following:
1) Compare requested brightness with available EDP states
2) Request the next higher EDP state from EDP manager
3) Set brightness to min(requested brightness, approved brightness)

Bug 1276795

Change-Id: I77ddc2f74bcd3e848bb8d4df59f524f871db7557
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/222671
(cherry picked from commit 5a3e41592a9e41b9992f2f80437d7b7195f0fe24)
Reviewed-on: http://git-master/r/226777
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Karthik Ramakrishnan <karthikr@nvidia.com>
Tested-by: Karthik Ramakrishnan <karthikr@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: Tegra: Dalmore: Fix Shifting in dalmore_wakeup_key
Graziano Misuraca [Thu, 14 Mar 2013 22:07:23 +0000]
ARM: Tegra: Dalmore: Fix Shifting in dalmore_wakeup_key

The correct wakes were not being detected due to an issue
in shifting by values greater than 32.

dalmore_wakeup_key will now correctly determine which GPIO
caused the WAKE.

Bug 1248964

Change-Id: Ib5f4482d6eba863c6ca71ba637832677c195177a
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-on: http://git-master/r/209705
(cherry picked from commit e48e943cfcc331a53a33806cad112f18a08f57f7)
Reviewed-on: http://git-master/r/226431
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@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
(cherry picked from commit f6d72cf0daa3f9ddf008190d92d15d52f9fe2e86)
Reviewed-on: http://git-master/r/226428
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Karthik Ramakrishnan <karthikr@nvidia.com>
Tested-by: Karthik Ramakrishnan <karthikr@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@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
(cherry picked from commit 67a68e462b6754dd67e15ceb7312ff51abcc4ead)
Reviewed-on: http://git-master/r/226425
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agostaging: nvshm: add RPC proxy for EDP/ISO requests
Hervé Fache [Mon, 29 Apr 2013 16:21:16 +0000]
staging: nvshm: add RPC proxy for EDP/ISO requests

Bug 1282925

Change-Id: Id2039c3dc60bdd0c67682eb8f3d33519d57fc9d1
Signed-off-by: Hervé Fache <hfache@nvidia.com>
Reviewed-on: http://git-master/r/223911
Reviewed-by: Neil Patel <neilp@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-by: Peter Hsiang <phsiang@nvidia.com>

6 years agoARM: tegra11: clock: Add host1x shared bus
Alex Frid [Sat, 4 May 2013 03:08:12 +0000]
ARM: tegra11: clock: Add host1x shared bus

Change-Id: I01a49d7e810cd659be58a10afa5e7a95356df0a6
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/225465
(cherry picked from commit ae7029cabbe99ac0f0669127699144885355ea19)
Reviewed-on: http://git-master/r/227747
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra: dvfs: Shadow CL-DVFS output range limits
Alex Frid [Wed, 8 May 2013 01:00:27 +0000]
ARM: tegra: dvfs: Shadow CL-DVFS output range limits

Currently CL-DVFS driver is compiled with CL_DVFS_DYNAMIC_OUTPUT_CFG
macro not set, as h/w does not allow dynamic change of output control
register. To restrict output voltage range, CL-DVFS LUT is dynamically
reloaded, and lut_min/lut_max fields of CL-DVFS object structure are
used to store effective limits.

In case when output register update is supported in h/w, there will
be no need to reload LUT, and CL_DVFS_DYNAMIC_OUTPUT_CFG macro will
be set. This commit has modified sections of the code that are pulled
in by setting CL_DVFS_DYNAMIC_OUTPUT_CFG macro, so that lut_min and
lut_max fields still shadow output limits in this case as well.

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

6 years agoARM: tegra: dvfs: Add CL-DVFS platform flags
Alex Frid [Fri, 10 May 2013 02:28:32 +0000]
ARM: tegra: dvfs: Add CL-DVFS platform flags

Added flags entry to CL-DVFS platform data, and convert boolean I2C
output configuration entry into flag.

Change-Id: I22057e8e46d9c7db8737b78b6e2d3182ed9a9f15
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/227277
(cherry picked from commit 32007753c4f09239e4f8b809ccd9274047677f49)
Reviewed-on: http://git-master/r/227744
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra11: dvfs: Set maximum CPU voltage to 1.32V
Alex Frid [Thu, 9 May 2013 03:57:45 +0000]
ARM: tegra11: dvfs: Set maximum CPU voltage to 1.32V

Bug 1161126

Change-Id: Ib48def197e56e1cd243b869b40896e5aefffb4c0
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/226945
(cherry picked from commit f4fe2faa9567f5ce4167d22e37fe9691c73e304e)
Reviewed-on: http://git-master/r/227743
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra11: Add T40DC sku support
Alex Frid [Thu, 9 May 2013 04:35:33 +0000]
ARM: tegra11: Add T40DC sku support

Bug 1161126

Change-Id: Ib44d824092e79725312eb519bf8ec187ff2f02dc
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/226946
(cherry picked from commit 44ae2c743f1ea528dc5c968f745722046a7c4a02)
Reviewed-on: http://git-master/r/227742
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra: clock: Set EMC auto-cal interval from table
Alex Frid [Fri, 3 May 2013 00:58:08 +0000]
ARM: tegra: clock: Set EMC auto-cal interval from table

For EMC DVFS tables starting with rev 4.2 set auto-cal interval from
table after clock change.

Bug 1259352

Change-Id: Id9608278832cfe0895cf4172ae480f3d0eb8e347
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/225067
(cherry picked from commit 958cb7c77f08f7bb55f8e289594e06e158c33ffe)
Reviewed-on: http://git-master/r/227741
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agopower: bq2419x: Disable charger driver if battery absent
Darbha Sriharsha [Thu, 9 May 2013 05:32:50 +0000]
power: bq2419x: Disable charger driver if battery absent

Selectively enable/disable palmas bq24192 charger driver
depending on whether battery is connected or ac adapter
is connected

Bug 1240031

Change-Id: I36e1b281f6700087a971ce61aacad9780f117617
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/226939
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agopower: palmas: Disable fuel gauge driver if battery absent
Darbha Sriharsha [Thu, 9 May 2013 04:28:23 +0000]
power: palmas: Disable fuel gauge driver if battery absent

Selectively enable/disable palmas fuel gauge driver
depending on whether battery is connected or ac adapter
is connected

Bug 1240031

Change-Id: Idfe5e2df0cc1da7b45d54714e574eea85dbfea14
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/226923
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoextcon: max77665: add wakeup support
Laxman Dewangan [Fri, 19 Apr 2013 14:42:50 +0000]
extcon: max77665: add wakeup support

Add wakeup capability on the USB plugin/plugout.
The wakeup functionality can be choose through
sysfs interface.

bug 1272636

Change-Id: I04c6114ad36ac64e6d64aa86163cb809e1422eea
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/221070
(Cherrypicked commit from 82f215ae1f99a14cd879769946778a9fca807fef)
Reviewed-on: http://git-master/r/226740

6 years agoARM: tegra114: wakeup: enable Wake15 and Wake52
Laxman Dewangan [Fri, 19 Apr 2013 14:40:54 +0000]
ARM: tegra114: wakeup: enable Wake15 and Wake52

Add GPIO entry for the wake15 as GPIO_PJ2, wake52 as GPIO_PEE3 and
change the wake_to_irq() table for wake15 to INT_EDP as this is
interrupt for EDP.

bug 1272636

Change-Id: I186b045cc890956ad72e02c88f1b2ce9a608393e
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/221069
(Cherrypicked commit 2d5135a6bf403aa73b5cbb73ff6f4fe750455756)
Reviewed-on: http://git-master/r/226739
Reviewed-by: Automatic_Commit_Validation_User

6 years agoarm: tegra: soctherm: add support for wakeup from suspend
Laxman Dewangan [Wed, 8 May 2013 15:59:01 +0000]
arm: tegra: soctherm:  add support for wakeup from suspend

SocTherm have multiple inputs like OC1, OC2 etc and it supports
interrupt to the device through this input line.

Adding the wakeup support for these interrupt supported by the
soctherm.

The wakeup source on wakeup table is initailized through the gpio
of these pins.

bug 1272636

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Change-Id: If30d74454fd706056043bea7269b5f6357465321
Reviewed-on: http://git-master/r/221068
(Cherrypicked commit 97e9c06b1b2d358be55daa4dece05892fa28b9de)
Reviewed-on: http://git-master/r/226738
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra14: clock: Add reset propagation delays
Alex Frid [Sun, 5 May 2013 22:01:17 +0000]
ARM: tegra14: clock: Add reset propagation delays

Added explicit reset propagation delay in resume procedure.
(Ported from commit 5d78cccb04fede95c6c1b9f90bea17da01314c6d)

Change-Id: I25b8e124599a177691cff3c868909bff382e5373
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/225524
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: bbc: Add kernel support for EDP/ISO requests
Neil Patel [Wed, 1 May 2013 02:15:06 +0000]
ARM: tegra: bbc: Add kernel support for EDP/ISO requests

Add support for making EDP and ISO requests on behalf of the BBC from
within the kernel. This will be used by the BBC via the NVSHM RPC
mechanism to reduce request latency.

Bug 1282925

Change-Id: I97319be46f55f33a03b4035ef380d62f7cb2dbff
Signed-off-by: Neil Patel <neilp@nvidia.com>
Reviewed-on: http://git-master/r/224470
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Herve Fache <hfache@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Herve Fache <hfache@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>

6 years agomedia: video: tegra: add DW9718 focuser
Frank Chen [Thu, 27 Dec 2012 23:28:27 +0000]
media: video: tegra: add DW9718 focuser

Add driver support for dw9718 focuser.

Bug 1250073

Change-Id: I313ef751d15f14cce4b5aef299f31f53c38f8114
Signed-off-by: Frank Chen <frankc@nvidia.com>
Signed-off-by: David Schalig <dschalig@nvidia.com>
Reviewed-on: http://git-master/r/210061
(cherry picked from commit 548ccc56539bc9eb80a670477cd6c7f73df1d420)
Reviewed-on: http://git-master/r/227895
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agommc: tegra: Register carddetect_irq after add host
Naveen Kumar Arepalli [Mon, 13 May 2013 04:21:40 +0000]
mmc: tegra: Register carddetect_irq after add host

Register carddetect_irq handler after sdhci_add_host
as carddetect tasklet is initialised in sdhci_add_host
function.

Bug 1263268

Change-Id: Id2cf9b9ce86303de0d08ce611f6cec273bf0f3b0
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/227789
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agomisc: tegra-throughput: move fps node to sysfs
Ilan Aelion [Mon, 6 May 2013 23:06:29 +0000]
misc: tegra-throughput: move fps node to sysfs

Move node from debugfs to

    /sys/devices/virtual/misc/tegra-throughput/fps

Bug 1276548

Change-Id: I1a73f99922712e59d46fddc76707934fdd944de6
Signed-off-by: Ilan Aelion <iaelion@nvidia.com>
Reviewed-on: http://git-master/r/225902
(cherry picked from commit 7ec9674a81cda32c888f35d9d7fbb3ec99d43b4b)
Reviewed-on: http://git-master/r/227496
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoHACK: ARM: tegra: Add misc device to IOMMU fixup table
Sharad Gupta [Mon, 22 Apr 2013 13:46:49 +0000]
HACK: ARM: tegra: Add misc device to IOMMU fixup table

Added a dummy device to the fixup table when IOMMU is enabled.
Implemented APIs to add (and remove) a misc device to the IOMMU
fixup table dynamically by replacing the dummy device. This is
required to provide IO access to a misc device.

Bug 1264712

Change-Id: I06db08950f8bf682bddbe17aa606af59b4b3a74a
Signed-off-by: Sharad Gupta <sharadg@nvidia.com>
Reviewed-on: http://git-master/r/220933
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra14: add sys EDP capping clocks
Sivaram Nair [Fri, 10 May 2013 10:20:07 +0000]
ARM: tegra14: add sys EDP capping clocks

Clocks to cap EMC and C2BUS freqs are added as shared clocks with
ceiling.

Bug 1266730

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

6 years agopower: max17048: add OCV sysfs attrb
Sivaram Nair [Wed, 8 May 2013 12:36:23 +0000]
power: max17048: add OCV sysfs attrb

Adding POWER_SUPPLY_PROP_VOLTAGE_OCV to the sysfs attr list

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

6 years agoarm: tegra: macallan: enable dvdd of camera
Hunk Lin [Mon, 6 May 2013 13:54:51 +0000]
arm: tegra: macallan: enable dvdd of camera

As we are going to change the dvdd of camera to ldo4. So enable regulator
control in the board.

Bug 1280145

Change-Id: Ie4af9637507ff80bb170700727aea69773a863b0
Signed-off-by: Hunk Lin <hulin@nvidia.com>
Reviewed-on: http://git-master/r/225710
(cherry picked from commit 84a4bd9da0f6b4322892dee2c8a87eceaf91cf64)
Reviewed-on: http://git-master/r/226958
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoregulator:palmas increase delay when ES2.1 or lower
Philip Rakity [Fri, 26 Apr 2013 10:57:42 +0000]
regulator:palmas increase delay when ES2.1 or lower

code needs to decrease ramp delay so we get a longer
delay.  numerator and divisor need to be reversed

Change-Id: I84ec995e0235e482bb0fe42cadb1864353ff7655
Signed-off-by: Philip Rakity <prakity@nvidia.com>
(cherry picked from commit 2491fa7b5264dc7117a7d245972475d4de7f9356)
Reviewed-on: http://git-master/r/224576
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agommc: host: Add support for EDP
rrajk [Fri, 5 Apr 2013 09:35:03 +0000]
mmc: host: Add support for EDP

Added EDP support for eMMC/micro SD

Bug 1160688

Change-Id: I4957c81fd05e7652526e67f78d1832ba6eb94789
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/216868
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoarm: boot: dts: Add EDP support data
rrajk [Fri, 5 Apr 2013 09:33:10 +0000]
arm: boot: dts: Add EDP support data

Added EDP support data in t114 pluto device tree

Bug 1160688

Change-Id: I575b567596692fd55ddc71fae7b51ae7dcaf11d3
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/216867
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agoarm: tegra: sdhci: Add EDP support platform data
rrajk [Fri, 5 Apr 2013 09:32:11 +0000]
arm: tegra: sdhci: Add EDP support platform data

Added platform data for eMMC/microSD to support EDP

Bug 1160688

Change-Id: I74fa1426e50709a5d0aece283ff138849bec4a33
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/216866
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoarm: tegra: remove __initdata keyword for bl_device's
Krishna Reddy [Wed, 8 May 2013 04:06:36 +0000]
arm: tegra: remove __initdata keyword for bl_device's

This device is accessed even after init section is removed.
This device can't be declared with  __initdata.
Bug 1247591

Change-Id: I04bd27dc73ca1305b5efe91a43b7ffda6b2ee042
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/226517
(cherry picked from commit d30287cff217957a46600e270cd3c4a8cc84cb7b)
Reviewed-on: http://git-master/r/227568
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoregulator: max77660: program VSR after DVFS_EN is set
Neil Patel [Fri, 10 May 2013 17:31:30 +0000]
regulator: max77660: program VSR after DVFS_EN is set

Program VSR after DVFS is enabled to avoid VSR being reset to its
default value.

Bug 1257234

Change-Id: Ie42f9f24d83aa88958ac152e097d9dc7c87b80da
Signed-off-by: Neil Patel <neilp@nvidia.com>
Reviewed-on: http://git-master/r/227529
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agostaging: pasr: enable pasr debugfs entry
Prashant Gaikwad [Fri, 10 May 2013 06:44:13 +0000]
staging: pasr: enable pasr debugfs entry

Make debugfs entry for PASR meminfo dependent on
CONFIG_DEBUG_FS instead of it's own config.
We want debugfs entry but not the debug prints. Prints
are dependent on it's own debug config.

Bug 1201663
Bug 1033159

Change-Id: Ia391c1e21b41f790162cf161985c470623ba94ea
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-on: http://git-master/r/227320
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agostaging: pasr: fix address overflow
Prashant Gaikwad [Fri, 10 May 2013 06:32:57 +0000]
staging: pasr: fix address overflow

Bug 1201663
Bug 1033157

Change-Id: I51b49ec73ff1eaee3b113bb5b3e2ff59838f3ee3
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-on: http://git-master/r/227316
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra14: edp: Populate initial core EDP data
Prashant Malani [Thu, 9 May 2013 22:41:58 +0000]
ARM: tegra14: edp: Populate initial core EDP data

Create T148 versions of chip specific core EDP
files, and fill in initial values.

Core EDP capping is currently disabled. Can be
enabled by modifying macro in tegra14_edp.c

Bug 1278124

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

6 years agoconfig: tegra11: mount devtmpfs before init
Mursalin Akon [Thu, 9 May 2013 17:09:40 +0000]
config: tegra11: mount devtmpfs before init

Without enabling mounting devtmpfs before init
from RFS, there is around 20 sec extra delay.

Bug 1286851

Change-Id: I75e8116fbb58de181646270c6a8451fe7cd470fa
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/227096
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoarm: tegra: isomgr: use bw clock node for bbc
Krishna Reddy [Thu, 9 May 2013 00:01:59 +0000]
arm: tegra: isomgr: use bw clock node for bbc

Change-Id: I1decb917da7e23d0d1879ea0f8d0cc9d07e2933c
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/226858
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Vinayak Pane <vpane@nvidia.com>

6 years agoarm: tegra14: clocks: add new emc clock nodes for bbc
Krishna Reddy [Wed, 8 May 2013 23:51:20 +0000]
arm: tegra14: clocks: add new emc clock nodes for bbc

Add new emc clock nodes for bbc for bw and floor freq requests.

Change-Id: I0e6ffd9a95293b4cf7c206b0e2a10843929ac6e1
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/226852
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>

6 years agoarm: tegra14x: bb: increase emc floor for bbc
Vinayak Pane [Wed, 8 May 2013 00:03:09 +0000]
arm: tegra14x: bb: increase emc floor for bbc

BBC crash is observed with low memory floor. Increase the
emc floor to be at 600Mhz at least.

Bug 1283678

Change-Id: Ic364d91d8364205e422e63f9e65e110580abb120
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/226462
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Neil Patel <neilp@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>

6 years agoARM: tegra: emc: Remove auto-refresh toggling for T148
Alex Waterman [Tue, 7 May 2013 19:20:59 +0000]
ARM: tegra: emc: Remove auto-refresh toggling for T148

Disabling auto refresh in the clock change was causing the system to
hang during LP1 exit. By not touching the auto-refresh controls,
auto-refresh stays on during the clock change and does not cause the
system to hang.

bug 1217312
bug 1252872

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

6 years agoARM: tegra: emc: Add errata for bootrom patch
Alex Waterman [Tue, 16 Apr 2013 19:11:22 +0000]
ARM: tegra: emc: Add errata for bootrom patch

The bootrom patch for the DLL WAR requires a couple of registers
to be restored before any clock changes or periodic recalibration
of the DLL occurs. This patch adds an errata and the corrospending
change.

Change-Id: I291895d0bfbfd415788cbc413d522e4909272f89
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/221723
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra: emc: Add DLL prelocking sequence
Alex Waterman [Tue, 15 Jan 2013 00:19:31 +0000]
ARM: tegra: emc: Add DLL prelocking sequence

Add the new DLL prelocking sequence to the EMC clock change
sequence.

The basic idea is to first compute the lock with the DLL clock
running, then disable the clock, re-run the state machine logic,
and only then sample the DLL output value.

This sequence also takes into account the missing clock source field
in the DLL clock source register. For prelocking purposes it is
possible to use pllc_out0 in the case of pllc_ud.

bug 1217312
bug 1252872
bug 1240582

Change-Id: I80cbb38e3b667531ea65f67aba1c37e84f8e93f7
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/206106
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agopower: max77665: fix temperature reading
Xin Xie [Wed, 17 Apr 2013 21:33:17 +0000]
power: max77665: fix temperature reading

We are using 0xFF as error code for temperature reading, but 0xFF is also
25.5c which is a legal temperature reading.

Fix this issue by using dedicated error code return value.

bug 1236790

Change-Id: Ic0be2909ec10ce5763f77dc6ec30a7c6bc5d9d03
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/220786
(cherry picked from commit 533655ced3011c4c4176217967cb0f2adcfd56cc)
Reviewed-on: http://git-master/r/224443
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agopower: max77665: enable high current charging
Xin Xie [Fri, 12 Apr 2013 00:16:44 +0000]
power: max77665: enable high current charging

This patch enables the high power charging (>500mA) on max77665.

Not all of wall charger or CDP port can support 1.5A charging. We need
dynamically detect the charger current capability in order to have the
maximum output efficiency. This can be done by detect max77665 is in the
'regulation loop' mode.

During the high power charging, VBUS out can get cut off if input VBUS
is below VCHIN_UVLO, and AP wll turn off the charging. We will detect
this condition and only turn off the charging when USB cable is indeed
unplugged.

bug 1236790
bug 1272664

Change-Id: I1a23d3e2bba066a48dc392055d7347bab956dda0
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/220785
(cherry picked from commit ebc132f810b295951f5aad0b0b271000dffb0164)
Reviewed-on: http://git-master/r/224442
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agonet: wireless: bcm4335: increase delay to avoid cmdTimeout
Om Prakash Singh [Mon, 29 Apr 2013 16:23:57 +0000]
net: wireless: bcm4335: increase delay to avoid cmdTimeout

increase delay before reading SBSDIO_FUNC1_SLEEPCSR
to wake sdio bus

Bug 1274359

Change-Id: I54c1bf199e2fe309d55ae52f0156c497b0c90144
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/223916
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agomfd: palmas: pwm dvfs support for smps3
Neil Patel [Thu, 28 Mar 2013 20:51:32 +0000]
mfd: palmas: pwm dvfs support for smps3

Bug 1257234

Change-Id: I55f0e9ab612e7ebcfed732cc233f026731972ad1
Signed-off-by: Neil Patel <neilp@nvidia.com>
Reviewed-on: http://git-master/r/214151
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: tegra: power: remove all sd dpd entries
rrajk [Thu, 9 May 2013 12:29:09 +0000]
ARM: tegra: power: remove all sd dpd entries

Bug 1191332

Change-Id: I270e808b8d561afee304550c9cd3564af924085b
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/227046
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agommc: host: tegra: Remove runtime DPD support in SD
rrajk [Thu, 9 May 2013 12:27:21 +0000]
mmc: host: tegra: Remove runtime DPD support in SD

Removed runtime DPD configuration support from SD driver.

Bug 1191332

Change-Id: I389ca46a302e30556d2823709a46816a582c26e4
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/227045
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: macallan: correct GMI pinmux to save power in LP0
tony liu [Thu, 21 Mar 2013 06:26:38 +0000]
arm: tegra: macallan: correct GMI pinmux to save power in LP0

GMI_AD7,GMI_CS1*,GMI_CS2*,GMI_CS7*: disbale PULL_UP in LP0
GMI_CS4*: disable the PULL_UP
GMI_AD12: correct it from input to output pin and remove the PULL_UP
GMI_DQS,GMI_WP: move to unused pin group

Bug 1254955

Change-Id: I45bcd4cd39a35c5a76aca262dbf48b6c19cb3c2c
Reviewed-on: http://git-master/r/211527
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
(cherry picked from commit f936df368735a48683cb5c7d4a0915d0c95d0918)

Signed-off-by: Tony Liu <tonliu@nvidia.com>
Change-Id: Ic75fadf09ea0d670eb45b2df99440d45fbc4fe70
Reviewed-on: http://git-master/r/227014
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agovideo: tegra: host: Show actmon load in sysfs
Arto Merilainen [Mon, 6 May 2013 13:31:26 +0000]
video: tegra: host: Show actmon load in sysfs

This patch adds a sysfs node for showing the current normalised
actmon value.

Bug 1282779

Change-Id: I02316b69b49d178c8b434b9ec1b40ae3994d6adb
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/225701
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Simo Melenius <smelenius@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoarm: tegra: ceres: update avdd_lcd_ext for LG panel
Vineel Kumar Reddy Kovvuri [Tue, 23 Apr 2013 10:29:01 +0000]
arm: tegra: ceres: update avdd_lcd_ext for LG panel

removed the use of avvd_lcd_ext regular and enabled
avdd_lcd regulator for LG panel

Bug 1229385

Change-Id: Id49b2aa0c5abf1cd2b3bf83dae629155f8b80376
Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
Reviewed-on: http://git-master/r/222034
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agommc: add edp states supported data
rrajk [Fri, 5 Apr 2013 09:30:36 +0000]
mmc: add edp states supported data

Added edp support in mmc.

Bug 1160688

Change-Id: I1d34d9b483ba7b20717bc4017df01e8b442d696a
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/216865
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: Add support to parse display-config
Pradeep Goudagunta [Thu, 7 Mar 2013 07:29:20 +0000]
ARM: tegra: Add support to parse display-config

Add support to parse display-config from linux command line. Which
is used to configure avdd_lcd line and other settings.

Bug 1229385

Change-Id: I08d2ae9e3aa2e43816aeab1a4043abd358b838a8
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/207442
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: macallan: register fuel gauge for E1569
Kerwin Wan [Thu, 25 Apr 2013 12:07:54 +0000]
arm: tegra: macallan: register fuel gauge for E1569

Remove the unused fuel gauge and register fuel gauge for E1569.
Fuel gauge on macallan E1545 will not be supported.

Bug 1278416

Reviewed-on: http://git-master/r/218568
(cherry picked from commit 376107f520d02ac4d3ce42cc9c12da518a522e68)

Change-Id: I794efd5ecc24a1f3c1a5837fb78bd431e0cb30d1
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/227062
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: tegra: macallan: Pass nominal core voltage
Kerwin Wan [Thu, 14 Mar 2013 02:34:52 +0000]
ARM: tegra: macallan: Pass nominal core voltage

Pass nominal core voltage value through mmc platform data to be used
for setting core voltage constraints during tuning.
Set sdmmc4 clk limit to 156MHz for HS200 mode.

Bug 1167519
Bug 1225343

Reviewed-on: http://git-master/r/209379
(cherry picked from commit 17cc8b40e9834d63337c26193f2ca53dde9333ca)

Change-Id: I88f3ee110cab8e22a23c9f6d51f1889c02e5ada2
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/227061
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoARM: tegra: macallan: Mask UHS Modes for SDMMC1, SDMMC3
Kerwin Wan [Thu, 9 May 2013 12:29:41 +0000]
ARM: tegra: macallan: Mask UHS Modes for SDMMC1, SDMMC3

Bug 1189241

Reviewed-on: http://git-master/r/209425
(cherry picked from commit 9d2ab36f0e2ce2670f59274a9862127620797e55)

Change-Id: I57f3a47bfca434b787f2968b37b314073c413ef6
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/227060
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoARM: tegra: macallan: vdd_core consumers for sdmmc
Kerwin Wan [Thu, 14 Mar 2013 02:27:04 +0000]
ARM: tegra: macallan: vdd_core consumers for sdmmc

Adding vdd_core regulators for sdmmc1 and sdmmc4 to be used for
setting core voltage constraints during frequency tuning.

Bug 1167519
Bug 1225343

Reviewed-on: http://git-master/r/209378
(cherry picked from commit bfcb156c49487acd9e2140043c4019d455c12337)

Change-Id: Id7f480040475821343f72fa9919736517580ad45
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/227059
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: tegra: enabling EDP_FRAMEWORK for macallan
Sivaram Nair [Mon, 6 May 2013 11:22:42 +0000]
ARM: tegra: enabling EDP_FRAMEWORK for macallan

Bug 1274376

Change-Id: Ia5ed7ec241b9dbae2e4265f1f84eef32b8ffa5b8
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/226233
(cherry picked from commit d836c7bd3c6f26e15ac80429238274a940a1412f)
Reviewed-on: http://git-master/r/226673
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoARM: tegra: add macallan psy_depletion board data
Sivaram Nair [Mon, 6 May 2013 11:24:13 +0000]
ARM: tegra: add macallan psy_depletion board data

Bug 1274376

Change-Id: I9e1245682dc8b43cc7350da65949e75c34b2a945
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/226232
(cherry picked from commit cd0fdcf3a8c40d2d27b34e3fb123f3fd4c687066)
Reviewed-on: http://git-master/r/226672
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agopower: max17048: add ocv reading
Sivaram Nair [Mon, 6 May 2013 10:11:05 +0000]
power: max17048: add ocv reading

Bug 1274376

Change-Id: I14ec322b0a51dd8eb7c68af47c1e7e52408ce483
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/226231
(cherry picked from commit b7ce7e6bd757ced36e553a998c3ab635eaf1da69)
Reviewed-on: http://git-master/r/226671
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoARM: tegra: adding macallan core client
Sivaram Nair [Mon, 6 May 2013 08:57:29 +0000]
ARM: tegra: adding macallan core client

Bug 1274376

Change-Id: I20c03a59b7e5b17b102e27b757c51cc1a13d5924
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/226230
(cherry picked from commit 08344df738df453ada1728238c6727f7228ad35a)
Reviewed-on: http://git-master/r/226670
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: tegra: add macallan sysedp manager
Sivaram Nair [Thu, 2 May 2013 13:00:11 +0000]
ARM: tegra: add macallan sysedp manager

Bug 1274376

Change-Id: Ic9347972b4d843935747d9e6be05bb937a1e1dcd
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/226229
(cherry picked from commit 07814f207edf7641263126316b95a04303a576b9)
Reviewed-on: http://git-master/r/226669
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: tegra: pluto: adding psy_depletion board data
Sivaram Nair [Fri, 26 Apr 2013 09:27:18 +0000]
ARM: tegra: pluto: adding psy_depletion board data

Bug 1274376

Change-Id: Ib47c50b530e5a15c9679e81b33e121836edc5eca
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/226228
(cherry picked from commit adb9ad0a2af4e2d00c1809a46d31b105752f9080)
Reviewed-on: http://git-master/r/226668
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoEDP: adding power-supply depletion driver
Sivaram Nair [Fri, 26 Apr 2013 06:36:17 +0000]
EDP: adding power-supply depletion driver

Power-supply depletion driver.

Bug 1274376

Change-Id: I1e18db9bb06a18bb1cc6446fe36ce8422bae67cf
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/226227
(cherry picked from commit d58d93daa615663ef9fe72c58357ec103a84803a)
Reviewed-on: http://git-master/r/226667
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agopower:max17042: remove battery depletion code
Sivaram Nair [Fri, 26 Apr 2013 12:09:10 +0000]
power:max17042: remove battery depletion code

Moving this into a separate drive

Bug 1274376

Change-Id: Ib9633968aa1b8a10e638b77448916a8384968490
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/226226
(cherry picked from commit 57097947dea3bb260dbac74c0d6e36f4a22d6df8)
Reviewed-on: http://git-master/r/226666
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: tegra: pluto: remove battery depletion data
Sivaram Nair [Fri, 26 Apr 2013 12:03:27 +0000]
ARM: tegra: pluto: remove battery depletion data

This will be replaced with the new common power-supply depletion
device's platform data

Bug 1274376

Change-Id: I375620d6e50ef8ae4390455eca066e37b8d1de2d
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/226225
(cherry picked from commit 9452d801600bbb8737159e668751b80f276eabd7)
Reviewed-on: http://git-master/r/226665
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoARM: tegra: pluto: restructuring system EDP code
Sivaram Nair [Mon, 6 May 2013 08:21:55 +0000]
ARM: tegra: pluto: restructuring system EDP code

Moving system EDP functions to board-pluto-power.c

Bug 1274376

Change-Id: I38aa90420026e89be8f8bb92f4f4bbc26a211c5f
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/226224
(cherry picked from commit 74683030f75653a9263e9bbcf9c03d231445a823)
Reviewed-on: http://git-master/r/226664
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoEDP: cosmetic restructuring
Sivaram Nair [Thu, 25 Apr 2013 08:35:59 +0000]
EDP: cosmetic restructuring

Renaming files to align with next set of changes

Bug 1274376

Change-Id: I3f8984f29165fcdd245b9ee8fb7499cc876b3fd6
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/226223
(cherry picked from commit a4d3a78af74e2a92e29d75e0b300ddbd64f66cbf)
Reviewed-on: http://git-master/r/226663
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoARM: tegra: pluto: reduce system EDP cap to 14W
Sivaram Nair [Fri, 3 May 2013 17:48:04 +0000]
ARM: tegra: pluto: reduce system EDP cap to 14W

System failures are still noticed at 15W, so reduce the cap to 14W.

Bug 1275210

Change-Id: Ideba08004ee9b8024d1412abc38aaff696e2612b
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/225314
(cherry picked from commit 05df31eb057b36c74138c0222966c9fb6d8b9034)
Reviewed-on: http://git-master/r/226662
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agomedia: video: tegra: add imx135 HDR sensor
Ming Wong [Sat, 17 Nov 2012 01:34:31 +0000]
media: video: tegra: add imx135 HDR sensor

Added driver support for imx135 HDR sensor.

Bug 1258119

Change-Id: Ic8cb7edbc30c4aed4f8665826df8b226731332bc
Signed-off-by: Frank Chen <frankc@nvidia.com>
Signed-off-by: Ming Wong <miwong@nvidia.com>
Reviewed-on: http://git-master/r/224986
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agovideo: tegra: dc: fix blend update and query
Michael Frydrych [Thu, 2 May 2013 12:18:41 +0000]
video: tegra: dc: fix blend update and query

Blending update needs to be requested for all windows
so that both the parallel and sequential blending state
are updated when the dc is re-enabled.

When querying blending features, query each window
only once.

Change-Id: I4f0abb56a2e704d540828d74e8ac170888f912a7
Signed-off-by: Michael Frydrych <mfrydrych@nvidia.com>
Reviewed-on: http://git-master/r/226183
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agoinput: misc: cm3217: Add cm3217 device tree support
Joshua Cha [Wed, 27 Mar 2013 08:49:18 +0000]
input: misc: cm3217: Add cm3217 device tree support

Add device tree based initialization support for Capella cm3217 light sensor.

Bug 1173064
Bug 1260291

Change-Id: Ib3a6b3cf988b3a52dec57b53b28cc2b403baedb0
Signed-off-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-on: http://git-master/r/214930
(cherry picked from commit 981322cf0afccf45f3d43c8b8849f2de8f2dc2a7)
Reviewed-on: http://git-master/r/226170
GVS: Gerrit_Virtual_Submit
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

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
(cherry picked from commit eb1a6c5089acadb5d2d16b3fd934419aee94649c)
Reviewed-on: http://git-master/r/218587
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoasoc: tegra: max97236: headphone amplifier driver
Dara Ramesh [Thu, 9 May 2013 10:57:14 +0000]
asoc: tegra: max97236: headphone amplifier driver

updated max97236 driver, revision 0.00.0328.

Change-Id: Ia09aa78780a55c06db1570f5052061fdc39fbcb2
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/227028
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

6 years agoregulator: palmas: add support for tracking mode
Laxman Dewangan [Thu, 9 May 2013 08:33:02 +0000]
regulator: palmas: add support for tracking mode

Palma device TPS80036 has LDO5 which support bypass mode
with different SMPS. Add support for this.

bug 1273251

Change-Id: I138b2e25224cfbe4021093bd51eb4ccc224f9746
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/226985
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoaudio: a2220: disable and release clk when probe failed
Eric Miao [Fri, 19 Apr 2013 05:26:28 +0000]
audio: a2220: disable and release clk when probe failed

bug 1271568

Change-Id: I49af42385ffced98b358861850bf88d739cb2dcd
Signed-off-by: Eric Miao <emiao@nvidia.com>
Reviewed-on: http://git-master/r/220895
(cherry picked from commit 6233531f2361d78180a185c00b6ad691c17fc875)
Reviewed-on: http://git-master/r/226882
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agommc: tegra: Dynamic frequency calculation
Pavan Kunapuli [Wed, 8 May 2013 03:40:28 +0000]
mmc: tegra: Dynamic frequency calculation

Calculate the desired frequencies for eMMC and SDIO if dynamic
frequency scaling is enabled. The algorithm determines the
frequency based on the active and idle loads measured at periodic
intervals.

The dfs stats are exposed through sysfs and the polling interval
and active load threshold values are set as user configurable
options.

Bug 1238045
Bug 1044607

Reviewed-on: http://git-master/r/219368
(cherry picked from commit 062ff0cc6fed721f4b9fdd61296703c7e20cd6d7)

Change-Id: Ic1509b07320608a53c85a2dcee533a3b0b2a9e97
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/226075
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: Tegra11: Enable hard shutdown in 8 seconds
Naveen Kumar S [Tue, 30 Apr 2013 20:16:01 +0000]
ARM: Tegra11: Enable hard shutdown in 8 seconds

Specifying value for Palmas LONG_PRESS_KEY (LPK) register to
enable hard shutdown upon holding onkey pressed for 8 second
sin non-android platforms. Retaining default of 12 seconds for
android platforms.

Bug 1241832

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

6 years agoARM: Tegra: Programming Palmas LongPress register
Naveen Kumar S [Tue, 30 Apr 2013 18:12:40 +0000]
ARM: Tegra: Programming Palmas LongPress register

Programming the Palmas (TPS65913) LONG_PRESS_KEY
register (LPK) used for system hard shutdown.

Bug 1241832

Change-Id: Icb3fef877d3b9093572464725c672d2957566e4e
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/222465
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: nvmap: avoid tlb flush overhead related to arm errata 798181
Krishna Reddy [Wed, 1 May 2013 21:16:23 +0000]
video: tegra: nvmap: avoid tlb flush overhead related to arm errata 798181

The pte's setup by nvmap  during cache_maint and read/write operations
doesn't need to send IPI as a part of arm errata 798181. Use the new api
which avoids the IPI and overhead associated with it.
Bug 1272231

Change-Id: I9d65763a3948470893d250f16aef0c8173ee4350
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/224599
(cherry picked from commit 0e015b031e6eb941a5e4d2af44f07ba044b31b71)
Reviewed-on: http://git-master/r/226781
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoarm: smp: add tlb flush api to avoid 798181 errata overhead
Krishna Reddy [Wed, 1 May 2013 21:12:24 +0000]
arm: smp: add tlb flush api to avoid 798181 errata overhead

Bug 1272231

Change-Id: Ief53224f2b63a7e7bfa381f80031525ea28bab60
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/224596
(cherry picked from commit 0aac600be7973745deca0ce3e93f4a056aa17c2f)
Reviewed-on: http://git-master/r/226780
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra: clock: fix Coverity issue of unused pointer value
Deepak Nibade [Wed, 8 May 2013 13:16:56 +0000]
ARM: tegra: clock: fix Coverity issue of unused pointer value

Coverity id : 23064

Bug 1046331

Change-Id: I8fc67440e1cf0f41e0d9d7db2b896682b1081efb
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/226699
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoARM: tegra: t114: Update trim delay for eMMC DDR
Naveen Kumar Arepalli [Fri, 3 May 2013 06:05:25 +0000]
ARM: tegra: t114: Update trim delay for eMMC DDR

Set trim delay of 0 for eMMC DDR mode on dalmore, pluto,
roth and macallan.

Bug 1156152

Reviewed-on: http://git-master/r/225165
(cherry picked from commit 3a1112b834dacc0f16812100569d7c4f5244c551)
Change-Id: Icf3e2786b4d97647e24b8d4c50a235c93ffae236
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/226688
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agommc: tegra: Consider zero trim value as valid
Naveen Kumar Arepalli [Fri, 3 May 2013 08:06:38 +0000]
mmc: tegra: Consider zero trim value as valid

Trim value of 0 is also valid and needs to be set explicitly as the
default trim value after reset could be non-zero in some cases.

Bug 1156152

Reviewed-on: http://git-master/r/225170
(cherry picked from commit 68348589552f26e8d217ab2bd9bd87ceef279844)
Change-Id: I19148189082368a2bb21450478bcfc566c2e43ca
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/226687
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agomedia: video: tegra: enable DT for ov5693
Jake Park [Thu, 28 Mar 2013 12:58:25 +0000]
media: video: tegra: enable DT for ov5693

Bug 1255103

Change-Id: I26acd27ae331343d0c8c8c1d6d5216ff45c07867
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/213972
(cherry picked from commit 54cac095ddb87109a5ab2885c34df0a4adc8e71b)
Reviewed-on: http://git-master/r/223185
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agomedia: video: tegra: enable DT for ad5823
Jake Park [Thu, 28 Mar 2013 12:40:25 +0000]
media: video: tegra: enable DT for ad5823

Bug 1255103

Change-Id: Iabc3dd93d71d5be9229393c7706d695ad56a0eb5
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/213971
(cherry picked from commit e8a886a521071a39a71fc3f22be7a3662a832e9c)
Reviewed-on: http://git-master/r/223183
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agocrypto: tegra-se: Use proper rsa key slot
venkatajagadish [Thu, 31 Jan 2013 08:50:06 +0000]
crypto: tegra-se: Use proper rsa key slot

This change fixes the S.E time out errors while
executing RSA test

Bug 1218410

Change-Id: Icbbcdd7b3d86a259dc3ff19ebb4b3a7374135e47
Signed-off-by: venkatajagadish <vjagadish@nvidia.com>
Reviewed-on: http://git-master/r/199260
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agogps_drv: remove error print
Rakesh Goyal [Wed, 24 Apr 2013 13:04:45 +0000]
gps_drv: remove error print

Remove error print as devproxy is now running in polling
mode and call this function frequently.

Bug 1250980

Change-Id: I5a41f205d18646ccc861a60c4ab3df0e7119d10e
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: http://git-master/r/222504
(cherry picked from commit 6d0cbb08d9283637559108ec88d99914bebcc3b5)
Reviewed-on: http://git-master/r/226569
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agopower: max77660: cancel alarm and workqueue on driver remove
Laxman Dewangan [Tue, 7 May 2013 17:32:39 +0000]
power: max77660: cancel alarm and workqueue on driver remove

bug 949219

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

6 years agoARM: tegra: pm: turn off VDEC partition in LP1
Mayuresh Kulkarni [Wed, 3 Apr 2013 10:42:51 +0000]
ARM: tegra: pm: turn off VDEC partition in LP1

- turn off VDEC partition while going into LP1, if it is
still powered; and turn it on while coming back from LP1,
if it was powergated during entry
- this ensures that VDEC parition is available to any device
driver that needs it after LP1 resume
- the LP0 path is un-touched

bug 1248779

Change-Id: If6fd97ef21bbc8acb2c6f26ac7723638403d0623
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/216099
(cherry picked from commit 8825199f91361961eadf95a977294bf6611310cc)
Reviewed-on: http://git-master/r/226242
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@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
(cherry picked from commit e4788b7b546025a017413a64911b64fa600a7a8c)
Reviewed-on: http://git-master/r/226240
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agomisc: max1749: fix kernel build warning
Deepak Nibade [Tue, 7 May 2013 12:45:05 +0000]
misc: max1749: fix kernel build warning

remove build warning of assignment from incompatible pointer type

Bug 949219

Change-Id: Iad4bcee9120486b6c7cd64f7adaef08cc0030618
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/226237
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agovideo: tegra: dsi: Fix clk cycle duration calculation
Vineel Kumar Reddy Kovvuri [Tue, 7 May 2013 10:28:05 +0000]
video: tegra: dsi: Fix clk cycle duration calculation

Fix clk cycle duration calculation.

Bug 1255929

Change-Id: Ide1179540c3e9401ad15cac3966514b0e64e5e53
Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
Reviewed-on: http://git-master/r/226154
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>