]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/log
sojka/nv-tegra/linux-3.10.git
10 years agovideo: tegra: fb: Keep old mode list origin/l4t/l4t-r19.1 daily-2014.03.25.0_l4t/l4t-r19.1 tegra-l4t-r19.1
Pankaj Dabade [Thu, 20 Mar 2014 08:47:27 +0000 (14:17 +0530)]
video: tegra: fb: Keep old mode list

Keeping the old mode list and framebuffer console is storing a
video mode pointer pointing to one of the modes in modelist.
Adding enable function to enable DC when hotplug succeeds.

bug 1481759

Change-Id: I8164c0d318edc3cbc6f61481eda8c90daabe14a5
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/382507
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
10 years agoPCIE: tegra: run PCIE at GEN1 speed
Bibek Basu [Thu, 20 Mar 2014 10:55:26 +0000 (16:25 +0530)]
PCIE: tegra: run PCIE at GEN1 speed

To preserve power, run PCIE @ GEN1 speed.
This will introduce cap on pciex clock to 250Mhz

Bug 1483563

Change-Id: Iedc05870647368523070a8033e7cbba1e0bc2b43
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/384368
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
10 years agoARM: tegra: update hdmi tdms parameter for PM375
Bibek Basu [Fri, 21 Mar 2014 03:52:31 +0000 (09:22 +0530)]
ARM: tegra: update hdmi tdms parameter for PM375

update hdmi tdms parameter for PM375

Bug 1481888

Change-Id: Icd04f0d8a80ee84b8ba9a2441a841d7bd5954c3a
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/384776
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
10 years agoARM: tegra: laguna: configure ams gpio1 and gpio2
Bibek Basu [Fri, 21 Mar 2014 01:00:32 +0000 (06:30 +0530)]
ARM: tegra: laguna: configure ams gpio1 and gpio2

Configure ams gpio1 and 2 as bial pull-down from pdata

Bug 1485412

Change-Id: I8df5c6e79933e1c9c01f35ae7938bfd360fce88f
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/384705
Tested-by: Mike Thompson <mikthompson@nvidia.com>
Reviewed-by: Eric Brower <ebrower@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Tested-by: Matthew Pedro <mapedro@nvidia.com>
10 years agoARM: tegra: update PM375 pinmux setting
Bibek Basu [Wed, 19 Mar 2014 15:46:31 +0000 (21:16 +0530)]
ARM: tegra: update PM375 pinmux setting

Update PM375 pinmux by tristating the unusued
pins based on pinmux excel
T124_customer_pinmux_PM375_29Oct2013.xlsm

Bug 1483835

Change-Id: I1eaea4f5d40096d9a1d560f59561db2dce2dfda6
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/383907
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
10 years agoPCIE: tegra: limit mselect clk to 102Mhz
Bibek Basu [Thu, 20 Mar 2014 10:52:15 +0000 (16:22 +0530)]
PCIE: tegra: limit mselect clk to 102Mhz

This will put cap on power consumption in idle
If someone one to bup the clock, it can be done from
debugfs

Bug 1483563

Change-Id: I668193864fa26b108bec1c1f953f275847ee293c
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/384367
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
10 years agoARM: tegra12: enable SATA idle powergating
Bibek Basu [Wed, 19 Mar 2014 09:01:10 +0000 (14:31 +0530)]
ARM: tegra12: enable SATA idle powergating

Enable SATA idle powergating

Bug 1483608

Change-Id: I23d8675620c6ff844bda558a48c608aaebcf6e5a
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/383755
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
Tested-by: Winnie Hsu <whsu@nvidia.com>
10 years agoARM: tegra: dont register unavailable sensors
Bibek Basu [Wed, 19 Mar 2014 06:48:59 +0000 (12:18 +0530)]
ARM: tegra: dont register unavailable sensors

PM375 does not have mpu, bmp, akm, wifi sensors.
So dont register those i2c devices

Bug 1483432

Change-Id: Ic91049b35ad65e558f5a4a292f36550eca51fd1c
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/383692
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
10 years agoARM: tegra: config: Enable GK20A devfreq for L4T
Prashant Malani [Thu, 20 Mar 2014 02:34:33 +0000 (19:34 -0700)]
ARM: tegra: config: Enable GK20A devfreq for L4T

Also disable gk20a perfmon, which was earlier enabled.

Bug 1484540

Change-Id: I539a60d45db1990df3db7dcc98da1d78a788c600
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/384149
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
10 years agovideo: tegra: host: gk20a: remove pmu dump stats
Prabhu Kuttiyam [Wed, 19 Mar 2014 01:11:37 +0000 (18:11 -0700)]
video: tegra: host: gk20a: remove pmu dump stats

This commit removes the dumping of pmu stats only
if the pmu exterr intr occurs.

bug 1458353

Change-Id: I0836da647abca64879991af9c280572477d1ce97
Signed-off-by: Prabhu Kuttiyam <pkuttiyam@nvidia.com>
Reviewed-on: http://git-master/r/383442
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Eric Brower <ebrower@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
10 years agoarm: tegra: HDMI: fix 720p low output swing for PM375
Jong Kim [Wed, 19 Mar 2014 01:16:25 +0000 (18:16 -0700)]
arm: tegra: HDMI: fix 720p low output swing for PM375

Fix 720p HDMI low output swing for PM375.

bug 1481888

Change-Id: Ide0e8a9d02213b3a2e59e3f5ad614f9c2e423139
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/383441
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
10 years agovideo: tegra: gk20a: do not set error notifier during debugging
Kirill Artamonov [Thu, 27 Feb 2014 12:02:06 +0000 (14:02 +0200)]
video: tegra: gk20a: do not set error notifier during debugging

Do not set error notifier on exceptions handled by attached
SM debugger.

bug 1468586
bug 1470992

Change-Id: I9c35b098ade022df7c2745a4f974ef0d1a7fad58
Signed-off-by: Kirill Artamonov <kartamonov@nvidia.com>
Signed-off-by: Matt Pedro <mapedro@nvidia.com>
Reviewed-on: http://git-master/r/377866
(cherry picked from commit e30f88aa7fbb56a703a50a445ae6761bcb0d5e99)
Reviewed-on: http://git-master/r/383228
GVS: Gerrit_Virtual_Submit

10 years agovideo: tegra: host: gk20a: add missing returns
Mayank Kaushik [Mon, 3 Mar 2014 17:34:40 +0000 (09:34 -0800)]
video: tegra: host: gk20a: add missing returns

Bug 1375360

Change-Id: I20562349a45185e97ee2a3a1c9e3262ed302d76a
Signed-off-by: Mayank Kaushik <mkaushik@nvidia.com>
Signed-off-by: Matt Pedro <mapedro@nvidia.com>
Reviewed-on: http://git-master/r/376657
(cherry picked from commit af817f4a70c04203622a8d56068ed72f28dfe66b)
Reviewed-on: http://git-master/r/383227
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

10 years agoARM: tegra: dtb: Add new file to support gpio-keys
Jeetesh Burman [Mon, 17 Mar 2014 09:14:15 +0000 (14:44 +0530)]
ARM: tegra: dtb: Add new file to support gpio-keys

Many GPIOs registered as interrupt are not applicable for PM375,
new file added for PM375 to support GPIOs which are applicable for
PM375.

