5 years agoarm: tegra: vcm3.0: t124: Add initial board files.
Ashwin Joshi [Tue, 6 Aug 2013 12:06:18 +0000]
arm: tegra: vcm3.0: t124: Add initial board files.

Add initial board files for automotive board. The board will be named as
vcm30_t124 and will support all automotive boards.

Bug 1319925

Change-Id: Ib23aa3ef1d57a8d2e4f18f2d1de26c12de5b28f0
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/262290
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agopower: max17048: Add thermal zone name for max17048
Chaitanya Bandi [Mon, 22 Jul 2013 05:36:35 +0000]
power: max17048: Add thermal zone name for max17048

Bug 1325837

Change-Id: I58095ca0daab92aee762f86b6e90792c6b72ff7a
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
(cherry picked from commit 4a1ec0614da4374e8232921a58b6df53e501f831)
Reviewed-on: http://git-master/r/266041
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoi2c: tegra: Use appropriate clk divisor and debounce for HS mode
Chaitanya Bandi [Mon, 8 Jul 2013 06:45:46 +0000]
i2c: tegra: Use appropriate clk divisor and debounce for HS mode

Bug 1318578

Change-Id: I5d53b71e977f0a8ab8282820dbcdbfe6188d588a
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
(cherry picked from commit a307421c4e0a400ed1905648ee5b695f17bbf403)
Reviewed-on: http://git-master/r/266040
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoi2c: tegra: Add appropriate clk divisor for FM Plus mode
Chaitanya Bandi [Fri, 5 Jul 2013 10:45:28 +0000]
i2c: tegra: Add appropriate clk divisor for FM Plus mode

Added appropriate clock divisor for FM Plus mode.

Bug 1318578

Change-Id: I5f5d0fdbcb3df54f6ca74b752c81b00ab8841f05
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
(cherry picked from commit 01faecda1d6ab479ada1f12ada3da4fbbe1fb7e1)
Reviewed-on: http://git-master/r/266039
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra: pinmux: Fix GME drive pinmux in T14x
Chaitanya Bandi [Wed, 3 Jul 2013 10:10:02 +0000]
ARM: tegra: pinmux: Fix GME drive pinmux in T14x

The GME drive pinmux was set to wrong register configuration.
Corrected it as per register spec.

Change-Id: I61b21719ff3140c4972407b45114a55d23bb584b
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
(cherry picked from commit af3412c61662d8c2ad4bdee8578f02ed95e1124f)
Reviewed-on: http://git-master/r/266038
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoRevert "USB: set hub's default autosus delay as 0"
Krishna Yarlagadda [Fri, 23 Aug 2013 10:45:34 +0000]
Revert "USB: set hub's default autosus delay as 0"

This reverts commit 596d789a211d134dc5f94d1e5957248c204ef850.
Setting usb auto suspend timeout to zero is risky considering
we enable/disable pmc and do other power saving techniques in
autosuspend. Also switching between controllers for device and
host mode on otg port

Bug 1242148
Bug 1307598
Bug 1344340

Change-Id: Ic6523505e9e5ccb03a533b2160e6aeb019655863
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/265458
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

5 years agovideo: tegra: host: Fix error handling
Terje Bergstrom [Fri, 23 Aug 2013 11:21:08 +0000]
video: tegra: host: Fix error handling

Dusted error handling paths. Converts all IS_ERR_OR_NULL() instances
to appropriate versions IS_ERR() or check against NULL. Fixes
several calls to nvhost_memmgr_*() which treated the return value
incorrectly.

Bug 1212465

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

5 years agoRevert "video: tegra: dc: display colorbar testcase"
Jon Mayo [Fri, 23 Aug 2013 19:27:14 +0000]
Revert "video: tegra: dc: display colorbar testcase"

This code does not belong in the kernel, please quit adding it back

This reverts commit fb7292583293529b95c04910b045adef01b361d9.

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

5 years agoarm: tegra: enable smmu errata when smmu is enabled
Krishna Reddy [Mon, 26 Aug 2013 22:47:43 +0000]
arm: tegra: enable smmu errata when smmu is enabled

Change-Id: I7a88a7f170eefb8c7b96736d8d0551bc9272e1ac
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/266242
Reviewed-by: Alex Waterman <alexw@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agovideo: tegra: nvmap: fix compilation issue
Krishna Reddy [Mon, 26 Aug 2013 22:46:03 +0000]
video: tegra: nvmap: fix compilation issue

fix compilation issue when smmu is disabled

Bug 898152

Change-Id: Ic1cdf4ffa8e8dd91965e8b1e2ac1ce764aa99065
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/266241
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoARM: tegra12: clock: Fix PLLM post-divider
Kaz Fukuoka [Fri, 14 Jun 2013 01:07:39 +0000]
ARM: tegra12: clock: Fix PLLM post-divider

Fix PLLM post-divider in the same way as Tegra14.

Change-Id: Ic4ab25a879a86030869994e82a13c0218b52612c
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/265266
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoinput: Add MSC_TIMESEC/_TIMEUSEC for android
Xiaohui Tao [Mon, 26 Aug 2013 21:42:43 +0000]
input: Add MSC_TIMESEC/_TIMEUSEC for android

