5 years agoinput: misc: fix sysfs permissions
Erik Lilliebjerg [Thu, 6 Jun 2013 14:25:35 +0000]
input: misc: fix sysfs permissions

- Fix sysfs permissions.
- Fix raw accelerometer access.
- Fix autodetection behind MPU.
- Add self-test.

Bug 1224709
Bug 1243584
Bug 1291044
Bug 1295651
Bug 1290313
Bug 1298831

Change-Id: I55847fd158abdb9f12dc830218619c6ed7913396
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/243010
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>

5 years agoinput: misc: Add orientation vector in header file
Xiaohui Tao [Thu, 30 May 2013 17:55:41 +0000]
input: misc: Add orientation vector in header file

Add orientation vector in header file in order for better
management

Change-Id: Ic128afc49f169f534356fdec2e1381ccd09acc6b
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/243009
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>

5 years agoinput: misc: compass: akm89xx: fix memory leak and race on accessing inf
David Yu [Tue, 23 Apr 2013 06:41:08 +0000]
input: misc: compass: akm89xx: fix memory leak and race on accessing inf

Bug 1276763

Change-Id: Ia16541ac45642c4758b55f041a6c3bc89dc6a00f
Signed-off-by: David Yu <davyu@nvidia.com>
(cherry picked from commit 8933e396c73d6ad7d8c1621649ef57fd6d32f534)
Reviewed-on: http://git-master/r/243008
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>

5 years agoinput: misc: compass: akm89xx: add support for device tree
David Yu [Thu, 11 Apr 2013 04:07:37 +0000]
input: misc: compass: akm89xx: add support for device tree

Bug 1260300
Bug 1173064

Change-Id: I1cd32f31126ed08e13c731e3d40ceb2ca6052048
Signed-off-by: David Yu <davyu@nvidia.com>
(cherry picked from commit 58a1297474a500e21db87711410497b75c21c484)
Reviewed-on: http://git-master/r/243007
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>

5 years agoarm: thermal: add t124 soc therm support
Xue Dong [Fri, 28 Jun 2013 01:31:19 +0000]
arm: thermal: add t124 soc therm support

bug 1176075

Change-Id: I111790fb8d63833e48e8e6931058cfcb2303d003

Signed-off-by: Xue Dong <xdong@nvidia.com>
Change-Id: Ic47ce922bbb9e9cd02643b71e1d6d8fb2eb62c44
Reviewed-on: http://git-master/r/243571
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: ardbeg: t12x: Enable i2c device reg
Seema Khowala [Fri, 28 Jun 2013 06:35:18 +0000]
ARM: tegra: ardbeg: t12x: Enable i2c device reg

Enabling device registration for i2c instances using
board files

Bug 1297408

Change-Id: I93a52673abf76718e3f427a6f71e9afddee996a2
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/243180

5 years agoarm: tegra: ardbeg: move gpio defines to board header file
Seema Khowala [Fri, 28 Jun 2013 18:47:20 +0000]
arm: tegra: ardbeg: move gpio defines to board header file

Change-Id: I14ed3de4af1442f8fcf80834fd49f61f3c142642
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/243320

5 years agoARM: tegra: ardbeg: update usb power rails
Pradeep Goudagunta [Fri, 28 Jun 2013 13:00:16 +0000]
ARM: tegra: ardbeg: update usb power rails

-Update utmip and vbus regulators for USB in Laguna and Ardbeg.

Bug 1313825

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

5 years agoregulator: core: give delay after enabling rail
Mallikarjun Kasoju [Fri, 28 Jun 2013 13:08:30 +0000]
regulator: core: give delay after enabling rail

During applying machine constrain give delay after enabling
rail

Bug 1314334

Change-Id: I468eac8e9094b77c8606f5f4958fc0bc8346ec50
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/243449
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoregulator: as3722: give delay of 2 ms after enabling rail
Mallikarjun Kasoju [Fri, 28 Jun 2013 13:18:25 +0000]
regulator: as3722: give delay of 2 ms after enabling rail

Give delay of 2 ms after enabling rail

Bug 1314334

Change-Id: I0ef64ac5aa8ac0bf37275f2945dae027a383be4d
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/243450
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra: ardbeg: Enable sdmmc device reg
Pavan Kunapuli [Thu, 27 Jun 2013 12:21:02 +0000]
ARM: tegra: ardbeg: Enable sdmmc device reg

Enabling device registration for all sdmmc instances using
board files.

Bug 1314985

Change-Id: I95e9617146b0124886b28a4d1272fabca3667315
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/242899
Reviewed-by: R Raj Kumar <rrajk@nvidia.com>
Tested-by: R Raj Kumar <rrajk@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra: sdhci: Remove base_clk from plat data
Pavan Kunapuli [Wed, 26 Jun 2013 12:56:00 +0000]
ARM: tegra: sdhci: Remove base_clk from plat data

Base clock frequency is fixed for the controller and need not be
programmed. Removed base_clk entries from platform data for dalmore,
pluto and macallan platforms.

Bug 1314985