Added file: tegra124-pm375-gpio-keys.dtsi

Bug 1475519

Change-Id: Ic7cdae2afa43751b3ba045f08c62dbb2c36b6562
Signed-off-by: Jeetesh Burman <jburman@nvidia.com>
Reviewed-on: http://git-master/r/382467
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Tested-by: Matthew Pedro <mapedro@nvidia.com>
10 years agoARM: tegra: config: disable BLUEDROID_PM
Jeetesh Burman [Tue, 18 Feb 2014 09:13:34 +0000 (14:43 +0530)]
ARM: tegra: config: disable BLUEDROID_PM

Disable BLUEDROID_PM in L4T defconfig.

Bug 1457135

Change-Id: I027e83cde9a37e244c473b35179cf1fe529ed9af
Signed-off-by: Jeetesh Burman <jburman@nvidia.com>
Reviewed-on: http://git-master/r/368728
Cherry-picked from 1217dac9195728b160e01749a222882d7519386c
Reviewed-on: http://git-master/r/376564
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Tested-by: Matthew Pedro <mapedro@nvidia.com>
10 years agoARM: tegra124: pm375: add pcie_usb_vbus consumer
Preetham Chandru R [Mon, 17 Mar 2014 07:14:25 +0000 (12:44 +0530)]
ARM: tegra124: pm375: add pcie_usb_vbus consumer

Bug 1466561

Change-Id: I4522495ed4d8d0ef39c4e3747f1e4413999b6633
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/382433
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Eric Brower <ebrower@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
10 years agoARM: tegra: pm375 : Enable utmi1
Preetham Chandru R [Thu, 13 Mar 2014 11:35:50 +0000 (17:05 +0530)]
ARM: tegra: pm375 : Enable utmi1

Enable usb port included in the mPCIe

Bug 1466561

Change-Id: I0aaa655652bb7c6f27a082b0cd3909cbb4334057
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/381487
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
Tested-by: Winnie Hsu <whsu@nvidia.com>
10 years agovideo: tegra: gpu debugger
Ken Adams [Thu, 27 Feb 2014 21:57:26 +0000 (13:57 -0800)]
video: tegra: gpu debugger

Add a control to manage SMPC context switch mode.
This is needed in reaction to the recent security
change which disabled set_falcon[5] etc.

Bug 1375360

Change-Id: Ia9d1a97a1b89b48538010d74207ff4d1b8852083
Signed-off-by: Ken Adams <kadams@nvidia.com>
Reviewed-on: http://git-master/r/375772
(cherry picked from commit c3c7d8b60f62bc276d0e773994ea6e0a4d9422cb)
Reviewed-on: http://git-master/r/382743
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Tested-by: Matthew Pedro <mapedro@nvidia.com>
10 years agovideo: tegra: host: gk20a implement priv access map
Ken Adams [Tue, 25 Feb 2014 00:30:00 +0000 (16:30 -0800)]
video: tegra: host: gk20a implement priv access map

This change enables a whitelist for priv register accesses on gk20a
through the set_falcon[4] path (used by usermode drivers).

Bug 1375360

Change-Id: I18274097fddaab0a15a8ad59f1d23f9e974a50e7
Signed-off-by: Ken Adams <kadams@nvidia.com>
Reviewed-on: http://git-master/r/375651
(cherry picked from commit afd7fec44674af2569ac6443cf245e25786cc335)
Reviewed-on: http://git-master/r/376912
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Tested-by: Matthew Pedro <mapedro@nvidia.com>
10 years agovideo: tegra: host: gk20a: Fix deferred mmu fault
Arto Merilainen [Fri, 7 Mar 2014 07:03:47 +0000 (09:03 +0200)]
video: tegra: host: gk20a: Fix deferred mmu fault

Deferred MMU fault did not clear stored mmu_fault_engines variable
and this caused the MMU fault handler to handle subsequent MMU fault
as a fake fault.

This patch modifies the code so that we clear the mmu_fault_engines
variable if we need to continue fault handling on channel tear down.

Bug 1472328

Change-Id: Iabec72575072b207aef1b05ef2f661d7dc8f3c40
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/378792
(cherry picked from commit 25d1566063ae030124c28780fb825e982a5a24e2)
Reviewed-on: http://git-master/r/381534
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
10 years agoarm: tegra: add emc dvfs table for PM375
Bibek Basu [Mon, 17 Mar 2014 07:29:01 +0000 (12:59 +0530)]
arm: tegra: add emc dvfs table for PM375

Add EMC DVFS table for PM375

Bug 1454434

Change-Id: I83ef7cfcf65f5d1a4b7e7a711e6373e249439e34
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/382438
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
10 years agoarm: tegra: HDMI: fix 1080p low output swing for PM375
Jong Kim [Mon, 17 Mar 2014 23:05:55 +0000 (16:05 -0700)]
arm: tegra: HDMI: fix 1080p low output swing for PM375

Fix 1080p HDMI low output swing for PM375.

bug 1481888

Change-Id: Iad850d2e674a4f4fe3cc32020bba99004dc85eaf
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/382693
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Dan Coggin <dcoggin@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
Tested-by: Winnie Hsu <whsu@nvidia.com>
10 years agoarm: tegra124: PM375: update soc0 machine name
Prabhu Kuttiyam [Fri, 14 Mar 2014 00:50:56 +0000 (17:50 -0700)]
arm: tegra124: PM375: update soc0 machine name

This commit adds a new machine name for PM375 boards.

bug 1395699

Change-Id: Ia07b86a03e2457b192095b0bb01cc7ee900641d7
Signed-off-by: Prabhu Kuttiyam <pkuttiyam@nvidia.com>
Reviewed-on: http://git-master/r/381774
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Tested-by: Matthew Pedro <mapedro@nvidia.com>
10 years agoARM: tegra: dtb: add new compatible string
Prabhu Kuttiyam [Fri, 14 Mar 2014 00:47:54 +0000 (17:47 -0700)]
ARM: tegra: dtb: add new compatible string

This commit adds a new compatible string for pm375.
This string can be used in board init files to differentiate
between other boards.

bug 1395699

Change-Id: I8d1bcac377a730ac25c0a4d4814e510be4136384
Signed-off-by: Prabhu Kuttiyam <pkuttiyam@nvidia.com>
Reviewed-on: http://git-master/r/381773
Reviewed-by: Eric Brower <ebrower@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Tested-by: Matthew Pedro <mapedro@nvidia.com>
10 years agoARM: tegra: pm375: enable thermal sensor
Bibek Basu [Fri, 7 Mar 2014 06:05:08 +0000 (11:35 +0530)]
ARM: tegra: pm375: enable thermal sensor

Enable thermal nct sensors for PM375

Bug 1476224

Change-Id: I0fdb3c0ce1a1eccdd893e417b2caecb696fb166f
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/378839
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Tested-by: Matthew Pedro <mapedro@nvidia.com>
10 years agoarm: tegra: HDMI: set 1080p as default mode
Jong Kim [Fri, 14 Mar 2014 01:21:49 +0000 (18:21 -0700)]
arm: tegra: HDMI: set 1080p as default mode

Set 1920x1080 as default HDMI FBcon mode.
1080p is the current working common denominator for FBcon and
X11 without any anormally.
This change is the step 1 of ultimate fix for HDMI/DISPB clock
setting which is required for HDMI mode change from Ubuntu
desktop GUI.

