5 years agosecurity: tf_driver: remove tegra_read_cycle()
Varun Wadekar [Thu, 24 Oct 2013 10:36:32 +0000]
security: tf_driver: remove tegra_read_cycle()

Tegra kernel now implements this function in a common place.

Bug 1389113

Change-Id: I22f6448760fb10b4588f02d4d4b2b4fa76de8f90
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/303291

5 years agosecurity: tlk_driver: remove tegra_read_cycle()
Varun Wadekar [Thu, 24 Oct 2013 10:34:48 +0000]
security: tlk_driver: remove tegra_read_cycle()

Tegra kernel now implements this function in a common place.

Bug 1389113

Change-Id: Ie9bcd4267d0098136c18877ef67dd0da2fedbb4c
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/303290

5 years agoARM: tegra: add tegra_read_cycle() for tracing to work
Varun Wadekar [Thu, 24 Oct 2013 10:31:09 +0000]
ARM: tegra: add tegra_read_cycle() for tracing to work

tegra_read_cycle() is required for tracing to work on Tegra. It is
wrong to expect that the secure kernel vendor's linux driver would
always help us by implementing this function in their driver. This
is not true for hypervisor-enabled builds.

Bug 1389113

Change-Id: I232fea4fd00f9093dc9e3c815654192a8143937a
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/303289

5 years agovideo: tegra: dc: Enable DSI_USE_SYNC_POINTS for T124 only
Bharat Nihalani [Thu, 24 Oct 2013 16:01:47 +0000]
video: tegra: dc: Enable DSI_USE_SYNC_POINTS for T124 only

Enabling DSI_USE_SYNC_POINTS causes issues for T114 platforms. So
enabling this only for T124 until we can enable this for T114 too.

Bug 1393553

Change-Id: I227d279eaa55e1575470ac3cf52ae21e620c3c80
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/303380
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agoARM: tegra12: clock: Increase PLLD feedback divider mask
Alex Frid [Tue, 22 Oct 2013 05:55:02 +0000]
ARM: tegra12: clock: Increase PLLD feedback divider mask

Increased Tegra12 PLLD feedback divider mask to 11 bits (from 10).

Bug 1392365

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

5 years agoARM: tegra: remove simulation support from tegra14
Bo Yan [Thu, 24 Oct 2013 17:57:29 +0000]
ARM: tegra: remove simulation support from tegra14

Change-Id: Ifd3819aec3c768da92e0e2e8d8b4eff89d9ae5be
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/303418
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoARM: config: tegra12: enable power supply
Pradeep Goudagunta [Thu, 17 Oct 2013 09:36:24 +0000]
ARM: config: tegra12: enable power supply

Bug 1345931

Change-Id: Icff3ec5dd36b95af38f3700a8d14f64b87be66dd
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/300478
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agoARM: tegra: ardbeg: add productized power monitor devices
Timo Alho [Wed, 2 Oct 2013 11:33:08 +0000]
ARM: tegra: ardbeg: add productized power monitor devices

Add power monitors in I2C branch 0 (productized power monitors).
 * For E1780-A02 w/ E1735 PMU (Shield ERS)
 * For E1780-A02 w/ E1736 PMU (TN8)

Change-Id: I7d1c6e3045bd18ee506631f2f8380cbeb23baf47
Signed-off-by: Timo Alho <talho@nvidia.com>
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/299438
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agoARM: tegra: ardbeg: add power monitor devices for TN8
Timo Alho [Wed, 2 Oct 2013 10:41:54 +0000]
ARM: tegra: ardbeg: add power monitor devices for TN8

- power monitor devices are different on tn8 and Shield ERS
- use board_info to get soc sku version and based on that register
devices specific to tn8

Change-Id: I348f665e3a7c61be06df70d1bfeec4432a049d8c
Signed-off-by: Timo Alho <talho@nvidia.com>
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/299437
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agovideo: backlight: EDP client for backlight
Vineel Kumar Reddy Kovvuri [Tue, 15 Oct 2013 05:01:18 +0000]
video: backlight: EDP client for backlight

Implements EDP client for TN8 & Shield ERS backlight system

Bug 1359894
Bug 1358209

Change-Id: I4ca1e49d18f9b91d2a6be55235f82bd3f4681ac5
Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
Reviewed-on: http://git-master/r/299293
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agoarm: tegra: ardbeg: Add wifi edp client
Harshavardhan Nalajala [Wed, 18 Sep 2013 20:51:32 +0000]
arm: tegra: ardbeg: Add wifi edp client

Add wifi edp client data to platform data.

Bug 1359897

Change-Id: I1fc94cd0a84d0330a2b193b82b7c7feaa37191c8
Signed-off-by: Harshavardhan Nalajala <hnalajala@nvidia.com>
Reviewed-on: http://git-master/r/299031
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agonet: wireless: bcmdhd: Add edp client structure
Harshavardhan Nalajala [Tue, 4 Jun 2013 08:24:03 +0000]
net: wireless: bcmdhd: Add edp client structure

Add new edp client structure to wifi platform data.
It holds the information required by driver
to register as edp client.

Bug 1297300
Bug 1359897

Change-Id: I724a41416150d8b99357d96bb1e2f6f2b7a333e1
Signed-off-by: Harshavardhan Nalajala <hnalajala@nvidia.com>
Reviewed-on: http://git-master/r/238406
(cherry picked from commit 1f4b0336baea447df042dfe8fe8d6800b0a6cddf)
Reviewed-on: http://git-master/r/299027
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agoarch: arm: configs: Enable edp support on tegra12x
Harshavardhan Nalajala [Thu, 19 Sep 2013 21:27:36 +0000]
arch: arm: configs: Enable edp support on tegra12x

Enable wifi edp client support on tegra 12x.

Bug 1359897

Change-Id: If2abe0c1e38de3dcccbdb68e6ee5860027ee768d
Signed-off-by: Harshavardhan Nalajala <hnalajala@nvidia.com>
Reviewed-on: http://git-master/r/299026
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agoarm: tegra: tn8: support system edp
Seema Khowala [Wed, 18 Sep 2013 19:10:49 +0000]
arm: tegra: tn8: support system edp

Bug 1345931
Bug 1339832

Change-Id: Ia0a70e2f13c1ef24d9e89b8ec0604ef99c8cd3b4
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/289981
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agoarm: config: tegra12: enable edp
Seema Khowala [Fri, 23 Aug 2013 17:49:14 +0000]
arm: config: tegra12: enable edp

