5 years agoARM: tegra: unified board file
Bibek Basu [Sat, 1 Jun 2013 00:37:22 +0000]
ARM: tegra: unified board file

Patch tries to get unfied board file for T124
platforms.

Bug 1275005

Change-Id: I7e71579670e0959f059646369d2552ec2b3280f4
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/236732
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: config: Add missing configs
Ajay Nandakumar [Fri, 7 Jun 2013 11:49:50 +0000]
ARM: tegra: config: Add missing configs

Adding missing configs which is causing various issues.

Bug 1302403
Bug 1302400

Change-Id: I1af01ae2a89e32b282bf302dbfe1cf7af08207b7
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/236731
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

5 years agopinctrl: as3722: add pincontrol driver support
Mallikarjun Kasoju [Tue, 4 Jun 2013 16:07:40 +0000]
pinctrl: as3722: add pincontrol driver support

as3722 PMIC has eight gpios which can work on multiple mode and
can be used for special function.

bug 1294693

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

5 years agodriver: video: add low latency cursor support
Xue Dong [Fri, 24 May 2013 21:42:05 +0000]
driver: video: add low latency cursor support

Bug 1232181
Change-Id: I0277727f0b4d8ac63778f4c536c9b23e7dc3825d

Signed-off-by: Xue Dong <xdong@nvidia.com>
Change-Id: Id93f3c905e1976b979e0f931c75701a54fdcf254
Reviewed-on: http://git-master/r/236005
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: tegra12: clock: Add PLLREFE and PLLE resume
Kaz Fukuoka [Thu, 30 May 2013 19:08:20 +0000]
ARM: tegra12: clock: Add PLLREFE and PLLE resume

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

Change-Id: I9d350baea0dbbf554972cf6508ba01501b2dbbeb
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/236082
Reviewed-by: Hoang Pham <hopham@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra12: clock: Re-factor EMC bw requirement
Kaz Fukuoka [Thu, 30 May 2013 00:11:21 +0000]
ARM: tegra12: clock: Re-factor EMC bw requirement

- Separated iso EMC shared users (display and camera) from other
bandwidth shared users
- Added shared user id flags to EMC shared users that may affect
maximum iso share allocation
- Determined EMC bw requirement as maximum of total bw requested
by all bw users, and iso bw scaled up to guarantee allocated share

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

Change-Id: I07c6c73541eaec90105eff70e8d98cde91c03d90
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/236081
Reviewed-by: Hoang Pham <hopham@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra12: clock: Fix clock client mux anomaly
Kaz Fukuoka [Wed, 29 May 2013 21:44:18 +0000]
ARM: tegra12: clock: Fix clock client mux anomaly

Tegra12 has anomaly in the following clock registers.
- CLK_RST_CONTROLLER_CLK_SOURCE_HDMI_AUDIO_0
- CLK_RST_CONTROLLER_CLK_SOURCE_ENTROPY_0
- CLK_RST_CONTROLLER_CLK_SOURCE_CLK72MHZ_0
Those registers have 3bit input mux.
However the value of the mux is shifted to the right by one
compared to other clock registers.

bug 1295390
bug 1164664

Change-Id: I00bd282d63fb198aa64f57bbd6c6f17e4c57ef04
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/236080
Reviewed-by: Hoang Pham <hopham@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra12: clock: Add hdmi_audio and clk72mhz
Kaz Fukuoka [Wed, 29 May 2013 21:29:22 +0000]
ARM: tegra12: clock: Add hdmi_audio and clk72mhz

bug 1164664

Change-Id: If7e43706b7709232abc70e7dbd3bfb0bab51b614
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/236079
Reviewed-by: Hoang Pham <hopham@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra12: clock: Fix PERIPH_CLK_SOURCE range
Kaz Fukuoka [Wed, 29 May 2013 01:41:43 +0000]
ARM: tegra12: clock: Fix PERIPH_CLK_SOURCE range

bug 1164664

Change-Id: Id2ea5988f4b711a55f65ac43b2244721ed114575
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/236078
Reviewed-by: Hoang Pham <hopham@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoasoc: tegra: Update registers for t12x
Manoj Gangwal [Mon, 20 May 2013 09:03:21 +0000]
asoc: tegra: Update registers for t12x

Update CIF registers for t12x
Corrected CIF registers for t114 & t148

Change-Id: I55e3abcde6a7ff278b4a71db1991e3ea02aa1c55
Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/235732
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agoARM: tegra: ardbeg: enable regulator for pca954x
Deepak Nibade [Thu, 30 May 2013 11:57:30 +0000]
ARM: tegra: ardbeg: enable regulator for pca954x

Bug 1285379

Change-Id: I0f55ec9962c91b51b0c78db053e2c699d141e5a3
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/234149
(cherry picked from commit 603d4ca3d4ae3acb31519efded4f60a5494b604d)
Reviewed-on: http://git-master/r/236149
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

