6 years agodrivers: nct: shutdown and thermal register
Joshua Primero [Tue, 28 Aug 2012 21:38:51 +0000]
drivers: nct: shutdown and thermal register

Shutdown temperature in platform data now used. Also,
cleaned up some unused platform data parameters.

Also, have nct driver register with thermal framework
itself.

Change-Id: Ic97aa3968b945033c83d2809b63c571b05bb89eb
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/132879
(cherry picked from commit e361239aab1a9c393a4a6ccfb8ac78f066adbffb)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/130285
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoarm: tegra: pluto: enable CMU by default.
Kevin Huang [Tue, 25 Sep 2012 20:54:53 +0000]
arm: tegra: pluto: enable CMU by default.

Bug 104734

Change-Id: I365b765914130996fb4acdaec091e95131d980c6
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/135242
(cherry picked from commit a86b1eab7a1c78f946479ac09bc1ae5f4a9ff436)
Reviewed-on: http://git-master/r/146975
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoasoc: tegra: set I2S bit clk based on channel
Dara Ramesh [Thu, 18 Oct 2012 11:46:42 +0000]
asoc: tegra: set I2S bit clk based on channel

Bug 1054221

Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/145578
(cherry picked from commit 225fc7cb3a54a32a583c8e536a5c5b2d9ad61982)

Change-Id: I4953dd751cbe1f2acb1f6a31ff89889c45a2dc3f
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146969
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoasoc: tegra: Add 8,24,32 bit support
Rahul Mittal [Wed, 17 Oct 2012 08:55:53 +0000]
asoc: tegra: Add 8,24,32 bit support

Adding 8, 24 and 32 bit support to Tegra Drivers
All the above formats are supported by Tegra hardware
Playback/record also depends on support in platform codec

Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/143750
(cherry picked from commit 9ffc1769fae6b03aef56e89b36dcb8e471ac13a6)

Change-Id: I06259d345f9d7886fe949809e358544ed506268e
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146968
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoasoc: tegra: Fix headset detection
Vijay Mali [Wed, 17 Oct 2012 07:26:06 +0000]
asoc: tegra: Fix headset detection

Increase debounce time. Helps in making correct
decision of headset insert and remove events.

For bug 1060874

Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/145165
(cherry picked from commit f62ad8e7f9013169f1e5b8aed833e56c9e4509ff)

Change-Id: Iec7d34b0e2bf0de4bfca31f13818be900ca2188c
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146967
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vijay Mali <vmali@nvidia.com>
Tested-by: Vijay Mali <vmali@nvidia.com>

6 years agoasoc: tegra: DSP, LJM, RJM mode support for T114
Rahul Mittal [Wed, 10 Oct 2012 10:00:46 +0000]
asoc: tegra: DSP, LJM, RJM mode support for T114

Add SLOT_CONTROL2 programming (new register for T114)
SLOT_CONTROL in T114 to be programmed as TOTAL SLOTS
Add I2S offset programming for I2S modes

Bug 1054221

Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/142693
(cherry picked from commit 173b11c81829254515facb0b253d888e1e02719a)

Change-Id: Iccaf43359842687d989515fa605f61709bb2d6b5
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146964
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rahul Mittal <rmittal@nvidia.com>

6 years agoALSA: hda: Fix condition check for hda clock disable
Rahul Mittal [Thu, 11 Oct 2012 13:24:41 +0000]
ALSA: hda: Fix condition check for hda clock disable

HDA clocks weren't getting disabled in display on.
Corrected error in condition check to fix the issue.

Bug 1156125

Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/143718
(cherry picked from commit f1cf49754fbf950ec7bdac646425443cf047c30f)

Change-Id: I795bab4e3d976a57d1a17181d2b39ee740eab6a0
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146963
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rahul Mittal <rmittal@nvidia.com>

6 years agoarm: tegra: Fix DMA req for new APBIF channels
Rahul Mittal [Wed, 10 Oct 2012 13:27:56 +0000]
arm: tegra: Fix DMA req for new APBIF channels

DMA requests from new APBIF channels wasn't added
This caused callback failures with FIFO threshold 7

Bug 1154914

Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/143250
(cherry picked from commit 7dd7957b81da7a48c62c473bafeebc788f5142a3)

Change-Id: I28baab45a1fdf0917c28ff9e7f538ad986fe52c8
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146962
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rahul Mittal <rmittal@nvidia.com>

6 years agoasoc: tegra: Support BT_SCO
Dara Ramesh [Wed, 10 Oct 2012 10:14:55 +0000]
asoc: tegra: Support BT_SCO

Add support for bt sco on dalmore platform.

Bug 1054221

Change-Id: I4acc4dd908b087a56b406bab18c4b7fc50b39425
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/143191
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146961
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoasoc : cs42l73: Add delay after codec power off
Rahul Mittal [Thu, 4 Oct 2012 15:31:54 +0000]
asoc : cs42l73: Add delay after codec power off

Adding delay after codec power off when suspend call is made
Fixes the issue of higher power in LP0 after running audio

Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/141618
(cherry picked from commit c145a53ff2e7f51405292e184d8a619347a3fb08)

Change-Id: I3f85d4dd9c557a5420d1a98bb2cc54501e30d7f3
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146960
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rahul Mittal <rmittal@nvidia.com>

6 years agoasoc: tegra: cs42l73: Add DMIC regulator on/off support
Rahul Mittal [Fri, 28 Sep 2012 13:56:19 +0000]
asoc: tegra: cs42l73: Add DMIC regulator on/off support

Enable/disable DMIC regulator based on DAPM event
Bug 1053229

Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/138867
(cherry picked from commit 4dc7b8efdaa70a9bb8b99e63011a0ddd16b66aaa)

Change-Id: I09661d981735c682be85d7999ce54478f75d88dd
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146959
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoasoc: tegra: cs42l73: Add DAPM for DMIC recording
Jubeom Kim [Thu, 27 Sep 2012 02:54:07 +0000]
asoc: tegra: cs42l73: Add DAPM for DMIC recording

Adding DAPM widget for DMIC recording
Bug 1053229

Signed-off-by: Jubeom Kim <jubeomk@nvidia.com>
Reviewed-on: http://git-master/r/139186
(cherry picked from commit 247eea2726e6f3422ce7b4b5c266f6040242976e)

Change-Id: Id0cada66bd7e72c1a5611e1666dc2b865bb7b9ca
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146958
Reviewed-by: Automatic_Commit_Validation_User