Change-Id: I70dc71589e19bad96e3e1523fab9af5f6e4b7e94
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/242434
Reviewed-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agommc: tegra: Parse dt node for max clk, uhs mask
Pavan Kunapuli [Wed, 26 Jun 2013 12:53:14 +0000]
mmc: tegra: Parse dt node for max clk, uhs mask

Add supporting for parsing dt node to get the max clk limits and
the uhs mask data.
Base clock frequency is fixed for each instance of controller and need
not be programmed. Removed base clk parsing code.

Bug 1314985

Change-Id: Iab9b6014557738ac66a58168458130e6f8e47e4f
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/242433
Reviewed-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra: ardbeg: Add ehci2 device driver
Rakesh Bodla [Thu, 27 Jun 2013 22:19:29 +0000]
ARM: tegra: ardbeg: Add ehci2 device driver

Adding the platform data and driver registration
for USB2 controller.

Change-Id: I25ec4c34e8f994638066424793d126f6c2ca067f
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/242810
Reviewed-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Tested-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agovideo: tegra: host: handle !PM_RUNTIME
Mayuresh Kulkarni [Thu, 27 Jun 2013 15:48:54 +0000]
video: tegra: host: handle !PM_RUNTIME

when kernel config PM_RUNTIME is not enabled
we enable the clocks to module in .probe and
disable the clocks to module in .remove

bug 1303829

Change-Id: I95762df59db76972cfa7c942ec446fc4af0312f9
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/242964
Reviewed-by: Ken Adams <kadams@nvidia.com>
Tested-by: Ken Adams <kadams@nvidia.com>

5 years agovideo: tegra: host: fix merge issue
Ken Adams [Thu, 27 Jun 2013 20:13:47 +0000]
video: tegra: host: fix merge issue

this commit fixes the below issue for asim + linsim:
- of_platform_populate() call from board file was missing.
due to this the parent of host1x was set incorrect
- clean up gk20a aperture defines
- hooks up prepare_poweroff of gk20a with save_state of
pm domain which was missed in merge
- remove calls to runtime pm in gk20a_probe as it never
invokes the hardware

Change-Id: I810d6c1b917582a2d3b5d9cadd4c00de72969055
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Signed-off-by: Ken Adams <kadams@nvidia.com>
Reviewed-on: http://git-master/r/242865

5 years agovideo: tegra: host: fix ardbeg build
Mitch Luban [Fri, 28 Jun 2013 04:57:19 +0000]
video: tegra: host: fix ardbeg build

Moves gk20a address definitions to mach/iomap.h which is
more accessible.

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

5 years agoarm: tegra: ardbeg: support hdmi
Seema Khowala [Thu, 27 Jun 2013 23:35:13 +0000]
arm: tegra: ardbeg: support hdmi

hdmi support for E1733 AMS power tree

Bug 1284834

Change-Id: Ia6667b88292258d05355c99dd4cea40992f0fa27
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/243158

5 years agoarm: tegra: ardbeg: E1731/E1735: fix boot issue
Seema Khowala [Thu, 27 Jun 2013 21:55:28 +0000]
arm: tegra: ardbeg: E1731/E1735: fix boot issue

-Issue caused due to change 242505
-Display is not up for E1731
-Display and touch are up but adb is not for E1735

Bug 1300619
Bug 1306376

Change-Id: Icb65f933b9d99b96dcf0acdad31f49744bdaa7e1
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/243076

5 years agoARM: tegra: ardbeg: t12x: update aux data table
Seema Khowala [Thu, 27 Jun 2013 20:40:02 +0000]
ARM: tegra: ardbeg: t12x: update aux data table

Bug 1297408

Change-Id: I4c164a4d07dc675c1a193e4b15950d3267cbf4f7
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/243049
Reviewed-by: Chao Xu <cxu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

5 years agoarm: tegra: ardbeg: t12x: set backlight and touch gpio
Seema Khowala [Thu, 27 Jun 2013 19:58:24 +0000]
arm: tegra: ardbeg: t12x: set backlight and touch gpio

-GPIO_PH2 is set to 1 to enable backlight
-GPIO_PK4 is set to 1 to reset touch

Change-Id: I28ecb469f7a5233c8101f8a4a7c9d565aa735343
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/243036

5 years agoarm: tegra: ardbeg: Fixed Touch not working
Seema Khowala [Thu, 27 Jun 2013 19:37:56 +0000]
arm: tegra: ardbeg: Fixed Touch not working

-Add (dvdd, spi0.0) regulator to as3722_sd5

Change-Id: I45bd9e73c82234387b5115f8a19585d39282dd33
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/243030

5 years agovideo: tegra: Clear IDDQ of GPCPLL
Kaz Fukuoka [Thu, 27 Jun 2013 02:34:23 +0000]
video: tegra: Clear IDDQ of GPCPLL

bug 1313713

Change-Id: I93da0fffe07bbb4deca6ff52e087dff6e7401ba6
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/242672
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoarch: arm: tegra: ardbeg: Add GPIO keys
Kamal Kannan Balagopalan [Wed, 19 Jun 2013 23:39:13 +0000]
arch: arm: tegra: ardbeg: Add GPIO keys

Change-Id: I1703266be322b9a72e2093e0ad3b2fb08fdb6264
Signed-off-by: Kamal Kannan Balagopalan <kbalagopalan@nvidia.com>
Reviewed-on: http://git-master/r/242091
Reviewed-by: Seema Khowala <seemaj@nvidia.com>