bug 1395699

Change-Id: I6773b7dc1218491aa9fd9fe63903fbed2376cb14
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/381781
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
Tested-by: Winnie Hsu <whsu@nvidia.com>
10 years agovideo: tegra: hdmi: unpowergate dc if powergated
Pankaj Dabade [Wed, 12 Mar 2014 11:55:27 +0000 (17:25 +0530)]
video: tegra: hdmi: unpowergate dc if powergated

Need to unpowergate DC before updating monitor specs.
updating monitorspecs triggers NEW_MODELIST call chain. This
will trigger pan display.

bug 1478898

Change-Id: If4a4616e63c2293d6b1bd6824123bfedf6520721
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/380343
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Eric Brower <ebrower@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jong Kim <jongk@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
10 years agoRM: tegra: config: disable PREPOWER_WIFI
Jeetesh Burman [Fri, 7 Mar 2014 05:09:56 +0000 (10:39 +0530)]
RM: tegra: config: disable PREPOWER_WIFI

Disable PREPOWER_WIFI from L4T defconfig.

Bug 1466881

Change-Id: Ie9db9632c0720e26ef13a5db14ac23c5a3260900
Signed-off-by: Jeetesh Burman <jburman@nvidia.com>
Reviewed-on: http://git-master/r/378745
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
10 years agoarm: tegra: HDMI: set 720p as default mode
Jong Kim [Tue, 11 Mar 2014 18:41:13 +0000 (11:41 -0700)]
arm: tegra: HDMI: set 720p as default mode

Set 1280x720 as default HDMI FBcon mode.

bug 1395699

Change-Id: I7d7e865f417a1d8e8d97cfed6e6aa1c4333cd7ad
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/380451
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
Tested-by: Winnie Hsu <whsu@nvidia.com>
10 years agoARM: tegra: dtb: add DT support for xusb
Preetham Chandru R [Thu, 6 Mar 2014 16:27:11 +0000 (21:57 +0530)]
ARM: tegra: dtb: add DT support for xusb

Bug 1466561

Change-Id: I4ce0962a48465a0423c883b41103bdc885ceaa0d
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/378429
GVS: Gerrit_Virtual_Submit
Reviewed-by: Joy Wang <joyw@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
10 years agoarm: tegra124: PM375: update port config for xusb
Preetham Chandru R [Thu, 6 Mar 2014 13:45:46 +0000 (19:15 +0530)]
arm: tegra124: PM375: update port config for xusb

Bug 1466561

Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Change-Id: I950c55361e305f10944a2210a5b30a69dea52397
Reviewed-on: http://git-master/r/377877
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Tested-by: Matthew Pedro <mapedro@nvidia.com>
10 years agoiommu/tegra: smmu: remove sanity checks during dev notifications.
Krishna Reddy [Sat, 8 Feb 2014 00:49:48 +0000 (16:49 -0800)]
iommu/tegra: smmu: remove sanity checks during dev notifications.

arm_iommu_detach_device doesn't reset mapping to NULL.
remove sanity checks during device  notifications to avoid
incorrect warning messages.

Bug 1446597

Change-Id: I7a49cd9ba464a1007260260b5fe41113db0b7689
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/365172
(cherry picked from commit 246a182ef16776f9db88559b5b3c3d7b07ebd8cd)
Reviewed-on: http://git-master/r/375600
Reviewed-by: Bryan Wu <pengw@nvidia.com>
Tested-by: Bryan Wu <pengw@nvidia.com>
Reviewed-by: Eric Brower <ebrower@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
10 years agoiommu: tegra: correct device attach/detach
Sri Krishna chowdary [Thu, 30 Jan 2014 09:29:49 +0000 (14:59 +0530)]
iommu: tegra: correct device attach/detach

attach/detach a device only if registered to use smmu

Bug 1446597

Change-Id: I99be7eb3ddeff8b9f8ec61dc06b09eeb66bbd1d6
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/361928
(cherry picked from commit 25e4750235628bc03dca21c0cbf30fe267761a93)
Reviewed-on: http://git-master/r/375599
Reviewed-by: Bryan Wu <pengw@nvidia.com>
Tested-by: Bryan Wu <pengw@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
10 years agodriver: vi: tegra_camera: correct pdev->id for DT
Bryan Wu [Fri, 21 Feb 2014 18:45:03 +0000 (10:45 -0800)]
driver: vi: tegra_camera: correct pdev->id for DT

DT will initialize the pdev->id as -1 for both vi.0 and vi.1. This
will cause several subtle issues since checking pdev->id is used a
in VI and Tegra V4L2 camera drivers.

Set the pdev->id as the right value during probing for DT case. Then
no change is need for others

drivers/video/tegra/host/vi/vi.c change was cherry picked from commit
b9de88f6b2362532edbab617fd2d824b83fcf059

Bug 1463966

Change-Id: I8adf124c4d3489e9c06abbecb6d3587437954c50
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/373000
(cherry picked from commit 4ca388fb943d17c7f7e8992fba04aac38714fdb2)
Reviewed-on: http://git-master/r/378471
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
10 years agoSATA: tegra: handle gpio correctly
Bibek Basu [Thu, 6 Mar 2014 04:34:35 +0000 (10:04 +0530)]
SATA: tegra: handle gpio correctly

Handle port expander gpio correctly

Bug 1454434

Change-Id: I19a76ea70dc95aefad8db2a6b4f4f0cd05edfcda
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/378192
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
10 years agoHID: usbhid: disable autosuspend for usb Keyboards
Petlozu Pravareshwar [Wed, 22 Jan 2014 12:35:30 +0000 (18:05 +0530)]
HID: usbhid: disable autosuspend for usb Keyboards

This change will disable the autosuspend for KBs.
This is to avoid the lag observed on the screen
while we type the characters.

Bug 1390065

Change-Id: Ic6f2247bf4e4fa2332329cd3e8dac15aad56354c
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Signed-off-by: Eric Brower <ebrower@nvidia.com>
Reviewed-on: http://git-master/r/358743
(cherry picked from commit 8d49c2b57d7edf721933bda082374f8bcf7915c2)
Reviewed-on: http://git-master/r/378119
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
10 years agovideo: tegra: host: Do not access cmdbuf_ext if NULL
Terje Bergstrom [Thu, 6 Feb 2014 09:18:03 +0000 (11:18 +0200)]
video: tegra: host: Do not access cmdbuf_ext if NULL

Fix dereferencing cmdbuf_ext even when it's NULL.

Bug 1452279
Bug 1452227

Change-Id: Iabd98ea6e6aab0b2cf8e04287d43361dee9aa699
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/364298
(cherry picked from commit 3d20989565ab3d34dea52f49bb3928d33427dca9)
Reviewed-on: http://git-master/r/377630
GVS: Gerrit_Virtual_Submit
Reviewed-by: Eric Brower <ebrower@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
10 years agovideo: tegra: dc: select right windows for update
Pankaj Dabade [Wed, 5 Mar 2014 05:40:03 +0000 (11:10 +0530)]
video: tegra: dc: select right windows for update

Use win->idx instead of windows table index to select right window
for tegra_dc_update_windows and tegra_dc_windows_are_clean funcs.

bug 1467186