Bug 1345931

Change-Id: I94a7cfb9f279173588bed1fef1f04a4565cea50a
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/289980
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agovideo: tegra: dc: don't blank DC before disabling
Victor Ryabukhin [Wed, 12 Jun 2013 09:12:21 +0000]
video: tegra: dc: don't blank DC before disabling

Blanking the screen before DC disable is redundant and might cause
momentary screen flash (screen off -> on -> off) in case if DC receives
flip ioctl after screen was blanked.

This also makes DC shutdown process similar to FB_BLANK_POWERDOWN.

Bug 1299434

Change-Id: I9d3713bae4cc4511c7beb0cef22499cb9b3b5d64
Signed-off-by: Victor Ryabukhin <vryabukhin@nvidia.com>
Reviewed-on: http://git-master/r/237914
(cherry picked from commit 161501da4ae10339e6f8c6ce208cca305d1f6569)
Signed-off-by: David Schalig <dschalig@nvidia.com>
Reviewed-on: http://git-master/r/243753
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>
(cherry picked from commit b9d9b7b02fa40cb8ea322c477c06efdddc33f2ac)
Reviewed-on: http://git-master/r/303030
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>

5 years agoARM: tegra: t12x: Update SATA regulators list
Mallikarjun Kasoju [Thu, 24 Oct 2013 11:07:33 +0000]
ARM: tegra: t12x: Update SATA regulators list

SATA_RX and SATA_TX are connected from tegra. Updated the
list of regulators with the regulator name to enable/disable
the required power domain in tegra.

Bug 1376043

Change-Id: I590500d78adcd17eb3e0262a7b3632e1baa35d9d
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/303296
Reviewed-by: Venkata Jagadish <vjagadish@nvidia.com>
Tested-by: Venkata Jagadish <vjagadish@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoarm: tegra: Add sata IO_Rail entry
Mallikarjun Kasoju [Thu, 24 Oct 2013 10:08:12 +0000]
arm: tegra: Add sata IO_Rail entry

SATA_RX and SATA_TX are connected from PEX power domain of
tegra. So added required power tree entry for enabling
PEX power domain.

Bug 1376043

Change-Id: I20bfc76b7552d0391fd78513e3339f3d8f542960
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/303295
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkata Jagadish <vjagadish@nvidia.com>
Tested-by: Venkata Jagadish <vjagadish@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agovideo: tegra: fb: Add compat ioctl
Tuomas Kulve [Tue, 20 Aug 2013 09:25:36 +0000]
video: tegra: fb: Add compat ioctl

Bug 1352981

Change-Id: Ie103fd01a751744f9d879dbf91972021eb73e483
Signed-off-by: Tuomas Kulve <tkulve@nvidia.com>
Reviewed-on: http://git-master/r/298883
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peng Du <pdu@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

5 years agoARM: configs: tegra12: Enable CM3217 ALS
Sri Krishna chowdary [Fri, 18 Oct 2013 11:40:25 +0000]
ARM: configs: tegra12: Enable CM3217 ALS

TN8 uses Cm3217 ALS. Hence set CONFIG_SENSORS_CM3217 = y.

Bug 1373590

Change-Id: I6b6920e5e0c4190e43e11e1e89c3acd9b2af66e4
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/301211
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agostaging: iio: adc: palmas: Change precision multiplier for calibration
Jinyoung Park [Mon, 14 Oct 2013 14:38:45 +0000]
staging: iio: adc: palmas: Change precision multiplier for calibration

Changed precision multiplier from 1000 to 1000000 for improving
the accuracy of calibration.

Bug 1287901
Bug 1356128

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/241372
(cherry picked from commit 430337add6aaf1687d70c8753a09d37ec28819d5)

Change-Id: Ife182b8e4f5e46a2365d1c89bc275495c45ee92e
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/298984
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoRevert "iio: palmas_gpadc: Add data and formula for gain_error"
Jinyoung Park [Mon, 14 Oct 2013 14:23:58 +0000]
Revert "iio: palmas_gpadc: Add data and formula for gain_error"

This reverts commit b15e435cba59220b7bb40c8f5f3a7cc094b7d8a3.

Bug 1356128

Change-Id: Ib7ef36c1d067c2a24d6ed4bdeed7e9e388ab78c9
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/298983
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoarm: tegra12: Enable CIFS as module
pdabade [Thu, 24 Oct 2013 09:24:29 +0000]
arm: tegra12: Enable CIFS as module

Update the kernel config to add CIFS support as module.

bug 1392138

Change-Id: I16d889d7f0424da4372aca6e7bfa00983e40209c
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/303270
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agostaging: iio: light: cm3218: share sensor's info
Sri Krishna chowdary [Wed, 23 Oct 2013 06:23:17 +0000]
staging: iio: light: cm3218: share sensor's info

sysfs to share the information on resoultion, integration time,
power consumed, maximum luminance that can be detected in lux.
Need this, since we are supporting multiple ALS with same usespace
driver.

Bug 1373590

Change-Id: Ia333f4a3118268f0c87bf0d3f8b00be17581f05a
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/302734
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra: tn8: i2c registration for CM3217 ALS
Sri Krishna chowdary [Wed, 23 Oct 2013 05:35:20 +0000]
ARM: tegra: tn8: i2c registration for CM3217 ALS

CM3217 ALS uses GEN1 i2c which is i2c0.
Hence, register it under the same.

Bug 1373590

Change-Id: I4b8daadafc7e1eb129327a4ed79f69df5b43f458
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/302733
Reviewed-by: Daniel Fu <danifu@nvidia.com>
Tested-by: Daniel Fu <danifu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra: tn8: Add regulator for CM3217 ALS
Sri Krishna chowdary [Fri, 18 Oct 2013 11:34:56 +0000]
ARM: tegra: tn8: Add regulator for CM3217 ALS

CM3217 ALS uses VDD_SNSR_PREG. Hence, add entry under it.

Bug 1373590

Change-Id: I0753cd04296a174e956119609976514fa9891466
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/301209
Reviewed-by: Daniel Fu <danifu@nvidia.com>
Tested-by: Daniel Fu <danifu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agovideo: tegra: host: gk20a: Recover mult engines
Arto Merilainen [Wed, 23 Oct 2013 11:07:15 +0000]
video: tegra: host: gk20a: Recover mult engines

The driver used to recover only the faulted engine. However, the
channel may still be using the other engine and therefore it is
safer to find faulty engine and fault all engines that have the
same hwctx as the faulted engine.