Eventhub defines two entries:
MSC_ANDROID_TIME_SEC 0x6
MSC_ANDROID_TIME_USEC 0x7

to pass the timestamp from the linux kernel to android
if the input devices have a better concetp of the time.
These two entries conflict with MSC_ACTIVITY which is
used for CPU_BOOST, which causes the first touc does not
work after lp0. Add the two entries in input.h to match
with android layer.

Bug 1354400

Change-Id: I5cc9b2605db609cebad96ad1b95433fa333e77f7
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/266219
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agovideo: tegra: gk20a: don't limit gpcpll freqs
Prashant Malani [Sat, 24 Aug 2013 03:49:09 +0000]
video: tegra: gk20a: don't limit gpcpll freqs

Min and max frequency for gpcpll is currently
limited to that of gpu dvfs table. We should be
able to beyond those limits, if required.

This change prevents overwriting of gpcpll freq
limits in gk20a clk driver.

Change-Id: If69524bfc217716166eedb4c889a84d6eb5a8ae7
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/265825
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra: power: Enable cluster switch instrumentation
Alex Frid [Fri, 16 Aug 2013 03:47:13 +0000]
ARM: tegra: power: Enable cluster switch instrumentation

Enabled cluster switch instrumentation by default.

Change-Id: Id55dc7f4a0d16946f80d359c92ce9f03ec1bf967
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/262860
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>

5 years agovideo: tegra: dc: use dmabuf API
Krishna Reddy [Thu, 22 Aug 2013 23:12:25 +0000]
video: tegra: dc: use dmabuf API

convert nvmap handle id to dmabuf and use dmabuf API

Change-Id: Ib1d4fead7e61e3a39c657d56baa9d792f79c94ee
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/265144

5 years agovideo: tegra: gk20a: Show GPCPLL registers via debugfs
Alex Frid [Sun, 25 Aug 2013 04:01:08 +0000]
video: tegra: gk20a: Show GPCPLL registers via debugfs

Change-Id: I67966140a831525d17be2c497ae02eaa028749c7
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/265873
GVS: Gerrit_Virtual_Submit
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agovideo: tegra: nvmap: add API to alloc dmabuf
Krishna Reddy [Fri, 23 Aug 2013 21:33:57 +0000]
video: tegra: nvmap: add API to alloc dmabuf

This api allocates memory from specified heap
and returns dmabuf.

Bug 1356091

Change-Id: Ic29bbdbfc4cbdb85f969d2ea9cf0ff2b6efb5f1f
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/265707

5 years agomedia: video: tegra: nvavp: use dmabuf API
Krishna Reddy [Fri, 23 Aug 2013 00:30:01 +0000]
media: video: tegra: nvavp: use dmabuf API

convert nvmap handle id to dmabuf and use dmabuf API

Change-Id: I2f3eda3624f39d2d4690ef69e2086516e3fc6525
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/265226
GVS: Gerrit_Virtual_Submit
Reviewed-by: Soumenkumar Dey <sdey@nvidia.com>
Reviewed-by: Somu Sundaram <somasundarams@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>

5 years agoARM: t114: Allow tegra-nvmap device to register
Bibek Basu [Wed, 21 Aug 2013 04:55:54 +0000]
ARM: t114: Allow tegra-nvmap device to register

If CONFIG_TEGRA_DC is disabled, kernel panics because
nvmap_probe is not happening.

Bug 1343356

Change-Id: Ie76d24f56b290c39fd30290b52006a12680d69eb
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/264188
GVS: Gerrit_Virtual_Submit
Tested-by: Matt Craighead <mcraighead@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matt Craighead <mcraighead@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agomfd: palmas: remove use_power_off from palmas platform data
Laxman Dewangan [Mon, 26 Aug 2013 09:09:09 +0000]
mfd: palmas: remove use_power_off from palmas platform data

Palmas power off driver is added and it has separate power-off
platform data and hence removing from Palmas platform data.

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

5 years agoARM: config: remove use_power_off setting for Palmas PMIC
Laxman Dewangan [Mon, 26 Aug 2013 09:07:24 +0000]
ARM: config: remove use_power_off setting for Palmas PMIC

Remove use_power_off configuration for Palmas PMIC is this
is default configuration and this variable is going to
be remove.

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

5 years agomfd: palmas: move power-off implementation to palmas-power-off driver
Laxman Dewangan [Mon, 26 Aug 2013 08:59:39 +0000]
mfd: palmas: move power-off implementation to palmas-power-off driver

Move Power off implementation to separate driver to have more
configuration like auto power on, power reset etc.

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

5 years agoARM: config: enable PALMAS-POWEROFF config
Laxman Dewangan [Mon, 26 Aug 2013 08:55:57 +0000]
ARM: config: enable PALMAS-POWEROFF config

Enable Palmas power off config to enable the power off
from Palmas.

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

5 years agopower: reset: add palmas power off driver
Laxman Dewangan [Mon, 26 Aug 2013 08:46:23 +0000]
power: reset: add palmas power off driver