Change-Id: I2e0f660556ad175205f173ca28195ac788eca08b
Signed-off-by: Jong Kim <jongk@nvidia.com>
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/377514
GVS: Gerrit_Virtual_Submit
Reviewed-by: Eric Brower <ebrower@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Tested-by: Matthew Pedro <mapedro@nvidia.com>
10 years agol4t: kernel: Enable DEVTMPS config option
Arun G [Fri, 28 Feb 2014 22:51:30 +0000 (14:51 -0800)]
l4t: kernel: Enable DEVTMPS config option

Turn on CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT to
populate /dev nodes dynamically when devices are attached.

bug 1408020

Change-Id: If114019772cff529716575456ad6dd71e871ba5d
Signed-off-by: Arun G <arg@nvidia.com>
Reviewed-on: http://git-master/r/376171
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
10 years agomach-tegra: change fb size to support 4K
Yogish Kulkarni [Mon, 3 Mar 2014 14:03:42 +0000 (19:33 +0530)]
mach-tegra: change fb size to support 4K

Change fb memory size to support 4K resolution

Change-Id: I9bae86724d8c569a124939faed0b136778080a44
Signed-off-by: Yogish Kulkarni <yogishk@nvidia.com>
Reviewed-on: http://git-master/r/376261
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bryan Wu <pengw@nvidia.com>
Tested-by: Bryan Wu <pengw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Eric Brower <ebrower@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
10 years agoTegra12x: defconfig: Add HDMI audio device
Rahool [Fri, 28 Feb 2014 06:49:51 +0000 (12:19 +0530)]
Tegra12x: defconfig: Add HDMI audio device

Add HDMI audio device

Bug: 1470703

Signed-off-by: Rahool Paliwal <rpaliwal@nvidia.com>
Change-Id: Ic289366f9a25853fb6faa2537790242c97e1c33b
Reviewed-on: http://git-master/r/375851
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Kaustubh Purandare <kpurandare@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Bryan Wu <pengw@nvidia.com>
Tested-by: Bryan Wu <pengw@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
10 years agovideo: tegra: host: Reduce debug leve of ctx load
Terje Bergstrom [Wed, 26 Feb 2014 05:41:38 +0000 (07:41 +0200)]
video: tegra: host: Reduce debug leve of ctx load

A ctxsw firmware load debug message was with log level warning. That
is the expected behavior, so change the message to debug level.

Bug 1461370

Change-Id: Ibaaa2c18d04751dafe7a1e7fa280b8ecb23a4a70
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/374649
Cherry-picked from aa568f47dd80a5a922e5d768951e0bb734d14a87
Reviewed-on: http://git-master/r/375474
Reviewed-by: Jeetesh Burman <jburman@nvidia.com>
Tested-by: Jeetesh Burman <jburman@nvidia.com>
Reviewed-by: Eric Brower <ebrower@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
10 years agopcie: host: tegra: enable second root port
Bibek Basu [Tue, 25 Feb 2014 16:53:22 +0000 (22:23 +0530)]
pcie: host: tegra: enable second root port

Enable second root port for the x2, x1 configuration

Bug 1468239

Change-Id: I8e4b59940bc148d883c129cecc614a0173874219
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/374341
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Eric Brower <ebrower@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
10 years agoARM: tegra: pm375: update the minor rev of pmic
Bibek Basu [Tue, 25 Feb 2014 17:09:02 +0000 (22:39 +0530)]
ARM: tegra: pm375: update the minor rev of pmic

Update the  minor revision of pmic based in board_id

Bug 1454434

Change-Id: I986aa1183ff8aa06962f151f40aa2575b3901f6e
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/374342
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Eric Brower <ebrower@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
GVS: Gerrit_Virtual_Submit

10 years agovideo: tegra: host: gk20a: Do not defer ELPG init
Naveen Kumar S [Fri, 21 Feb 2014 11:44:38 +0000 (17:14 +0530)]
video: tegra: host: gk20a: Do not defer ELPG init

Currently the second phase of PMU initialisation runs asynchronously
with other code. This optimises the boot-up time, however, it may
cause unexpected race in PMU code as some functions are called while
the ELPG is still being initialised.

This patch modifies the ELPG initialisation to happen synchronously
as part of power on sequence.

Bug 1456985
Bug 1460116
Bug 1458353

Change-Id: Ic979b3e054a17c0bc6979da2cf03d98f8d416c26
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/368702
(cherry picked from commit 4100add7d80ff68669cec4f8f47b26e232dc7da5)
Reviewed-on: http://git-master/r/372853
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
10 years agovideo: tegra: dc: check DC suspend state
Pankaj Dabade [Fri, 14 Feb 2014 06:04:23 +0000 (11:34 +0530)]
video: tegra: dc: check DC suspend state

Check DC suspended state before updating window.
DC suspend function will disable dc but will only change
suspend status to true, while the enable status will
remain true. DC will be enabled by dc resume function.

bug 1452204

Change-Id: I55d44c8e84fd7025459dca1f9cec5a462aa1c842
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/363764
(cherry picked from commit 9bb217d8c2c7c55cc54c6a2281429ba169f7ddb6)
Reviewed-on: http://git-master/r/372681
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
10 years agoUndo"video: tegra: gk20a: Fix protected elpg race"
Prabhu Kuttiyam [Thu, 20 Feb 2014 21:40:17 +0000 (13:40 -0800)]
Undo"video: tegra: gk20a: Fix protected elpg race"

This reverts commit 6e3a8322adfdfc07e045fc874242e7cbd8ec8553.

Change-Id: I206bcd01d716d81b222491ac7d8f5c156070bbe0
Signed-off-by: Prabhu Kuttiyam <pkuttiyam@nvidia.com>
Reviewed-on: http://git-master/r/370167
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
Tested-by: Winnie Hsu <whsu@nvidia.com>
10 years agovideo: tegra: host: gk20a: fix pmu sequencing
Eric Eells [Tue, 18 Feb 2014 23:32:30 +0000 (15:32 -0800)]
video: tegra: host: gk20a: fix pmu sequencing

Currently the access to pmu->pmu_seq_tbl is not
synchronized resulting in possble multiple uses
of the same sequence.

Bug 1458524

Change-Id: I50acf3a7c0988a11131e903e7b93cea478dc69a8
Reviewed-on: http://git-master/r/367488
(cherry picked from commit cb2c2c2e1c8da73dd062b195104077246347302d)
Signed-off-by: Eric Eells <eeells@nvidia.com>
Reviewed-on: http://git-master/r/370078
Reviewed-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-by: Bryan Wu <pengw@nvidia.com>
Tested-by: Bryan Wu <pengw@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
10 years agoarm: tegra: add emc dvfs table for PM359
Naveen Kumar S [Fri, 17 Jan 2014 09:18:46 +0000 (14:48 +0530)]
arm: tegra: add emc dvfs table for PM359

Add EMC DVFS table for Laguna-ERS-S (PM359)

bug 1354315
bug 1461523

Change-Id: Ida20f7797589559498db04df144e91e7c65f0588
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/357059
(cherry picked from commit 64cc409ccef04dfc0722c7dc3df4c0a37417240a)
Reviewed-on: http://git-master/r/368223
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
GVS: Gerrit_Virtual_Submit

10 years agopcie: host: tegra: Fix Invalid IRQ warning for RP
Jay Agarwal [Mon, 10 Feb 2014 07:11:07 +0000 (12:41 +0530)]
pcie: host: tegra: Fix Invalid IRQ warning for RP