Bug 1343634

Change-Id: Idfd51d7aad2e05568e17892b0e5b0f26433c7137
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/302823
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoARM: tegra: increase DPD status read delay
Bibek Basu [Wed, 23 Oct 2013 09:12:30 +0000]
ARM: tegra: increase DPD status read delay

Delay before read of a DPD_STATUS register after writing
a DPD_REQ register should be pclk * (Max DPD_TIM + 5)

Bug 1389663

Change-Id: I7e13f7587bb30005c5992b2a6ea6800a115b0840
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/302756
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agomfd: palmas: support to read v2.3 sw_rev/des_rev
Pradeep Goudagunta [Thu, 24 Oct 2013 06:28:35 +0000]
mfd: palmas: support to read v2.3 sw_rev/des_rev

Support to read v2.3 INTERNAL_DESIGNREV and SW_REVISION.

Bug 1353237

Change-Id: I7c0b7888a79411d7801fb45af760b6874535bb4e
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/303188
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra: t12x: implent pad pll iddq for sata
venkatajagadish [Tue, 22 Oct 2013 06:52:23 +0000]
ARM: tegra: t12x: implent pad pll iddq for sata

Bug 1389315

Change-Id: Iaf6ecc3c06cd70efb7da1d7d1fb51ee6485a6b4c
Signed-off-by: venkatajagadish <vjagadish@nvidia.com>
Reviewed-on: http://git-master/r/300407
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agovideo: tegra: host: use dma apis for vic
Deepak Nibade [Mon, 21 Oct 2013 09:30:23 +0000]
video: tegra: host: use dma apis for vic

Use dma_alloc_writecombine()/dma_free_writecombine() apis to
allocate/free memory instead of nvhost_memmgr apis

Bug 1380122

Change-Id: I0db91784b72a12954655b4e7c17ea4857b500e55
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/301732
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agovideo: tegra: host: use virtual address instead of mem_handle
Deepak Nibade [Mon, 21 Oct 2013 09:07:55 +0000]
video: tegra: host: use virtual address instead of mem_handle

add below functions which support using virtual addresses
instead of mem_handle
_nvhost_cdma_push_gather()
_push_buffer_push_to()

Bug 1380122
Bug 1380147

Change-Id: I6d33eed4d4d254be7f15f839095ad685351db74e
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/301731
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoARM: tegra: Update address map of mselect
Ashwin Joshi [Wed, 23 Oct 2013 12:16:13 +0000]
ARM: tegra: Update address map of mselect

Address for mselect has changed for t11x, t14x, t12x. So update this address
in the address map.

Bug 1352285

Change-Id: Ib45c91fd09c4bc8fad71911c943dd11ff750d7bc
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/302836
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra: t12x: implent pad on/off for sata
venkatajagadish [Mon, 30 Sep 2013 06:52:30 +0000]
ARM: tegra: t12x: implent pad on/off for sata

With powergating and context save (idle powergating feature),
Controller is unable to enter into DEVSLP mode, to overcome
this issue a SW WAR provided with this DEVSLP is working.

Bug 1327313
Bug 1357649
Bug 1391015

Change-Id: I2a93232a2e770bfe60ef83c535c3359bd848a3a2
Signed-off-by: venkatajagadish <vjagadish@nvidia.com>
Reviewed-on: http://git-master/r/299821
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agocgroup: fix to break the while loop in cgroup_attach_task() correctly
Shridhar Rasal [Thu, 24 Oct 2013 03:07:51 +0000]
cgroup: fix to break the while loop in cgroup_attach_task() correctly

Both Anjana and Eunki reported a stall in the while_each_thread loop
in cgroup_attach_task().

It's because, when we attach a single thread to a cgroup, if the cgroup
is exiting or is already in that cgroup, we won't break the loop.

If the task is already in the cgroup, the bug can lead to another thread
being attached to the cgroup unexpectedly:

  # echo 5207 > tasks
  # cat tasks
  5207
  # echo 5207 > tasks
  # cat tasks
  5207
  5215
What's worse, if the task to be attached isn't the leader of the thread
group, we might never exit the loop, hence cpu stall. Thanks for Oleg's
analysis.

This bug was introduced by commit 081aa458c38ba576bdd4265fc807fa95b48b9e79
("cgroup: consolidate cgroup_attach_task() and cgroup_attach_proc()")

Cc: <stable@vger.kernel.org> # 3.9+
Reported-by: Eunki Kim <eunki_kim@samsung.com>
Reported-by: Anjana V Kumar <anjanavk12@gmail.com>
Signed-off-by: Anjana V Kumar <anjanavk12@gmail.com>
[ lizf: - fixed the first continue, pointed out by Oleg,
        - rewrote changelog. ]

Bug 1355677

Change-Id: Ifa356d9869e888a759c2be943cffd394a4102a9a
Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/303135
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra: update defconfig for vcm30t124
Ashwin Joshi [Wed, 23 Oct 2013 12:53:09 +0000]
ARM: tegra: update defconfig for vcm30t124

Automotive board vcm30t124 has been renamed frm vcm30_t124. So, update
the new defconfig with changes made in the old one. Old defconfig will
then be removed.

Bug 1371825
Bug 1394511

Change-Id: I5b30c204dbba89e6777f918ea9d9abd1fb01df84
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/302846
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Raghavendra V K <rvk@nvidia.com>
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra: Kconfig: remove wrong sound config
Songhee Baek [Wed, 23 Oct 2013 16:56:43 +0000]
ARM: tegra: Kconfig: remove wrong sound config

The vcm30-t124 doesn't have rt5639 and rt5645.
It doesn't need to enable neither MACH_HAS_SND_SOC_TEGRA_RT5639
nor MACH_HAS_SND_SOC_TEGRA_RT5645.

Bug 1373091

Change-Id: I6d3767e3528671508effbb3f81d9b89cf4fa4991
Reviewed-on: http://git-master/r/302902
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Songhee Baek <sbaek@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Gajanan Bhat <gbhat@nvidia.com>

5 years agoinit: calibrate: don't print out bogomips value on boot
Shreshtha Sahu [Fri, 19 Jul 2013 05:27:26 +0000]
init: calibrate: don't print out bogomips value on boot

BogoMIPs is a confusing concept to the ill-informed, so allow
architectures to print it only if they find it worthwhile. The delay
calibration code should stick to lpj and avoid trying to draw any
correlation with BogoMIPs, which may be a fixed value derived from a
timer frequency independent of the CPU clock speed.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>