5 years agoARM: tegra: ardbeg: Enable 32k AMS RTC OSC clock
Kamal Kannan Balagopalan [Tue, 25 Jun 2013 07:24:41 +0000]
ARM: tegra: ardbeg: Enable 32k AMS RTC OSC clock

AMS doesnt assert XRST_OUT if the 32KHz clock from the RTC oscillator
is off

Change-Id: I1ad7babea51abcb452ecac37317cdd3749ccc07c
Signed-off-by: Kamal Kannan Balagopalan <kbalagopalan@nvidia.com>
Reviewed-on: http://git-master/r/242090
Reviewed-by: Seema Khowala <seemaj@nvidia.com>

5 years agoARM: tegra: ardbeg: Add AMS external rail control
Kamal Kannan Balagopalan [Wed, 19 Jun 2013 04:47:18 +0000]
ARM: tegra: ardbeg: Add AMS external rail control

Add support to individually enable external rail control for all the
rails in the E1733 power tree

Bug 1284096

Change-Id: If904d83bbf16b14598399169df043012952bc7b2
Signed-off-by: Kamal Kannan Balagopalan <kbalagopalan@nvidia.com>
Reviewed-on: http://git-master/r/242088
Reviewed-by: Seema Khowala <seemaj@nvidia.com>

5 years agoARM: tegra12: fix MC latency allowance programming
Peng Du [Wed, 19 Jun 2013 00:09:53 +0000]
ARM: tegra12: fix MC latency allowance programming

Unlike T3 and T114, MC latency allowance registers on T124+ are
not in a contiguous MMIO range anymore, which is fixed by this
change. This change also updated the latency allowance register
definitions based on T124's HW spec.

Bug 1289211

Change-Id: I225d1956f669c1efcebce0442856a8d28a692bef
Signed-off-by: Peng Du <pdu@nvidia.com>
Reviewed-on: http://git-master/r/242508
Reviewed-by: Adeel Raza <araza@nvidia.com>
Tested-by: Adeel Raza <araza@nvidia.com>
Reviewed-by: Seema Khowala <seemaj@nvidia.com>

5 years agoARM: tegra12: clock: Enable GPU PLL reference clock
Kaz Fukuoka [Thu, 27 Jun 2013 00:46:40 +0000]
ARM: tegra12: clock: Enable GPU PLL reference clock

GK20a GPCPLL uses OSC_DIV_CLK as a reference clock.
This change enables the refence clock to go to GPCPLL.
GPCPLL is started by host1x driver later.

Change-Id: Icf30c582eeaf4138dbd532c0ef0a3c6e22e6c686
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/242641
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agotegra: video: dc: program blend depth for overlay
Xue Dong [Tue, 25 Jun 2013 21:48:01 +0000]
tegra: video: dc: program blend depth for overlay

bug 1306011

Change-Id: I5d9dab0edb78414e349a1c1f4121fcf2884b399a
Signed-off-by: Xue Dong <xdong@nvidia.com>
Reviewed-on: http://git-master/r/242129
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>

5 years agovideo: tegra: Fix GK20a specific parameters
Kaz Fukuoka [Thu, 27 Jun 2013 02:00:25 +0000]
video: tegra: Fix GK20a specific parameters

bug 1313712

Change-Id: Iafee0b4129bad124a4c43cee046055f1104fc689
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/242663
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Ken Adams <kadams@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoarm: tegra12: add t12x cpuidle support
Adeel Raza [Fri, 21 Jun 2013 23:05:23 +0000]
arm: tegra12: add t12x cpuidle support

Use T11x cpuidle driver for T12x.

Change-Id: Id7bafe6649da03ba86300f9563266ca4ce74a094
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: http://git-master/r/242117
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>

5 years agoARM: tegra: pci: Parse odmbits to config lanes
Jay Agarwal [Tue, 25 Jun 2013 07:40:10 +0000]
ARM: tegra: pci: Parse odmbits to config lanes

1. Parse odm bits[28:30] passed by boot loader to
kernel.
2. Program XBAR config based on above odm bits
3. Program Lane ownership to PCIe based on odm bits
4. Program GPIOs based on odmdata to enable PCIe
x1 slot for ERS-S board

Bug 1305915
Bug 1299907

Change-Id: I5a252df0577098c8b42dfe3eb745100fad964592
Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-on: http://git-master/r/241767
Reviewed-by: Seema Khowala <seemaj@nvidia.com>

5 years agomfd: as3722: add gpio irq support
Mallikarjun Kasoju [Thu, 20 Jun 2013 16:05:19 +0000]
mfd: as3722: add gpio irq support

Bug 1294707

Change-Id: Ice8eb1e94ac7971d61ba20c1e8aef04a57f8733f
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/242443
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra: pcie: Add laguna board support
Jay Agarwal [Tue, 25 Jun 2013 07:11:20 +0000]
ARM: tegra: pcie: Add laguna board support

1. Add pcie probe for laguna boards
2. Add T124 specific regulator get & enable calls
in driver

Bug 1299907