Add power off driver for Palmas which will provide the system
system power off through Palmas PMIC off.

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

5 years agopower: reset: add generic system-pmic support
Laxman Dewangan [Mon, 26 Aug 2013 08:41:41 +0000]
power: reset: add generic system-pmic support

Add system PMIC core support to provide the generic functionality
like system power off, system power reset, system power on
configuration etc.

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

5 years agoARM: tegra: enable tegra124-tn8 dts compilation on dts/Makefile
Laxman Dewangan [Mon, 26 Aug 2013 10:13:22 +0000]
ARM: tegra: enable tegra124-tn8 dts compilation on dts/Makefile

Change-Id: Ib6ad22ed11851849b033fc4ecbedb75a4354f503
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/266020
Reviewed-by: Hayden Du <haydend@nvidia.com>

5 years agoARM: tegra: devices: Remove tegra_hsuart support
Pradeep Goudagunta [Mon, 26 Aug 2013 10:24:08 +0000]
ARM: tegra: devices: Remove tegra_hsuart support

Remove tegra_hsuart support, rename device name of
uart nodes to serial-tegra driver.

Bug 1355596

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

5 years agovideo: tegra: host: Check error pointers in nvmap
Arto Merilainen [Mon, 26 Aug 2013 06:08:06 +0000]
video: tegra: host: Check error pointers in nvmap

nvmap_get_nvhost_private() function returns error pointers instead
of NULL. nvhost assumed the opposite causing thereby usage of
invalid pointers.

Change-Id: I8c09fa9822d77def1791eed6c2c7ce942599b815
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/265938
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoARM: Tegra: Move cluster switch tracepoints
Antti P Miettinen [Wed, 21 Aug 2013 11:16:37 +0000]
ARM: Tegra: Move cluster switch tracepoints

Move tracepoints for measuring cluster switch latency
to account for the whole interrupts-disabled time.

Change-Id: Ib49cc54078d2e284c34b55dd6e2dc57431706b78
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/264800
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agovideo: tegra: host: Reduce host1x clock to 81.6MHz
Terje Bergstrom [Fri, 23 Aug 2013 12:41:51 +0000]
video: tegra: host: Reduce host1x clock to 81.6MHz

Reduce host1x clock to 81.6MHz on Tegra12.

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

5 years agoARM: tegra: use PALMAS_REGS_PDATA for power tree population
Laxman Dewangan [Fri, 23 Aug 2013 09:41:10 +0000]
ARM: tegra: use PALMAS_REGS_PDATA for power tree population

For power tree population with Palma device, use the macro
PALMAS_REGS_PDATA in place of defining sub macro locally.

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

5 years agoARM: tegra: remove config Tegra_12x check for T124 platform
Laxman Dewangan [Fri, 23 Aug 2013 09:26:10 +0000]
ARM: tegra: remove config Tegra_12x check for T124 platform

T124 platforms i.e. Ardbeg, Laguna, TN8 and Loki used only with
T124 SoC and hence config CONFIG_ARCH_TEGRA_12x_SOC is always
enabled for these platforms.

Hence removing of additional macro check from the code to make
code simple.

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

5 years agoARM: tegra: remove TEGRA_11x SoC supports from T124 platform
Laxman Dewangan [Fri, 23 Aug 2013 08:52:06 +0000]
ARM: tegra: remove TEGRA_11x SoC supports from T124 platform

Tegra11x support was added on the T124 platform to support the T114
interposer.

Now there is no need of interposer and hence removing the support for
T114 from T124's platform.

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

5 years agoARM: tegra: remove E1731 PMU module support from Ardbeg
Laxman Dewangan [Fri, 23 Aug 2013 08:36:22 +0000]
ARM: tegra: remove E1731 PMU module support from Ardbeg

PMU module E1731 is the PMIC TI TPS80036 based which is not used
on T124 platform.

Remove this module support from Ardbeg power device.

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

5 years agoARM: tegra: fix safe func for pin PH0
Bibek Basu [Fri, 23 Aug 2013 11:44:43 +0000]
ARM: tegra: fix safe func for pin PH0

correct the fsafe value for pin GPIO_PH0

Bug 1275005

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

5 years agoarm: tegra: fuse: refactor driver for pgm2 value
Ken Chang [Mon, 12 Aug 2013 10:13:23 +0000]
arm: tegra: fuse: refactor driver for pgm2 value

Add an explicit function instead of the pre-defined table
to calculate the value of FUSETIME_PGM2 register.

PGM_TIME_US is defined for the fuse programming pulse:
 - for T114, T124 and T148, this is set to 12us.
 - for T30 and T20, this is set to 10us.

Change-Id: I6e276124bb5fb5081e085b23ed8c4bb7c0f87c5f
Signed-off-by: Ken Chang <kenc@nvidia.com>
Reviewed-on: http://git-master/r/263001
Reviewed-by: Marc Delvaux <mdelvaux@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agovideo: tegra: nvmap: remove nvmap_dev overwrite
Krishna Reddy [Fri, 23 Aug 2013 21:13:06 +0000]
video: tegra: nvmap: remove nvmap_dev overwrite

this is unnecessary and unintended change.