Patch picked from - https://lkml.org/lkml/2013/5/3/399

Bug 1320222

Change-Id: I6f08d6eea075a7ee0ab98e7c04ceb29ba350ee60
Signed-off-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/302229
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: Remove any correlation between IPC and BogoMips value
Shreshtha Sahu [Fri, 19 Jul 2013 05:29:41 +0000]
ARM: Remove any correlation between IPC and BogoMips value

Now that we support a timer-backed delay loop, I'm quickly getting sick
and tired of people complaining that their beloved bogomips value has
decreased. You know who you are!

This patch removes the bogomips line from /proc/cpuinfo, based on the
reasoning that any program parsing this is already broken and, as such,
won't be further broken if the field is removed.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>

Patch taken from - https://lkml.org/lkml/2013/5/3/399

Bug 1320222

Change-Id: I484c0b8da47fc9407238d8ba82406cfbf7bb59af
Signed-off-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/302228
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agomisc: tegra: Disable short delay if wake gpio not defined.
glei [Wed, 9 Oct 2013 06:03:07 +0000]
misc: tegra: Disable short delay if wake gpio not defined.

Disable short_autosuspend_delay for Modem device, when wake gpio
is not used.

Bug 1362837

Change-Id: Iadcd28ba432846aeed636d453208d3f954aaf065
Signed-off-by: glei <glei@nvidia.com>
Reviewed-on: http://git-master/r/283833
(cherry picked from commit dc8d4213de17f27a8440dc87ce8bec0623048147)
Reviewed-on: http://git-master/r/302954
Reviewed-by: Neil Patel <neilp@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Neil Patel <neilp@nvidia.com>
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>

5 years agoarm: tegra: la: add t12x camera la support
Adeel Raza [Fri, 4 Oct 2013 23:22:37 +0000]
arm: tegra: la: add t12x camera la support

Bug 1381431

Change-Id: I12129c6d8b3e786c637351e4890af659e2654297
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: http://git-master/r/289995
Reviewed-by: Bruce Holmer <bholmer@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoarm: tegra: ardbeg: enable emc dvfs for E1782
Seema Khowala [Wed, 23 Oct 2013 23:24:20 +0000]
arm: tegra: ardbeg: enable emc dvfs for E1782

Bug 1361265

Change-Id: I12b0ee2af4b4a86885cc67b5e6f805c097121659
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/289967
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agonet: wireless: bcmdhd: add dummy wowlan packet filter
Om Prakash Singh [Mon, 21 Oct 2013 15:56:04 +0000]
net: wireless: bcmdhd: add dummy wowlan packet filter

wowlan packet filter is mandated to avoid the disconnection of
connected network before suspend. So a dummy wowlan filter is
configured for kernels linux-3.8 and above

Bug 1389293

Change-Id: I8de153a28d4c7d3c0884ae09ccbdf106729b9b99
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/301838
GVS: Gerrit_Virtual_Submit
Reviewed-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agoARM: tegra12: clock: Fix system bus clock rounding
Kaz Fukuoka [Wed, 25 Sep 2013 23:42:51 +0000]
ARM: tegra12: clock: Fix system bus clock rounding

Made sure system bus clock (SCLK) round rate operation follows the
same policy on fractional divisors as set rate operation - either both
operations allow fractions, or both does not support them (otherwise,
clock rate stats are confused).

Ported from Tegra11 Change-Id: I3814d66905c01f2ff84b0402be9b9a3d0b113fd6

Change-Id: If4b0eed9be2ce8967c5597ac7471325d0043a38f
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/298504
Reviewed-by: Krishna Sitaraman <ksitaraman@nvidia.com>
Tested-by: Krishna Sitaraman <ksitaraman@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agovideo: tegra: gpu: Add powergate ioctl.
vinodg [Fri, 18 Oct 2013 00:39:00 +0000]
video: tegra: gpu: Add powergate ioctl.

Moved the powergate/unpowergate code to a separate function.

bug 1390624

Change-Id: I6f097afd9deaed61b02eb9226c428829e659c21d
Signed-off-by: vinodg <vinodg@nvidia.com>
Reviewed-on: http://git-master/r/300939
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agovideo: tegra: host: gk20a: fix non PMU gr init
Prashant Malani [Tue, 22 Oct 2013 21:09:43 +0000]
video: tegra: host: gk20a: fix non PMU gr init

Fix the gr ucode load sequence to revert to the legacy
method of loading ucode, if gPMU support is not available.

This is because the quicker bootstrap routine requires a gPMU
VM instance to load the gr ucode into memory.

Bug 1392583

Change-Id: I9c2b2d0611e11d133f01f7466507f68cae2d4ca1
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/302471
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ken Adams <kadams@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Craighead <mcraighead@nvidia.com>
Tested-by: Matt Craighead <mcraighead@nvidia.com>

5 years agoARM: Tegra12: Ardbeg: NCT: Load EMC tables
Jay Bhukhanwala [Wed, 21 Aug 2013 19:52:28 +0000]
ARM: Tegra12: Ardbeg: NCT: Load EMC tables

Adds functionality to load the EMC table from the NCT
partition. If no memory table is in NCT or the NCT
partition doesn't exist, fall back to the built-in table.

Bug 1300925

Change-Id: I09c13443600c987884f67520ca72a7702e052837
Signed-off-by: Jay Bhukhanwala <jbhukhanwala@nvidia.com>
Signed-off-by: Ray Poudrier <rapoudrier@nvidia.com>
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-on: http://git-master/r/289290
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

5 years agoARM: tegra: vcm3.0: t124: Add PCA953X init
Songhee Baek [Sun, 22 Sep 2013 17:38:21 +0000]
ARM: tegra: vcm3.0: t124: Add PCA953X init

PCA953X is for misc io gpio, it needs to be
initialized to release abb_reset, bluetooth wake-up,
user_led1/2 pins.

Bug 1373091

Change-Id: Ie7eec2885d385b1a7ee06eaf28439c1579fcb4f0
Signed-off-by: Songhee Baek <sbaek@nvidia.com>
Reviewed-on: http://git-master/r/289355
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoASoC: ad193x: Add support various sampling rate
Songhee Baek [Sun, 25 Aug 2013 14:41:45 +0000]
ASoC: ad193x: Add support various sampling rate

Current ad193x codec driver supports only 48kHz even though
ad193x can support various sampling rate.
This patch is to various MCLK frequency like 44.1kHz and 32kHz.

