5 years agoARM: tegra: T12x wake table update
Bitan Biswas [Fri, 28 Jun 2013 11:33:51 +0000]
ARM: tegra: T12x wake table update

T12x wake table is updated based on ASIC pinout specification document

bug 1176069

Change-Id: Icded42325edeb02833877bac32bf50e9689d4799
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/243426
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra: ardbeg: Remove CAM i2c entry from ardbeg DT
Chaitanya Bandi [Mon, 1 Jul 2013 03:08:47 +0000]
ARM: tegra: ardbeg: Remove CAM i2c entry from ardbeg DT

Removed CAM_I2C entry from ardbeg DT as it is being
registered from board file.

Change-Id: Ie55f44d7eb0b574847416105a22e4615b525aa8d
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/243757
Reviewed-by: Seema Khowala <seemaj@nvidia.com>

5 years agoarch: arm: ardbeg: Move camera detection to board files
Amit Arora [Sun, 30 Jun 2013 14:12:00 +0000]
arch: arm: ardbeg: Move camera detection to board files

This change clears device tree entries for imx135 camera sensor
and ad5816 focuser. imx135 and new focuser dw9718 is now registered
with board files.

Bug 1317244

Change-Id: Ifcadeb1bcb5f7c63854b13dbce10b8deb2bf698e
Signed-off-by: Amit Arora <amita@nvidia.com>
Reviewed-on: http://git-master/r/243729
Reviewed-by: Seema Khowala <seemaj@nvidia.com>

5 years agoarch: arm: ardbeg: Extra power regulator for imx135
Amit Arora [Sun, 30 Jun 2013 01:00:48 +0000]
arch: arm: ardbeg: Extra power regulator for imx135

Extra power regulator added for imx135 camera sensor.

Bug 1317244

Change-Id: I8893e54bbdaa0f45e811c314499fe3bee54e2fb3
Signed-off-by: Amit Arora <amita@nvidia.com>
Reviewed-on: http://git-master/r/243707

5 years agomedia: video: tegra: Add extra regulators for imx135
Amit Arora [Sun, 30 Jun 2013 00:58:46 +0000]
media: video: tegra: Add extra regulators for imx135

Adds extra regulator for imx135 needed on ardbeg with E1823.

Bug 1317244

Change-Id: Idf2fc1667746d027e9598d25c43ac2f57dc1c064
Signed-off-by: Amit Arora <amita@nvidia.com>
Reviewed-on: http://git-master/r/243706

5 years agoarch: arm: ardbeg: ar0261 power regulators
Amey Asgaonkar [Wed, 26 Jun 2013 21:12:17 +0000]
arch: arm: ardbeg: ar0261 power regulators

Adds power regulators and power on/off routines
for ar0261 camera sensor.

Bug 1256440

Change-Id: I0ff6aab5a2975a76a1f4c7acb893c7dc0ed552d9
Signed-off-by: Amey Asgaonkar <aasgaonkar@nvidia.com>
Reviewed-on: http://git-master/r/242572
Reviewed-by: Amit Arora <amita@nvidia.com>
Tested-by: Amit Arora <amita@nvidia.com>

5 years agoARM: tegra: clocks: state check in resume
Kaz Fukuoka [Sat, 29 Jun 2013 19:52:03 +0000]
ARM: tegra: clocks: state check in resume

Check the validity of cl_dvfs state before calling
tegra_cl_dvfs_resume.

Ported from http://git-master/r/193253 (change for Tegra14)
bug 1271462

Change-Id: Ib2c3f6a9ffd0fdcffe979965f6943b2115ef11e8
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/243692
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Prashant Malani <pmalani@nvidia.com>
Tested-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: ardbeg: Correct TCA platform init
Pradeep Goudagunta [Sat, 29 Jun 2013 09:25:12 +0000]
ARM: tegra: ardbeg: Correct TCA platform init

-Correct TCA platform driver init data.
-Update E1733 fixed regulator data.
-Add E1735 fixed regulators.

Bug 1300308

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

5 years agoARM: tegra: iomap: Change SMMU IOVA range 2G-4G
Hiroshi Doyu [Mon, 14 Jan 2013 09:05:53 +0000]
ARM: tegra: iomap: Change SMMU IOVA range 2G-4G

With PLATFORM_ENABLE_IOMMU and without TEGRA_SMMU_LINEAR, IOMMU'able
device can choose any IOVA range unless it doesn't overwrap its MMIO.

According to Table 2: DRAM Address Ranges in TRM, most of MMIO reside
in the range from 4000:0000-8000:0000(1 GB) and the rest reside in the
one from 0-4000:0000(1 GB). So the current IOVA range(~0-1GB) would be
safe unless the amount of IOVA usage gets over 1GB.

  ffff:ffff(4 GB)--------------------------
                     T35_IROM,HiVEC(1MB)
                     RAM
  c000:0000(3 GB)--------------------------
                     RAM
  8000:0000(2 GB)--------------------------
                     Some MMIO reside
  4000:0000(1 GB)--------------------------
                     PCIE?
                     T40_IROM,LoVEC(16MB)
  0000:0000(0 GB)--------------------------