5 years agoARM: tegra: ardbeg: Enable Wifi platform data
Nagarjuna Kristam [Mon, 3 Jun 2013 11:14:13 +0000]
ARM: tegra: ardbeg: Enable Wifi platform data

Bug 1256420

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

5 years ago[PATCH] Add SD8897 into kernel
Marc Yang [Tue, 7 May 2013 18:32:48 +0000]
[PATCH] Add SD8897 into kernel

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

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

5 years agoARM: tegra: ardbeg: add power monitor devices
Deepak Nibade [Tue, 21 May 2013 16:53:59 +0000]
ARM: tegra: ardbeg: add power monitor devices

- register all INA devices present on ardbeg
- all devices are present behind pca9546 demultiplexer
  hence register pca9546 as well

Bug 1285379

Change-Id: Id372498d6d76458e04f7290b5202e0c7105275d7
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/235793
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

5 years agoarch: arm: tegra: disable ahub dt support by default
Nikesh Oswal [Tue, 4 Jun 2013 07:10:42 +0000]
arch: arm: tegra: disable ahub dt support by default

disable ahub dt support by default, enable in
board specific dt files

Change-Id: I0888ac644dd3591643c5b890a92338b58f27fdb3
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/235312
(cherry picked from commit 71f5bdbd29994acaaca6ed49b054fbc69fee4e7e)
Reviewed-on: http://git-master/r/235629
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Tested-by: Matthew Pedro <mapedro@nvidia.com>

5 years agoARM: tegra: Update iomap
Bo Yan [Fri, 31 May 2013 06:24:50 +0000]
ARM: tegra: Update iomap

Make IO address map forward compatible

Change-Id: I3e80b3ccc9e749f61f14c5ed8415f56f1563f747
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/234746
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoasoc: tegra: add device tree support for audio
Nikesh Oswal [Tue, 28 May 2013 11:07:35 +0000]
asoc: tegra: add device tree support for audio

add device tree support for audio drivers and
enable device tree for ardbeg

Bug 1256430

Change-Id: I09489e735a8e56ea664a5f47784e3fc7b53dac62
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/233299
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

5 years agoasoc: tegra: add master mode support for rt5645
Nikesh Oswal [Thu, 23 May 2013 11:19:34 +0000]
asoc: tegra: add master mode support for rt5645

Bug 1256430
Change-Id: I05a6d30fe0d134d80504dd80957f8a76bcebac4e
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/232108
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Seema Khowala <seemaj@nvidia.com>

5 years agoasoc: tegra: enable audio on ardbeg
Nikesh Oswal [Fri, 31 May 2013 09:53:34 +0000]
asoc: tegra: enable audio on ardbeg

Bug 1256430

Change-Id: I93a2416a2d5344a461a6a60171b43bb0fd4245cb
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/234493
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

5 years agovideo: tegra: host: gk20a: Add devfreq policy
Arto Merilainen [Wed, 22 May 2013 07:33:15 +0000]
video: tegra: host: gk20a: Add devfreq policy

This patch adds a Kconfig entry to select whether gk20a scaling
should be enabled or not - and whether the scaling should use
devfreq or the existing scaling mechanism.

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

5 years agovideo: tegra: host: Add gk20a devfreq profile
Arto Merilainen [Tue, 21 May 2013 08:59:49 +0000]
video: tegra: host: Add gk20a devfreq profile

This patch adds a separate devfreq device profile for gk20a. gk20a
cannot use the generic device profile because:
1) load estimation is done using gpmu
2) gk20a does not use nvhost apis for setting the frequency

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

5 years agovideo: tegra: host: gk20a: Export load counters
Arto Merilainen [Mon, 20 May 2013 12:22:26 +0000]
video: tegra: host: gk20a: Export load counters

This patch adds support for reading and resetting the load counters.

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

5 years agoARM: tools: Update mach-types
Bo Yan [Fri, 31 May 2013 23:46:06 +0000]
ARM: tools: Update mach-types

Change-Id: I17450fe307a28e72d668f51164fd94c08524ab26
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/234709
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agoasoc: codecs: don't programm reserved registers for rt5645
Nikesh Oswal [Thu, 23 May 2013 11:21:19 +0000]
asoc: codecs: don't programm reserved registers for rt5645

Bug 1256430

Change-Id: I91afd631210b094439d56117505b159cec36e51b
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/232109
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Seema Khowala <seemaj@nvidia.com>

5 years agoasoc: codecs: add rt5645 codec
Nikesh Oswal [Fri, 31 May 2013 09:52:29 +0000]
asoc: codecs: add rt5645 codec

Bug 1256430

Change-Id: I2dc3159b4297192ff05f93eae3a7692e107a4354
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/234492
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

5 years agoarch: arm: tegra: ardbeg: Add imx135 DT support
Amit Arora [Fri, 17 May 2013 15:14:00 +0000]
arch: arm: tegra: ardbeg: Add imx135 DT support

Add imx135 and ad5816 to ardbeg device tree.

Bug 1256437