Change-Id: I81e80ebd83e7cd9b255e01460eb3047f4296ad36
Signed-off-by: Songhee Baek <sbaek@nvidia.com>
Reviewed-on: http://git-master/r/289568
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bob Johnston <bjohnston@nvidia.com>
Reviewed-by: Nitin Nagaraja <nitinn@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agoASoC: dapm: Workaround for double addition prefix
Songhee Baek [Fri, 23 Aug 2013 17:59:30 +0000]
ASoC: dapm: Workaround for double addition prefix

When we use identical codec for dual codec use case,
we need to use prefix for codec driver, but dapm making double
addition prefix for codec DAI widget in snd_soc_dapm_add_route.
So, this change is for avoiding double addition prefix for codec
DAI widget.

This change is needed by dual codec use case.

Bug 1354235
Bug 1373091

Change-Id: I3e9214ca87ccd14c9729b4accb40ec3cf4f65ed0
Signed-off-by: Songhee Baek <sbaek@nvidia.com>
Reviewed-on: http://git-master/r/289442
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bob Johnston <bjohnston@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agoARM: tegra12:clock: Add tegra-alt driver clocks
Songhee Baek [Sun, 25 Aug 2013 16:18:03 +0000]
ARM: tegra12:clock: Add tegra-alt driver clocks

These clocks are for tegra-alt ASoC driver.

Bug 1354235
Bug 1373091

Change-Id: I5970ec1722edb81e53a0afc836c24e004161584c
Signed-off-by: Songhee Baek <sbaek@nvidia.com>
Reviewed-on: http://git-master/r/289352
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoRevert "video: tegra: gk20a: add PBUS interrupt"
Terje Bergstrom [Wed, 23 Oct 2013 11:36:59 +0000]
Revert "video: tegra: gk20a: add PBUS interrupt"

This reverts commit 845ccb7dc90c3e0f1194bec1ee2bfd62d13e06ce.

Change-Id: Ifcdf147901aa11c88d87cfdacf80cc41bf2ccc40
Reviewed-on: http://git-master/r/302819
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agovideo: tegra: host: Handle dropped MMU faults
Arto Merilainen [Wed, 23 Oct 2013 08:07:19 +0000]
video: tegra: host: Handle dropped MMU faults

The code currently does not handle dropped MMU faults that occur if
we get an MMU fault while we are handling the previous MMU fault.
This patch adds a stub handler for handling these faults.

Bug 1343634

Change-Id: Ia081c53c70cdc8d5c0e8fd6b4b2c94b7b35d2ed6
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/302710
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agovideo: tegra: host: Long dependent submit timeout
Arto Merilainen [Tue, 22 Oct 2013 10:28:35 +0000]
video: tegra: host: Long dependent submit timeout

Submits may have dependencies to submits on other channels. If
these submits are blocked by i.e. faulty submits, we may trigger
a false timeout for the waiting submit.

This patch modifies timeout handler to check if the channel is
currently waiting for a syncpoint that is not owned by the present
submit. If yes, we postpone the timeout.

Bug 1343634

Change-Id: I7cb2f9ccf9a5414d808e4376adbd8605cc1b76bd
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/302709
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agovideo: tegra: gk20a: add PBUS interrupt
Kevin Huang [Wed, 25 Sep 2013 23:49:52 +0000]
video: tegra: gk20a: add PBUS interrupt

Change-Id: I14e4012dfd407ba106a6f6d582c9e570ed920cf2
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/300262
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agovideo: tegra: gk20a: fix host crash during init
Kevin Huang [Thu, 26 Sep 2013 23:56:31 +0000]
video: tegra: gk20a: fix host crash during init

Don't access to gr register when gr is not on.

Change-Id: I5d240cf437c252466e3cea5e6741cbd802c79665
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/300162
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agopower: bq2419x-charger: short vbus enable time
Martin Chi [Wed, 14 Aug 2013 07:15:53 +0000]
power: bq2419x-charger: short vbus enable time

Per the scope of vbus regulator when plug-in otg
device cable, the vbus ring time is only about 2ms,
so short enable time from 500ms to 8ms

Bug 1344478

Change-Id: Ief7573281d427940af2af3b0365bac1389ae7862
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/261358
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-on: http://git-master/r/302589
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agostaging: iio: adc: palmas: add DT support
Laxman Dewangan [Tue, 22 Oct 2013 12:40:27 +0000]
staging: iio: adc: palmas: add DT support

Add DT support for the Palmas ADC driver.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
(Cherrypicked commit b11a33b8a6d95d0e5e5f27d0854fc053c2fbeb6f)

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

5 years agoiommu/tegra: smmu: Print phys_addr_t/dma_addr_t using %pa
Hiroshi Doyu [Mon, 21 Oct 2013 09:08:12 +0000]
iommu/tegra: smmu: Print phys_addr_t/dma_addr_t using %pa

phys_addr_t/dma_addr_t becomes 64 bits wide and printing a variable of
that type using a simple %x format specifier causes the compiler to
complain. Change the format specifier to %pa, which is used
specifically for variables of type phys_addr_t/dma_addr_t.

Change-Id: I73c0e00f03e0f27e55210a9a37c3b3c54878b3d6
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/301717

5 years agoiommu/tegra: Print phys_addr_t using %pa
Thierry Reding [Tue, 17 Sep 2013 08:19:31 +0000]
iommu/tegra: Print phys_addr_t using %pa

When enabling LPAE on ARM, phys_addr_t becomes 64 bits wide and printing
a variable of that type using a simple %x format specifier causes the
compiler to complain. Change the format specifier to %pa, which is used
specifically for variables of type phys_addr_t.

Change-Id: I3c11b6c6e062dd7a7724143aef9df3dd29849429
Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>

5 years agoarm: tegra: save and restore actmon context
Prashant Gaikwad [Mon, 21 Oct 2013 04:59:13 +0000]
arm: tegra: save and restore actmon context

Save actmon context before entering LP0 from cpuidle
and restore after exit.

Bug 1254633

Change-Id: I4e96cd1465aa57a032d4f782f00deb0af620f660
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-on: http://git-master/r/299472
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agovideo: tegra: host: add slave_initialized flag
Bryan Wu [Mon, 7 Oct 2013 22:17:33 +0000]
video: tegra: host: add slave_initialized flag

A slave platform_device will be registered when we initialize the
master device. But if modprobe to init master device again, it will
try to initialize slave platform device again then oops happens.