6 years agoasoc: tegra: cs42l73: add jack notifier code
Dara Ramesh [Thu, 27 Sep 2012 11:52:46 +0000]
asoc: tegra: cs42l73: add jack notifier code

a) add standard jack notifier code.
b) remove redundant code and do the cleanup.

Bug 1053365

Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/139370
(cherry picked from commit a7464022989229de634df9ddf256aa5fa1850f48)

Change-Id: Ied91d7fda90302c34d380d4196ead2d6c884cb09
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146957
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dara Ramesh <dramesh@nvidia.com>

6 years agoasoc: tegra: cs42l73: Fix 8khz audio recording
Rahul Mittal [Tue, 25 Sep 2012 11:28:24 +0000]
asoc: tegra: cs42l73: Fix 8khz audio recording

Fixed mclk for 8 khz.
Playback/record for 8khz working.

Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/135106
(cherry picked from commit fd9e0af3e8a62927c8c305175f47c76187586556)

Change-Id: I0dd25fdc9c139d135005d602bfee023e4ab77fba
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146956
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rahul Mittal <rmittal@nvidia.com>

6 years agoasoc: tegra: fix rt5640 gpio.
Jubeom Kim [Sat, 22 Sep 2012 01:54:50 +0000]
asoc: tegra: fix rt5640 gpio.

This is no audio issue and need it for E1611.

Signed-off-by: Jubeom Kim <jubeomk@nvidia.com>
Reviewed-on: http://git-master/r/134559
(cherry picked from commit f26f2949e5ff1b0c6016b6b3350cc3d9f9099c30)

Change-Id: I6d77dc094c3e9df10e718eea86df662dd47337f2
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146955
Reviewed-by: Automatic_Commit_Validation_User

6 years agotegra : soc: cs42l73 headset detection
Dara Ramesh [Fri, 21 Sep 2012 16:27:30 +0000]
tegra : soc: cs42l73 headset detection

Bug 1052081
Bug 1052069

Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/134097
(cherry picked from commit 34d4d26641d26f8363c65adc9ae9a816824789dc)

Change-Id: Ie8d741e8d988db3cb1d3712c542c66384176a1be
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146954
Reviewed-by: Automatic_Commit_Validation_User

6 years agovideo: tegra: dc: add the interface to CMU settings.
Kevin Huang [Tue, 25 Sep 2012 18:50:05 +0000]
video: tegra: dc: add the interface to CMU settings.

Change the code so CMU can be set through board file.
Add an interface to turn CMU on/off.

Bug 1047348

Change-Id: I48561dcbb7cfff2fd0bdb7652af5fbcab4c4b8ca
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/133771
(cherry picked from commit 641491fac06fb43db71af570c97424dddf1baf31)
Reviewed-on: http://git-master/r/131920
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoALSA: hda - add Nvidia T114 Tegra HDMI codec id
Dara Ramesh [Thu, 20 Sep 2012 04:14:48 +0000]
ALSA: hda - add Nvidia T114 Tegra HDMI codec id

Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/133966
(cherry picked from commit e4473b4eb34fc8b57f358e0ff38095c731a6f01b)

Change-Id: I8987c4d5555a4fd0da127ec5abbf004ffe32117b
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146953
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra: use smp_processor_id to obtain cpu id
Bo Yan [Tue, 23 Oct 2012 17:43:23 +0000]
ARM: tegra: use smp_processor_id to obtain cpu id

Using smp_processor_id to obtain cpu ID is preferred to directly
accessing CP15 register because it is more flexible and portable.
This is required when accessing virtualized CPUID as seen by the
OS when the OS itself is running in secure mode.

Change-Id: Ibdb1b8de88ff06f0272f073d5ef8e55d370cf970
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/146999
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoarm: tegra: isomgr: Use emc API's to convert bw to emc freq
Krishna Reddy [Mon, 22 Oct 2012 19:45:28 +0000]
arm: tegra: isomgr: Use emc API's to convert bw to emc freq

Use emc API's to convert bw to emc freq and vice versa.
Calculate teh BW that can be used by ISO clients based on
max emc freq.
Enable isomgr for T11x.
Fix format issues.
Bug 1049929

Change-Id: I338d6838c83343b06a8a79f2ee921a7a3e351679
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/146552
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agoinput: touch: raydium: updates for RM31100 chip
Xiaohui Tao [Wed, 17 Oct 2012 18:35:32 +0000]
input: touch: raydium: updates for RM31100 chip

Raydium code drop.
Add support for the new Raydium chip;
Working for both the old chip and new one

Bug 1162178

Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/145319
(cherry picked from commit df26903f2f776b20a4b70eb0a16e9cf65b2a216c)
Signed-off-by: David Jung <djung@nvidia.com>
Change-Id: Ibbb0e8dc92241753799b91fd2f37263a28404dc1
Reviewed-on: http://git-master/r/146047
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agoarm: tegra: Update MC error reporting
Alex Waterman [Thu, 11 Oct 2012 18:10:02 +0000]
arm: tegra: Update MC error reporting

The error reporting done by the kernel needed updating from T30
to support new T11x specific features and additions.

BUG 1156719

Change-Id: Iffdedfec54f2a673d97cfe42186b71fe4842c64b
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/143813
(cherry-picked from 18272401c76a80b49c3f1af1ada61209cd944d89)
Reviewed-on: http://git-master/r/145772
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agokernel: Modify schedule interval to 1ms only for ARCH_TEGRA
Diwakar Tundlam [Thu, 4 Oct 2012 00:21:31 +0000]
kernel: Modify schedule interval to 1ms only for ARCH_TEGRA

Bug 954903

Change-Id: I8187b71384c694795bb41dafa3a3800d45110d22
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/141381
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agovideo: tegra: host: Map cmdbuf using nvmap_kmap
Terje Bergstrom [Wed, 17 Oct 2012 08:53:47 +0000]
video: tegra: host: Map cmdbuf using nvmap_kmap

Use nvmap_kmap() instead of nvmap_mmap() to map individual pages from cmdbuf.

Bug 1158533

Change-Id: I76320d1373b0177debec76fe171f0b0c02fe35cd
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/145504
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ken Adams <kadams@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agovideo: tegra: nvmap: Add support for nvmap_kmap
Krishna Reddy [Wed, 17 Oct 2012 08:52:49 +0000]
video: tegra: nvmap: Add support for nvmap_kmap

Add support for mapping a single page from a buffer to kernel address
space.

Bug 1158533