Change-Id: I36ccc3e75db77a5247bf64029ed6e2feecf60f91
Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-on: http://git-master/r/241766
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoarm: tegra: t124: Add SPI DT support
Shardar Shariff Md [Wed, 26 Jun 2013 12:01:51 +0000]
arm: tegra: t124: Add SPI DT support

Bug 1297408

Change-Id: Ie7cdd7002132f8205af2fc033f6b63d603fbbefe
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/242412
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoarm: t124: ardbeg: Add SPI support
Shardar Shariff Md [Thu, 27 Jun 2013 05:53:26 +0000]
arm: t124: ardbeg: Add SPI support

Bug 1271900

Change-Id: I3d7269c4aa1ffffb4a59deb8554c845db8adf79f
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/242743
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra: pcie: Organize memory space
Jay Agarwal [Tue, 25 Jun 2013 06:18:49 +0000]
ARM: tegra: pcie: Organize memory space

1. Organize mameory allocations to enhance compati-
   bility between all chips
2. Correct setup translations to avoid unecessary
   config space BAR configuration.

Bug 1210832

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

5 years agoARM: tegra: ardbeg: Mask HS200,SDR104,SDR50 modes
Pavan Kunapuli [Wed, 26 Jun 2013 12:37:26 +0000]
ARM: tegra: ardbeg: Mask HS200,SDR104,SDR50 modes

Masking HS200, SDR104, SDR50 modes. These modes will be enabled once
the validation on silicon is done.
Remove default pm_flags settings for SDMMC1. The Wifi client driver
would set the required flags during suspend.
Pass card detect pin for SDMMC3 through platform data.
Updating SDIO1, SDIO3 drive strengths

Change-Id: I8a776b7f5f4e448e5f2b751ecda965e4bd01bf21
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/242428
Reviewed-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agovideo: tegra: nvavp: Change IOVA load address for AVP OS
Somasundaram S [Thu, 6 Jun 2013 12:21:30 +0000]
video: tegra: nvavp: Change IOVA load address for AVP OS

SMMU IOVA range has moved from lower 1GB to (2GB-4GB), due
to which AVP OS is linked and built to be loaded at new
IOVA address 0x8ff00000 which falls within the new range

Bug 1287223

Change-Id: I276c51f478eb2831085a46ca09acf121a8675e9c
Signed-off-by: Somasundaram S <somasundaram@nvidia.com>
Reviewed-on: http://git-master/r/241815
GVS: Gerrit_Virtual_Submit
Tested-by: Somu Sundaram <somasundarams@nvidia.com>
Reviewed-by: Soumenkumar Dey <sdey@nvidia.com>
Reviewed-by: Somu Sundaram <somasundarams@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoarm: tegra: t124: Add DMA DT support
Shardar Shariff Md [Tue, 18 Jun 2013 13:24:08 +0000]
arm: tegra: t124: Add DMA DT support

Bug 1297408

Change-Id: I480e6d086cc4c653c73b093089f1b6c21840c44d
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/241907
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra: usb: add range for CPU frequency boost
Rakesh Bodla [Wed, 26 Jun 2013 16:35:57 +0000]
ARM: tegra: usb: add range for CPU frequency boost

Add the range for CPU frequency boost needed
for USB.

Change-Id: Ibae86ccc7d4bb7fe14ad8867be88e43b24f0aa45
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/242488
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: configs: tegra-bonaire: Enable serial-tegra
Pradeep Goudagunta [Thu, 27 Jun 2013 05:23:27 +0000]
ARM: configs: tegra-bonaire: Enable serial-tegra

Bug 1295540

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

5 years agoARM: configs: tegra12: Enable serial-tegra
Pradeep Goudagunta [Thu, 27 Jun 2013 05:22:48 +0000]
ARM: configs: tegra12: Enable serial-tegra

Bug 1297408

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

5 years agoARM: tegra12: Enable serial uart
Pradeep Goudagunta [Wed, 26 Jun 2013 08:46:03 +0000]
ARM: tegra12: Enable serial uart

-Add alias for serial-uart.
-Enable it for Laguna and Ardbeg.
-Set earlyprintk console baud to 115200.

Bug 1297408

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

5 years agoARM: tegra: ardbeg: Add uart init
Pradeep Goudagunta [Wed, 26 Jun 2013 08:41:19 +0000]
ARM: tegra: ardbeg: Add uart init

-Add uart initialization.
-Correct DMA mask for T12x.

Bug 1297408

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

5 years agoARM: tegra: ardbeg: E1733: Update power rails
Pradeep Goudagunta [Wed, 26 Jun 2013 17:49:16 +0000]
ARM: tegra: ardbeg: E1733: Update power rails

-Correct 1v8 entries.
-Correct sdmmc entries.
-Correct vbus entries.
-Enable full constraints.

Bug 1300619
Bug 1306376

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

5 years agoregulator: as3722: Fix interrupt mask setting
Kamal Kannan Balagopalan [Wed, 19 Jun 2013 19:07:30 +0000]
regulator: as3722: Fix interrupt mask setting

Set the appropriate Interrupt mask register for the external rail
controls based on the correct control enable values

Bug 1284096