And if we registered a platform_device in kernel, we normally don't
release it. So introduce a flag of nvhost_device_data to indicate
the status of slave and skip the slave init.

Bug 1377330

Change-Id: Ia4dfe6f8046952e2642343d23e39a14b6eb021b4
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/289326
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agovideo: tegra: host: add user_deinit
Bryan Wu [Mon, 7 Oct 2013 18:54:05 +0000]
video: tegra: host: add user_deinit

nvhost_client_device_release() should remove those char devices for
user space, otherwise Oops will happen when call
nvhost_client_user_init() again like modprobing.

Bug 1377330

Change-Id: I98bdb347f99aa049173387dee47d90faa795e7fa
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/289325
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agovideo: tegra: host: export symbols for VI driver
Bryan Wu [Wed, 25 Sep 2013 23:59:58 +0000]
video: tegra: host: export symbols for VI driver

VI driver can be a module so need those APIs to be exported.

Bug 1377330

Change-Id: I5e7d0cfaea984a5c87a3b6e82f34f0b716bab6e6
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/289324
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoarm: tegra: add emc dvfs table for E1792
Xue Dong [Wed, 23 Oct 2013 00:07:34 +0000]
arm: tegra: add emc dvfs table for E1792

Change-Id: Idf5cb03a52261e7f433de24add8bc0edf5ed918f
Signed-off-by: Xue Dong <xdong@nvidia.com>
Reviewed-on: http://git-master/r/302549
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agonet: wireless: Update SD8797/SD8897 WLAN/BT driver to 434
Marc Yang [Mon, 7 Oct 2013 23:59:42 +0000]
net: wireless: Update SD8797/SD8897 WLAN/BT driver to 434

Signed-off-by: Marc Yang <yangyang@marvell.com>

Bug 1318052
Bug 1375751

Change-Id: I967b26a35a5e8711f068f4e0762701f75c4a4c42
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/282710
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoRevert "net: wireless: Update SD8797 driver for 3.10"
Nagarjuna Kristam [Tue, 8 Oct 2013 11:11:45 +0000]
Revert "net: wireless: Update SD8797 driver for 3.10"

This reverts commit f5bb3cb28aa8ed6a671248fc7f29dba2f49b5b12.

Latest Marvell drivers fixes 3.10 specific build issues.

Bug 1375751

Change-Id: Id2874d46fff6aaa4762bac857f423680724151a1
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/282709
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoarm: tegra12: config: Enable Marvell Wireless drivers
Nagarjuna Kristam [Tue, 8 Oct 2013 11:09:00 +0000]
arm: tegra12: config: Enable Marvell Wireless drivers

Bug 1377247
Bug 1375751

Change-Id: I005bdae67c5afcbb408b5ad531e7ce2c8356b2ed
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/282705
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>

5 years agoARM: pinctrl: add gpio default through DT
Ashwini Ghuge [Tue, 22 Oct 2013 13:50:26 +0000]
ARM: pinctrl: add gpio default through DT

Bug 1373364

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

5 years agoiommu/tegra: smmu: print error before mapping release
Bo Yan [Tue, 22 Oct 2013 16:26:48 +0000]
iommu/tegra: smmu: print error before mapping release

in case of a crash inside arm_iommu_release_mapping, the dev_err
statement following that will have no chance to run. so move
dev_err ahead, this will help debugging.

Change-Id: I80aa6f262ce65fa362283460137fe4974281b686
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/302405
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Tested-by: Hiroshi Doyu <hdoyu@nvidia.com>

5 years agostaging:iio:ls:cm3217:correct regulator init logic
Sri Krishna chowdary [Fri, 18 Oct 2013 11:28:11 +0000]
staging:iio:ls:cm3217:correct regulator init logic

During regulator init, cm3217_vregs is accessed out of range.
This causes kernel panic during shutdown.
Hence, fix the init code.

Bug 1373590

Change-Id: If969b51d0303aaaaea61153e53cc3055fe063486
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/301208
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoarm: tegra: update dvfs table for E1780
Xue Dong [Tue, 22 Oct 2013 21:24:37 +0000]
arm: tegra: update dvfs table for E1780

Change-Id: I212b481d59913f07902935ffe320d112227112a7
Signed-off-by: Xue Dong <xdong@nvidia.com>
Reviewed-on: http://git-master/r/302475
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agoarm: tegra: hard code pllc to 600Mhz
Xue Dong [Fri, 27 Sep 2013 01:05:52 +0000]
arm: tegra: hard code pllc to 600Mhz

Change-Id: If15da4065e9851e9489c87fad50d82f13f7c0215
Signed-off-by: Xue Dong <xdong@nvidia.com>
Reviewed-on: http://git-master/r/299044
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agoarm: tegra: update emc dvfs sequence to v1247
Xue Dong [Fri, 27 Sep 2013 00:50:44 +0000]
arm: tegra: update emc dvfs sequence to v1247

bug 1348140

Change-Id: I121d002b947f2ac2d7a15624b499173b17e9e893
Signed-off-by: Xue Dong <xdong@nvidia.com>
Reviewed-on: http://git-master/r/299043
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agotegra: dc: Disconnect display if there is no output driver
Raghavendra VK [Fri, 18 Oct 2013 10:58:49 +0000]
tegra: dc: Disconnect display if there is no output driver

bug 1373849

Change-Id: I403b3f6cb8a8c2b31d5b5555721df57531ea7997
Signed-off-by: Raghavendra VK <rvk@nvidia.com>
Reviewed-on: http://git-master/r/301193
Reviewed-by: Bob Johnston <bjohnston@nvidia.com>
Tested-by: Bob Johnston <bjohnston@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

5 years agoARM: tegra: dvfs: Install thermal DVFS peak voltages
Alex Frid [Sat, 12 Oct 2013 02:35:38 +0000]
ARM: tegra: dvfs: Install thermal DVFS peak voltages

Initialized peak voltages array in DVFS structure for clocks that have
thermal DVFS. Updated Tegra12 GPU DVFS initialization respectively. As
a result peak voltage prediction interface now actually returns maximum
voltage across thermal DVFS ranges at requested frequency.

Re-used peak voltage array as safe DVFS table if registration of the
scaling cooling device failed.

Added peak voltages to debugfs.

Bug 1307919

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

5 years agoarm: tegra: ardbeg: add default hdmi panel mode
Jong Kim [Mon, 21 Oct 2013 19:02:09 +0000]
arm: tegra: ardbeg: add default hdmi panel mode

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