Change-Id: Ie331e787663d98b644aa2e7f220020982f15fd9d
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/145503
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ken Adams <kadams@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoarm: tegra: emc: add API to convert bw to freq.
Krishna Reddy [Thu, 18 Oct 2012 21:53:59 +0000]
arm: tegra: emc: add API to convert bw to freq.

Add API to convert bandwidth to freq and vice versa.
Add API to get dvfs switching latency.

Change-Id: I7db20be04df75e7c55260a1802f57e0f4aa739b8
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/145718
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agovideo: tegra: nvsd: Adjust PRISM by software.
Kevin Huang [Thu, 18 Oct 2012 18:32:13 +0000]
video: tegra: nvsd: Adjust PRISM by software.

Add software calculation on PRISM result based on higtogram to
get around of hardware flaws.

Bug 1156027

Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Change-Id: I29b7e773fd4818edd1b719f1003ec58c35a7fa01
Reviewed-on: http://git-master/r/146163
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm:tegra:enterprise Add I2S4 sync clock
ScottPeterson [Fri, 21 Sep 2012 00:23:21 +0000]
arm:tegra:enterprise Add I2S4 sync clock

Add support for I2S4 sync clock when used
in slave mode.

Change-Id: I5c550f1e8254d843f8b8089b3e83161bd26d962a
Signed-off-by: ScottPeterson <speterson@nvidia.com>
Reviewed-on: http://git-master/r/134232
(cherry picked from commit da11aec4853508ae8cff6ac515a65cf578241860)
Reviewed-on: http://git-master/r/146606
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra20: remove irrelevant code
Bo Yan [Tue, 23 Oct 2012 23:54:46 +0000]
ARM: tegra20: remove irrelevant code

This fixes a merge error when earlier migrating from K3.1 to K3.4

Change-Id: I443814bafe54950e163216775f6f96a69b3f2296
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/147098
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra11: Disable L2X0
Bo Yan [Wed, 24 Oct 2012 22:38:10 +0000]
ARM: tegra11: Disable L2X0

Change-Id: Ice157d01a7bdf461cee47732ef9a7589b22324b0
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/146644
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agotegra: dalmore: remove extra call to sensors_init
Gaurav Batra [Tue, 23 Oct 2012 23:47:49 +0000]
tegra: dalmore: remove extra call to sensors_init

Change-Id: I4e6fc2cb7f4c81f9f7f90e5c3caa5a0cf123279b
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/147097
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra3: clock: moving to clk prepare APIs
Sivaram Nair [Tue, 23 Oct 2012 06:11:27 +0000]
ARM: tegra3: clock: moving to clk prepare APIs

The clk_enable/clk_disable pair of APIs are replaced with
tegra_clk_prepare_enable and tegra_clk_disable_unprepare.

This is needed for the migration to common clk framework.

Bug 920915

Change-Id: Ifdbf4c0f8b31beafe6c1f039342aac93c2510ccf
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/146777
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agovideo: tegra: host: moving to clk prepare APIs
Sivaram Nair [Tue, 23 Oct 2012 07:28:46 +0000]
video: tegra: host: moving to clk prepare APIs

The clk_enable/clk_disable pair of APIs are replaced with
clk_prepare_enable and clk_disable_unprepare.

This is needed for the migration to common clk framework.

Bug 920915

Change-Id: I786f742260c420746ed7770818c1944f965c61e3
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/146795
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agodrivers: tegra: max77665-flash: flash level update
Charlie Huang [Wed, 24 Oct 2012 00:52:29 +0000]
drivers: tegra: max77665-flash: flash level update

add logic to assign flash/torch level 0 as disable flash/torch functions.
from the hardware's spec, level 0 means the lowest current 16.625mA.

add torch-by-i2c trigger option and set it as default.

also optimized the power on/off sequences.

bug 1155623
bug 1110380
bug 1116953

Change-Id: I1d592a173c4694287dff1543b21a92e3efcd8f2e
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
(cherry picked from commit e799bf696300020045ab7284e007a87accbf9404)
Reviewed on: http://git-master/r/#change,145113
Reviewed-on: http://git-master/r/146034
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agoARM: tegra: power gate skip update
rrajk [Tue, 23 Oct 2012 09:50:06 +0000]
ARM: tegra: power gate skip update

T11x power gate partition skip list updated. CPU and 3D partitions
are removed from skip list and power gate for these partitions
is controlled by respective modules.

bug 1053317

Reviewed-on: http://git-master/r/134739
(cherry picked from commit cc2038d4f030a57c0b450ee7d51e56776449427f)

Change-Id: Ic68f7f6f08eb9f9a10d1a746d8ce0457dd0322e9
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/146449
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agousb: cdc-acm: enable need_remote_wakeup by default
Venu Byravarasu [Wed, 17 Oct 2012 12:58:10 +0000]
usb: cdc-acm: enable need_remote_wakeup by default

This was disabled in a previous commit as it was thought that the
flag prevented autosuspend from working. However autosuspend will
succeed as long as the modem enumerates with the Remote Wakeup bit
set in the bmAttributes field of the Configuration descriptor.

Bug 1058567

Change-Id: I79b35f8edec4511da19bcc3f761d666d388c655d
Signed-off-by: Neil Patel <neilp@nvidia.com>
Reviewed-on: http://git-master/r/147062
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin <stlin@nvidia.com>

6 years agoARM: tegra: Kai: Add power regulator support.
Robert Collins [Mon, 8 Oct 2012 22:46:24 +0000]
ARM: tegra: Kai:  Add power regulator support.

Change-Id: Ica275e04bf000a2f98640bbc382031d288fbafa9
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/142528
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agoARM: tegra: Cardhu: Add power regulator support.
Robert Collins [Tue, 9 Oct 2012 00:32:09 +0000]
ARM: tegra: Cardhu:  Add power regulator support.

Change-Id: I3498a0f1ebc531834ab06f1fcdb3641ec3fc12b0
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/142529
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agovideo: tegra: dc: vfilter memclient only for 2x/3x
Jon Mayo [Thu, 27 Sep 2012 23:09:40 +0000]
video: tegra: dc: vfilter memclient only for 2x/3x

Make bandwidth and latency calculations for vfilter a Tegra 2x/3x only feature.

Bug 1055607

Change-Id: I182ce8fb3a0830532f7c8e9132d2d11119cfd009
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/139489
(cherry picked from commit ec4ad6ae4cd03dfb074ec30bc986bf2f59cb813d)
Reviewed-on: http://git-master/r/146976
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agomisc: tegra-cryptodev: add drbg support
Mallikarjun Kasoju [Sun, 16 Sep 2012 17:39:06 +0000]
misc: tegra-cryptodev: add drbg support