Change-Id: I64731adc0129cd2d127c620759c76b4a4d2ba810
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/265701
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agoarm: t124: tn8: Enable VBUS regulator for TN8 USB OTG
Hayden Du [Thu, 22 Aug 2013 08:58:04 +0000]
arm: t124: tn8: Enable VBUS regulator for TN8 USB OTG

Bug 1353788

Change-Id: I467a148768d61f96c71687fa4f6504f784bf4a04
Signed-off-by: Hayden Du <haydend@nvidia.com>
Reviewed-on: http://git-master/r/264783
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

5 years agoARM: tegra11: dvfs: Update T40T frequency limits
Alex Frid [Thu, 18 Jul 2013 19:18:21 +0000]
ARM: tegra11: dvfs: Update T40T frequency limits

Change-Id: I25851ce78f034ac592a0bd39ded1444f0a7e230d
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/250901
(cherry picked from commit 37debd44cbe1c325ab1b806415d5889ad3f2d7b9)
Reviewed-on: http://git-master/r/254679
(cherry picked from commit 23c414a032c76d1f0eebcb99f77668f31962a51f)
Reviewed-on: http://git-master/r/264650
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra11: clock: Add cbus fine granularity region
Alex Frid [Tue, 16 Jul 2013 19:43:15 +0000]
ARM: tegra11: clock: Add cbus fine granularity region

Added fine granularity region to cbus possible rates. In this region
requested cbus rate is not clipped to dvfs steps, but rounded to fine
granularity resolution. The latter is set as 12MHz, and the region is
defined as 5 resolution steps below the top dvfs rate, assuming this
top rate is reachable on the particular chip bin/sku.

Change-Id: Id111b074c39a0a314d57da8ce628f3dbbf385b73
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/249902
(cherry picked from commit 51b5403fcc8d7052a311428614f9877deebfd6da)
Reviewed-on: http://git-master/r/254678
(cherry picked from commit 586d86439988ae394a48c175628e177b1a30310b)
Reviewed-on: http://git-master/r/264649
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra11: dvfs: Update T40T tables and limits
Alex Frid [Fri, 12 Jul 2013 02:50:22 +0000]
ARM: tegra11: dvfs: Update T40T tables and limits

Updated dvfs and edp tables, clock and voltage limits for T40T part.

Change-Id: I99649b1ac7347424d668e9a7cb3862bb32f55c6b
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/248952
(cherry picked from commit e34558cae80c71a24de4cf604de454d4d0abebaf)
Reviewed-on: http://git-master/r/254677
(cherry picked from commit 397dccea22b7d315c83eba8e043b0d50cdfe56c0)
Reviewed-on: http://git-master/r/264648
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra11: power: Add T40T core edp tables
Alex Frid [Sat, 13 Jul 2013 05:22:28 +0000]
ARM: tegra11: power: Add T40T core edp tables

Change-Id: I7cabf0fdd0c031a01a0db730508d258679052a96
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/248951
(cherry picked from commit 545c35478282a246dd1b3c1e6bfa75654733a581)
Reviewed-on: http://git-master/r/254676
(cherry picked from commit 9cb0abce1501a317ce35320f2ad82009be86655f)
Reviewed-on: http://git-master/r/264647
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra11: dvfs: Don't throttle T40T nominal voltage
Alex Frid [Sat, 13 Jul 2013 03:36:22 +0000]
ARM: tegra11: dvfs: Don't throttle T40T nominal voltage

On T40T parts removed throttling of nominal voltage by boot core edp.
Used the latter to specify detached mode (boot, disable, suspend)
limits.

Change-Id: If6ab57785c22ffb9622998aaf9d06bfe36496949
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/248950
(cherry picked from commit e4db337e073099f997010e4c923f47320729dcc7)
Reviewed-on: http://git-master/r/254675
(cherry picked from commit 74431ca47827a53d072499366a58a3afb8f11ed0)
Reviewed-on: http://git-master/r/264646
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra: Fix uninitialized variable in uncompress.h
Dan Willemsen [Tue, 3 Sep 2013 07:58:18 +0000]
ARM: tegra: Fix uninitialized variable in uncompress.h

If none of the debug uarts are configured, set uart to NULL by
initializing the uart_id.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoiommu/tegra: smmu: fix incorrect allocation size of struct smmu_device
Eric Miao [Tue, 3 Sep 2013 03:53:16 +0000]
iommu/tegra: smmu: fix incorrect allocation size of struct smmu_device

Change-Id: Id74a769aa71478942075a8daa7130736d066c530
Signed-off-by: Eric Miao <emiao@nvidia.com>
Reviewed-on: http://git-master/r/269287
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agopalmas: obtain IRQ from palmas_irq_get_virq
Ajay Nandakumar [Wed, 28 Aug 2013 05:02:01 +0000]
palmas: obtain IRQ from palmas_irq_get_virq

obtain interrupts through palmas_irq_get_virq instead of
platform_get_irq for MFD palmas drivers.