But the better way is to limit IOVA range from
8000:0000-ffef:ffff(2-~4GB). Then we can use 2GB at most
safely. If we implement IOVA constrants for each SWGROUPs, some of
them could have ~4GB. This patch changes IOVA range(dma-window) from
8000:0000-ffef:ffff(2-~4GB). It would enable 2GB available at most for
a device, then.

bug 1287223

Change-Id: Ib66366aa4a88bf74a1be207d238cacf6b994fa5f
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/241777
Reviewed-by: Amit Arora <amita@nvidia.com>
Tested-by: Amit Arora <amita@nvidia.com>

5 years agoarm: config: tegra: Add AR0261 sensor support
Amey Asgaonkar [Wed, 26 Jun 2013 21:03:50 +0000]
arm: config: tegra: Add AR0261 sensor support

Enabling CONFIG_VIDEO_AR0261 camera sensor for tegra11 and
tegra12 defconfig.

Bug 1256440

Change-Id: Ia863338962d8678084074da15024519125618c69
Signed-off-by: Amey Asgaonkar <aasgaonkar@nvidia.com>
Reviewed-on: http://git-master/r/242569
Reviewed-by: Amit Arora <amita@nvidia.com>
Tested-by: Amit Arora <amita@nvidia.com>

5 years agomedia: video: tegra: Add AR0261 support
Amey Asgaonkar [Wed, 26 Jun 2013 21:19:55 +0000]
media: video: tegra: Add AR0261 support

Adds driver support for ar0261 camera sensor.

Bug 1256440

Change-Id: Ib764afc2c183d5a26e48eeb38b10d85fefdd4e77
Signed-off-by: Amey Asgaonkar <aasgaonkar@nvidia.com>
Reviewed-on: http://git-master/r/242574
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agohost: video: gk20a: add gk20a thermal throttling support
Xue Dong [Sat, 29 Jun 2013 00:11:16 +0000]
host: video: gk20a: add gk20a thermal throttling support

bug 1176075

Change-Id: Id76c745e32a6f85e61f0df4c0ff1d48a90ba4df9
Signed-off-by: Xue Dong <xdong@nvidia.com>

Conflicts:

drivers/video/tegra/host/gk20a/gk20a.c

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

5 years agousb: xhci: tegra: pass regulator name from board file
Ajay Gupta [Thu, 27 Jun 2013 18:25:47 +0000]
usb: xhci: tegra: pass regulator name from board file

This is needed as regulator names changes across platform
and boards based on PMU used.

Bug 1301052
Bug 1313825

Change-Id: I340397e5d75badeeff3516305d9c178d506f0f7c
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/243216
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

5 years agoARM: tegra: ardbeg: Add missing regulator entries for xusb
Ajay Gupta [Thu, 27 Jun 2013 17:32:58 +0000]
ARM: tegra: ardbeg: Add missing regulator entries for xusb

Bug 1301052

Change-Id: I3fd9589c9a84c9d3dd92e9d63cdeef6349537559
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/243215
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

5 years agousb: xhci: tegra: remove power saving change
Ajay Gupta [Wed, 26 Jun 2013 21:48:13 +0000]
usb: xhci: tegra: remove power saving change

We are seeing issues both with HS and SS devices on Ardbeg due to power
saving changes done when SS alone or HS alone is connected.

When SS alone is connetced we give back port ownership to SNPS to save
power (not needed on T124). At this time if HS is connected to second
port on Ardbeg board then it is not detected.

Similarly when HS alone is connected then we enable SS pad OVRD mode to
save power (needed in T124 ?). At this time if SS is connected to second
port on Ardbeg board then enumeration fails.

Bug 1301052

Change-Id: I49354df02c5af5dbec424027a3cd6e948f7ef810
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/243214
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

5 years agousb: xhci: tegra: setup gpios for ss lanes
Ajay Gupta [Tue, 25 Jun 2013 18:07:06 +0000]
usb: xhci: tegra: setup gpios for ss lanes

Bug 1301052

Change-Id: I028b1f8cfc19c81417b2dda16d3844ee2809d027
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/242048
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

5 years agousb: xhci: tegra: disable sw WAR for fixes in T124 hw
Ajay Gupta [Mon, 24 Jun 2013 22:14:30 +0000]
usb: xhci: tegra: disable sw WAR for fixes in T124 hw

Bug 1301052

Change-Id: I5a6cb9fafb1177fa2e1c020ba2fc35ba81896565
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/242047
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

5 years agoARM: tegra: laguna: Add xusb support
Ajay Gupta [Fri, 21 Jun 2013 22:12:45 +0000]
ARM: tegra: laguna: Add xusb support

Bug 1301052

Change-Id: Ia4ee98c7f8bc01e79df13c3842cb32ffeee7f75e
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/242046
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