Add support for user space rng drbg algorithm

Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/133101
(cherry picked from commit 7e8b8bf321a629a4ada453979c6a77104d63fcc5)

Change-Id: I8427401acfc18b744765a7193a0604f385b70299
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/146884
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoARM: tegra: Re-enable devfreq
Terje Bergstrom [Tue, 23 Oct 2012 07:59:10 +0000]
ARM: tegra: Re-enable devfreq

Devfreq was disabled by a bad merge. This patch re-enables it.

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

6 years agoARM: tegra11x: residency time for different LP2 mode
Bo Yan [Wed, 17 Oct 2012 02:10:03 +0000]
ARM: tegra11x: residency time for different LP2 mode

Select CPU partition power gating only, non-CPU power gating, or
rail gating based on the required minimum residency and requested
sleep length.

The minimum residency for non-cpu power gating and rail-gating are
arbitrarily set in this change, they have to be characterized.

The minimum residency for non-cpu power gating shall always be
less than the minimu residency for rail gating.

Also fix a bug that prevents rail-gating

Change-Id: Icc646061f0fb47662fa74e77c6ae6b5d5da1444a
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/146640
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra30: Remove "power_gating" control
Bo Yan [Tue, 16 Oct 2012 19:11:44 +0000]
ARM: tegra30: Remove "power_gating" control

sysfs node "power_gating" is removed from cpuidle because the same
purpose now is served by cpuidle driver for t11x.

Change-Id: I7f1ea1b13a69f9f0390a9146b50bcecbc98bfe95
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/146639
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra11: clock: Put UTMIPLL under h/w control
Rakesh Bodla [Wed, 10 Oct 2012 05:25:08 +0000]
ARM: tegra11: clock: Put UTMIPLL under h/w control

Programming UTMIPLL register to let hardware to
control UTMIPLL.

Bug 1057339

Reviewed-on: http://git-master/r/141559
(cherry picked from commit 6ff04c9acbb229e22410f7d70e4e127dc6768a34)

Change-Id: Ied7b0e2a34148f70fc982ee5f66c30128fb43df0
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/146346
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agomedia: video: tegra: ov9772 NVC driver
Phil Breczinski [Thu, 13 Sep 2012 02:28:58 +0000]
media: video: tegra: ov9772 NVC driver

Replace old framework ov9772 driver with new framework
NVC driver.

Bug 1041786

Change-Id: I4e6c1e22d745688e652becdc94171874333bb865
Signed-off-by: Phil Breczinski <pbreczinski@nvidia.com>
(cherry picked from commit 9c4d6d1da8e5083adea4545288c10ee46edc3903)
Reviewed-on: http://git-master/r/139517
Reviewed-on: http://git-master/r/146022
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: enterprise: supply device name for regulator
Rohith Seelaboyina [Thu, 18 Oct 2012 11:52:10 +0000]
arm: tegra: enterprise: supply device name for regulator

Supply the appropriate device name for battery charging regulator

Bug 1158669

Change-Id: I9d02ba9a75054e714583845790c352afd2ab212e
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/145582
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: kai: supply device name for regulator
Rohith Seelaboyina [Thu, 18 Oct 2012 11:44:48 +0000]
arm: tegra: kai: supply device name for regulator

Supply the appropriate device name for battery charging regulator

Bug 1158669

Change-Id: I2534c8b7e881fd8316a7f775c641c601c953ba73
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/145581
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agousb: gadget: tegra: enable regulator name
Rohith Seelaboyina [Thu, 18 Oct 2012 11:35:14 +0000]
usb: gadget: tegra: enable regulator name

Specify device name for the regulator_get API

Bug 1158669

Change-Id: I981728bc4e14bcedab49175b0350f8d93a2ac95a
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/145580
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agomedia: tegra: Add docs for Tegra V4L2 camera
Andrew Chew [Mon, 6 Aug 2012 21:43:09 +0000]
media: tegra: Add docs for Tegra V4L2 camera

This readme describes theory of operations of the Tegra camera host driver.

Signed-off-by: Andrew Chew <achew@nvidia.com>
Change-Id: I9e6f761cd60f5b8a537174290df21fb85f016dca
Reviewed-on: http://git-master/r/145347
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agomedia: tegra: Tegra V4L2 camera
Andrew Chew [Tue, 29 Mar 2011 01:38:39 +0000]
media: tegra: Tegra V4L2 camera

This is the Tegra V4L2 camera host driver, for Tegra2/Tegra3's VI/CSI
controller.

Signed-off-by: Andrew Chew <achew@nvidia.com>
Change-Id: If2d9eefe53c2119c1a6ae518216e1a3c3ed216ef
Reviewed-on: http://git-master/r/145346
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agomedia: tegra: Tegra videobuf2
Andrew Chew [Mon, 20 Aug 2012 20:02:04 +0000]
media: tegra: Tegra videobuf2

This is based off of videobuf2-dma-contig, except we use Tegra's nvmap for the
buffer allocations.

Signed-off-by: Andrew Chew <achew@nvidia.com>
Change-Id: I15e689c33ee7b4fc0aade794c78701c82483df3f
Reviewed-on: http://git-master/r/145345
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agotegra: When using Tegra V4L2, don't use vi client
Andrew Chew [Tue, 16 Oct 2012 21:41:30 +0000]
tegra: When using Tegra V4L2, don't use vi client

The VI client within drivers/video/tegra is mutually exclusive with the
Tegra V4L2 framework, since they both want to own the camera hardware.

Signed-off-by: Andrew Chew <achew@nvidia.com>
Change-Id: I14da9d1da187c846919d23f62d17cabedc7e91ad
Reviewed-on: http://git-master/r/145344
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agotegra: Add function to release resources
Andrew Chew [Wed, 1 Aug 2012 23:52:42 +0000]
tegra: Add function to release resources

Add a companion function to nvhost_client_device_get_resources() called
nvhost_client_device_put_resources() that does the opposite thing.  This
is useful for any nvhost clients that need to be loaded as modules, since
the driver removal path will be exercised in that case.

Signed-off-by: Andrew Chew <achew@nvidia.com>
Change-Id: I72ffc1e8d3eb7bc0d86896e80f121d2a432abbad
Reviewed-on: http://git-master/r/145343
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agousb: gadget: ether: fix clog tx transmit
Jay Cheng [Sun, 30 Sep 2012 02:07:22 +0000]
usb: gadget: ether: fix clog tx transmit