Change-Id: I66791b6adcb2c7f365d5b90d7b76c6d3ad66c8c6
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/267068
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agonvhost: Updates for devfreq API change
Ajay Nandakumar [Wed, 28 Aug 2013 07:37:46 +0000]
nvhost: Updates for devfreq API change

Bug 1327616

Change-Id: Ia4d794ac665a6e32ee69ff45ab8c90b2f1d4309d
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/267134
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Tested-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoARM: tegra: Move debug uart mapping out of that static mappings
Dan Willemsen [Sat, 31 Aug 2013 23:11:33 +0000]
ARM: tegra: Move debug uart mapping out of that static mappings

This ensures that we can't overlap with the static mappings.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoRevert "USB: EHCI: Fix resume signalling on remote wakeup"
Dan Willemsen [Sat, 31 Aug 2013 20:02:27 +0000]
Revert "USB: EHCI: Fix resume signalling on remote wakeup"

This reverts commit c65b5f6ade7209fc5eda9f0779de4ee254a6bb78.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoARM: tegra: Enable new PWM driver in tegra12 clocks
Dan Willemsen [Fri, 30 Aug 2013 00:49:13 +0000]
ARM: tegra: Enable new PWM driver in tegra12 clocks

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Change-Id: Ib930fd42e60144e0a658d0786f7b9803833bbe14
Reviewed-on: http://git-master/r/268207

5 years agoARM: tegra: Add tegra_cpu_car_ops for Tegra12
Dan Willemsen [Fri, 30 Aug 2013 00:17:25 +0000]
ARM: tegra: Add tegra_cpu_car_ops for Tegra12

Copied from tegra11

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Change-Id: I70ca30c9a69a14f9a7d3cd4c4fed4cbcd16d91a5
Reviewed-on: http://git-master/r/268209
Reviewed-by: Automatic_Commit_Validation_User

5 years agodrivers: switch: Don't give write permission
Shridhar Rasal [Mon, 26 Aug 2013 09:39:55 +0000]
drivers: switch: Don't give write permission

To avoid bogus warning "Write permission without 'store'"
change attributes for file.

Change-Id: Ie2fb8ba12df632dfd04c8cf2d31ece203ed8f14b
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/266012
Reviewed-by: Ajay Nandakumar M <anandakumarm@nvidia.com>
Tested-by: Ajay Nandakumar M <anandakumarm@nvidia.com>

5 years agovideo: tegra: hdmi: Don't give write permission
Shridhar Rasal [Mon, 26 Aug 2013 09:43:00 +0000]
video: tegra: hdmi: Don't give write permission

To avoid bogus warning "Write permission without 'store'"
change attributes for file and don't give write permission to
read-only files.

Change-Id: Iec73d4ddd06a402ce76ccfb6639e683ba974b9bb
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/266013
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ajay Nandakumar M <anandakumarm@nvidia.com>
Tested-by: Ajay Nandakumar M <anandakumarm@nvidia.com>

5 years agoARM: tegra: dalmore: enable regulator constraints
Laxman Dewangan [Wed, 5 Jun 2013 11:23:16 +0000]
ARM: tegra: dalmore: enable regulator constraints

Enable full regulator constraints so that the rail which does not
have any user and not always-ON can be disable after kernel boot
complete.

bug 1219076

Change-Id: Ifddb9f2ac28ace03bb6757c79e868460f69aa876
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/235868
(cherry picked from commit 5c2f87b962fec138cd03820cf45648f0c0ab53d6)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Change-Id: I67eba64f36ba2d1bd8e84cf294947c9da31bb1b3
Reviewed-on: http://git-master/r/267067
Reviewed-by: Automatic_Commit_Validation_User

5 years agovideo: tegra: host: check if job list is empty
Ajay Nandakumar [Tue, 27 Aug 2013 17:13:06 +0000]
video: tegra: host: check if job list is empty

Check the list before accessing the job, otherwise causing an crash
due to invalid pointer access.

Bug 1327616

Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Change-Id: I84ad5d824a92b6132e2265c9ea78f0065c1fdb55
Reviewed-on: http://git-master/r/266826
Reviewed-by: Automatic_Commit_Validation_User

5 years agofixup! video: tegra: host: Add gk20a driver for Tegra12
Dan Willemsen [Tue, 27 Aug 2013 21:08:32 +0000]
fixup! video: tegra: host: Add gk20a driver for Tegra12

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agofixup! video: tegra: host: fix ardbeg build
Dan Willemsen [Tue, 27 Aug 2013 21:03:50 +0000]
fixup! video: tegra: host: fix ardbeg build

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoFix build issues from linux-3.7-rc1 merge.
Nitin Kumbhar [Thu, 22 Nov 2012 09:29:31 +0000]
Fix build issues from linux-3.7-rc1 merge.

Change-Id: Iad130dc9ea776302376319e0cfdcfe72057b8354
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agov3.10: fixup ardbeg tps51632 api
Dan Willemsen [Mon, 26 Aug 2013 19:31:08 +0000]
v3.10: fixup ardbeg tps51632 api

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoarm: tegra: ardbeg: fix-ups for k340 cherrypicks
Nitin Kumbhar [Sat, 22 Jun 2013 08:19:54 +0000]
arm: tegra: ardbeg: fix-ups for k340 cherrypicks