Initialize IRQ_LINE to non-zero before enumeration
to avoid warning for invalid IRQ.

Bug 1453145

Change-Id: Ifbed98cb15f4f57a77bdc59dff225ae7fbaa3684
Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-on: http://git-master/r/365334
(cherry picked from commit aa2e12682fc91a25184b4f468644e008c5047274)
Reviewed-on: http://git-master/r/369131
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Naveen Kumar S <nkumars@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Winnie Hsu <whsu@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
10 years agoARM: tegra: dtb: add pm375 support
Bibek Basu [Wed, 12 Feb 2014 11:23:56 +0000 (16:53 +0530)]
ARM: tegra: dtb: add pm375 support

Add dtb for PM375 T124 board

Bug 1454434

Change-Id: I931667815c7d35dce0342a8c88e2afde6b2af001
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/366541
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
10 years agoARM: tegra124: pm375: add board file support
Bibek Basu [Wed, 12 Feb 2014 11:15:24 +0000 (16:45 +0530)]
ARM: tegra124: pm375: add board file support

Add board file support for pm375 T124

Bug 1454434

Change-Id: Id028a1ba855064469ebf9c171c997b6a1688e176
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/366540
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
10 years agoSound: Tegra: max98090: add missing regulator enable
Bibek Basu [Mon, 17 Feb 2014 07:27:58 +0000 (12:57 +0530)]
Sound: Tegra: max98090: add missing regulator enable

Add enabling of regulator spkvdd during resume

Bug 1377308

Change-Id: I46af7d1eacd915ad975801cdcf37c41358df813e
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/368266
Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
10 years agovideo: tegra: gk20a: Fix protected elpg race.
Prashant Malani [Tue, 4 Feb 2014 20:39:45 +0000 (12:39 -0800)]
video: tegra: gk20a: Fix protected elpg race.

Protected elpg calls can be pre-empted in the middle by the deferred
pg_init. This can lead to refcounting errors, which will result in elpg
always remaining on.

Therefore we protect the relevant sections of elpg setup in the deferred
work with a mutex.

Change-Id: I55746412885a09f7dbccd577f0c30d0d1102fe54
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/363424
(cherry picked from commit 782db693dfc5c70a1d327e52bec167309344ac19)
Reviewed-on: http://git-master/r/368259
Tested-by: Preetham Chandru <pchandru@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
10 years agovideo: tegra: dc: Check powergate status of DC
Pankaj Dabade [Tue, 11 Feb 2014 07:29:19 +0000 (12:59 +0530)]
video: tegra: dc: Check powergate status of DC

If DC is powergated quitely return.

bug 1449636

Change-Id: Id707f24d9d0c32a2f9ef356750da9d369d421edc
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/363785
(cherry picked from commit d2e049dae9d99dcd30dbdbe06566d5f4fd47fcd7)
Reviewed-on: http://git-master/r/368304
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
10 years agovideo: fbmem: change info prints as debug message
Pankaj Dabade [Wed, 12 Feb 2014 12:11:11 +0000 (17:41 +0530)]
video: fbmem: change info prints as debug message

Updating the message severity as debug message.

bug 1457209

Change-Id: I0796a326e3ca247cced93cb00b1ecb4fc6a86c4f
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/366621
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
10 years agoAttempt kernel firmware load before going to udev.
Neil Gabriel [Tue, 21 Jan 2014 18:03:59 +0000 (12:03 -0600)]
Attempt kernel firmware load before going to udev.

request_firmware() should fall back to usermodehelper
routines to load firmware only after a failed attempt
to load it directly. Prior to this change, the code
will attempt to lock the usermodehelper state before
attempting to load the firmware directly. If the
usermodehelper is disabled, the lock attempts will
fail and request_firmware() will exit without even
attempting a direct load.

Bug 1403956

Change-Id: I26c502d30657eab3d382d139618f9daa366068cf
Signed-off-by: Neil Gabriel <ngabriel@nvidia.com>
Reviewed-on: http://git-master/r/358303
Reviewed-on: http://git-master/r/362065
(cherry picked from commit 50ba73a322afff1e63d1cc2880bef7c907db98d6)
Reviewed-on: http://git-master/r/366457
Reviewed-by: Pankaj Dabade <pdabade@nvidia.com>
Tested-by: Pankaj Dabade <pdabade@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
10 years agovideo: tegra: dc: Initialize hdmi vic length
Pankaj Dabade [Fri, 17 Jan 2014 14:01:53 +0000 (19:31 +0530)]
video: tegra: dc: Initialize hdmi vic length

Initialize HDMI vic length to avoid reading garbage.

bug 1400878

Change-Id: I4b91fb2c97c2650bb74788887965bbb35549fb6b
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/357167
(cherry picked from commit 5882be672a7f0c1928b1c592827785dc730fbcb6)
Reviewed-on: http://git-master/r/365897
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
10 years agopcie: host: tegra: Disable ASPM in pcie driver
Jeetesh Burman [Fri, 7 Feb 2014 08:55:39 +0000 (14:25 +0530)]
pcie: host: tegra: Disable ASPM in pcie driver

Since, there is hardware bug on T124, So removing ASPM support
from pcie driver, once DT supported on T124, ASPM can be enabled
with the help of DT.

Bug 1452479

Change-Id: I11308b9ba7b5f41c57e2031c57638d62b345df5d
Signed-off-by: Jeetesh Burman <jburman@nvidia.com>
Reviewed-on: http://git-master/r/364848
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Eric Brower <ebrower@nvidia.com>
10 years agoPM/Domain: fix delayed power-off race
Andrew Bresticker [Tue, 14 Jan 2014 00:29:43 +0000 (16:29 -0800)]
PM/Domain: fix delayed power-off race

Commit 5ffea6f ["CHROMIUM: PM/domains: add delayed power off capability"]
introduced the ability to defer the power-off of a power domain and
used a PM notifier to flush any delayed power-off work for a power
domain. The PM notifiers, however, run before tasks are frozen and
outstanding runtime PM requests are flushed.  A runtime resume may
run during this time scheduling a delayed power-off which may not run
until after pm_genpd_prepare(), where the state of the domain at suspend
is recorded. As a result, a device which expected to be powered off
across suspend may be powered up unexpectedly during resume because
pm_genpd_prepare() recorded the state of the device as on at suspend.
Fix this race by flushing delayed power-off work in pm_genpd_prepare()
instead.

Bug 1426717

Change-Id: Ia3f83304eaa5eb8a6396175eaa98192a392692ad
Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Signed-off-by: Mark Zhang <markz@nvidia.com>
Signed-off-by: Jeetesh Burman <jburman@nvidia.com>
Reviewed-on: http://git-master/r/355390
Tested-by: Jeetesh Burman <jburman@nvidia.com>
Reviewed-on: http://git-master/r/364897
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
10 years agoRevert "video: tegra: host: gk20a: Do not suspend if active"
Arto Merilainen [Mon, 25 Nov 2013 14:10:54 +0000 (16:10 +0200)]
Revert "video: tegra: host: gk20a: Do not suspend if active"

This reverts commit 63078e87a62b265111622e58e66d9e67a2e1519b. The
original patch was added to protect kernel from applications that
injected jobs just after pm had suspended the device. This lead
the bookkeeping to get mixed as some callbacks were not called
correctly before the device was suspended.