Change-Id: I06522f3f3d4686b85fdc785468b6e7359ba1937a
Signed-off-by: Kamal Kannan Balagopalan <kbalagopalan@nvidia.com>
Reviewed-on: http://git-master/r/242089
Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agovideo: tegra: use correct params in edp code
Adeel Raza [Wed, 26 Jun 2013 22:52:53 +0000]
video: tegra: use correct params in edp code

Use correct number of params for tegra_dc_sor_set_dp_linkctl(...).

Bug 1306371

Change-Id: Ib065176ff8b5d418c5f07b6ace1402d8aacfb15b
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: http://git-master/r/242608
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: laguna: Fix fixed regulator init
Pradeep Goudagunta [Thu, 27 Jun 2013 04:55:41 +0000]
ARM: tegra: laguna: Fix fixed regulator init

Bug 1306376

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

5 years agoarm: tegra: ardbeg: support E1735 pmu module
Seema Khowala [Mon, 24 Jun 2013 18:25:19 +0000]
arm: tegra: ardbeg: support E1735 pmu module

Bug 1310396
Bug 1309984

Change-Id: I7e1af6da7a9521afbadeabf1b3cd66188dfdb188
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/242616

5 years agoARM: config: Add mods ardbeg defconfig
Vivek Aseeja [Wed, 26 Jun 2013 20:47:43 +0000]
ARM: config: Add mods ardbeg defconfig

Add t124 mods defconfig, currently a duplicate of android defconfig

Change-Id: If1e3ac237e187f39940ce9a1980650dc103d21ea
Signed-off-by: Vivek Aseeja <vaseeja@nvidia.com>
Reviewed-on: http://git-master/r/242565
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agovideo: tegra: dc: Add panel depth value
Chao Xu [Mon, 10 Jun 2013 21:42:30 +0000]
video: tegra: dc: Add panel depth value

eDP cacluation needs bpp value for the panel. Add it to the board file
so we can do the right calculations.

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

5 years agovideo: tegra: dc: Add DP/LVDS support to dc/ext
Chao Xu [Sat, 8 Jun 2013 01:00:42 +0000]
video: tegra: dc: Add DP/LVDS support to dc/ext

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

5 years agoARM: mach-tegra: Add LVDS panel support to bonaire
Chao Xu [Sat, 8 Jun 2013 00:55:19 +0000]
ARM: mach-tegra: Add LVDS panel support to bonaire

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

5 years agovideo: tegra: dc: Update LVDS support
Chao Xu [Mon, 3 Jun 2013 23:45:40 +0000]
video: tegra: dc: Update LVDS support

Bug 1253161.

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

5 years agoARM: tegra: Check NULL pointer to avoid crash
Chao Xu [Mon, 3 Jun 2013 23:39:28 +0000]
ARM: tegra: Check NULL pointer to avoid crash

This is just a workaround. Ideally any access of the tegra_dc_feature_xxx
function needs to check if the window exists.

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

5 years agoARM: tegra: bonaire: increase FB memory size reservation
Chao Xu [Tue, 28 May 2013 17:45:23 +0000]
ARM: tegra: bonaire: increase FB memory size reservation

to support higher resolutions.

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

5 years agoARM: tegra: Support second head for bonaire
Chao Xu [Fri, 24 May 2013 22:57:51 +0000]
ARM: tegra: Support second head for bonaire

eDP was put in displayB on FPGA so add the second head support for bonaire.

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

5 years agovideo: tegra: dc: Update eDP code
Chao Xu [Fri, 24 May 2013 22:35:22 +0000]
video: tegra: dc: Update eDP code

Verified on FPGA (bug 1258447).

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

5 years agoARM: tegra: add emc clk set sequence for T124
Xue Dong [Thu, 6 Jun 2013 19:47:10 +0000]
ARM: tegra: add emc clk set sequence for T124

bug 1171013

Change-Id: Iaad24b9326e78fdd19c26f655c0412407d2368de
Signed-off-by: Xue Dong <xdong@nvidia.com>
Reviewed-on: http://git-master/r/242139
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agousb: phy: tegra: add avdd_pll_utmip regulator
Rakesh Bodla [Wed, 26 Jun 2013 05:58:31 +0000]
usb: phy: tegra: add avdd_pll_utmip regulator

For tegra124 avdd_pll_utmip is the regulator pin
name for powering up utmip pll.

Bug 1313825

Change-Id: Ic845b1ea5f188ac173ba9737c2dbfe191e6b34b9
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/242004
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM; tegra: ardbeg: Update SDMMC3/SDMMC4 settings.
Naveen Kumar Arepalli [Wed, 26 Jun 2013 09:34:25 +0000]
ARM; tegra: ardbeg: Update SDMMC3/SDMMC4 settings.

-Update tap/trim settings for SDMMC3 and SDMMC4
The Values are as per T124 SDMMC IAS V5.
-Update ARDBEG SDMMC3_CD GPIO Number.

Bug 1297408

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

5 years agoARM: tegra: ardbeg: Update SDMMC3/4 drive strengths
Naveen Kumar Arepalli [Wed, 26 Jun 2013 10:21:20 +0000]
ARM: tegra: ardbeg: Update SDMMC3/4 drive strengths

-Update SDMMC3/4 drive strengths
-Values are as per T124 SDMMC IAS V5