- Update PALMAS_REG_INIT to handle removal of tstep
- Use config_flags for ldo8/ldo5 tracking

Change-Id: I095d4c7c13324e220ec50c61d979d3c802adbe56
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>

5 years agoiommu/tegra: smmu: fix build issues of k340 cherrypicks
Nitin Kumbhar [Sat, 22 Jun 2013 13:15:09 +0000]
iommu/tegra: smmu: fix build issues of k340 cherrypicks

Change-Id: I9b5bd7d91e7c4e9543e448cca696e2d674a916a1
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>

5 years agoHACK: Disable HDA driver, causing suspend/resume failures
Dan Willemsen [Tue, 19 Feb 2013 19:29:01 +0000]
HACK: Disable HDA driver, causing suspend/resume failures

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoHACK: Turn off ALSA SoC Tegra support
Dan Willemsen [Thu, 31 Jan 2013 07:57:38 +0000]
HACK: Turn off ALSA SoC Tegra support

Fails to boot

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoARM: config: Disable SD8797 and SD8897 for T124
Dan Willemsen [Mon, 26 Aug 2013 06:54:07 +0000]
ARM: config: Disable SD8797 and SD8897 for T124

These don't build on 3.10 right now.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoARM: config: Disable TRACEDUMP
Dan Willemsen [Thu, 22 Aug 2013 21:13:05 +0000]
ARM: config: Disable TRACEDUMP

Doesn't compile with some of the API changes in 3.10. Specifically this
one: ae63b31e4d0e2ec09c569306ea46f664508ef717

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoARM: tegra12: clock: use updated tegra_emc_apply_efficiency definition
Nitin Kumbhar [Sat, 22 Jun 2013 13:13:27 +0000]
ARM: tegra12: clock: use updated tegra_emc_apply_efficiency definition

Change-Id: Ia7162b279c3e631dc4a2ee3dd50320502a1deec5
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>

5 years agonet: wireless: Update SD8797 driver for 3.10
Dan Willemsen [Mon, 26 Aug 2013 05:09:05 +0000]
net: wireless: Update SD8797 driver for 3.10

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoARM: dts: Remove T114 versions of Ardbeg & Laguna
Dan Willemsen [Mon, 26 Aug 2013 05:01:10 +0000]
ARM: dts: Remove T114 versions of Ardbeg & Laguna

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agovideo: tegra: fix build issues of k340 cherrypicks
Nitin Kumbhar [Sat, 22 Jun 2013 13:18:22 +0000]
video: tegra: fix build issues of k340 cherrypicks

- Use updated nvhost_memmgr_pin()/nvhost_memmgr_unpin()
- Use renamed header file nvmap_priv.h instead of nvmap.h

Change-Id: Ie716956e29c3fdc5d64c99bfe4f0332b8fe95c01
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agousb: phy: Turn off -Werror for tegra-otg
Dan Willemsen [Mon, 26 Aug 2013 04:23:00 +0000]
usb: phy: Turn off -Werror for tegra-otg

Until the regulator_* APIs are checked for return values

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agofixup! staging: iio: adc: Add Palma gpadc support
Dan Willemsen [Mon, 26 Aug 2013 03:38:15 +0000]
fixup! staging: iio: adc: Add Palma gpadc support

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoRevert "regulator: tps51632: add dt parsing for ramp delay"
Dan Willemsen [Mon, 26 Aug 2013 03:35:52 +0000]
Revert "regulator: tps51632: add dt parsing for ramp delay"

This reverts commit f0f4c8a5f1943fd6dbf14e976f4b271da1966e41. This
parameter isn't in the upstream driver.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agomedia: video: tegra: Disable -Werror
Dan Willemsen [Mon, 26 Aug 2013 02:35:44 +0000]
media: video: tegra: Disable -Werror

It's not enabled in android-tegra-nv-3.8, disable it here.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoARM: tegra: pluto: enable HS UART through DT
Ajay Nandakumar [Tue, 4 Jun 2013 12:38:09 +0000]
ARM: tegra: pluto: enable HS UART through DT

-Enabling HS UART 0,1,2 through device tree for Dalmore.
-Enable HS UART3 using board platform data if requested
from odm-data.

Bug 1299472

Change-Id: Ib1a2ebf52558147b527677a390e266ba6ac84918
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/235461
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Preetham Chandru <pchandru@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra: Disable -Werror
Dan Willemsen [Mon, 26 Aug 2013 02:03:18 +0000]
ARM: tegra: Disable -Werror

It's disabled in android-tegra-nv-3.8, disable it here too

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoPartial Revert "tegra: fixup: fix issues after K3.4 cherry-picks"
Dan Willemsen [Sat, 24 Aug 2013 21:52:43 +0000]
Partial Revert "tegra: fixup: fix issues after K3.4 cherry-picks"

This partially reverts commit e94d2d45256f2739ffe32afe35754a9d017d472b,
which was reverted in android-tegra-nv-3.8 by a merge.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoARM: tegra11: power: Cap core voltage on deficient regulator
Alex Frid [Sun, 30 Jun 2013 07:46:46 +0000]
ARM: tegra11: power: Cap core voltage on deficient regulator