bug 1264520
bug 1320357
bug 1324935

Change-Id: Ibd1cbe98b2f21e1c0bed8226b4876c473279c239
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/301956
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

5 years agoARM: tegra: dvfs: Add predict peak voltage interface
Alex Frid [Tue, 8 Oct 2013 00:17:47 +0000]
ARM: tegra: dvfs: Add predict peak voltage interface

With introduction of thermal dvfs, frequency-to-voltage mapping may
be changed at run time with temperature. Therefore, s/w layers that
rely on inverse voltage-to-frequency tables to determine frequency
caps, should use peak voltages across all thermal dvfs ranges. Hence,
this commit:
- added the respective peak_millivolts entry in dvfs structure
- added tetra_dvfs_predict_peak_millivolts() interface
- modified EDP table calculation to use peak voltage prediction
- modified core cap table construction to use peak voltage prediction,
changed warning reported when voltage for minimum frequency is above
core Vmin to info - this maybe true in some thermal dvfs range
- modified override range calculation to use peak voltage prediction,
added dvfs safe-guard in rail override mode to make sure that override
limit is not violated in any thermal range

For now, dvfs peak millivolts entries are not populated at all, and
predicted peak voltage are based on dvfs table active at the moment in
current thermal range (the same as standard predict voltage interface).

Bug 1307919

Change-Id: Ia8d962c66efbcb98d227dab55b36bbba8d93ef5f
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/289480
Reviewed-on: http://git-master/r/298527
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra12: clock: Fix pll_c_out1 flags
Kaz Fukuoka [Tue, 1 Oct 2013 00:51:39 +0000]
ARM: tegra12: clock: Fix pll_c_out1 flags

Ported from Tegra11 change I899cf5b6d04cc27f63de7f01fb7aa78636e61ea6

Change-Id: I9a8808bc1cf09846b928abf74aa743352fb23bf9
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/299004
Reviewed-by: Krishna Sitaraman <ksitaraman@nvidia.com>
Tested-by: Krishna Sitaraman <ksitaraman@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra12: clock: Use AVP clock integer divisor
Kaz Fukuoka [Wed, 25 Sep 2013 23:32:47 +0000]
ARM: tegra12: clock: Use AVP clock integer divisor

Only integer divisors are allowed from now on for AVP/SCLK clock
sources.

Ported from Tegra11 Change-Id: I5d846e8c304c18cff2e2da5a8ff2d2ed821ea727

Change-Id: I1b2f1d39e0a0800bbf96ecbe163b56a6cc674ad9
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/299003
Reviewed-by: Krishna Sitaraman <ksitaraman@nvidia.com>
Tested-by: Krishna Sitaraman <ksitaraman@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra12: clock: add utmip-pad clock entry for xusb
Kaz Fukuoka [Thu, 26 Sep 2013 23:54:59 +0000]
ARM: tegra12: clock: add utmip-pad clock entry for xusb

utmip-pad entry was missing for xusb and so devm_clk_get is
failing. Adding the same for xusb interface.

Ported from Tegra11 Change-Id: I257fccf974bc5bededbe0a5c3e96d171ad4f5077

Change-Id: I0fbe00be4d181ff8dfd7a1a9125c42d7c0463a8d
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/298507
Reviewed-by: Krishna Sitaraman <ksitaraman@nvidia.com>
Tested-by: Krishna Sitaraman <ksitaraman@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: Modify temperature margins for T12x
Diwakar Tundlam [Thu, 17 Oct 2013 22:25:07 +0000]
ARM: tegra: Modify temperature margins for T12x

Temperature threshold Values taken from new tegra12x margining
spreadsheet.

Updated Shield-ERS and Loki board-files with thresholds for T580 SKU
and Laguna board-file with thresholds for T570 SKU.

Bug 1393423

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

5 years agoRevert "staging: iio: adc: palmas: add DT support"
Sridhar Lavu [Tue, 22 Oct 2013 16:34:56 +0000]
Revert "staging: iio: adc: palmas: add DT support"

This reverts commit a90856a6626d502d42c6e7abccbdf9d730b36270
since it introduces automated sanity regression

Bug 1393292 : sanity regression

Change-Id: I6e2990d69a6f3566e1dd96f893fedcae49947133
Signed-off-by: Sridhar Lavu <slavu@nvidia.com>
Reverts-what-was-Reviewed-on: http://git-master/r/302361
Reviewed-on: http://git-master/r/302416
Reviewed-by: Automatic_Commit_Validation_User

5 years agovideo: tegra: edid: Verify checksum of edid
Mike J. Chen [Tue, 1 Oct 2013 01:36:19 +0000]
video: tegra: edid: Verify checksum of edid

We've seen invalid edid reads and should retry instead
of using it.

Change-Id: I7d74a41f702be02464c7f43904805142153d4da0
Signed-off-by: Mike J. Chen <mjchen@google.com>
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/301312
Reviewed-by: Xue Dong <xdong@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agoARM: tegra12: clock: Keep PLL_REFE enabled during init
Kaz Fukuoka [Tue, 1 Oct 2013 00:26:59 +0000]
ARM: tegra12: clock: Keep PLL_REFE enabled during init

Enabled PLL_REFE in early kernel initialization, to provide clock for
h/w sequencers initialization. PLL is disabled in late init.

Ported from Tegra11 change Ie79a3f0989fb3a40714659c7ed082dce2d004d5c

Change-Id: I056f40e1410668fd494e474e1ba56af9a43545ef
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/298502
Reviewed-by: Krishna Sitaraman <ksitaraman@nvidia.com>
Tested-by: Krishna Sitaraman <ksitaraman@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agostaging: iio: adc: palmas: add DT support
Laxman Dewangan [Tue, 22 Oct 2013 12:40:27 +0000]
staging: iio: adc: palmas: add DT support

Add DT support for the Palmas ADC driver.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
(Cherrypicked commit b11a33b8a6d95d0e5e5f27d0854fc053c2fbeb6f)

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

5 years agoARM: tegra: add port FF to GPIO ID's for T124
Ashwini Ghuge [Tue, 22 Oct 2013 08:40:17 +0000]
ARM: tegra: add port FF to GPIO ID's for T124

Change-Id: I6aa539b0073731bf047b4b611ab3bb3345952535
Reviewed-on: http://git-master/r/302217
Reviewed-by: Ashwini Ghuge <aghuge@nvidia.com>
Tested-by: Ashwini Ghuge <aghuge@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra: ardbeg: Add versioned dts file
Nitin Kumbhar [Fri, 6 Sep 2013 06:47:46 +0000]
ARM: tegra: ardbeg: Add versioned dts file