We have now revisited the suspend sequences and identified that
we actually used to use some callbacks in a wrong way and the
original patch was simply a workaround to hide the issue. Now
that the issues are fixed, we can safely remove the hack.

Bug 1426717

Change-Id: I42d884bc21baad1a37001c354ef1a80e2eba140c
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/358575
(cherry picked from commit 12d0c2928fb62b4ba649dcd88b6fa0b057f1182c)
Reviewed-on: http://git-master/r/335100
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/364149
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jeetesh Burman <jburman@nvidia.com>
Tested-by: Jeetesh Burman <jburman@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
10 years agovideo: tegra: host: gk20a: reduce gr delays
Prashant Malani [Wed, 2 Oct 2013 21:23:59 +0000 (14:23 -0700)]
video: tegra: host: gk20a: reduce gr delays

The delay value used in gr usleep_range calls is
too high. We can start at a much lower value.

Change-Id: I7d196d0e3be0a5cd84e8c4dad537fae043da6274
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/335234
(cherry picked from commit 49bb8436a534496c70e6238d3bc20ed280d5b654)
Signed-off-by: Yogish Kulkarni <yogishk@nvidia.com>
Reviewed-on: http://git-master/r/363693
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
10 years agoarm: tegra: config: enable MAX98090 for laguna
Shreshtha Sahu [Mon, 3 Feb 2014 14:07:44 +0000 (19:37 +0530)]
arm: tegra: config: enable MAX98090 for laguna

Bug: 1377308

Change-Id: Id48262e3073d6f8b8dd6662e607ec7ccee1a49aa
Signed-off-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/362918
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
Tested-by: Winnie Hsu <whsu@nvidia.com>
10 years agoarm: tegra: select MAX98090 codec for MACH_LAGUNA
Shreshtha Sahu [Mon, 3 Feb 2014 14:02:30 +0000 (19:32 +0530)]
arm: tegra: select MAX98090 codec for MACH_LAGUNA

Bug: 1377308

Change-Id: I77b2fca9d6f9a75b1688c21950ecfc46bddde704
Signed-off-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/362917
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Vikram Fugro <vfugro@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
10 years agoASoc: Tegra: max98090: add support for laguna ers-s
Shreshtha Sahu [Mon, 3 Feb 2014 13:57:35 +0000 (19:27 +0530)]
ASoc: Tegra: max98090: add support for laguna ers-s

This patch adds support of MAX98090 codec for laguna
ers-s boards

Bug: 1377308

Change-Id: I118ec0f4514b3958d1253b6eb10e7488ff7700b0
Signed-off-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/362916
Tested-by: Vikram Fugro <vfugro@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
10 years agoASoC: Tegra: use GPIO based HS detection
Mohan Kumar [Mon, 6 Jan 2014 19:20:49 +0000 (00:50 +0530)]
ASoC: Tegra: use GPIO based HS detection

norrin uses TI chip ts3a225e for headset detection, the detetion
signal is handled via gpio based logic which we need to add in
the machine driver of max98090 to support it.

Bug 1434511
Bug 1419069

Change-Id: I3329ebf4577782f2cd313ce39c9d435883f91370
Signed-off-by: Mohan Kumar <mkumard@nvidia.com>
Reviewed-on: http://git-master/r/352341
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/362915
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com>
Tested-by: Shreshtha Sahu <ssahu@nvidia.com>
Tested-by: Vikram Fugro <vfugro@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
10 years agoarm: tegra: laguna: add platform data for MAX98090
Shreshtha Sahu [Mon, 3 Feb 2014 12:32:09 +0000 (18:02 +0530)]
arm: tegra: laguna: add platform data for MAX98090

This patch adds platform data support for MAX98090
audio codec

Bug: 1377308

Change-Id: I3abdb71e254601a7e0056adaa4ccc6256c39688a
Signed-off-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/362914
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Vikram Fugro <vfugro@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
10 years agosoc: codecs: max98090: Support K3.10
Johnny Qiu [Wed, 27 Nov 2013 12:25:21 +0000 (12:25 +0000)]
soc: codecs: max98090: Support K3.10

Bug 1405054
Bug 1408474

Change-Id: If8479faa5d4389833fd850c258c1eb1e29819df9
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/345832
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
Tested-by: Mohan Kumar D <mkumard@nvidia.com>
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/362913
Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com>
Tested-by: Shreshtha Sahu <ssahu@nvidia.com>
Tested-by: Vikram Fugro <vfugro@nvidia.com>
GVS: Gerrit_Virtual_Submit

10 years agosoc: tegra: max98090: Add K3.10 support
Johnny Qiu [Wed, 27 Nov 2013 12:18:53 +0000 (12:18 +0000)]
soc: tegra: max98090: Add K3.10 support

Bug 1405054
Bug 1408474

Change-Id: Icbf29d222eefc76be061a5d2bc3b085e3325e3ca
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/345833
Reviewed-by: Manoj Gangwal <mgangwal@nvidia.com>
Tested-by: Mohan Kumar D <mkumard@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/362912
Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com>
Tested-by: Shreshtha Sahu <ssahu@nvidia.com>
Tested-by: Vikram Fugro <vfugro@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
10 years agoarm: tegra: laguna: fix ina230 i2c error
Shreshtha Sahu [Mon, 3 Feb 2014 12:17:51 +0000 (17:47 +0530)]
arm: tegra: laguna: fix ina230 i2c error

This patch fixes ina230 i2c error. Removed registration
of ina230 power monitor device for Laguna ERS-S boards
as it is not present in it.

Bug: 1377308

Change-Id: I2159e75417982b3d5b4731792896c0eb2b4fa85b
Signed-off-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/362911
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Vikram Fugro <vfugro@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
10 years agoarm: tegra: laguna: fix rt5639 i2c failure
Shreshtha Sahu [Mon, 3 Feb 2014 11:52:53 +0000 (17:22 +0530)]
arm: tegra: laguna: fix rt5639 i2c failure

This patch fixes rt5639 i2c failure. Removed i2c
and platform data registration for Laguna ERS-S
boards as it is not present in it.

Bug: 1377308

Change-Id: I1c2def0f0d5176ddfc08783975e7ba882014376d
Signed-off-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/362910
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Vikram Fugro <vfugro@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
10 years agoarm: tegra: laguna: add support for PCA9546
Shreshtha Sahu [Mon, 3 Feb 2014 11:45:29 +0000 (17:15 +0530)]
arm: tegra: laguna: add support for PCA9546

This patch adds support for PCA9546 I2C Bus
multiplexer

Bug: 1377308

Change-Id: I16aad8c5c320724dcf338c6d19bdd9675a3737c8
Signed-off-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/362909
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Vikram Fugro <vfugro@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
10 years agovideo: tegra: host: gk20a: fix possible elpg race
Prashant Malani [Mon, 27 Jan 2014 23:33:54 +0000 (15:33 -0800)]
video: tegra: host: gk20a: fix possible elpg race

Currently, the enablement of ELPG is placed in deferred work. But,
graphics code can call elpg enable/disable before this deferred work
runs. The current enable/disable routines don't verify that gPMU has
ELPG correctly initialized (along with the PG buffers set up, which is
done in the deferred work). Therefore the driver could potentially send
ELPG commands to gPMU even when it is not completely set up to process
them. Therefore we add a check to ensure that gPMU is completely
initialized before issuing such commands.