Bug 1297408

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

5 years agoARM: tegra12: config: disable CONFIG_TEGRA_USE_SECURE_KERNEL
Nagarjuna Kristam [Wed, 26 Jun 2013 06:41:46 +0000]
ARM: tegra12: config: disable CONFIG_TEGRA_USE_SECURE_KERNEL

Change-Id: I3fc6160804ff8cbe43c7037e1f1ecdec421ac07c
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/242290
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra: t12x: Set SDMMC3_CLK to INPUT
Naveen Kumar Arepalli [Wed, 26 Jun 2013 09:06:51 +0000]
ARM: tegra: t12x: Set SDMMC3_CLK to INPUT

Set SDMMC3_CLK to INPUT

Bug 1297408

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

5 years agoARM: tegra12: clock: Updating DVFS table to Safe value
Krishna Sitaraman [Mon, 10 Jun 2013 21:29:32 +0000]
ARM: tegra12: clock: Updating DVFS table to Safe value

Updating the DVFS table to safe value provided from the silicon validation team. These will be used for initial bringup.

Change-Id: Ia7f8e0a3724fdd5217c89d0c9a707bf88f807ce8
Signed-off-by: Krishna Sitaraman <ksitaraman@nvidia.com>
Reviewed-on: http://git-master/r/241878
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoarm: tegra: enable rt5639/45 for ardbeg/laguna
Nikesh Oswal [Tue, 25 Jun 2013 05:38:19 +0000]
arm: tegra: enable rt5639/45 for ardbeg/laguna

enable RT5639 and RT5645 audio codec for
ardbeg and laguna

Change-Id: I51295db7f9327046fc8c3e2189d25314aac0ea4b
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/241789

5 years agoarm: configs: t12x: Enable USB configs
Rakesh Bodla [Tue, 25 Jun 2013 17:16:04 +0000]
arm: configs: t12x: Enable USB configs

Enabling the OTG wakelock and CPU
frequency boost configs for USB host,device
modes.

Bug 1306371

Change-Id: Ia4648d8497f43b416e0d524d2014acaa7d0eefc2
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/242000
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agomfd: as3722: add Power off functionality
Mallikarjun Kasoju [Thu, 13 Jun 2013 09:26:54 +0000]
mfd: as3722: add Power off functionality

Add power off support in as2722 PMIC.

bug 1294690

Conflicts:
drivers/mfd/as3722-core.c

Change-Id: I1f0b007601c6eedf7bb036cd34ec93907c0a3127
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/241884
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoasoc: tegra: enable HS/HP detection for RT5639
Nikesh Oswal [Tue, 25 Jun 2013 05:29:42 +0000]
asoc: tegra: enable HS/HP detection for RT5639

1. HP must be powered down when routing to speaker
   else we can get spurious interrupts for HP detection
2. Increase the current threshold to 1500uA for HS/HP
   detection

Change-Id: I81560e07ea00d03da9fc7de0586fd1e759f6dde9
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/241788
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agoarm: tegra12: clock: add duplicate clocks for audio
Nikesh Oswal [Wed, 26 Jun 2013 07:16:10 +0000]
arm: tegra12: clock: add duplicate clocks for audio

Change-Id: Iec87f8c1345329b7c5915bbac5f7c1112d2f1390
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/242304
Reviewed-by: Manoj Gangwal <mgangwal@nvidia.com>
Tested-by: Manoj Gangwal <mgangwal@nvidia.com>

5 years agoARM: tegra: config: Add AVP Audio support
Mohan Kumar [Tue, 18 Jun 2013 10:13:32 +0000]
ARM: tegra: config: Add AVP Audio support

Add the config for enabling avp audio.

Bug 1294654

Change-Id: I383cf76d61da3b252bbe80ae10f483bf7903ad9d
Signed-off-by: Mohan Kumar <mkumard@nvidia.com>
Reviewed-on: http://git-master/r/241903
Reviewed-by: Nikesh Oswal <noswal@nvidia.com>
Tested-by: Nikesh Oswal <noswal@nvidia.com>

5 years agovideo: tegra: host: adapt gk20a and vic03 as per tot
Mayuresh Kulkarni [Tue, 25 Jun 2013 14:01:13 +0000]
video: tegra: host: adapt gk20a and vic03 as per tot

commit 55e0dbc & 9f0d0e3 changed the way host1x and its
modules use runtime pm and pm domains

this commit adapts gk20a and vic03 inline with above
commits

Change-Id: I8f497976f68bd7c80c56d88b3fe001e95e00c0cc
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/241958
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agovideo: tegra: host: Fix vic and gk20a runtime pm
Terje Bergstrom [Thu, 20 Jun 2013 08:13:58 +0000]
video: tegra: host: Fix vic and gk20a runtime pm

nvhost pm support was refactored to reduce duplicated code. Adjust
VIC and gk20a code to work again.

Change-Id: Ie4708c6d28b07445cc6b3176f35d2da1de5010f5
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/241909
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra12: Add second ISP clock to VE domain
Terje Bergstrom [Tue, 18 Jun 2013 11:58:54 +0000]
ARM: tegra12: Add second ISP clock to VE domain

Add ispb clock to the reset list of VE domain.