Add a new dts file for latest ardbeg fab version.

Bug 1056577

Change-Id: I24f00ef024179f806fcbc93867c1640ffb8776fd
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-on: http://git-master/r/288884
GVS: Gerrit_Virtual_Submit

5 years agoARM: tegra: pcie: Apply CLKREQ# WAR for PM358/9
Jay Agarwal [Tue, 22 Oct 2013 07:27:12 +0000]
ARM: tegra: pcie: Apply CLKREQ# WAR for PM358/9

CLKREQ# WAR is not supported on PM358/9 platforms
Apply WAR to always enable refclk for these only.

Bug 1356695

Change-Id: Iaa97c4964f0f3ac0295a8a1172c037e713f332c0
Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-on: http://git-master/r/302175
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra: add regulator supply properties for gyro and compass on DT
Laxman Dewangan [Tue, 22 Oct 2013 10:03:24 +0000]
ARM: tegra: add regulator supply properties for gyro and compass on DT

Gyro and compass drivers are registerd from DT and so adding the
power supply properties of these devices in dt node.

Removing the non-required entry in regulator consumer as client driver
moved to DT.

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

5 years agovideo: tegra: host: Enable ISP & VI power gating
Terje Bergstrom [Thu, 26 Sep 2013 11:29:02 +0000]
video: tegra: host: Enable ISP & VI power gating

Change-Id: I03e86e1ccbf7d4ac81596a6babb1066e7bae4c65
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/288830

5 years agovideo: tegra: host: Fix race in gr3d scaling
Arto Merilainen [Tue, 1 Oct 2013 12:33:24 +0000]
video: tegra: host: Fix race in gr3d scaling

The scaling code used cancel_work_sync() while holding a mutex. As the work
itself uses the same mutex, we risk causing a deadlock.

This patch refactors the code so that the mutex is not hold while calling
cancel_work_sync().

Bug 1371500

Change-Id: I3aa0de168cebcc1d8d1843813caee5e82fe3df06
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/280730
(cherry picked from commit 763125fba1c9a8a67a9968c8502c17465665eb35)
Reviewed-on: http://git-master/r/289051
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agostaging: iio: light: stm8t143: hide prints
Sri Krishna chowdary [Mon, 21 Oct 2013 12:35:02 +0000]
staging: iio: light: stm8t143: hide prints

proximity values were printed to check the
frequency of updates during sensor bringup.
Not required now, hence change pr_info to pr_debug.

Bug 1362876

Change-Id: I4435c5be9e6c287782ff871ea3d80da86677f78e
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/301790
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agocpufreq: don't leave stale policy pointer in cdbs->cur_policy
Jacob Shin [Thu, 27 Jun 2013 20:02:12 +0000]
cpufreq: don't leave stale policy pointer in cdbs->cur_policy

Clear ->cur_policy when stopping a governor, or the ->cur_policy
pointer may be stale on systems with have_governor_per_policy when a
new policy is allocated due to CPU hotplug offline/online.

[rjw: Changelog]
Suggested-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Jacob Shin <jacob.shin@amd.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

(cherry picked from commit 419e172145cf6c51d436a8bf4afcd17511f0ff79)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Change-Id: Iada00880f8c98ed1beb372bf4b84ff9a7d43e3ea
Reviewed-on: http://git-master/r/300402
Reviewed-by: Puneet Saxena <puneets@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoasoc: rt5639: Update drivers
Scott Peterson [Thu, 10 Oct 2013 22:56:08 +0000]
asoc: rt5639: Update drivers

Update the Realtek rt5639 drivers to
improve the headphone performance.

Change-Id: I32ab81b07c952f8887c629e68e8fdaf52ec6a143
Signed-off-by: Scott Peterson <speterson@nvidia.com>
Reviewed-on: http://git-master/r/299697
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
Tested-by: Sharad Gupta <sharadg@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra: create a DT header defining GPIO IDs
Stephen Warren [Wed, 13 Feb 2013 00:24:04 +0000]
ARM: tegra: create a DT header defining GPIO IDs

All Tegra GPIOs are named after the GPIO bank and GPIO number within
the bank. Define a macro to calculate the GPIO ID based on those
parameters. Make the macro available via all Tegra .dtsip files.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
(cherry picked from commit 9798e47ff232c48b3c25b9a6b9395b505e389475)
Signed-off-by: Ashwini Ghuge <aghuge@nvidia.com>

Change-Id: I7bf7e20b44492da0cb5acba963905027e980b29f
Reviewed-on: http://git-master/r/302216
Reviewed-by: Ashwini Ghuge <aghuge@nvidia.com>
Tested-by: Ashwini Ghuge <aghuge@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoarm: tegra: loki: Fix modem pinmux
Raj Jayaraman [Mon, 21 Oct 2013 23:26:03 +0000]
arm: tegra: loki: Fix modem pinmux

Bug 1390847

Change-Id: I4ed1bfa1a5bd86592edd71d51141b2db8b464ee4
Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
Reviewed-on: http://git-master/r/302000
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra12: Update audio pinmux settings
Scott Peterson [Tue, 15 Oct 2013 19:27:49 +0000]
ARM: tegra12: Update audio pinmux settings

Update the audio pinmux settings for Loki

Bug 1382160

Change-Id: I6003da94b4bf1e2989f0ac22d131e27e7036fee1
Signed-off-by: Scott Peterson <speterson@nvidia.com>
Reviewed-on: http://git-master/r/299588
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-by: Ashwini Ghuge <aghuge@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra: Remove incorrect RTC node
Ajay Nandakumar [Mon, 21 Oct 2013 09:32:40 +0000]
ARM: tegra: Remove incorrect RTC node

Removing incorrect RTC node as it might cause crashes/hang
if the RTC driver registers with this incorrect node.

Change-Id: Ic8829b3e0341487fee0a481b6e5e9d72618ba2a1
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/301726
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra: Thor 1.95: Change orientation vector
Xiaohui Tao [Thu, 17 Oct 2013 21:02:06 +0000]
ARM: tegra: Thor 1.95: Change orientation vector

Fake the sensor as if it is on the display. It is the same thing
we did for shield 1.

Bug 1385809

Change-Id: I4f03e8145c26438160a23b56acd30b5b4f872cfd
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/300687
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>