With g_len initial from 0 and buffer size is 10, it cause interrupt(IOC)
is triggered at entry 0 and 5, which is 1st and 6th entry in list. This deviate
double bufferring design that expect to trigger interrupt at half and full.
If interrupt is trggered at 0 and 5, when upper layer pass through data faster
then u_ether driver can free up, then the data flow start clogging from g_len=6
till g_len=9 and no interrupt is triggered to free up memory to consume data
from upper layer as illustrated below.

[0][1][2][3][4] [5][6][7][8][9]
IOC             IOC

Initial g_len as 1, so interrupt will be triggered at 5th and 10th as illustrated
below. Especially, 10th entry, which is also last entry, must set interrupt to
free up memory.

[0][1][2][3][4] [5][6][7][8][9]
            IOC             IOC

Also enforce last entry in list to trigger interrupt in case user space
change qmult value at run time that will cause misalignment with buffer size.

For example:
echo 4 > /sys/module/g_android/parameters/qmult

[0][1][2][3][4] [5][6][7][8][9]
         IOC          IOC   IOC

bug 1054552
Reviewed-on: http://git-master/r/139969
(cherry picked from commit 4ea9a0eff24d5f3c44402732e35bf12eaed7ed79)

Change-Id: I449a007036f6aea73626921bb24925b2ec57e167
Signed-off-by: Jay Cheng <jacheng@nvidia.com>
Reviewed-on: http://git-master/r/145243
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Michael Hsu <mhsu@nvidia.com>

6 years agoARM: tegra: enterprise: Add power regulator support.
Robert Collins [Tue, 9 Oct 2012 00:32:48 +0000]
ARM: tegra: enterprise:  Add power regulator support.

Change-Id: Iafd55341612a71d7225a6eb1b073b53acff6f78c
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/142530
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agocamera: sensor: IMX091: sensor's pll multiple settings
Kurt Yi [Sun, 23 Sep 2012 00:47:55 +0000]
camera: sensor: IMX091: sensor's pll multiple settings

change imx091's pll multiple value to down for supporting
full resolution

Change-Id: Iee83acf20777e5b2bc3a5db58465be056b10a8a0
Signed-off-by: Kurt Yi <kyi@nvidia.com>
Reviewed-on: http://git-master/r/134642
(cherry picked from commit df51fd7ac4c9a7e4214bc7a1920e42af2b5506b1)
Reviewed-on: http://git-master/r/142043
Reviewed-by: Frank Chen <frankc@nvidia.com>
Tested-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Gary Zhang <garyz@nvidia.com>
Reviewed-by: Patrick Shehane <pshehane@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agoinput: misc: Invensense: Add power regulator support.
Xiaohui Tao [Wed, 17 Oct 2012 00:48:34 +0000]
input: misc: Invensense:  Add power regulator support.

* Remove EARLYSUSPEND/EARLYRESUME for k3.4
* Add power regulator support
* Add suspend/resume functions with power regulator support

Change-Id: I58695f6eac4daed39f5fae50948c3d5f7d6af15b
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/141053
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agousb: gadget: android:honor CONFIG_GADGET_VBUS_DRAW
Rakesh Bodla [Mon, 22 Oct 2012 14:31:58 +0000]
usb: gadget: android:honor CONFIG_GADGET_VBUS_DRAW

Let the usb core handle whether device
is self powered or bus powered.

Bug 1130924

Change-Id: I01c4480b3dcc3777b5723107461521a3afcd39eb
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/146501
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoARM: tegra: Dalmore: do not duplicate the consumer list for given rail
Laxman Dewangan [Fri, 12 Oct 2012 10:04:22 +0000]
ARM: tegra: Dalmore: do not duplicate the consumer list for given rail

Dalmore E1613 shaving PMIC MAX77663 and E1611 has TPS65913.
These PMIC have some rails for which list of consumers are same.
Hence in place of duplicating list for the rails of each PMICs,
define or one PMIC and use for other PMIC's rail by macro define.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/144043
(cherry picked from commit 0c252310ed12bc312448c93eb9eabbc1e9c8fd88)

Conflicts:

arch/arm/mach-tegra/board-dalmore-power.c

Change-Id: Ie372f6335aafa5018da372326a983ff270de2fe9
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/146441
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoregulator: tps65090: fix issue with dcdc external control
Laxman Dewangan [Thu, 11 Oct 2012 11:25:19 +0000]
regulator: tps65090: fix issue with dcdc external control

There is issue where external control is getting enabled
even when it is not selected from platform data.

Fixing this issue.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/143603
(cherry picked from commit cc79b18e4e007ff3f0728a31f79aa360bd745e45)

Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Change-Id: I6f067b05cfa5bb81353746564420468fa6f5ef1c
Reviewed-on: http://git-master/r/146391
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoregulator: palma: Configure pull-down of LOD8 in tracking mode
Laxman Dewangan [Thu, 4 Oct 2012 09:04:49 +0000]
regulator: palma: Configure pull-down of LOD8 in tracking mode

LDO8 pull-down should be as follows:
- Disable the pull-down of LDO8 when it is in tracking mode.
- Enable the pull-down of LDO8 when it is in non-tracking mode.
Add support of this.

bug 1058685

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/141514
(cherry picked from commit f74a952112b2871144952433319849477af133fa)

Change-Id: I3306e24f63c2787da07f038c011314ce3803a423
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/146390
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoARM: iommu/tegra: smmu: Add T114 specifics
Ken Adams [Thu, 11 Oct 2012 03:49:08 +0000]
ARM: iommu/tegra: smmu: Add T114 specifics

Add T114 spcific features to IOMMU/SMMU driver.

Change-Id: If569c0ad2458c529945df3937789220350f04f5a
Signed-off-by: Hiro Sugawara <hsugawara@nvidia.com>
Signed-off-by: Ken Adams <kadams@nvidia.com>
Reviewed-on: http://git-master/r/133971
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agoARM: tegra: Dalmore/Pluto: Set xtal settling time to 10.3ms
Laxman Dewangan [Tue, 9 Oct 2012 12:49:27 +0000]
ARM: tegra: Dalmore/Pluto: Set xtal settling time to 10.3ms

Set the xtl settling time to 10.3ms (data field as 21 decimal)
for t114 paltform Dalmore and Pluto.