Change-Id: I2a69b691c15456ec40fa5d228ea22cab81a134d7
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/241906
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agovideo: tegra: host: Add ISP & VI power gating
Terje Bergstrom [Tue, 18 Jun 2013 11:55:37 +0000]
video: tegra: host: Add ISP & VI power gating

ISP and VI are both in VE domain, so they have to have a common
power domain. nvhost_module_add_domain() will not first try to add
to an existing domain with the same name, and if that doesn't work,
creates a new one.

Use this mechanism to put VI and ISP devices in the common VE domain.

Conflicts:
drivers/video/tegra/host/isp/isp.c
drivers/video/tegra/host/nvhost_acm.c

Change-Id: Ib630a81ed514c88d9342579655ed80540c7b3c9d
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/241905
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agovideo: tegra: host: Add gpfifo tracing
Terje Bergstrom [Mon, 17 Jun 2013 12:02:06 +0000]
video: tegra: host: Add gpfifo tracing

Add gpfifo tracing. This needs decoding of the gpfifo, so adds also
PBDMA entry constants to hardware headers, and takes them into use.

Also changes submit event to be called before sending to hw, and a new
submitted event that indicates we've written submit.

Change-Id: I546a2ba770fe803795f660a2ff7aabc506f2004c
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/241894
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra12: host1x DT support
Terje Bergstrom [Thu, 13 Jun 2013 10:04:49 +0000]
ARM: tegra12: host1x DT support

Bug 1297408

Change-Id: Ifd446986ff3a8e3513378589db003de8dfeb3a74
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/241890
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra: Assign gk20a to an own ASID
Terje Bergstrom [Thu, 13 Jun 2013 08:08:01 +0000]
ARM: tegra: Assign gk20a to an own ASID

Move gk20a to its own ASID, and give it full 4GB of IOVA space.

Bug 1306715

Conflicts:
arch/arm/mach-tegra/devices.c

Change-Id: Idd6b408e9d8228eebbc3957d349cd591ecaeb3d2
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/241883
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: dts: Add host1x and gk20a for Tegra12
Terje Bergstrom [Thu, 13 Jun 2013 07:26:28 +0000]
ARM: dts: Add host1x and gk20a for Tegra12

Bug 1297408

Change-Id: I9ec50a22c7b66885c7f9c63d1daa33c5017bcca7
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/241882
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agovideo: tegra: host: DT support for Tegra12
Terje Bergstrom [Thu, 13 Jun 2013 06:23:33 +0000]
video: tegra: host: DT support for Tegra12

Implement DT support for Tegra12.

Bug 1307269

Change-Id: I54d5ea0ee9b3eedd73e1e1aae1fe2fc2b5129631
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/241881
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agovideo: tegra: host: Check error from channel finish
Terje Bergstrom [Mon, 10 Jun 2013 10:30:04 +0000]
video: tegra: host: Check error from channel finish

gk20a_channel_finish() returns an error code. Check the error code.
Currently only unmap can deal with error by refusing to unmap a buffer
when channel refuses to finish.

Bug 1304227

Change-Id: I0d377277cc139cac72636a7da67c80397877ffcc
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/241877
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agovideo: tegra: host: Increase preempt timeout in sim
Terje Bergstrom [Mon, 10 Jun 2013 10:27:30 +0000]
video: tegra: host: Increase preempt timeout in sim

Increase preemption timeout in simulation.

Bug 1304227

Change-Id: Ibd1985ef2fde87b52e465a11b6c56a6aaf0fe980
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/241876
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agovideo: tegra: host: Use non-interruptible wait
Terje Bergstrom [Mon, 10 Jun 2013 08:53:03 +0000]
video: tegra: host: Use non-interruptible wait

Introduce a non-interruptible variant of nvhost_syncpt_wait_timeout().
As we're not capable of dealing with signals when closing a channel,
take that into use when unbinding a channel.

Bug 1304227

Change-Id: Ieab60bf3e6a71a9da42f6503ff292092fa4d1f70
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/241875
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agocrypto: tegra-se: Remove condition to enable SE clock
Shravani Dingari [Fri, 7 Jun 2013 11:26:13 +0000]
crypto: tegra-se: Remove condition to enable SE clock

Enable SE clock even if it is fpga platform

Bug 1271895

Change-Id: I461dbf44a597eeda3fe940c775f0f131b55da52a
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/241873
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra12x: Add FC programming for enter_sleep
Prashant Malani [Thu, 28 Mar 2013 23:34:12 +0000]
ARM: tegra12x: Add FC programming for enter_sleep

Add config to include flow controller programming
to enter_sleep routine.

Bug 1271462

Change-Id: Ie6e56766eedf64435f00dc594be20babc576eca0
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/241911
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra12: clock: Suspend and resume for PLLSS
Kaz Fukuoka [Thu, 6 Jun 2013 23:47:25 +0000]
ARM: tegra12: clock: Suspend and resume for PLLSS

- Add suspend and resume for PLLC4, PLLD2, PLLDP

bug 1164664

Change-Id: I7e29367d4d1bbe05b44d196b67e6f1eceb52229d
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/241872
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra12: pm: Update self-refresh code
Prashant Malani [Fri, 5 Apr 2013 01:55:48 +0000]
ARM: tegra12: pm: Update self-refresh code