If core regulator is not able to supply 6A or above current, cap core
voltage at default 1.12V.

Bug 1316883

Change-Id: Id6ecf6712a13b85656a007f300cf77ee538322c4
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/243726
(cherry picked from commit 9dd352e214373db624ae27b5a7d7a10e09910e3e)
Reviewed-on: http://git-master/r/245969
(cherry picked from commit ffc3e9e9750f98ab0c73b0998e22168d4d058403)
Reviewed-on: http://git-master/r/264547
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: t124: Allow tegra-nvmap device to register
Bibek Basu [Tue, 20 Aug 2013 11:17:34 +0000]
ARM: t124: Allow tegra-nvmap device to register

If CONFIG_TEGRA_DC is disabled, kernel panics because
nvmap_probe is not happening.

Bug 1343356

Change-Id: Ia801780a5bed4b91ed7b9600267c69df8dd8f424
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/263864
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Tested-by: Matt Craighead <mcraighead@nvidia.com>
Reviewed-by: Matt Craighead <mcraighead@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agodrivers: video: tegra: detect platform at runtime
Chetan Kumar N G [Thu, 27 Jun 2013 17:55:34 +0000]
drivers: video: tegra: detect platform at runtime

This change is a part of the effort to enable runtime
platform detection and reduce compile-time conditionals.

Bug 1333554

Change-Id: Ie70edf370e361a07f58b610d58bc09eebe156ffd
Signed-off-by: Chetan Kumar N G <chetankumarn@nvidia.com>
Reviewed-on: http://git-master/r/264030
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agovideo: tegra: nvmap: validate args in get_params
Krishna Reddy [Thu, 22 Aug 2013 17:22:44 +0000]
video: tegra: nvmap: validate args in get_params

few minor checks as well.

Change-Id: I418d0162e712dacc41d39bfb229d8cc71871766a
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/264975
Reviewed-by: Automatic_Commit_Validation_User

5 years agoregulator: core: add support to set startup delay from platform
Laxman Dewangan [Wed, 7 Aug 2013 09:24:25 +0000]
regulator: core: add support to set startup delay from platform

The startup delay of rail depends on the PMIC design and the platform
design. The startup delay is provided based on PMIC datasheet through
regulator callback.

Add support to provide the platform specific startup delay during
regulator registration through regulator constraints.

The actual delay will be taken from constraints and if it is zero
then based on datasheet.

bug 1317941

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

Change-Id: I3a0d439e6f52a963a32e191145a6cdd36bc5e01b
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/265530
GVS: Gerrit_Virtual_Submit

5 years agoregulator: add support for rail to be off during boot
Laxman Dewangan [Wed, 31 Jul 2013 13:48:12 +0000]
regulator: add support for rail to be off during boot

Add option "boot_off" if any rail is require to be OFF
during booting of system.

bug 1326594

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

Change-Id: Ic9b52a2d1e22dc8fb1051d752090ce7f2c66cce9
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/265529
GVS: Gerrit_Virtual_Submit

5 years agoiommu/tegra: smmu: fix dma_map_linear_attrs to handle phys address > 32-bit
Krishna Reddy [Tue, 13 Aug 2013 23:00:23 +0000]
iommu/tegra: smmu: fix dma_map_linear_attrs to handle phys address > 32-bit

Bug 1341658

Change-Id: I0eb5a3f5179da580600a5e75664c6b7da3b4c895
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/265319
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>

5 years agovideo: tegra: host: detect platform at runtime
Chetan Kumar N G [Thu, 27 Jun 2013 17:51:41 +0000]
video: tegra: host: detect platform at runtime

This change is a part of the effort to enable runtime
platform detection and reduce compile-time conditionals.

Bug 1333554

Change-Id: Id45b6f136f37f691742d40aa2a40131a4e5b7b3c
Signed-off-by: Chetan Kumar N G <chetankumarn@nvidia.com>
Reviewed-on: http://git-master/r/264031
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoARM: tegra: pluto: add kbc support through DT on pluto
Ashwini Ghuge [Tue, 13 Aug 2013 09:40:47 +0000]
ARM: tegra: pluto: add kbc support through DT on pluto

Added kbc support through DT on pluto but not
enabled yet.

Bug 1173844

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

5 years agoregulator: max15569: Add regulator driver.
Ashwin Joshi [Tue, 6 Aug 2013 12:15:05 +0000]
regulator: max15569: Add regulator driver.

Add regulator driver for max15569 chip. This chip is present on
automotive platform.

Bug 1319925

Change-Id: Ib02f94376ee3560c2891b78ec355c3f246b00dd4
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/262306
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra: pinmux: Fix pinmux for SDMMC2B
Ashwin Joshi [Tue, 6 Aug 2013 12:13:07 +0000]
ARM: tegra: pinmux: Fix pinmux for SDMMC2B

Fix pinmux table entries for SDMMC2B. These are required for automotive
board.

Bug 1319925