bug 1054092

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/142678
(cherry picked from commit 7b0472ad9a5884ece9ef641df817bdb517aeb9ad)

Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Change-Id: I9a5c17295182e76e47a9dbc8513f58ecfa6c60ee
Reviewed-on: http://git-master/r/146389
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: dc: fix swap of window output dimensions
Michael Frydrych [Wed, 26 Sep 2012 09:13:16 +0000]
video: tegra: dc: fix swap of window output dimensions

Window position is expected in output/device coordinate
system. Window dimensions, however, were intepreted as being
in source coordinate system, which made intepretation of window
dimensions dependent on TEGRA_WIN_FLAG_SCAN_COLUMN
flag. The flag is bond to reading the source and should not
affect window content positioning on screen.

Signed-off-by: Michael Frydrych <mfrydrych@nvidia.com>
Reviewed-on: http://git-master/r/138927
(cherry picked from commit 51b2af4e99bd5a881d5f3a6fd45315c76274925d)

Change-Id: I20d27f331cb7247bf5e2d19ac2df6896ef47ea69
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/146834
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: config: tegra3: Remove pluto and dalmore
Bo Yan [Tue, 23 Oct 2012 03:55:27 +0000]
ARM: config: tegra3: Remove pluto and dalmore

Change-Id: I1a2e0bd3c74419e068bcf0f6f46663365f6eae0a
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/146655
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agoARM: tegra11: clock: fix curacao_sim build break
Ken Adams [Mon, 22 Oct 2012 17:47:59 +0000]
ARM: tegra11: clock: fix curacao_sim build break

Fixes unused warning-as-error problems with curacao_sim
build target.

Change-Id: Iaf432eb7e071ff9ace5ada992832f8bc78b18aef
Signed-off-by: Ken Adams <kadams@nvidia.com>
Reviewed-on: http://git-master/r/146521
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarch: arm: configs: turn on iommu for curacao_sim
Ken Adams [Mon, 22 Oct 2012 13:25:33 +0000]
arch: arm: configs: turn on iommu for curacao_sim

iommu api and tegra smmu iommu support on by default

Change-Id: I9e2418e423ff94109bbcc14e1114bb24fc6c1b2e
Signed-off-by: Ken Adams <kadams@nvidia.com>
Reviewed-on: http://git-master/r/146518
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agoARM: tegra: dalmore/Pluto: use console port init from common file
Laxman Dewangan [Mon, 15 Oct 2012 08:29:32 +0000]
ARM: tegra: dalmore/Pluto: use console port init from common file

The uart console port initialization is done in the common file.
Using the APIs from common file rather implementing locally.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/144491
(cherry picked from commit dc19402b7ba933befedd4807e5a0c397ae59aafb)

Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Change-Id: Iba778df2a29e5794e098dc0965b04096c1684c39
Reviewed-on: http://git-master/r/146507
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoi2c: tegra: provide proper name for irqs
Laxman Dewangan [Fri, 12 Oct 2012 12:10:40 +0000]
i2c: tegra: provide proper name for irqs

When watching the irqs name of tegra i2c, all instances
irq name shows as tegra_i2c.

Passing the device name properly to have the irq names with
instance like tegra-i2c.0, tegra-i2c.1 etc.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/144083
(cherry picked from commit d16af6a86cc9b26f0c469987079101c9e3db000c)

Change-Id: Iee46e4f6f52db022aab17106c9e0636b47340004
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/146506
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: config: disable tps6591x support
Sumit Sharma [Fri, 21 Sep 2012 11:58:44 +0000]
arm: tegra: config: disable tps6591x support

Disabled tps6591x support in defconfig file

Reviewed-on: http://git-master/r/134384
(cherry picked from commit 092e9a66d56de00a0bc8481622e6b233d3d217d1)

Change-Id: Ib2d13584997484ad4ab20568832924c8bcea5334
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/146462
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agommc: host: Get proper tuning counter value
Pavan Kunapuli [Fri, 28 Sep 2012 15:48:52 +0000]
mmc: host: Get proper tuning counter value

If the tuning counter value in the capabilities
register is set to 0xF, then the timer count info
should be obtained through some custom implementation.

Reviewed-on: http://git-master/r/139731
(cherry picked from commit 244a481ad1aa793104e8a3becb23ebab4c893e7e)

Change-Id: I951bc31128b60a6a9b4356d57a1eb020d44dde48
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/146404
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoARM: tegra: dalmore: Fix eMMC core regulator name
Pavan Kunapuli [Thu, 27 Sep 2012 15:35:17 +0000]
ARM: tegra: dalmore: Fix eMMC core regulator name

Changed the eMMC core power rail regulator name to
match with the name used in the mmc driver.

Reviewed-on: http://git-master/r/139403
(cherry picked from commit 5b42ec5444f48a4eaa12b903551b05db44be0c5d)

Change-Id: I29d43bd40913b87d2b0750f2764fb2ea58bfe1ba
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/146403
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agosdhci: tegra: Enable BROKEN_CARD_DETECTION for T114
naveenk [Tue, 25 Sep 2012 16:23:41 +0000]
sdhci: tegra: Enable BROKEN_CARD_DETECTION for T114

Enable SDHCI_QUIRK_BROKEN_CARD_DETECTION for T114

Reviewed-on: http://git-master/r/135176
(cherry picked from commit 909981d44fe6fd04aec4abdaa25697fa6dd31660)

Change-Id: I87345757626ecb4aed62565532193c8d961d567e
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/146402
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: pluto: Change eMMC core power rail
naveenk [Tue, 25 Sep 2012 16:02:53 +0000]
ARM: tegra: pluto: Change eMMC core power rail

Change eMMC core power rail to match with the name
used in the mmc driver.

Reviewed-on: http://git-master/r/135167
(cherry picked from commit dc7b5b030dccc3812a50befcbfa5fec1a5b2bb58)

Change-Id: I5eaf7fac7367698f7c25b2d98555ed6af1fcda4e
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/146400
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: dalmore/pluto: GPIO based card detect
naveenk [Tue, 25 Sep 2012 16:13:16 +0000]
ARM: tegra: dalmore/pluto: GPIO based card detect

Enable GPIO based card detect for sdmmc3 on dalmore and pluto

Reviewed-on: http://git-master/r/135169
(cherry picked from commit d6fcdc9fc78e5a31e396b5d5ec11da8703db963c)