Change-Id: If622f3440050ad642ba4583a0ea7996452f2001d
Signed-off-by: Amit Arora <amita@nvidia.com>
Reviewed-on: http://git-master/r/229814
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agomedia: video: tegra: imx135: DT support
Amit Arora [Wed, 15 May 2013 09:29:59 +0000]
media: video: tegra: imx135: DT support

Add support for DT on IMX135.

Bug 1256437

Change-Id: If755be6591eed10a82eb61f0da85a2f970207557
Signed-off-by: Amit Arora <amita@nvidia.com>
Reviewed-on: http://git-master/r/228785
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoARM: tegra: fix ardbeg build
Bibek Basu [Thu, 30 May 2013 17:41:22 +0000]
ARM: tegra: fix ardbeg build

fix ardbeg build

Bug 1270005

Change-Id: Ib4f8e243c5415d4f4a115658562e450548995c83
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/234211
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agovideo: tegra: dsi: fix dsi2edp build issue
Bibek Basu [Wed, 29 May 2013 22:29:44 +0000]
video: tegra: dsi: fix dsi2edp build issue

The patch fixes the dis2edp enabling build issue

Bug 1275005

Change-Id: I2720cf417e5850e23a2ed7a2dd3f2e834403e69a
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/233865
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: update board file
Bibek Basu [Mon, 20 May 2013 06:45:26 +0000]
ARM: tegra: update board file

Update board file for laguna

Bug 1275005

Change-Id: I645c2ae3ebcc81e2992f03dfd234a3df510340d6
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/232842
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoarch: arm: tegra: laguna: Initial Bring Up
Seema Khowala [Thu, 16 May 2013 19:05:12 +0000]
arch: arm: tegra: laguna: Initial Bring Up

Bug 1275005

Change-Id: I31d85e05b1f7c1087f0f2f770525dc8d93960e01
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/229474
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: laguna: power tree support
Bibek Basu [Thu, 9 May 2013 09:15:22 +0000]
ARM: tegra: laguna: power tree support

Power tree for Laguna

Bug 1275005

Change-Id: I789017cab5537924f6d094656397db04be363d24
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/227528
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra: laguna pinmux update
Bibek Basu [Fri, 24 May 2013 15:33:01 +0000]
ARM: tegra: laguna pinmux update

update pinmux setting for laguna

Bug 1275005

Change-Id: Ic6a3eceb92ea5826552279cc1b15c66d159169a6
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/232841
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: config: enable ams3722 PMIC
Bibek Basu [Thu, 9 May 2013 11:54:26 +0000]
ARM: tegra: config: enable ams3722 PMIC

Enable AMS3722 PMIC support for MFD, RTC,
REGULATOR and GPIO

Bug 1275005

Change-Id: I11e15aed011aa471d49171fe2762e29d4a132b85
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/227527
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: board support for auo panel
Bibek Basu [Thu, 16 May 2013 09:00:39 +0000]
ARM: tegra: board support for auo panel

Laguna board support for auo panel

Bug 1275005

Change-Id: I6bfcfc88db24e175ef568b5148d12331234205a0
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/229286
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: config: enable TI DSI2EDP bridge
Bibek Basu [Fri, 10 May 2013 18:32:53 +0000]
ARM: tegra: config: enable TI DSI2EDP bridge

Enable TI DSI to EDP bridge for LAGUNA

Bug 1275005

Change-Id: I91aff0fafa01746707c55c5123b786a304609c4a
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/227566
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agovideo: tegra: dsi2edp: Add bridge driver
Bibek Basu [Tue, 5 Feb 2013 04:22:00 +0000]
video: tegra: dsi2edp: Add bridge driver

Support for TI SN65dsi86 bridge.

Bug 1275005

Change-Id: Ied7463a91ae61b8a829942500d40666e787a45d0
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/227565
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoarch: arm: tegra: laguna : dts file for laguna interposer
Seema Khowala [Wed, 15 May 2013 22:09:26 +0000]
arch: arm: tegra: laguna : dts file for laguna interposer

-Add spi, i2c, sdhci

Change-Id: I54e89c8b02066c5fd384360a430299d37263be1f
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/229063
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoarch: arm: tegra: laguna : Initial pinmux
Seema Khowala [Wed, 15 May 2013 21:40:11 +0000]
arch: arm: tegra: laguna : Initial pinmux

-For initial laguna bring up copy ardbeg pinmux
-Ardbeg pinmux settings are verified on interposer

Change-Id: I542451d3fb5972704fa7086feac4d28fc930bf2e
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/229049
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: gpio: fix build issue with as3722 gpio
Bibek Basu [Sun, 26 May 2013 21:21:43 +0000]
ARM: tegra: gpio: fix build issue with as3722 gpio

fix build issue with as3722 gpio

Bug 1275005

Change-Id: Iec79992ad04dd462565906c8eb377c95beec1eec
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/232840
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agortc: ams3722: add 32kHz clock support
Mallikarjun Kasoju [Fri, 24 May 2013 10:36:40 +0000]
rtc: ams3722: add 32kHz clock support