Bug 1446194
Bug 1445308

Change-Id: I8e675ae2ab900643c70310a6b37b6dfb022469d8
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/360616
(cherry picked from commit f2d3e72534ad89346a9454bfcd08ff2138d16d22)
Reviewed-on: http://git-master/r/364150
Reviewed-by: Naveen Kumar S <nkumars@nvidia.com>
Tested-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
10 years agovideo: tegra: gk20a: add notifier to pm framework
Naveen Kumar S [Fri, 31 Jan 2014 06:36:33 +0000 (12:06 +0530)]
video: tegra: gk20a: add notifier to pm framework

Device hangs if registers are read when module is powered down.
Added notification call to pm framework upon accessing gk20a
registers.

bug 1427674

Change-Id: Id93e82801c4a0c89fbecaa41477129a8c3638743
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/362279
(cherry picked from commit 50d8a97ca8ca6cce7b830fae6c831e03c15d0b1d)
Reviewed-on: http://git-master/r/363133
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
10 years agoarm: config: tegra12: disable unsupported modules
Naveen Kumar S [Thu, 23 Jan 2014 08:48:21 +0000 (14:18 +0530)]
arm: config: tegra12: disable unsupported modules

Modules like touchscreen, bluetooth, wifi, etc. are not
yet validated for L4T in T124 based boards. Hence
disabling these modules. Will be enabled in case any of
these are needed in future boards.

bug 1436294

Change-Id: Iff50417c2ec387e3a9c881d4d7f1d6dbb798413f
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/359331
(cherry picked from commit a46919b52cdad4edff5b0e19b98fdee0e78391ad)
Reviewed-on: http://git-master/r/361865
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
10 years agovideo: tegra: host: gk20a: reorder free_irq
Prashant Malani [Fri, 24 Jan 2014 20:08:05 +0000 (12:08 -0800)]
video: tegra: host: gk20a: reorder free_irq

Free IRQs before the various subunits are suspended. This is to prevent
potential races between the IRQ thread and the suspend routine.

Bug 1437749

Change-Id: I835f20a54d177f4b30a66e0dcb41c8240e5c97fd
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/359990
(cherry picked from commit a37ca473bdddc664aa1049b5c4ce965052ec8441)
Reviewed-on: http://git-master/r/362026
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Eric Brower <ebrower@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
10 years agopcie: host: tegra: request for wake gpio
Bibek Basu [Fri, 24 Jan 2014 06:43:23 +0000 (12:13 +0530)]
pcie: host: tegra: request for wake gpio

request for wake gpio before using it for
wake irq purpose

Bug 1429394

Change-Id: Ifecc930e1ef82da930670ffbda46a9660543294b
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/358812
(cherry picked from commit 11ff15d0c34b311c24bbd0b4d7e72d15be29b8f1)
Reviewed-on: http://git-master/r/361471
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
10 years agoARM: tegra124: power: Change EN_VBUS1 gpio pin
Preetham Chandru R [Tue, 28 Jan 2014 13:54:14 +0000 (19:24 +0530)]
ARM: tegra124: power: Change EN_VBUS1 gpio pin

Change EN_VBUS1 gpio pin from TEGRA GPIO PN4 to
TEGRA GPIO PN5 for Laguna.

Bug 1433028

Change-Id: If6932d50a7561349a8e1a973dc24411f0db8e7a2
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/360976
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
10 years agoEDP: remove old system EDP framework (max8831 backlight driver)
Timo Alho [Tue, 31 Dec 2013 08:50:30 +0000 (10:50 +0200)]
EDP: remove old system EDP framework (max8831 backlight driver)

Revised system edp software framework has been put in place. This
patch removes old system edp client code from max8831 backlight
driver.

Bug 1431977

Change-Id: I4d107f7d26759c009a28e4b6617bd8126950a022
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/350985
Reviewed-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
10 years agoEDP: remove old system EDP framework (lm3528 backlight driver)
Timo Alho [Tue, 31 Dec 2013 08:49:34 +0000 (10:49 +0200)]
EDP: remove old system EDP framework (lm3528 backlight driver)

Revised system edp software framework has been put in place. This
patch removes old system edp client code from lm3528 backlight driver.

Bug 1431977

Change-Id: Ic9c54328a213fca938fd0c197ae919ba6942c435
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/350984
Reviewed-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
10 years agoEDP: remove old system EDP framework (pwm backlight driver)
Timo Alho [Tue, 31 Dec 2013 08:51:01 +0000 (10:51 +0200)]
EDP: remove old system EDP framework (pwm backlight driver)

Revised system edp software framework has been put in place. This
patch removes old system edp client code from pwm backlight driver.

Bug 1431977

Change-Id: I95febcc2662ea4d13c7a7da1545bf55d3c67efbb
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/350986
Reviewed-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
10 years agoEDP: remove old system EDP framework (backlight initialization)
Timo Alho [Sat, 28 Dec 2013 19:41:26 +0000 (21:41 +0200)]
EDP: remove old system EDP framework (backlight initialization)

Revised system edp software framework has been put in place. This
patch removes old system edp client initialization for backlight
clients in all platforms.

Bug 1431977

Change-Id: If7ac88ee6f08ebae6d8e907453e0471dc08af958
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/350400
Reviewed-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
10 years agoEDP: tn8: enable system EDP on E1784 and E1922
Timo Alho [Sat, 11 Jan 2014 09:04:41 +0000 (11:04 +0200)]
EDP: tn8: enable system EDP on E1784 and E1922

Change-Id: I00e36c830dd072f10642f80524a217c22215be3a
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/354729
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Tested-by: Juha Tukkinen <jtukkinen@nvidia.com>
10 years agoRevert "Asoc: ALC5639: Do not put codec in OFF state when idle"
Pritesh Raithatha [Thu, 16 Jan 2014 15:05:55 +0000 (20:35 +0530)]
Revert "Asoc: ALC5639: Do not put codec in OFF state when idle"

This reverts commit 1525e46000308709e8e3a725025b574e1800f1a3.

Bug 1440280

Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Change-Id: Idd30e7d13f132a9483077124a271d8336feb790b
Reviewed-on: http://git-master/r/356575
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
10 years agovideo: tegra: host: load firmware from file system
Kevin Huang [Thu, 7 Nov 2013 22:59:20 +0000 (14:59 -0800)]
video: tegra: host: load firmware from file system

Bug 1397582

Change-Id: I9bc69e7bf2cbcc7dbba8d18d3321ad1864b06e48
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Change-Id: Ia492779316ca5a17ea6e020fcd8f13d69008ef91
Reviewed-on: http://git-master/r/356225
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
10 years agovideo: tegra: host: Create aux dev nodes in gk20a driver
Lauri Peltonen [Sat, 4 Jan 2014 16:20:03 +0000 (18:20 +0200)]
video: tegra: host: Create aux dev nodes in gk20a driver

Create and handle nvhost-ctrl-gpu, nvhost-dbg-gpu and nvhost-prof-gpu
entirely within the gk20a driver.

Bug 1434573