Change-Id: Id9f676c74d5bc772de96c2490e8791001c3ad797
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/146399
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoregulator: palma: set ldo8 voltage before disabling tracking mode.
Laxman Dewangan [Mon, 1 Oct 2012 09:44:51 +0000]
regulator: palma: set ldo8 voltage before disabling tracking mode.

When LDO8 is in tracking mode and want to disable tracking mode
then ldo8 voltage should be set before disabling tracking
mode as in tacking mode, the voltage selection value is double
than the non-tracking mode and it can spike high voltage
on the rail.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/140595
(cherry picked from commit cd0e02af8288bebccab92dcda27d6953b2a58955)

Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Change-Id: I322acccfe22e2e1af856e2fa06154c75b094091f
Reviewed-on: http://git-master/r/146388
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoARM: tegra: Dalmore/Pluto: set vdd_rtc to 900mV in suspend
Laxman Dewangan [Fri, 28 Sep 2012 15:16:01 +0000]
ARM: tegra: Dalmore/Pluto: set vdd_rtc to 900mV in suspend

When system is normal state then configure VDD_RTC to track vdd_core
and when system is in suspend, set vdd_rtc to 900mV.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/139736
(cherry picked from commit 176c19269b99db11630ad3cfbcc4c28ceffe0fca)

Change-Id: I09262f6f4180a3da85a8a76e12662af4bdf81159
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/146387
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoregulator: palmas: add option to disable tracking in suspend
Laxman Dewangan [Fri, 28 Sep 2012 14:14:57 +0000]
regulator: palmas: add option to disable tracking in suspend

Add option to disable tracking mode of LDO8 in suspend.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/139735
(cherry picked from commit 7d82d5f408569fc17cca2abe9870461efe68d5fd)

Change-Id: I60d6142900dd4ce9190b138d6678f8a23d4d280a
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/146386
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoregulator: tps51632: Fix control register configuration
Laxman Dewangan [Fri, 28 Sep 2012 08:29:48 +0000]
regulator: tps51632: Fix control register configuration

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/139613
(cherry picked from commit 23499f8e25dc7ddb847baaf1c758931d5f72e3c1)

Change-Id: I5a56b78c43bc30d87a005c4251b7e8732344834b
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/146385
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agomfd: palma: Support for setting irq trigger
Laxman Dewangan [Fri, 28 Sep 2012 10:37:06 +0000]
mfd: palma: Support for setting irq trigger

Add the platform data to set the irq trigger level based
on board design.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/139648
(cherry picked from commit 747a84119f44f35a096f08534a4dbdf4e9c419d2)

Change-Id: I461c3dffb0929a01dde603912e0519769f88d1df
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/146384
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agomfd: palma: configure for set irq wake
Laxman Dewangan [Thu, 27 Sep 2012 13:40:19 +0000]
mfd: palma: configure for set irq wake

Configure the Palma IRQs for wake source.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/139392
(cherry picked from commit 43fedbefd347d8ea28598d7f1079520ad75124e9)

Change-Id: I837ee06a70eaf709b1e9a76d76ebc203231087df
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/146383
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoregulator: mfd: configure ext control of SMPS3 for SMPS123 config
Laxman Dewangan [Thu, 27 Sep 2012 12:46:18 +0000]
regulator: mfd: configure ext control of SMPS3 for SMPS123 config

If SMPS123 configuration is used and if it is controlled by external
control then configure SMPS3 ext control along with SMPS12.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/139389
(cherry picked from commit f6907f72fcf37adb5cdc669974b2714b8d64c656)

Change-Id: I86f22ce873bbb36e38e7a25abb9f33fee6691eaa
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/146382
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoARM: tegra: Dalmore/Pluto: Enable for Tegra11x based SOC
Laxman Dewangan [Thu, 27 Sep 2012 12:15:10 +0000]
ARM: tegra: Dalmore/Pluto: Enable for Tegra11x based SOC

Reviewed-on: http://git-master/r/139381
(cherry picked from commit b732abf2133efb6dd1ab0887fa80ee5791ea6279)

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Change-Id: I69847bce8ddca2a0666de3504e074c3a7539bacd
Reviewed-on: http://git-master/r/146381
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: dalmore: Configure Palma's pin GPIO6 as gpio mode
Laxman Dewangan [Thu, 27 Sep 2012 08:43:55 +0000]
ARM: tegra: dalmore: Configure Palma's pin GPIO6 as gpio mode

Palma's pin GPIO6 is shared between the DVFS2 and GPIO.
Configuring it to gpio mode.

Reviewed-on: http://git-master/r/139320
(cherry picked from commit f6a63c3759b42dc7ad9db6c4f208b0f9d105b4ec)

Conflicts:

arch/arm/mach-tegra/board-dalmore-power.c

Change-Id: I2c6ab9b1fdad8fb70353a4c64ae6d483bdb83ac8
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/146380
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agomfd: palma: support for PAD3 configuration
Laxman Dewangan [Thu, 27 Sep 2012 08:41:02 +0000]
mfd: palma: support for PAD3 configuration

Add support for the PAD3 configure register.

Reviewed-on: http://git-master/r/139203
(cherry picked from commit f1b745a818a182968ecdb76e2f269f0449f3feed)

Change-Id: I400c958d1c0058225ff62f05d73bae786879c5ad
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/146379
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agobcmdhd: Remove duplicate ENABLE_INSMOD_NO_FW_LOAD entry
Nitin Bindal [Thu, 20 Sep 2012 12:52:27 +0000]
bcmdhd: Remove duplicate ENABLE_INSMOD_NO_FW_LOAD entry

Change-Id: I1fee9a6213d265404b6b5744137ef9718fc9bbc3
Reviewed-on: http://git-master/r/134091
(cherry picked from commit cc4deede7dcd0ad98b1a60551b5c67269e7a0b0a)

Signed-off-by: Nitin Bindal <nbindal@nvidia.com>
Change-Id: If669681ff253808e28d1e307ca2c7f8328731805
Reviewed-on: http://git-master/r/145592
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agonvsd: fixes soft clipping register addresses
Mitch Luban [Mon, 1 Oct 2012 20:22:55 +0000]
nvsd: fixes soft clipping register addresses

Soft clipping settings in nvsd.c were writing to
the wrong address. This patch fixes the register
address to the correct value.

Also soft_clipping_threshold is changed to allow
for a range of [0, 255], instead of [0, 170].

Bug 1047558

Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/140692
(cherry picked from commit acfe83d46d6f0f7c4da3703eb2630ef23ee05912)