Add 32kHz clock support in ams3722

bug 1294697

Change-Id: Id6ddb79d1b372e0bde15acd07c34e97b9305e469
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/232565
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoiommu/tegra: smmu: Skip SMMU_INIT_DONE on Tegra12 and later
Terje Bergstrom [Wed, 29 May 2013 07:16:14 +0000]
iommu/tegra: smmu: Skip SMMU_INIT_DONE on Tegra12 and later

In Tegra12 and later the SMMU_INIT_DONE must not be set.

Bug 1201552

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

5 years agoARM: tegra12: clock: FIX DSIA and DSIB
Kaz Fukuoka [Thu, 9 May 2013 23:55:05 +0000]
ARM: tegra12: clock: FIX DSIA and DSIB

On T124, DSIA and DSIB are always under PLLD.

bug 1164664

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

5 years agovideo: tegra: host: Fix compilation warnings
Terje Bergstrom [Wed, 22 May 2013 10:14:04 +0000]
video: tegra: host: Fix compilation warnings

An earlier patch left a function in fifo_gk20a.c unused. Remove the
function. Also a loop variable was left that needs to be removed.

Change-Id: Ic9614223754ee84abdf4155a48834c2430bb8d07
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/231539
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agoUSB: EHCI: Remove gpio settings for VBUS
Petlozu Pravareshwar [Thu, 30 May 2013 11:11:42 +0000]
USB: EHCI: Remove gpio settings for VBUS

Remove gpio settings for vbus as we use
regulators to enable the vbus for host mode.

bug 1271873

Change-Id: I3ed689f3a16897e9c7b46a39b68326afba0722e5
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/229378
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra: ardbeg: update usb power tree entries
Petlozu Pravareshwar [Thu, 30 May 2013 09:05:31 +0000]
ARM: tegra: ardbeg: update usb power tree entries

Update usb power tree entries.

Bug 1271873

Change-Id: Ie2eeb0a683e1b58a07600937380e56d9af131f44
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/231112
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra: ardbeg: change USB_VBUS_EN0 pin to pull up
Petlozu Pravareshwar [Tue, 21 May 2013 09:28:50 +0000]
ARM: tegra: ardbeg: change USB_VBUS_EN0 pin to pull up

change USB_VBUS_EN0 pin to pull up.

Bug 1271873

Change-Id: I830c29d2ac65aec4f7d3507145f5df65cd414923
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/231120
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoarm: tegra: t124: Add functions for reading speedo and iddq values
Shardar Shariff Md [Wed, 22 May 2013 17:22:24 +0000]
arm: tegra: t124: Add functions for reading speedo and iddq values

Below functions to access speedos and iddq values
1. int tegra_cpu_speedo_0_value(void);
2. int tegra_cpu_speedo_1_value(void);
3. int tegra_cpu_speedo_2_value(void);
4. int tegra_soc_speedo_0_value(void);
5. int tegra_soc_speedo_1_value(void);
6. int tegra_soc_speedo_2_value(void);
7. int tegra_get_cpu_iddq_value(void);
8. int tegra_get_soc_iddq_value(void);
9. int tegra_get_gpu_iddq_value(void);

Bug 1049541
Bug 1280063

Change-Id: Id4bb9786b962dcf847e0c6dc53e2319bbcc9dc06
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/231943
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agovideo: tegra: host: Fix race in hwctx release
Arto Merilainen [Mon, 13 May 2013 09:07:39 +0000]
video: tegra: host: Fix race in hwctx release

This patch fixes a race in channel release. The hardware context was
not marked as released before releasing it which caused a race that
occassionally lead to bad memory accesses.

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

5 years agovideo: tegra: host: Disable scale/actmon on t124
Arto Merilainen [Thu, 23 May 2013 06:46:20 +0000]
video: tegra: host: Disable scale/actmon on t124

This patch disables VIC ans MSENC actmons and frequency scaling.

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

5 years agovideo: tegra: host: Enable actmon on msenc
Arto Merilainen [Mon, 22 Apr 2013 08:42:58 +0000]
video: tegra: host: Enable actmon on msenc

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

5 years agoARM: t124: pinmux: update T124 pinmux table
Ashwini Ghuge [Mon, 20 May 2013 09:44:51 +0000]
ARM: t124: pinmux: update T124 pinmux table

Bug 1199738

Change-Id: I58e8ba9968087b29c1683021eb0b5e2c3e0923ae
Signed-off-by: Ashwini Ghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/226976
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra12: clock: Enable pllc4_out0
Krishna Sitaraman [Wed, 1 May 2013 21:24:15 +0000]
ARM: tegra12: clock: Enable pllc4_out0

    bug 1279984
    bug 1164664

Change-Id: I318cb2244e3cfb6c00e94cb86d8a46de058131f9
Signed-off-by: Krishna Sitaraman <ksitaraman@nvidia.com>
Reviewed-on: http://git-master/r/224601
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: add support for powergate skip list
Mayuresh Kulkarni [Tue, 14 May 2013 12:14:47 +0000]
ARM: tegra: add support for powergate skip list