Change-Id: Ie7bc1fcceadc48f2436db6a7e249f41baf3ce8f5
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/262301
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoarm: config: tegra12: Add defconfig for vcm30_t124
Ashwin Joshi [Tue, 6 Aug 2013 12:10:59 +0000]
arm: config: tegra12: Add defconfig for vcm30_t124

Add defconfig file for vcm30_t124 which is an automotive platform for
T124.

Bug 1319925

Change-Id: I30bc34453402bc142781ae041e8c0326f827ddc4
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/262296
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agovideo: tegra: nvmap: rename the nvmap_get_dmabuf
Krishna Reddy [Thu, 22 Aug 2013 02:14:19 +0000]
video: tegra: nvmap: rename the nvmap_get_dmabuf

rename nvmap_get_dmabuf to nvmap_dmabuf_export to be more explicit
on what it is intended for.
Bug 1290869

Change-Id: I86b2f35869b48713ee3de5b27c028fdc9f0e017f
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/264671
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agovideo: tegra: nvmap: implement dmabuf_mmap
Krishna Reddy [Thu, 22 Aug 2013 01:46:15 +0000]
video: tegra: nvmap: implement dmabuf_mmap

Bug 1290869

Change-Id: Ia768662ea3b26341c6acb52a1091fb5fe3d4a14b
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/264664
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agovideo: tegra: host: Use nvmap_pin only for default ASID
Terje Bergstrom [Tue, 20 Aug 2013 07:55:46 +0000]
video: tegra: host: Use nvmap_pin only for default ASID

Retrieve the default ASID via tegra_smmu_get_asid(). If we're mapping
buffer to a non-default ASID, skip the nvmap_pin() path and map via
DMA Mapping API.

Bug 1351530

Change-Id: I5078033e71f759901e6e4bd8a27ede5f1d5fbc37
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/263758
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agoARM: tegra: loki: remove unused variable
Laxman Dewangan [Thu, 22 Aug 2013 13:16:45 +0000]
ARM: tegra: loki: remove unused variable

Remove unused variable to remove the compilation warning.

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

5 years agoARM: tegra: move i2c registration to DT
Laxman Dewangan [Thu, 22 Aug 2013 12:43:53 +0000]
ARM: tegra: move i2c registration to DT

Move I2C registratioon to DT for the Ardbeg, TN8, Loki and Laguna.

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

5 years agoARM: tegra: make i2c driver as tegra12-i2c for T124
Laxman Dewangan [Thu, 22 Aug 2013 11:22:48 +0000]
ARM: tegra: make i2c driver as tegra12-i2c for T124

Make Tegra I2C driver name as tegra12-i2c for the T124 SoCs.

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

5 years agoARM: tegra: clock: I2C does not require fast clock for T124
Laxman Dewangan [Thu, 22 Aug 2013 11:03:16 +0000]
ARM: tegra: clock: I2C does not require fast clock for T124

Removing the fast clock entry for I2C as it does not require
fast clock on T124.

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

5 years agocrypto: tegra-se:Correct RSA context save sequence
Shravani Dingari [Thu, 22 Aug 2013 08:56:53 +0000]
crypto: tegra-se:Correct RSA context save sequence

While saving LP0 context, save RSA modulus first and
then RSA exponent

Bug 1346862

Change-Id: Ib3c6d30cb492c112dcfef5128399d5fe807e8129
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/264776
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

5 years agoArdbeg: Add LDO8 tracking flag for TI PMIC Ardbeg
Terry Wang [Wed, 21 Aug 2013 09:03:41 +0000]
Ardbeg: Add LDO8 tracking flag for TI PMIC Ardbeg

The change is for Ardbeg with TI PMIC E1735.
Add flag to enable LDO8 tracking and to disable LDO8 tracking in LP0.

Bug 1317293

Change-Id: I37aeaee0e21ae41b44592725dad1a10892b19f9f
Signed-off-by: Terry Wang <terwang@nvidia.com>
Reviewed-on: http://git-master/r/264223
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoi2c: tegra: add compatible and platform id for Tegra124
Laxman Dewangan [Thu, 22 Aug 2013 10:58:26 +0000]
i2c: tegra: add compatible and platform id for Tegra124

Add compatible and platform id for T124 I2C and keeping
the HW chip specific paramter is same as T14x.

Change-Id: Ic222abf1c8835850b6ff1e794c4cb0e67ac34352
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/264891
Reviewed-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-by: Hayden Du <haydend@nvidia.com>

5 years agoARM: tegra: enable GPIO from DT for all T124 platform
Laxman Dewangan [Thu, 22 Aug 2013 10:46:54 +0000]
ARM: tegra: enable GPIO from DT for all T124 platform

Enable GPIO from DT for all T124 platform.

Change-Id: Ib2e39b982bd02762d3c27cd8a6a857f63418cfae
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/264890
Reviewed-by: Hayden Du <haydend@nvidia.com>

5 years agoarm: tegra12x: iomap: fix VDE base address
Varun Wadekar [Tue, 20 Aug 2013 05:30:06 +0000]
arm: tegra12x: iomap: fix VDE base address

Bug 1348346

Change-Id: I7ab61cf803e9596ae970ce6c97780e1b015a5b4a
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/264175
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>