Change-Id: I507c84fa216e0b7da67e001dcf786f0b797b6894
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/146836
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: disable powergate spew
Bitan Biswas [Mon, 8 Oct 2012 14:15:21 +0000]
ARM: tegra: disable powergate spew

Disable powergate spew "already powered-off unpowergating" for tegra11x

bug 1060652

Reviewed-on: http://git-master/r/142393
(cherry picked from commit a65df4fc7a98fb0431129950893f8b30dcbfc055)

Change-Id: I38e02e7eb197a1446f9bcb3e2a8c38ac128338b2
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/146450
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoi2c: tegra: Reduce number of warning messages for i2c errors
Chaitanya Bandi [Thu, 4 Oct 2012 09:53:32 +0000]
i2c: tegra: Reduce number of warning messages for i2c errors

Reduced the number of warning messages for I2C errors
by changing a few from warning level to debug level.

Bug 1057022

Reviewed-on: http://git-master/r/141523
(cherry picked from commit aa96bee7f31a37c450315de78d65950114638218)

Change-Id: I42060b12592fade548981f8e987c5daf07e9ba00
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/146442
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoARM: tegra: pm: Enable DPD for sdmmc3,4
Pavan Kunapuli [Mon, 15 Oct 2012 12:17:45 +0000]
ARM: tegra: pm: Enable DPD for sdmmc3,4

Enabling DPD support for sdmmc3 and sdmmc4.

Bug 1051532

Reviewed-on: http://git-master/r/144546
(cherry picked from commit 7c7f6bfd5bcf068b626557c50776f1cd2d47ac79)

Change-Id: Id44bc1b009e5136ec15b91b30825500ed9ba90e6
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/146410
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: pm: Fix DPD code offset for T11x
Pavan Kunapuli [Mon, 15 Oct 2012 11:39:35 +0000]
ARM: tegra: pm: Fix DPD code offset for T11x

The DPD code offset for enabling/disabling DPD
modes is different for T30 and T11x. Fixed the
same.

Bug 1051532

Reviewed-on: http://git-master/r/144536
(cherry picked from commit 83ca9c5ee3515f825150211b21411e9cd7eb38a9)

Change-Id: Icdf2ba622a8baa2facb0ba91e0ce068c1104401d
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/146409
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agodalmore: E1627 calibrated backlight
Mitch Luban [Mon, 1 Oct 2012 23:24:27 +0000]
dalmore: E1627 calibrated backlight

Do backlight calibration to ensure that backlight
response curve is linear.

Bug 1027945

Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/140763
(cherry picked from commit 9b762e774f44f3e47b5387cb7e58f3774a668fc3)

Change-Id: Id771d519d6568e9267663a8f6a00c9ef760ed0fe
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/146838
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agovideo: tegra: host: Implement 2D power gating
Terje Bergstrom [Tue, 2 Oct 2012 07:24:11 +0000]
video: tegra: host: Implement 2D power gating

Implement power gating for 2D. 2D needs to be reset via module
teardown.

Bug 1058074

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

6 years agoARM: tegra: Fix HEG power gating sequence
Terje Bergstrom [Tue, 2 Oct 2012 07:23:46 +0000]
ARM: tegra: Fix HEG power gating sequence

Change HEG power gating sequence to use the same sequence with
3D.

Bug 1058074

Change-Id: I34737183a0804c9a255a890e7f4cd3ab46ffe63b
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/141186
(cherry picked from commit f0653f0d58967f93e7622563b95eacf2db7ec2f8)
Reviewed-on: http://git-master/r/146193
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoarm: configs: tegra11: enable CM3218 sensor
Sri Krishna chowdary [Thu, 18 Oct 2012 13:57:00 +0000]
arm: configs: tegra11: enable CM3218 sensor

Enable CONFIG_INPUT_CAPELLA_CM3218 ALS.

Bug 1030776

Change-Id: Ib43ffcd27086c94bbb4dbadc340fa6de20f2543e
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/145612
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agolightsensor: cm3218: Add cm3218 ALS sensor support
Sri Krishna chowdary [Thu, 4 Oct 2012 09:13:11 +0000]
lightsensor: cm3218: Add cm3218 ALS sensor support

Add Capella CM3218 High Sensitivity ALS driver.

Bug 1030776

Change-Id: I12615c72672bdafb991478f2f547c456bf8c0e0c
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/145611
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoarm: tegra: dalmore: add ALS sensor support
Sri Krishna chowdary [Fri, 14 Sep 2012 12:13:13 +0000]
arm: tegra: dalmore: add ALS sensor support

I2c registration of ALS driver CM3218.

Bug 1030776

Change-Id: I9cd96913933fd513a96f7944db8188e8a0bad0d7
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/145610
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoARM: tegra: p1852: remove redundant SDMMC2 clock entry
Vishal Singh [Fri, 12 Oct 2012 12:51:46 +0000]
ARM: tegra: p1852: remove redundant SDMMC2 clock entry

Removing redundant SDMMC2 entry in p1852 platform file.

Bug 976084.

Reviewed-on: http://git-master/r/141555

Change-Id: I1de68ceee4db3251cd3fe6209deeafdfba5d6337
Signed-off-by: Vishal Singh <vissingh@nvidia.com>
Reviewed-on: http://git-master/r/144088
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agommc: tegra: New OCR mask for setting 2.8V
Ashwin Joshi [Mon, 15 Oct 2012 12:12:09 +0000]
mmc: tegra: New OCR mask for setting 2.8V

For E1853 which is an automotive platform, if SDIO2.0 card is used,
voltage needs to be set to 2.8 V. Hence, adding a new OCR value using
which it can be parsed and set in the driver.

Bug 1001641
Bug 1032248

Change-Id: Ie91b06c8e38d4784124382e61f0b88cbae5dd195
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/142338
(cherry picked from commit 766d1b0c9aeb0c3196d256a0c777ddc73c32fb09)
Reviewed-on: http://git-master/r/143516
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: pinmux: Set drive type for pads
Pavan Kunapuli [Fri, 12 Oct 2012 09:08:17 +0000]
ARM: tegra: pinmux: Set drive type for pads

Some of the pads have drive type setting. Added
support for configuring the same.
Updated the correct drive strength offsets and
masks for SDIO1, SDIO3 and GMA pads in T11x
pinmux tables.

Bug 1156152

Reviewed-on: http://git-master/r/144029
(cherry picked from commit 7d328139032484e65be15d0a35b53bd98c9544fb)

Change-Id: Ib3b8a2a79256fc557cfe62403eb1a7c237246275
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/146408
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>