- the idea is to add the power gate ids to a skip list
and expose this list via pg_ops
- the core code checks if current id is in skip list.
if it is then, it skips power gate or ungate operation
of the current id

bug 1249871

Change-Id: I3df270cfe1c853b554086688b485562a211ec2a5
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/228373
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agovideo: tegra: host: Fix zcull ioctl args
Terje Bergstrom [Tue, 28 May 2013 05:11:21 +0000]
video: tegra: host: Fix zcull ioctl args

Zcull argument structs were reversed between old and new structs.
Fix this inconsistency.

Change-Id: Ie2eaa4ed0de95f6faccfd39dc1b95c141e722334
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/233649
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Ken Adams <kadams@nvidia.com>

5 years agovideo: tegra: host: Enable actmon on VIC
Arto Merilainen [Fri, 19 Apr 2013 06:19:58 +0000]
video: tegra: host: Enable actmon on VIC

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

5 years agovideo: tegra: host: Add actmon support for T124
Arto Merilainen [Tue, 26 Mar 2013 05:55:53 +0000]
video: tegra: host: Add actmon support for T124

This patch adds support for T124 unit actmons.

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

5 years agovideo: tegra: host: Fix suspend in scale3d
Arto Merilainen [Thu, 23 May 2013 07:05:17 +0000]
video: tegra: host: Fix suspend in scale3d

The new devfreq allows having an active devfreq without having an
active governor. The old code assumed that having an active devfreq
equals having an active governor - which lead to usage of bad
NULL pointers. This patch adds necessary checks.

Bug 1296920

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

5 years agoarm: config: tegra: Add IMX135 sensor support
Amit Arora [Sun, 19 May 2013 10:04:26 +0000]
arm: config: tegra: Add IMX135 sensor support

Enable CONFIG_VIDEO_IMX135 camera sensor for tegra11 and
tegra12 defconfig.

Bug 1250073
Bug 1256437

Change-Id: I0e86dc29a62b8840ce644de7dff831823f622043
Signed-off-by: Amit Arora <amita@nvidia.com>
Reviewed-on: http://git-master/r/230097
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoARM: tegra12: clock: Adding support to select CSI clock source
Krishna Sitaraman [Tue, 14 May 2013 22:18:41 +0000]
ARM: tegra12: clock: Adding support to select CSI clock source

CSI has two clock sources, PLL_D and the MIPI Brick. Adding select
option for choosing the appropriate clock.

Bug 1231122

Change-Id: Iafc0004f33bea670cac8e2480af52bf42e753f6a
Signed-off-by: Krishna Sitaraman <ksitaraman@nvidia.com>
Reviewed-on: http://git-master/r/228525
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agommc: host: tegra: Add vendor preset value register
Shridhar Rasal [Fri, 24 May 2013 07:29:37 +0000]
mmc: host: tegra: Add vendor preset value register

SD host spec defines vendor present value register for each bus
speed mode. Include supported registers for tegra host
controller >4.0

bug 1276024

Change-Id: I91ed31d90d837a53060ce7ece49b77b5be20834d
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/232498
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agommc: host: tegra: Add QUIRK to include 64Bit DMA
Shridhar Rasal [Mon, 29 Apr 2013 11:45:18 +0000]
mmc: host: tegra: Add QUIRK to include 64Bit DMA

T124 Supports 64 bit DMA Addressing.
Add quirk to support in sdhci tegra driver.

bug 1276024

Change-Id: I8732c3e91226c64edb5dba50922f6adf5d169200
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/223861
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agommc: host: update adma2 desc table for 64 bit DMA
Shridhar Rasal [Fri, 10 May 2013 10:30:31 +0000]
mmc: host: update adma2 desc table for 64 bit DMA

- Update adma descriptor table for 64/96/128 bit descriptor and
- Fill up 64 bit address in descriptor if 64 bit addressing supported

bug 1276024

Change-Id: I01ac70f8b36a492109f6e06ac02dfa6a74a8798d
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/227425
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agommc: sdhci: add 64bit DMA mode support
Shridhar Rasal [Mon, 29 Apr 2013 11:24:35 +0000]
mmc: sdhci: add 64bit DMA mode support

- Configure UPPER_ADMA_ADDRESS register if controller version is 4.0
  and supports 64 bit DMA addressing

-Set HOST_VERSION_4_EN and ADDRESSING_64BIT_EN bits of AMCD12_ERR
  register for controller version >4.00.

bug 1276024

Change-Id: I4dfc042092526ec7bcae2455067caff8c93a3e99
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/232061
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra: fix TEGRA_NUM_POWERGATE value per SOC
Mayuresh Kulkarni [Tue, 14 May 2013 10:50:02 +0000]
ARM: tegra: fix TEGRA_NUM_POWERGATE value per SOC

bug 1249871