Change-Id: I11d4e22782c48cc010b5f0047606909cc87f4f6b
Signed-off-by: Lauri Peltonen <lpeltonen@nvidia.com>
Reviewed-on: http://git-master/r/352046
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
10 years agovideo: tegra: host: Treat gk20a simulation regs normally
Lauri Peltonen [Tue, 7 Jan 2014 13:59:52 +0000 (15:59 +0200)]
video: tegra: host: Treat gk20a simulation regs normally

We don't need to override all resources when simulation environment is
detected, rather, just include simulation resources as a normal resource
in the platform device. This is already how we do in the DTS.

Bug 1434573

Change-Id: Ia63b88031f510200c2aeb83d595b5e5670ad5c9e
Signed-off-by: Lauri Peltonen <lpeltonen@nvidia.com>
Reviewed-on: http://git-master/r/352757
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
10 years agovideo: tegra: host: Add gk20a platform interface
Lauri Peltonen [Fri, 3 Jan 2014 09:58:22 +0000 (11:58 +0200)]
video: tegra: host: Add gk20a platform interface

The platform interface abstracts the nvhost interface on Tegra and
allows supporting other SoC platforms in the gk20a driver. Currently
only probe-time initialization uses the new abstraction.

Move the gk20a device declaration from the host driver to the gk20a
driver.

Bug 1434573

Change-Id: Idaa944846317362dddd7a4f85ab6cbce9a053bad
Signed-off-by: Lauri Peltonen <lpeltonen@nvidia.com>
Reviewed-on: http://git-master/r/352045
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
10 years agoRevert "Stylus: merge kernel code of detecting pen"
Laxman Dewangan [Thu, 16 Jan 2014 12:29:35 +0000 (17:59 +0530)]
Revert "Stylus: merge kernel code of detecting pen"

This reverts commit 69bbd97f4fd9d1b9fcf35de692ebefa33e918054.

Conflicts:

arch/arm/boot/dts/tegra124-tn8-p1761-battery-2gb.dts
arch/arm/boot/dts/tegra124-tn8-p1761-battery.dts

Change-Id: I63055451cdffc02e2bdc4eda793597e60d0151e9
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/356539
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
10 years agovideo: tegra: host: Fix a warning from fifo_gk20a
Lauri Peltonen [Wed, 15 Jan 2014 13:36:21 +0000 (15:36 +0200)]
video: tegra: host: Fix a warning from fifo_gk20a

Change-Id: I3c0d928e9c8e2e7b250646e3fef52cdc2c17cdf6
Signed-off-by: Lauri Peltonen <lpeltonen@nvidia.com>
Reviewed-on: http://git-master/r/356032
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kirill Artamonov <kartamonov@nvidia.com>
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
10 years agonet: wireless: Update SD8897 WLAN/BT driver to 463
Marc Yang [Fri, 20 Dec 2013 22:43:00 +0000 (14:43 -0800)]
net: wireless: Update SD8897 WLAN/BT driver to 463

Signed-off-by: Marc Yang <yangyang@marvell.com>
- update SD8897 driver to 463

Bug 1318052

Change-Id: I00f81bc5219c670b2cf35e5ca5b57096dc7ca244
Signed-off-by: Manikanta <mmaddireddy@nvidia.com>
Reviewed-on: http://git-master/r/355988
Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
10 years agocrypto: tegra-se: fix resourse leak
Salona Sinha [Wed, 15 Jan 2014 12:44:50 +0000 (18:14 +0530)]
crypto: tegra-se: fix resourse leak

Coverity id : 25364

Bug 1416640

Change-Id: I6cbdc67004f94f2afbc4c8b656631f4d4a0ce8c5
Signed-off-by: Salona Sinha <salonas@nvidia.com>
Reviewed-on: http://git-master/r/356025
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
10 years agomedia: convert imx179 driver to non-nvc format
Ming Wong [Fri, 10 Jan 2014 20:23:50 +0000 (12:23 -0800)]
media: convert imx179 driver to non-nvc format

bug 1415077

Change-Id: I98ea518ea8de07b2cd78066522c039dadee379bd
Signed-off-by: Ming Wong <miwong@nvidia.com>
Reviewed-on: http://git-master/r/354372
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Prayas Mohanty <pmohanty@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
10 years agoARM: tegra12: tn8:enable DSIC/D DPD mode
Terry Wang [Fri, 10 Jan 2014 08:54:22 +0000 (16:54 +0800)]
ARM: tegra12: tn8:enable DSIC/D DPD mode

Enable DSIC/D DPD mode for p1761/e1784.

Bug 1425612

Change-Id: I054fc7a6363b69fe46d595a16027d7a3ae359028
Signed-off-by: Terry Wang <terwang@nvidia.com>
Reviewed-on: http://git-master/r/353202
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hunk Lin <hulin@nvidia.com>
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
10 years agothermal: tmp006: fail probe if device not present
Preetham Chandru R [Fri, 27 Dec 2013 13:23:27 +0000 (18:53 +0530)]
thermal: tmp006: fail probe if device not present

Fail probe if device is not present

Bug 1397494

Change-Id: If7609423db3e72d01315480709da923786969d4a
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/350182
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
10 years agoARM: tegra: move power mon i2c-mux device registration to DT
Laxman Dewangan [Fri, 10 Jan 2014 14:01:44 +0000 (19:31 +0530)]
ARM: tegra: move power mon i2c-mux device registration to DT

Move power monitor i2x mux device registration to DT and remove
the board-file registration.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Change-Id: Ia6790690934be8ec87082e0853ce30398f68adce
Reviewed-on: http://git-master/r/354257
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
10 years agoi2c: pca954x: Use devm_* managed allocator
Laxman Dewangan [Wed, 15 Jan 2014 14:22:31 +0000 (19:52 +0530)]
i2c: pca954x: Use devm_* managed allocator

This simplifies error and removal paths.

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

10 years agoi2c: mux: pca954x: make pullup regulator optional
Laxman Dewangan [Wed, 15 Jan 2014 14:08:46 +0000 (19:38 +0530)]
i2c: mux: pca954x: make pullup regulator optional

The PCA954X driver require two supply, one for self as vcc and
other for output bus pullup as vcc-pullup.

Making vcc-pullup as optional as this is not mandatory regulator
for device and if it is not available then just do not enable it
and not cause to driver fail.

Change-Id: I1c63a13d01ac609af0a74934742daca7e68b4d00
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/356050
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
10 years agonet: wireless: bcmdhd: reduce wakelock timeout to 500ms
Om Prakash Singh [Wed, 15 Jan 2014 09:17:36 +0000 (14:47 +0530)]
net: wireless: bcmdhd: reduce wakelock timeout to 500ms

Bug 1392718

Change-Id: Ia369a73fb4e834f46003e318fe2c413e57200b61
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/350034
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
10 years agoarm: tegra: tn8-ffd: update TSkin coefficients
Robert Shih [Tue, 14 Jan 2014 05:38:59 +0000 (13:38 +0800)]
arm: tegra: tn8-ffd: update TSkin coefficients

Update the coefficients of Tboard and Tdiode thermal zone
for simulating skin temperature.

The coefficients are calibrated and given by thermal team.

bug 1429335
bug 1439470

Change-Id: I2e721b43ce3efafd8e805cb5f06016c3aa152312
Signed-off-by: Robert Shih <rshih@nvidia.com>
Reviewed-on: http://git-master/r/355368
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>