5 years agousb: xhci: tegra: add uses_externl_pmic in board_data
Ajay Gupta [Mon, 24 Jun 2013 17:42:17 +0000]
usb: xhci: tegra: add uses_externl_pmic in board_data

Pluto uses external PMIC and so we don't use the VBUS_ENABLE
function provided by PADCTL

Bug 1301052

Change-Id: I6b6bc51f3e49657d4a69d31bbe50c54812c5b266
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/242045
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

5 years agoARM: tegra: laguna: add regulator entries for xusb
Ajay Gupta [Wed, 26 Jun 2013 17:25:04 +0000]
ARM: tegra: laguna: add regulator entries for xusb

Bug 1301052

Change-Id: I12a0947add349a6c5b2c25173869c3db2865d017
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/242044
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

5 years agousb: xhci: tegra: Refactor OC register programming
Ajay Gupta [Fri, 21 Jun 2013 18:42:29 +0000]
usb: xhci: tegra: Refactor OC register programming

Bug 1301052

Change-Id: I1d7d4cbdd87a913ea36d0c4c4fa53f45e963bca9
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/242043
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

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

Bug 1301052

Change-Id: Ic6777a5275252fc54210b120fe5b1d0c6d89cfb8
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/242042
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Reviewed-by: Seema Khowala <seemaj@nvidia.com>

5 years agousb: xhci: tegra: move methods touching elpg_program0
Ajay Gupta [Mon, 17 Jun 2013 22:24:41 +0000]
usb: xhci: tegra: move methods touching elpg_program0

elpg_program_0 rgeister needs to be protected against race condition
due to multiple interfaces trying to access it so moved to common
file

Bug 1301052

Change-Id: Ic5ee9b8769d2e17211405dbf974d8e745f30826a
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/242041
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Reviewed-by: Seema Khowala <seemaj@nvidia.com>

5 years agousb: xhci: tegra: program lane owner for usb3_ss port
Ajay Gupta [Sat, 15 Jun 2013 00:05:30 +0000]
usb: xhci: tegra: program lane owner for usb3_ss port

Bug 1301052

Change-Id: Icfadcdf02415e3bcb0c09b5deb9bb6e7a15f5cdf
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/242040
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Reviewed-by: Seema Khowala <seemaj@nvidia.com>

5 years agousb: xhci: tegra: enable refPLLE clock when needed
Ajay Gupta [Tue, 25 Jun 2013 16:48:19 +0000]
usb: xhci: tegra: enable refPLLE clock when needed

Bug 1301052

Change-Id: I34733e1c40e6d042b7a7a4402831a69921fb51e3
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/242037
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Reviewed-by: Seema Khowala <seemaj@nvidia.com>

5 years agousb: xhci: tegra: add support for XUSB USB2 port2
Ajay Gupta [Wed, 12 Jun 2013 20:55:16 +0000]
usb: xhci: tegra: add support for XUSB USB2 port2

Bug 1301052

Change-Id: Iff0ef974aaf5fa5cc736d1c0bed6dad240efdfb4
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/242036
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Reviewed-by: Seema Khowala <seemaj@nvidia.com>

5 years agousb: xhci: tegra: add padctl register offset structure
Ajay Gupta [Thu, 13 Jun 2013 22:13:56 +0000]
usb: xhci: tegra: add padctl register offset structure

This is needed to take care of register offset differences in
different xusb devices such as T114 and T124

Bug 1301052

Change-Id: I14b1504b00a317a23829c53a528a1525a38694dc
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/242035
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Reviewed-by: Seema Khowala <seemaj@nvidia.com>

5 years agoARM: tegra: xusb: fix compile errors for T12x_SoC
Ajay Gupta [Tue, 11 Jun 2013 23:49:01 +0000]
ARM: tegra: xusb: fix compile errors for T12x_SoC

Bug 1301052

Change-Id: I1c3858ae3212b0894285b68db80dba527806669f
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/242034
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Reviewed-by: Seema Khowala <seemaj@nvidia.com>

5 years agoRevert "usb: xhci: tegra: add missing tegra xusb header file"
Ajay Gupta [Mon, 24 Jun 2013 23:50:12 +0000]
Revert "usb: xhci: tegra: add missing tegra xusb header file"

This reverts commit 34aea6388e3b8e0fd4250c851b2e8ce9a696b095.

Change-Id: I91f7a1f568b983d39c558e56eef0d36be0845681
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/242033
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Reviewed-by: Seema Khowala <seemaj@nvidia.com>

5 years agoARM: tegra: ardbeg: Add Sensor Support
Xiaohui Tao [Thu, 27 Jun 2013 21:09:31 +0000]
ARM: tegra: ardbeg: Add Sensor Support

Bug 1256458
Bug 1283251

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

5 years agoinput:misc: fix bmp280 not getting events issue
Xiaohui Tao [Fri, 14 Jun 2013 00:12:12 +0000]
input:misc: fix bmp280 not getting events issue

Bmp280 is not getting pressure events. We found a bug inside driver
that is checking the wrong value for value reading.

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

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>