Change-Id: I07a9dbdc4f2177e13e64f1312a1288c5ba77375f
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/228354
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agovideo: host: gk20a large page size
Ken Adams [Wed, 22 May 2013 17:11:37 +0000]
video: host: gk20a large page size

Split vm's which suport large page sizes in half.
This change also cleans up/fixes some error messages and
other such minor miscellany.

Bug 1227983

Change-Id: I49360b8e95590248e1e9ca65a47da284b5adffea
Signed-off-by: Ken Adams <kadams@nvidia.com>
Reviewed-on: http://git-master/r/225388
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agovideo: tegra: host: Fix 64-bit compatible submit
Terje Bergstrom [Fri, 24 May 2013 17:51:57 +0000]
video: tegra: host: Fix 64-bit compatible submit

The new submit IOCTL is not 64-bit padding safe. Reorder to regain
64-bit safety.

Also copy the fence argument in IOCTL.

Change-Id: If7899b0f4152637168e0e1d0a63d951099edb6ec
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/232657
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>

5 years agovideo: tegra: host: Fix building for older chips
Terje Bergstrom [Mon, 20 May 2013 07:59:42 +0000]
video: tegra: host: Fix building for older chips

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

5 years agommc: host: add transfer mode register fields.
Shridhar Rasal [Tue, 7 May 2013 05:32:06 +0000]
mmc: host: add transfer mode register fields.

With SD4.0 controller supports response check error.
Which helps for debugging and to avoid overhead of
response error check from driver side.
Adding respective bits for transfer mode register.

bug 1276024

Change-Id: I147dbab05cfc831cd1096712896563ced5e328c4
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/226015
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agommc: host: add data line status debug bits
Shridhar Rasal [Mon, 6 May 2013 08:32:48 +0000]
mmc: host: add data line status debug bits

SDHCI_PRESENT_STATE register includes status bits for
data lines 4 to 7. These bits used to check data line
debugging on error conditions.

bug 1276024

Change-Id: I491d2e9bdfaa5f4aed31d323f00e260de964bb2f
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/225598
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra12: clock: Add clock for entropy
Shravani Dingari [Mon, 27 May 2013 09:57:33 +0000]
ARM: tegra12: clock: Add clock for entropy

Added Entropy clock required for Ring Oscillators
used by SE DRBG operation

Bug 1271895

Change-Id: Ic49617e0c43656764f31fae2394e707372ddd531
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/231134
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra: ardbeg: Enable SE for T124 interposer
Shravani Dingari [Mon, 27 May 2013 06:04:10 +0000]
ARM: tegra: ardbeg: Enable SE for T124 interposer

Bug 1271895

Change-Id: Ic5299b8b7a40c13755dcfd1f0f27ffe7e78192ed
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/227524
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agovideo: tegra: host: Change T124 VI/ISP syncpts
Pablo Ceballos [Thu, 2 May 2013 23:24:03 +0000]
video: tegra: host: Change T124 VI/ISP syncpts

Remove T124 VI/ISP client-managed syncpoints and make them
host-managed instead.

Change-Id: I5ef04a06a8a345adf17600c556f2fce1754e3f89
Signed-off-by: Pablo Ceballos <pceballos@nvidia.com>
Reviewed-on: http://git-master/r/225030
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoARM: tegra12: clock: Fix boot over-clock warnings
Kaz Fukuoka [Thu, 2 May 2013 21:51:09 +0000]
ARM: tegra12: clock: Fix boot over-clock warnings

Increase maximum rate for secondary PLLM output
to the main PLLM output limit.