Update a few configs in the self-refresh code
to support T12x.

Bug 1271462

Change-Id: I42f2d4028338298b42e22c92488f22c1547fe128
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/241910
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra12: clock: Update XUSB plls configuration
Kaz Fukuoka [Thu, 6 Jun 2013 21:54:49 +0000]
ARM: tegra12: clock: Update XUSB plls configuration

- set PLLE spread spectrum coefficients
- added possible PLLE configuration with 12MHz input clock
- increased PLLREFE maximum rate to 672MHz

Ported from http://git-master/r/196805 (change for Tegra11)
bug 1164664

Change-Id: I351424b74e43e4de86584e5cd112f6f951f71508
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/241871
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agousb: xhci: tegra: don't shutdown BIAS PD
Ajay Gupta [Thu, 6 Jun 2013 22:03:01 +0000]
usb: xhci: tegra: don't shutdown BIAS PD

This should be done in common PMC code.

Bug 1268244
Bug 1301052

Change-Id: I9ca4efe6634b3a3397de2304ec5a5e43cbd66069
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/242032
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>

5 years agousb: xhci: tegra: cleanup regulator init method
Ajay Gupta [Thu, 6 Jun 2013 21:58:33 +0000]
usb: xhci: tegra: cleanup regulator init method

Cleaned up regulator init to print error message if a regulator
is not found. Enable a regulator only if after successful
regulator_get

Change-Id: I538ca553eff65d3e3cffce7ef164e87788ce83e8
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/242031
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>

5 years agoARM: tegra: ardbeg: add support for xusb
Ajay Gupta [Tue, 4 Jun 2013 23:41:27 +0000]
ARM: tegra: ardbeg: add support for xusb

Bug 1301052

Change-Id: I91a876fce3801de0221dc1abaefbdb82fb9d0b60
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/242030
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>

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

Bug 1286074

Change-Id: Iff4016a470a2b27ec4270262f01508c89f5bda3d
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/242029
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>

5 years agoARM: tegra: xusb: fix build errors
Ajay Gupta [Tue, 25 Jun 2013 23:26:33 +0000]
ARM: tegra: xusb: fix build errors

Change-Id: I2a4421eeac34f737c8852fa34abe258efa04062a
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/242168
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>

5 years agousb: xhci: tegra: set SNPS owner only if no hs connected
Ajay Gupta [Tue, 4 Jun 2013 17:11:43 +0000]
usb: xhci: tegra: set SNPS owner only if no hs connected

Commit "usb: xhci: tegra: set SNPS as owner to save power"
cause reset error when SS hub is connected as bus_suspend is
called while HS part of hub is connected.

Fixing by checking if any HS device connected before setting
port owner as SNPS

Bug 1275290

Change-Id: Id02ed5cf514c16c9bbba5f695a3f1a06758d80a9
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/242028
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>

5 years agoARM: tegra11: clock: Rearrange XUSB clocks for 11x and 12x
Ajay Gupta [Thu, 6 Jun 2013 23:02:44 +0000]
ARM: tegra11: clock: Rearrange XUSB clocks for 11x and 12x

We need different HS clock sources in 11x for HS disconnect
SW WAR. The clock source table is incorrect for 11x and 12x
so fixing same.

Change-Id: I87d13534b5a573b62ee06d5cbf10774ff899d426
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/242026
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>

5 years agoARM: tegra: ardbeg: add regulator entries for xusb
Ajay Gupta [Thu, 6 Jun 2013 21:56:21 +0000]
ARM: tegra: ardbeg: add regulator entries for xusb

Added below xusb regulators
1) vddio_hsic
2) avddio_usb
3) avdd_usb_pll
4) usb_vbus
5) hvdd_usb

Bug 1301052

Change-Id: Id4602edfbb9bfea53c2587c4177119f95416932b
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/242025
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>

5 years agoARM: tegra: add xusb as IOMMUable
Ajay Gupta [Thu, 13 Jun 2013 18:01:07 +0000]
ARM: tegra: add xusb as IOMMUable

Bug 1305462

Change-Id: Ia176542d31082c434649220e97c1ed6b5c63b2fd
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/242021
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>

5 years agoARM: configs: t12x: enable BCM43241 and SD8897
Nagarjuna Kristam [Tue, 18 Jun 2013 04:58:12 +0000]
ARM: configs: t12x: enable BCM43241 and SD8897

Enable BCM43241 and SD8897 Wifi drivers

bug 1306371
Change-Id: Ie97aaadccd18eb5d4ae38650e69c3afee4e4e4ba
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/241902
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>

5 years agoasoc: tegra: power optimisations for ardbeg/laguna
Nikesh Oswal [Tue, 18 Jun 2013 14:17:12 +0000]
asoc: tegra: power optimisations for ardbeg/laguna

1. Add dynamic enabling/tristating of DAP
2. Turn codec clock off/on in suspend/resume
3. disable/enable headphone detcetion interrupts
in suspend/resume

Bug 1256430

Change-Id: Id37dd4819ed34f65ece06da89ea258fa3cf20536
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/241918
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>