(Ported from http://git-master/r/225012)
bug 1164664

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

5 years agoARM: tegra12: clock: Add vim2_clk
Kaz Fukuoka [Fri, 10 May 2013 00:48:15 +0000]
ARM: tegra12: clock: Add vim2_clk

bug 1164664

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

5 years agomedia: video: tegra: Add imx135 support
Amit Arora [Sun, 19 May 2013 10:01:04 +0000]
media: video: tegra: Add imx135 support

Add driver support for imx135 camera sensor.

Bug 1250073

Change-Id: Ib36f2a9138583fafef902a0846ceab060524f191
Signed-off-by: Amit Arora <amita@nvidia.com>
Reviewed-on: http://git-master/r/229790
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoARCH: ARM: CONFIG Update Bonaire MODS Defconfig
Vivek Aseeja [Fri, 24 May 2013 17:59:30 +0000]
ARCH: ARM: CONFIG Update Bonaire MODS Defconfig

Fix RTC compilation error and disable NFS support

Signed-off-by: Vivek Aseeja <vaseeja@nvidia.com>
Change-Id: Iba84e43913d377e06263aa99fb8179ffe7d95b6d
Reviewed-on: http://git-master/r/232659
Reviewed-by: Frank Bourgeois <fbourgeois@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agovideo: tegra: gk20a: convert mem id from u32 to ulong
Peng Du [Thu, 23 May 2013 17:36:31 +0000]
video: tegra: gk20a: convert mem id from u32 to ulong

NvMap defines memory id as unsigned long throughout its
APIs and impl whereas many clients still define u32 ids.
This can cause issues on 64bit platforms.

Change-Id: Ic325f9a25ec8a1b1697d0e80fdf6f8947c543fd3
Signed-off-by: Peng Du <pdu@nvidia.com>
Reviewed-on: http://git-master/r/232237
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoarm :tegra: pcie: Avoid hang on non-pcie fpga
Jay Agarwal [Thu, 23 May 2013 08:34:00 +0000]
arm :tegra: pcie: Avoid hang on non-pcie fpga

Modified pme turn off code execution based on
pcie/non-pcie fpga

Change-Id: I3a2d2ba0d922418b45089c2f36238342b730f6ba
Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-on: http://git-master/r/232043
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoARM: configs: t12x: Enable proper Light sensor
Sri Krishna chowdary [Mon, 20 May 2013 12:37:11 +0000]
ARM: configs: t12x: Enable proper Light sensor

Enable CONFIG_SENSORS_CM3218 as CM32181 is used on Ardbeg, Laguna
Disable CONFIG_SENSORS_MAX44005
Disable CONFIG_SENSOR_ISL29028

Bug 1256462

Change-Id: Ia1dbd91efc5a15d75c018f0a14fe763cce25fb73
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/228653
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agovideo: tegra: host: convert mem id from u32 to ulong
Peng Du [Tue, 16 Apr 2013 22:30:01 +0000]
video: tegra: host: convert mem id from u32 to ulong

NvMap defines memory id as unsigned long throughout its
APIs and impl whereas many clients still define u32 ids.
This can cause issues on 64bit platforms.

Change-Id: I3dd8258cbea814f02b32eb2bfef5cbc9c2640909
Signed-off-by: Peng Du <pdu@nvidia.com>
Reviewed-on: http://git-master/r/220005
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoARM: tegra: config: tegra12_defconfig for l4t
Bibek Basu [Wed, 22 May 2013 22:53:59 +0000]
ARM: tegra: config: tegra12_defconfig for l4t

Add tegra12_defocnfig for l4t

Bug 1293554

Change-Id: I663464cb99258d95538a01c0211070defbca1d5d
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/231789
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoarch: arm: ardbeg: fix t124 ardbeg build
Mitch Luban [Thu, 23 May 2013 07:25:03 +0000]
arch: arm: ardbeg: fix t124 ardbeg build

Need to choose soc specific early init.

Change-Id: I572cab4a2976d9e9f410f53c270de3f23b2ff5ad
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/232009
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agovideo: tegra: host: Disable gk20a powergating
Terje Bergstrom [Thu, 23 May 2013 11:17:04 +0000]
video: tegra: host: Disable gk20a powergating

Set gk20a power gating to disabled. This is the safe default for
bringup until power gating is verified.

Change-Id: I427609df0abe35a75ab777cd8e4abc559bfcf664
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/232107
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Ken Adams <kadams@nvidia.com>

5 years agoARM: configs: t12x: update defconfig entries
Sri Krishna chowdary [Mon, 20 May 2013 12:31:27 +0000]
ARM: configs: t12x: update defconfig entries

Update defconfig entries using menuconfig

Change-Id: I9a7cfc979ca3dd27bb8efc8d0837d1fe4b40d971
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/230833
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoARM: tegra12: clock: Support for PLLD2, DP, C4
Kaz Fukuoka [Thu, 11 Apr 2013 23:08:40 +0000]
ARM: tegra12: clock: Support for PLLD2, DP, C4

For the new spread spectrum PLLs: PLLD2, PLLDP, and PLLC4.

bug 1160031
bug 1164664

Change-Id: I9c2ab94e8e50da9510e05c9af2c0496800efb670
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/218693
Reviewed-by: Hoang Pham <hopham@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoarm: tegra: remove __initdata keyword for nvmap_device
Seema Khowala [Wed, 22 May 2013 18:55:38 +0000]
arm: tegra: remove __initdata keyword for nvmap_device

nvmap_device was incorrectly marked as __initdata during
dalmore board files creation and it got carried forward to
boards that are created later onwards.
Bug 1247591

Change-Id: Ic40d28fc41e8c26b975c2c4423a15128fa6384e9
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/231693
Reviewed-by: Chao Xu <cxu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>

5 years agoarm: tegra: ardbeg: Add sharp 25x16 panel support
Vineel Kumar Reddy Kovvuri [Fri, 10 May 2013 09:05:07 +0000]
arm: tegra: ardbeg: Add sharp 25x16 panel support

Fixed incorrect DSI packet sequence being used
during default and video non-burst mode.

Bug 1285749

Change-Id: Ib782c7ed76b7c102947c0fd7fd382b7f2b073b16
Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
Reviewed-on: http://git-master/r/227381
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoarch: arm: tegra: ardbeg: Support Raydium Touch
Xiaohui Tao [Fri, 10 May 2013 03:27:40 +0000]
arch: arm: tegra: ardbeg: Support Raydium Touch

Add platform data and power rails needed for touch
support on ardbeg.

Bug 1256425

Change-Id: I6d40d83db44363242d078b0caa59d8111bfe1e58
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/227110
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoarch: arm: tegra: ardbeg: Add panel support
Seema Khowala [Fri, 3 May 2013 22:01:58 +0000]
arch: arm: tegra: ardbeg: Add panel support

Enable power rails necessary for display.

Bug 1257423

Change-Id: I781d692fe981c9aff0ed6ec601e7bb50ac8f16fb
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/224963
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agomfd: Add AS3722 PMIC MFD driver
Florian Lobmaier [Mon, 6 May 2013 07:28:54 +0000]
mfd: Add AS3722 PMIC MFD driver

AS3722 is a PMIC with multiple DCDC and LDO power supplies,
GPIOs, an RTC, WDT. This patch adds support for MFD core

Change-Id: Id15187194fa6fec5b7234ff071645c8c6d592d1f
Signed-off-by: Florian Lobmaier <florian.lobmaier@ams.com>
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/225575
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: add support to window D for t124
Chao Xu [Mon, 29 Apr 2013 17:50:01 +0000]
ARM: tegra: add support to window D for t124

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

5 years agovideo: tegra: host: implement submit wait queue
Kirill Artamonov [Fri, 10 May 2013 14:51:50 +0000]
video: tegra: host: implement submit wait queue

Implement submit wait queue for gk20a host.
Add nvhost_module_idle to submit complete action.

bug 1275382

Signed-off-by: Kirill Artamonov <kartamonov@nvidia.com>
Change-Id: I1b4f738cbc1886a1d14465b49dbc31dd65c12b25
Reviewed-on: http://git-master/r/227495
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ken Adams <kadams@nvidia.com>
Tested-by: Ken Adams <kadams@nvidia.com>

5 years agostaging: iio: light: Remove CONFIG_SENSORS_CM32181
Sri Krishna chowdary [Wed, 15 May 2013 10:46:13 +0000]
staging: iio: light: Remove CONFIG_SENSORS_CM32181

CONFIG_SENSORS_CM32181 was needed for choosing
which value to be written to command register.
Now, this is taken care by cm3218 driver at runtime.

Bug 1256462

Change-Id: Id96ae564f3d7900645bd17d054be19a6af1c0c31
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/228832
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

5 years agovideo: tegra: host: Add padding to nvhost_wait_args
Terje Bergstrom [Fri, 3 May 2013 12:10:00 +0000]
video: tegra: host: Add padding to nvhost_wait_args

nvhost_wait_args gets compiled differently with 64-bit and 32-bit
compilers. Fix it by adding padding.

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

5 years agoARM: tegra12: Enable IOMMU on bonaire
Terje Bergstrom [Wed, 22 May 2013 06:43:55 +0000]
ARM: tegra12: Enable IOMMU on bonaire

Enable SMMU on tegra_bonaire_android_defconfig.

Bug 1201552

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

5 years agoARM: tegra12: Re-save bonaire Android defconfig
Terje Bergstrom [Wed, 22 May 2013 06:42:20 +0000]
ARM: tegra12: Re-save bonaire Android defconfig

tegra_bonaire_android_defconfig has been modified without using
savedefconfig. Re-generating the defconfig.

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

5 years agovideo: tegra: host: fix build break for bonaire
Mayuresh Kulkarni [Tue, 21 May 2013 09:38:17 +0000]
video: tegra: host: fix build break for bonaire

- bonaire (t124 fpga) doesn't enable kernel config
PM_GENERIC_DOMAINS
- linux/pm_domain.h defines pm_domain_always_on_gov as
NULL if PM_GENERIC_DOMAINS is not enabled
- as a result, &pm_domain_always_on_gov gives lvalue
compiler error
- this commit fixes this error

Change-Id: Ic575efac3a5a13eda7e8306c8be43ea04f59463f
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/231122
Reviewed-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agogpio: Add an AS3722 PMIC gpio driver
Florian Lobmaier [Mon, 6 May 2013 07:45:20 +0000]
gpio: Add an AS3722 PMIC gpio driver

AS3722 is a PMIC with multiple DCDC and LDO power supplies,
GPIOs, an RTC, WDT. This patch adds support for gpio

Change-Id: Iac350b2942b5b07f7355b7abd8acb22ae5dc5a04
Signed-off-by: Florian Lobmaier <florian.lobmaier@ams.com>
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/225578
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agortc: Add an AS3722 PMIC RTC driver
Florian Lobmaier [Mon, 6 May 2013 07:43:38 +0000]
rtc: Add an AS3722 PMIC RTC driver

AS3722 is a PMIC with multiple DCDC and LDO power supplies,
GPIOs, an RTC, WDT. This patch adds support for RTC

Change-Id: I3e2efcbe52eed8d1c4175cf9928e0c2154654982
Signed-off-by: Florian Lobmaier <florian.lobmaier@ams.com>
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/225577
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>