5 years agoarm: configs: build bq2477x by default
Andy Park [Wed, 11 Sep 2013 23:55:55 +0000]
arm: configs: build bq2477x by default

BQ24773 is the default battery charger on ardbeg PMIC. Enabling the
build by default.

Bug 1344257

Change-Id: I4dc50f19add294a3be60d1c012c94ecc65b825fb
Signed-off-by: Andy Park <andyp@nvidia.com>
Reviewed-on: http://git-master/r/273408
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit b2b4e49466c6004de376261423f8b0376d298008)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoregulator: as3722: fix unused var warning
Philip Rakity [Tue, 24 Sep 2013 11:54:58 +0000]
regulator: as3722: fix unused var warning

/nvidia/DEV_KERNEL/kernel/drivers/regulator/as3722-regulator.c:
In function 'as3722_ldo3_set_mode':
/nvidia/DEV_KERNEL/kernel/drivers/regulator/as3722-regulator.c:404:6:
warning: unused variable 'val' [-Wunused-variable]

Change-Id: I1b96a5750b6589adc4d9a3d76cd3848f466811b9
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/278344
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit 7887902cf31f4ea819c41f34c4a3099a50b43b52)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoarm: tegra: fury: add NCT chip id to /sys
Chun Xu [Wed, 18 Sep 2013 12:54:44 +0000]
arm: tegra: fury: add NCT chip id to /sys

Read

accelerometer_id
charger_id
compass_id
gps_id
gyroscope_id
lcd_id
light_id
touch_id

from NCT into /sys/kernel/tegra_nct/.

Bug 1361476

Change-Id: Ieac5b33cfd0c8dfaae7cc8512a56de9451ff91b7
Signed-off-by: Chun Xu <chunx@nvidia.com>
Reviewed-on: http://git-master/r/276301
Reviewed-on: http://git-master/r/277607
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-by: Hayden Du <haydend@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit 0677f7650d3007f617cb1da97411d45ecd96282d)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoARM: tegra: Ardbeg:LDO8 tracking functionalization
Terry Wang [Thu, 12 Sep 2013 11:49:09 +0000]
ARM: tegra: Ardbeg:LDO8 tracking functionalization

Change VDD_RTC voltage to 0.8V in LP0 for T124
Enable LDO8 tracking mode in LP0.

bug 1366215

Change-Id: I339cae35bd27e1bd3560afabd5d5ce09266b4468
Signed-off-by: Terry Wang <terwang@nvidia.com>
Reviewed-on: http://git-master/r/273754
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hunk Lin <hulin@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit d61509fda38ce01a1a0b897fa12822a4e3a41f79)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoregulator: core: set current constraints while setting machine constraints
Laxman Dewangan [Fri, 20 Sep 2013 07:43:02 +0000]
regulator: core: set current constraints while setting machine constraints

Machine constraints is configured during regulator register. If current
constraints are provided through machine constraints then it is observed
that sometime the current configured on rail is out of range what machine
constraint has.

Set the current constraints when setting machine constraints to make
sure that rail's current is within the range of given machine constraints.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from commit f8c1700dd7d2ce9b2238b20d364317b2968ac76b)

Change-Id: I0d533a9ef0e3cc61e9d31263ebec56c1767073b3
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/277823
(cherry picked from commit 80c105e54d3450f286815ef9ff3a424b2d13d982)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoregmap: add helper macro to set min/max range of register
Laxman Dewangan [Fri, 20 Sep 2013 12:30:10 +0000]
regmap: add helper macro to set min/max range of register

Add helper macro to set the min and max value of the register range.

This is useful when initialising the register ranges of the device like

static const struct regmap_range readable_ranges[] = {
regmap_reg_range(DEVICE_REG0, DEVICE_REG10),
};

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from commit 6112fe60ac1bd1e68da8cc4248289d6e48015f9b)

Change-Id: Id7a06d69f8c9f180ce7da067d148b00f79c82c83
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/277831
GVS: Gerrit_Virtual_Submit
(cherry picked from commit 71dbe9c2d15b52c205982ae1ef54da6f299231fd)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoregulator: core: add support for configuring turn-on time through constraints
Laxman Dewangan [Mon, 23 Sep 2013 10:50:00 +0000]
regulator: core: add support for configuring turn-on time through constraints

The turn-on time of the regulator depends on the regulator device's
electrical characteristics. Sometimes regulator turn-on time also
depends on the capacitive load on the given platform and it can be
more than the datasheet value.

The driver provides the enable-time as per datasheet.

Add support for configure the enable ramp time through regulator
constraints so that regulator core can take this value for enable
time for that regulator.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from commit 00c877c69ba315d6c565a4df51c71b11e82cdeb8)

Change-Id: I2fa17ec0edcc1a2071f88892f8e15b1ae60009b9
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/277822
GVS: Gerrit_Virtual_Submit
(cherry picked from commit dd27579000b7ab44b1e996cdb00327dcdc47b49c)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agousb: otg: tegra: Acquire temopary wakelock
Rohith Seelaboyina [Fri, 13 Sep 2013 09:40:47 +0000]
usb: otg: tegra: Acquire temopary wakelock

Acquire temporary wakelock to resume roothub
in the case when interrupt is seen and otg port is in
host mode and bus is suspended and device is entering lp0.

Bug 1341131

Change-Id: If206756624fb89544c53a34ae934ed6c581fe5e8
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/274260
(cherry picked from commit ab586818b5e23fccec89d1b1aa4865a8dc0df1d3)
Reviewed-on: http://git-master/r/274342
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
(cherry picked from commit d76cb524887a1cadf79f62510a1aa57153bbc3d4)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agosound: pci: hda: fix compilation error
Krishna Reddy [Tue, 24 Sep 2013 21:10:31 +0000]
sound: pci: hda: fix compilation error

fix compilation error and warnings.

Change-Id: I3edc04b7677c23282bf21bfd20631d88ea660b29
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/278501
Reviewed-by: Alex Waterman <alexw@nvidia.com>
(cherry picked from commit 16aec429bf803f63df02b6da4f8788cf69e12fa3)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agovideo: tegra: dsi: Fix DSI prod settings
Vineel Kumar Reddy Kovvuri [Fri, 13 Sep 2013 06:21:15 +0000]
video: tegra: dsi: Fix DSI prod settings

Bug 1319070

Change-Id: I1ed7688f8d225207dc8cbd2f0ddbe30ed85e8eb6
Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
Reviewed-on: http://git-master/r/274119
(cherry picked from commit 46561ea76de59428a579197659c418b384787c53)
Reviewed-on: http://git-master/r/278261
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
(cherry picked from commit c1d9853f3354037c5098d5f2d35a7efed94a6fab)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agovideo: tegra: dtv: fix qos request warnings
Mallikarjun Kasoju [Tue, 24 Sep 2013 11:16:23 +0000]
video: tegra: dtv: fix qos request warnings

qos reqeust is being done with IRQs disabled. Fixed it by
moving qos request outside of spin_lock_irqsave/spin_unlock_irqrestore

Bug 1350300

Change-Id: I5539a04baa31fbef516cca9b3870a361e50367ed
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/278334
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
(cherry picked from commit 976200ea85854f80fb79eb658782d79e82b797ee)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoarm: tegra: iovmm: remove iovmm header file
Krishna Reddy [Tue, 24 Sep 2013 17:11:23 +0000]
arm: tegra: iovmm: remove iovmm header file

remove unused iovmm header file.

Change-Id: Ib5bcaf238db61fe5dddba0cbb518fbc89499fa5e
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/278416
(cherry picked from commit 50dd50c8d031e8f54703b7e40d39afb71dd3a756)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoARM: tegra: tlk: Disable redundant l1 d$ inval
Scott Long [Wed, 28 Aug 2013 23:52:43 +0000]
ARM: tegra: tlk: Disable redundant l1 d$ inval

tlk issues an l1 dcache invalidate that covers both secure and non-secure
worlds.  This makes the l1 dcache invalidate in __invalidate_cpu_state
redundant when tlk is enabled.

Disabling this redundant dcache invalidate shaves ~25usecs off our lp2
wake time (as measured by lp2_latency.sh).

Test coverage included:

 * ran 1000 iterations of targeted_lp_kpi.sh
 * numerous runs of lp2_latency.sh
 * testapp in a loop for 10+ minutes

Bug 1358982

Change-Id: I627c307f4d539a9db29f324760e25abeee2698e3
Signed-off-by: Scott Long <scottl@nvidia.com>
(cherry picked from commit a7de348dc0f2978db79d62e886eb3f63af85aced)
Reviewed-on: http://git-master/r/278100
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: James Zhao <jamesz@nvidia.com>
Tested-by: James Zhao <jamesz@nvidia.com>
Reviewed-by: Chris Johnson <cwj@nvidia.com>
(cherry picked from commit 383ff8faf08a338412ef8a584f194ea092dc0ad2)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoarm: tegra: update dvfs table add pllc_out entry
Xue Dong [Tue, 17 Sep 2013 23:43:58 +0000]
arm: tegra: update dvfs table add pllc_out entry

Change-Id: I986d261c9a2fc03fcfbce84aec07f281d5721c00
Signed-off-by: Xue Dong <xdong@nvidia.com>
Reviewed-on: http://git-master/r/270380
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
(cherry picked from commit d2f698c9c653c5098eb5d121038dd362785c8b0e)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agovideo: tegra: nvmap: create dmabuf with handle
Krishna Reddy [Mon, 23 Sep 2013 21:51:13 +0000]
video: tegra: nvmap: create dmabuf with handle

Create dmabuf during handle creation. This is necessary
to support using Fd's for handles.

Change-Id: Ifd8980afb54e03588eddfe37947f017b121ebdea
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/278006
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>
(cherry picked from commit 66f3222c4a25808ffa188ab3a63fdb57ce23d495)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agovideo: tegra: nvmap: marshal/unmarshal id
Krishna Reddy [Mon, 23 Sep 2013 21:24:46 +0000]
video: tegra: nvmap: marshal/unmarshal id

marshal/unmarshal id differently to allow using
Fd's to represent NvMap handles.

Change-Id: I86d0391132700b7c493fd20e48d752a82a658039
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/271081
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>
(cherry picked from commit d8038011f1cf34abe28fb539acfead23843364d0)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agovideo: tegra: host: gk20a: Add EMC scaling
Arto Merilainen [Tue, 24 Sep 2013 07:13:48 +0000]
video: tegra: host: gk20a: Add EMC scaling

This patch enables EMC scaling on gk20a. We use the same quadratic
relationship that we have used on earlier SoCs.

Bug 1374521

Change-Id: I16cc7b7ec114394d67143387f2bb6fc94ab523b9
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/278232
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ilan Aelion <iaelion@nvidia.com>
Tested-by: Ilan Aelion <iaelion@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
(cherry picked from commit 3acb168651fa1c4f5022a9af35703b9da5261f4c)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agovideo: tegra: host: gr3d: Separate EMC parameters
Arto Merilainen [Tue, 24 Sep 2013 06:46:11 +0000]
video: tegra: host: gr3d: Separate EMC parameters

EMC parameter calucation and usage was interwoven with gr3d
initialisation and clock scaling, however, we wish to use similar
approach in clock scaling on other devices.

This patch refactors gr3d devfreq device profile so that emc scaling
parameters can be estimated and used without using the actual gr3d
devfreq profile.

Bug 1374521

Change-Id: Ibf9a74556f3cb6734c3c3fb4b1939f6835c6e782
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/278231
Reviewed-by: Ilan Aelion <iaelion@nvidia.com>
Tested-by: Ilan Aelion <iaelion@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mitch Luban <mluban@nvidia.com>
(cherry picked from commit 27276d9f8b56be9bc1c01f1980e4f86f9da3184b)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agomisc: tegra-profiler: guard pl310 with kernel config
Matt Craighead [Fri, 20 Sep 2013 18:28:42 +0000]
misc: tegra-profiler: guard pl310 with kernel config

Don't attempt to access the PL310 unless the kernel config
indicates that it exists.

Change-Id: I07eeb0eead095ecd0f3caa36393fce1697b87d56
Signed-off-by: Matt Craighead <mcraighead@nvidia.com>
Reviewed-on: http://git-master/r/277313
Reviewed-by: Edgardo Handal <ehandal@nvidia.com>
Tested-by: Edgardo Handal <ehandal@nvidia.com>
Reviewed-by: Allen Martin <amartin@nvidia.com>
(cherry picked from commit 023737d7ca069684172e70f979784d9f344bfcb3)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agosound: pci: hda: use DmaBuf interface
Krishna Reddy [Mon, 23 Sep 2013 23:45:19 +0000]
sound: pci: hda: use DmaBuf interface

Use DmaBuf interface instead of NvMap.

Change-Id: Iae5c5e3e15f336626a4601f05523332a6f0718cb
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/278045
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alex Waterman <alexw@nvidia.com>
(cherry picked from commit 6d564f7a33ab65364f2c6251ab94957247a03006)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoARM: tegra: delete invalid cache init for tegra12
Bo Yan [Tue, 24 Sep 2013 08:09:25 +0000]
ARM: tegra: delete invalid cache init for tegra12

T124 has no PL310. The cache init is invalid.

Change-Id: I21095e0d613900a5d11cd54b58f229bbc524aecc
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/278264
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Reviewed-by: Adeel Raza <araza@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
(cherry picked from commit 80b5a63c27420f38130a2b7a5ebeef1b3557d3f7)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agovideo: tegra: gk20a: GPCPLL sliding and slowdown
Kaz Fukuoka [Tue, 6 Aug 2013 21:09:54 +0000]
video: tegra: gk20a: GPCPLL sliding and slowdown

- If P and M do not change, use NDIV sliding.
- Otherwise, use slowdown and bypass.

bug 1341729

Change-Id: I2cdb02cbbbe79f3aa04afce029e02fe7f42b1985
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/273961
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
(cherry picked from commit 0f3e428c77fb8aa5017761bc892ee06e74331990)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agovideo: tegra: host: ptimer scale factor sysfs node
Adeel Raza [Wed, 31 Jul 2013 23:52:00 +0000]
video: tegra: host: ptimer scale factor sysfs node

Add sysfs node which shows the gk20a ptimer scaling factor. Real time
can be calculated using ptimer time, ptimer scaling factor, and the
following equation:
    real_time = ptimer_time * ptimer_saling_factor

Bug 1321168

Change-Id: I684bd137479f47de0b27b11dd89f9c2ddecaa29c
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: http://git-master/r/276786
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Ken Adams <kadams@nvidia.com>
(cherry picked from commit d9e5eed437e4955f9076f053b78628517819174a)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agovideo: tegra: nvmap: set inner cache maint threshold correct
Krishna Reddy [Tue, 6 Aug 2013 00:05:33 +0000]
video: tegra: nvmap: set inner cache maint threshold correct

set inner cache maint threshold correct for t124.
use permission macros for debugfs nodes.

Change-Id: I6b4c2a7c11e018dd13c91c5b752fbe7ca1e4d6e7
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/278107
(cherry picked from commit d16cb9915916371f394193110bae727fd778bf25)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agousb: host: tegra: fix spinlock lockup from ehci shutdown
Nitin Kumbhar [Tue, 28 May 2013 13:24:34 +0000]
usb: host: tegra: fix spinlock lockup from ehci shutdown

The ehci_silence_controller() function takes care of ehci's spinlock.
There is no need to explicitly grab this lock during shutdown of
tegra ehci.

Bug 1282033

Change-Id: I6cda8fe970dda907efc2a6275e37342952d4b433
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-on: http://git-master/r/279342
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-by: Ajay Nandakumar M <anandakumarm@nvidia.com>
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: config: tegra11: set correct firmware path
Preetham Chandru R [Fri, 27 Sep 2013 12:50:31 +0000]
ARM: config: tegra11: set correct firmware path

Change the firmware path of bcm43241

Bug 1310450

Change-Id: I8677dcd8fa559735711d30fbc3643544221826d3
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/279825
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agonet: wireless: bcmdhd: add bcmdhd 1.28.28
Om Prakash Singh [Thu, 26 Sep 2013 14:48:34 +0000]
net: wireless: bcmdhd: add bcmdhd 1.28.28

Integrate bcmdhd 1.28.28 from android-tegra-nv-3.8 branch

Bug 1310450

Change-Id: Ied5cc5741fb0119524d3b4bff4170fbe4fb4208e
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/279379
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoRevert "cfg80211: enforce lack of interface combinations"
Om Prakash Singh [Tue, 16 Apr 2013 09:29:19 +0000]
Revert "cfg80211: enforce lack of interface combinations"

This reverts commit 8e8b41f9d8c8e63fc92f899ace8da91a490ac573.

Bug 1211946

Change-Id: Ie30436e7e2528708d6d9752f231172e784bca917
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/219753
(cherry picked from commit b1983bf9f869d08595d333ff464a2ffc655a8ae9)
Reviewed-on: http://git-master/r/279378
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoarm: tegra: ardbeg/damore: disable UHS mode for WiFi
Om Prakash Singh [Fri, 27 Sep 2013 05:13:02 +0000]
arm: tegra: ardbeg/damore: disable UHS mode for WiFi

disabled UHS mode for now as card enumeration is failing is this
mode. revert this change once UHS mode enabled for sdmmc1

Bug 1310450

Change-Id: Ic73433b93657d3ec13d6a985e84ddf436dd84098
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/279672
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoarm: config: tegra12: enable WIFI_CONTROL_FUNC
Om Prakash Singh [Fri, 27 Sep 2013 05:04:29 +0000]
arm: config: tegra12: enable WIFI_CONTROL_FUNC

Bug 1310450

Change-Id: Icbb6ebaab2d6d608ad902d556c743f493b3c0875
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/279671
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years ago!FIXUP: boot issues with latest merge from main
Bharat Nihalani [Mon, 30 Sep 2013 11:11:06 +0000]
!FIXUP: boot issues with latest merge from main

Change-Id: I47e7cbfd840df5871d24664fdf15311e7ba65e23
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/280243
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ajay Nandakumar M <anandakumarm@nvidia.com>
Tested-by: Ajay Nandakumar M <anandakumarm@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoMerge 3.8 changes up to main-promo-2013.09.26-B1
Dan Willemsen [Fri, 27 Sep 2013 02:48:35 +0000]
Merge 3.8 changes up to main-promo-2013.09.26-B1

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

5 years agoarm: tn8: add regulator client for OV5693
Hayden Du [Tue, 24 Sep 2013 09:34:13 +0000]
arm: tn8: add regulator client for OV5693

bug 1349826

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

5 years agoxhci: tegra: Add support for xusb use sata lane
joyw [Thu, 12 Sep 2013 06:47:54 +0000]
xhci: tegra: Add support for xusb use sata lane

For some boards, Laguna, use sata lane for SS port 1. Add
support to set relevant register,XUSB_PADCTL_IOPHY_MISC_PAD_S0_CTL_*_0,
in pad ctontrol.

Bug 1366525

Change-Id: I409843c9a8d67ab5438357d550f7ddda0fda4495
Signed-off-by: joyw <joyw@nvidia.com>
Reviewed-on: http://git-master/r/273556
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra: pcie: Use DPD to save power
Jay Agarwal [Tue, 17 Sep 2013 15:20:21 +0000]
ARM: tegra: pcie: Use DPD to save power

Bug 1320273

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

5 years agovideo: tegra: host: Use version in vic fw name
Terje Bergstrom [Sun, 22 Sep 2013 11:31:08 +0000]
video: tegra: host: Use version in vic fw name

Use version in the name of vic firmware.

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

5 years agovideo: tegra: host: Static syncpt data for Tegra12
Terje Bergstrom [Sun, 22 Sep 2013 11:27:53 +0000]
video: tegra: host: Static syncpt data for Tegra12

Assign sync points at compile time for Tegra12 clients.

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

5 years agoARM: dma-mapping: Undefined debug_dma_platformdata
Hiroshi Doyu [Tue, 24 Sep 2013 04:57:12 +0000]
ARM: dma-mapping: Undefined debug_dma_platformdata

Fix undefined reference to debug_dma_platformdata

Bug 1373902

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

5 years agoarm: tegra12x: add reference count for venc partition
Prashant Gaikwad [Fri, 20 Sep 2013 06:09:06 +0000]
arm: tegra12x: add reference count for venc partition

We need to have reference count for VE partition as it
has multiple clients in T124.

Bug 1310335

Change-Id: Iea326b8494bec17c7a1e7c2c22d7d112a0121f91
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-on: http://git-master/r/276962
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agovideo: tegra: nvmap: increase file id limit
Krishna Reddy [Wed, 4 Sep 2013 22:03:34 +0000]
video: tegra: nvmap: increase file id limit

increase file id limit to max for nvmap clients.

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

5 years agovideo: tegra: add NVMAP_USE_FD_FOR_HANDLE config
Krishna Reddy [Mon, 23 Sep 2013 20:54:20 +0000]
video: tegra: add NVMAP_USE_FD_FOR_HANDLE config

Add NVMAP_USE_FD_FOR_HANDLE config option to allow
enabling/disabling use of Fd's to represent NvMap
handles in user space.

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

5 years agovideo: tegra: host: use DmaBuf API
Krishna Reddy [Tue, 27 Aug 2013 19:25:20 +0000]
video: tegra: host: use DmaBuf API

use DmaBuf API under nvmap memmgr interface.
convert nvmap handle id/ref to dmabuf and use dmabuf API.
Bug 1356091

Change-Id: Ie171de3a918a94ee390d5ef13ea0aadd9f75b35c
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/266896
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agovideo: tegra: gk20a: add synchronous unmap
Kevin Huang [Sat, 21 Sep 2013 00:02:01 +0000]
video: tegra: gk20a: add synchronous unmap

Add synchronous unmap to FIXED_OFFSET buffers by polling ref-counts.

Bug 1341303

Change-Id: I105428eb3ac926c2e47e410e7af09be42f5e38da
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/277423
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agomisc: tegra-cec: Updates for T124
Ankita Garg [Tue, 17 Sep 2013 21:29:09 +0000]
misc: tegra-cec: Updates for T124

In T124, the RX_REGISTER_FULL interrupt is cleared
by reading the RX_REGISTER instead of writing to the
INT_STAT register as before.

Bug 1364229

Change-Id: Ib080a48910304553b0752a3ede55ab0d7653dd77
Signed-off-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-on: http://git-master/r/275982
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agovideo: tegra: hdmi: T148 Prod settings
Tom Cherry [Thu, 8 Aug 2013 01:07:09 +0000]
video: tegra: hdmi: T148 Prod settings

Bug 1250270
Bug 1316334

Change-Id: I652cc2dd49961bb6ed8cfecd6bd85f6f67699f28
Signed-off-by: Tom Cherry <tcherry@nvidia.com>
Reviewed-on: http://git-master/r/261662
(cherry picked from commit 2b051b7000c36de9fdf4142f04379e375af300e3)
Reviewed-on: http://git-master/r/277970
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agoARM: tegra11: power: Specify PMU undershoot gaurd-band
Alex Frid [Sun, 12 May 2013 07:06:36 +0000]
ARM: tegra11: power: Specify PMU undershoot gaurd-band

Specified PMU undershoot gaurd-band 100mV for tegratab, macallan, and
pluto boards.

Bug 1285525

Change-Id: I950630c1d3208657fde0a8dda7a538c60cfc706d
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/227756
(cherry picked from commit 31a740326f55b922edc0b3c89839dc2332b4ed35)
Reviewed-on: http://git-master/r/275555
(cherry picked from commit 5b96474ba092c4e32ddece3574d4c63b0ae5400a)
Reviewed-on: http://git-master/r/277520
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra12: dvfs: Set override property for sdmmc
Alex Frid [Sun, 22 Sep 2013 20:06:43 +0000]
ARM: tegra12: dvfs: Set override property for sdmmc

Change-Id: Id1e719cf7b2c49d4285bdfbfacaa3659f11b875e
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/277598
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra11: dvfs: Increase DFLL Vmin for AP40/AP40X
Alex Frid [Wed, 21 Aug 2013 19:09:13 +0000]
ARM: tegra11: dvfs: Increase DFLL Vmin for AP40/AP40X

Increased DFLL Vmin for AP40/AP40X to 1.0V (from 0.9V).

Bug 1355044

Change-Id: Ifd95d34f21cc81877e350e287a5481ee28ea9d60
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/264513
(cherry picked from commit 14eb0ca9cce022f08e682728de138ec0036df10e)
Reviewed-on: http://git-master/r/275556
(cherry picked from commit 6216aa0f104fd59cf79e50ae664d9756be69fa0b)
Reviewed-on: http://git-master/r/277518
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra11: dvfs: Set override property for sdmmc
Alex Frid [Sun, 21 Jul 2013 05:09:18 +0000]
ARM: tegra11: dvfs: Set override property for sdmmc

Bug 1307369

Change-Id: I622ce0e85e6eb100a834241be5e03565a223b3f3
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/251663
(cherry picked from commit 1f32bf1bcc74b536142e985848ce148358d54b70)
Reviewed-on: http://git-master/r/275550
(cherry picked from commit b6769b239488f87b7c258f413aa00935d6ed974b)
Reviewed-on: http://git-master/r/277517
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra11: dvfs: Update sdmmc dvfs tables
Alex Frid [Mon, 1 Jul 2013 21:43:14 +0000]
ARM: tegra11: dvfs: Update sdmmc dvfs tables

Splitted sdmmc dvfs tables between different Tegra11 skus/bins. Allowed
sdmmc maximum rates at the appropriate nominal voltage for each bin.

Bug 1161126
Bug 1307369

Change-Id: Ida3145ab10feb3ef0e2a170e69c4ef5f4c5a84ed
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/244014
(cherry picked from commit 754354fa55953ade5ac02d9bb79b468a49a4d033)
Reviewed-on: http://git-master/r/275549
(cherry picked from commit ae59844c708de8e2ef7758218f2e69208719a93e)
Reviewed-on: http://git-master/r/277516
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra: dvfs: Restrict vdd core override
Alex Frid [Sun, 21 Jul 2013 03:06:24 +0000]
ARM: tegra: dvfs: Restrict vdd core override

Restricted vdd core override to clocks with dvfs override property.

Bug 1307369

Change-Id: Idaf20ac8ab6016b0ca306190ac7e1327354f99b3
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/251664
(cherry picked from commit dbce70c975587128c7c420b62e3ad0dc5737fbae)
Reviewed-on: http://git-master/r/277515
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra14: dvfs: Set override property for sdmmc
Alex Frid [Sun, 21 Jul 2013 02:33:18 +0000]
ARM: tegra14: dvfs: Set override property for sdmmc

Change-Id: I1dd2d57c0b9c948f28105f103d9e40d674b44615
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/251658
(cherry picked from commit fde04c094f9365542fa434a27806cb2430ad227e)
Reviewed-on: http://git-master/r/277514
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra14: dvfs: Update dvfs tables and limits
Alex Frid [Sat, 20 Jul 2013 23:06:23 +0000]
ARM: tegra14: dvfs: Update dvfs tables and limits

- Set nominal core voltage 1.23V for all parts with soc_speedo_id 0
regardless of bin.
- Increased top dvfs table rated for sdmmc1/3 to 204MHz, sdmmc4
to 192MHz, and decreased low voltage sdmmc4 rates to 51MHz.
- Minor change in dvfs table layout for readability.

Bug 1246952

Change-Id: Ibe647f84766a8c0f795b84054ba0a99a440b8f49
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/251657
(cherry picked from commit aba3bd957d9079bb142fc800eb3d1f36fd943188)
Reviewed-on: http://git-master/r/277513
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra: dvfs: Add override property
Alex Frid [Sun, 21 Jul 2013 02:07:32 +0000]
ARM: tegra: dvfs: Add override property

Added "can override" property to dvfs structure. Skipped dvfs tables
with this property when evaluating available rail override range.

Change-Id: Iced4b7917c3d3edc1f7a5ce77009a854bc50a335
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/251656
(cherry picked from commit 8dab888fa3e0f136a69faf31494820e783d70274)
Reviewed-on: http://git-master/r/277512
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoTegra12: ARM: dvfs: support TN8 cl-dvfs
Seema Khowala [Tue, 17 Sep 2013 18:36:39 +0000]
Tegra12: ARM: dvfs: support TN8 cl-dvfs

Update the ardbeg board for TN8 cl-dvfs settings needed
for TI(I2C) PMIC (E1736)

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

5 years agovideo: tegra: host: module debugger framework
Ken Adams [Tue, 17 Sep 2013 16:55:54 +0000]
video: tegra: host: module debugger framework

Framework and implementation of a gk20a
debugger/profiler session interface.

Adds work toward optimized handling of
context patch write sequences.  These introduce
cpu map/unmap operations and gpu l2 invaliates.
Unless we take care to coalesce them they occur
*per write*.

Change-Id: I8afc11a6f6782b80996404acbd01bffe9653ebdd
Signed-off-by: Ken Adams <kadams@nvidia.com>
Reviewed-on: http://git-master/r/274416

5 years agoARM: Tegra12: Clock: Update max frequency limits for soc clocks
Krishna Sitaraman [Fri, 20 Sep 2013 23:33:34 +0000]
ARM: Tegra12: Clock: Update max frequency limits for soc clocks

Update the max frequency limit for soc clock to allow the highest
frequency in the dvfs table.

Bug 1342499

Change-Id: Iad95373bbff10bc60bf6d5d6b92d038476be0071
Signed-off-by: Krishna Sitaraman <ksitaraman@nvidia.com>
Reviewed-on: http://git-master/r/277403
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: loki: add TEGRA_GRHOST=n support
siddardha naraharisetti [Wed, 18 Sep 2013 20:52:39 +0000]
ARM: tegra: loki: add TEGRA_GRHOST=n support

Update loki_host1x_init to support TEGRA_GRHOST=n

Bug 1357903

Change-Id: Ia0f0eec46fe0c6c3fd0e8c10059bf473619642bf
Signed-off-by: siddardha naraharisetti <siddardhan@nvidia.com>
Reviewed-on: http://git-master/r/276416
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

5 years agoARM: tegra14: clock: show µs timer value at resume
Hervé Fache [Tue, 3 Sep 2013 08:29:58 +0000]
ARM: tegra14: clock: show µs timer value at resume

So we can evaluate the delay between BBC request and frequency boost,
which seems higher than it should be...

Bug 1309858

Change-Id: Ic0c36318b86b1c8baa5329f28cfc3a0430302237
Signed-off-by: Hervé Fache <hfache@nvidia.com>
Reviewed-on: http://git-master/r/269415
(cherry picked from commit 26863dbc1a837951e8a949741d816147db301288)
Reviewed-on: http://git-master/r/276292
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin <stlin@nvidia.com>

5 years agostaging: nvshm: enable write access to data
Hervé Fache [Wed, 21 Aug 2013 11:58:00 +0000]
staging: nvshm: enable write access to data

Also, all symbols have been exported for use in modules.

Bug 1309858

Change-Id: Ia66424cbe5403f3af134cafd1bda8234086c9ebd
Signed-off-by: Hervé Fache <hfache@nvidia.com>
Reviewed-on: http://git-master/r/264365
(cherry picked from commit 9abc040b2695599aa63d281d6f6498d3d0db6ae1)
Reviewed-on: http://git-master/r/276291
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin <stlin@nvidia.com>

5 years agoARM:TEGRA:LOKI: Added LP0 suspend state
David Dastous [Wed, 18 Sep 2013 01:54:43 +0000]
ARM:TEGRA:LOKI: Added LP0 suspend state

Bug 1363280

Signed-off-by: David Dastous-St-Hilaire <ddastoussthi@nvidia.com>
Change-Id: I7008f1a3327fb46ca905c84c70f0e7610863e7c8
Reviewed-on: http://git-master/r/277286
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aly Hirani <ahirani@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agoinput: misc: add DT support to Invensense MPU
Daniel Fu [Thu, 12 Sep 2013 07:27:35 +0000]
input: misc: add DT support to Invensense MPU

Add device tree support to Invensense MPU drivers.

Bug 1363572

Change-Id: I65012d8ab52b6405ce033db4307885256c16c2a6
Signed-off-by: Daniel Fu <danifu@nvidia.com>
Reviewed-on: http://git-master/r/274074
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>

5 years ago audio: a2220: remove compile warnings
Philip Rakity [Mon, 8 Jul 2013 19:06:20 +0000]
 audio: a2220: remove compile warnings

Change-Id: I8693c1a821b8c75836c1c908db80995c26bcf867
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/246216
(cherry picked from commit 10fe72fa67663e7565bbdcd7981b0c6caa821e50)
(cherry picked from commit abe70f430c8d6ef59b72e48821451dfe3f4b985d)
Reviewed-on: http://git-master/r/269602
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agoARM: tegra: Enable DTV on Ardbeg
Mallikarjun Kasoju [Tue, 17 Sep 2013 20:52:59 +0000]
ARM: tegra: Enable DTV on Ardbeg

Bug 1350300

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

5 years agoARM: tegra12: ardbeg: Set pinmux for DTV
Mallikarjun Kasoju [Tue, 17 Sep 2013 20:51:53 +0000]
ARM: tegra12: ardbeg: Set pinmux for DTV

Bug 1350300

Change-Id: Ie0808ee9b0caac34434d7dd7b4d07c1b41de8565
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/275074
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agovideo: tegra: dtv: Use generic DMA engine driver
Mallikarjun Kasoju [Tue, 17 Sep 2013 20:42:08 +0000]
video: tegra: dtv: Use generic DMA engine driver

Bug 1313737
Bug 1350300

Change-Id: I95bae7eb04bf73b998b4333a1707967b3417ddb2
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/275073
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Adam Jiang <chaoj@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra12: pcie: Add DVFS support
Jay Agarwal [Thu, 19 Sep 2013 10:56:18 +0000]
ARM: tegra12: pcie: Add DVFS support

1. Added code to scale voltage dynamically
   based on speed
2. Re-organized change link speed code

Bug 1317473

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

5 years agoARM: tegra12: config: Enable NCT feature
Chun Xu [Wed, 4 Sep 2013 02:48:34 +0000]
ARM: tegra12: config: Enable NCT feature

Bug 1361476

Change-Id: I90f2de3efe5b1c52001a0fd5fad998387e522052
Signed-off-by: Chun Xu <chunx@nvidia.com>
Reviewed-on: http://git-master/r/277606
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agovideo: tegra: host: Simplify channel support
Terje Bergstrom [Mon, 3 Jun 2013 10:36:04 +0000]
video: tegra: host: Simplify channel support

Simplify T124 channel support to use generic channel code when
possible.

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

5 years agovideo: tegra: host: gk20a: No PMU on MMU fault
Arto Merilainen [Wed, 18 Sep 2013 06:16:35 +0000]
video: tegra: host: gk20a: No PMU on MMU fault

ELPG must be disabled during engine reset to make sure that the engines
are not turned off (holding the mutex is not sufficient). However, simply
enabling ELPG afterwards crashes both PMU and GR and therefore better
approach is to simply disable PMU in the beginning of the MMU fault ISR
and turn on the PMU back at the end of the ISR.

This patch makes the MMU fault code to disable PMU and enable
it afterwards. To make sure that PMU initialisation works nicely,
the code keeps runlists empty until the PMU is powered back on. Otherwise
PMU may fail to boot. This behaviour is similar as what the code does in
resume handler.

In addition, PMU initialisation sequence now waits for PMU idle before
proceeding.

Bug 1342089
Bug 1365804
Bug 1361532

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

5 years agovideo: tegra: gk20a: protect clk reg accesses
Prashant Malani [Sun, 8 Sep 2013 04:07:56 +0000]
video: tegra: gk20a: protect clk reg accesses

Use clk mutex to protect and prevent accesses
of clock registers when gk20a is powergated by
nvhost.

Bug 1363292

Change-Id: Id96181ee31993e3479a61284031d3a31f1fe528b
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/271850
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agovideo: tegra: nvmap: remove obsolete config
Alex Waterman [Thu, 5 Sep 2013 21:52:56 +0000]
video: tegra: nvmap: remove obsolete config

NVMAP_RECLAIM_UNPINNED_VM is meaningless to the new pin
implementation.

Bug 1356091

Change-Id: I4150ed409a25ed40519c0c978ae50c1a8f4b1f31
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/271066
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>

5 years agovideo: tegra: nvmap: Remove obsolete sources
Alex Waterman [Tue, 3 Sep 2013 22:06:17 +0000]
video: tegra: nvmap: Remove obsolete sources

Remove the sources for the direct IOMMU interface and the MRU
implementation.

Bug 1356091

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

5 years agoarm: tegra: disable emc dvfs for 4G board
Xue Dong [Fri, 13 Sep 2013 01:12:13 +0000]
arm: tegra: disable emc dvfs for 4G board

bug 1341658

Change-Id: Idf87805a8620a0b7e60beba5c63e92e91d9081dd
Signed-off-by: Xue Dong <xdong@nvidia.com>
Reviewed-on: http://git-master/r/276790
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agovideo: tegra: nvmap: Remove dead definitions
Alex Waterman [Thu, 5 Sep 2013 21:49:59 +0000]
video: tegra: nvmap: Remove dead definitions

Remove the unnecessary defines and definitions obsoleted by the
nvmap pin rewrite.

Bug 1356091

Change-Id: I386953416c274d506f2c8341520298b8d5db8915
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/271056
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>

5 years agokernel: defconfig: Disable wifi modules
Arun Mohare [Wed, 4 Sep 2013 22:44:53 +0000]
kernel: defconfig: Disable wifi modules

Temporarily disable BCMDHD & BCM4335 wifi modules.
Enable SD8897 for t124 boards

bug 1357826

Change-Id: Ie330f328c430e0534549ec2ed9004bd4f5afe95d
Signed-off-by: Arun Mohare <arg@nvidia.com>
Reviewed-on: http://git-master/r/270345
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Martin <amartin@nvidia.com>

5 years agonet: wireless: Update SD8897 WLAN/BT driver to 429
Marc Yang [Wed, 11 Sep 2013 00:12:19 +0000]
net: wireless: Update SD8897 WLAN/BT driver to 429

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

Bug 1318054
Bug 1354601

Change-Id: Id7360eeddc88ad82335de842f79dd9ea81c03824
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/277114
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

5 years agoARM: tegra12: pinmux: Change PROD setting for DAPs
Manoj Gangwal [Wed, 18 Sep 2013 11:01:54 +0000]
ARM: tegra12: pinmux: Change PROD setting for DAPs

- Change the PROD setting for all I2S/DAPs :-

eg for DAP1/i2s0 :-

APB_MISC_GP_DAP1CFGPADCTRL_0 regs to

CFG2TMC_DAP1CFG_CAL_DRVUP 0x06
CFG2TMC_DAP1CFG_CAL_DRVDN 0x05

- Remove the incorrect value setting
for DAP2 in t124 boards.

Bug 1333599

Change-Id: I70b36e87dbd148ba1e3d4271990f3cf0d23dca26
Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/276294
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: mm: Implement ARCH_SUPPORTS_DEBUG_PAGEALLOC
Hiroshi Doyu [Wed, 18 Sep 2013 10:26:40 +0000]
ARM: mm: Implement ARCH_SUPPORTS_DEBUG_PAGEALLOC

Implement the archtecture backend of ARCH_SUPPORTS_DEBUG_PAGEALLOC for
ARM.

Bug 1365298

Change-Id: I4375debadd45bb458186bae6aeae551ff1de3a08
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/276263

5 years agodma: tegra: Fix clock disable in one-shot
Chaitanya Bandi [Thu, 19 Sep 2013 10:20:43 +0000]
dma: tegra: Fix clock disable in one-shot

Fixed clock disable sequence in dma.

Bug 1365577

Change-Id: I69735851a3c40b6d946ba9ec2040c87f6ec764a1
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/276630
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra: loki: palmas_ldo2 range for loki panel
Spencer Sutterlin [Tue, 17 Sep 2013 23:26:44 +0000]
ARM: tegra: loki: palmas_ldo2 range for loki panel

LG old thor panel for loki requires 2.8V, JDI panel for loki requires
3.0V

Change-Id: Ie94c53e087c5bebda521685ae522f2dc3b18ab1a
Signed-off-by: Spencer Sutterlin <ssutterlin@nvidia.com>
Reviewed-on: http://git-master/r/276029
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoarm: tegra: probe bq2477x on ardbeg board
Andy Park [Wed, 11 Sep 2013 23:57:39 +0000]
arm: tegra: probe bq2477x on ardbeg board

BQ24773 is default battery charger for ardbeg. Probing to enable the
charger by default.

Bug 1344257

Change-Id: I774edf8fb88fa5f44352f3cf13261a824f45a3a3
Signed-off-by: Andy Park <andyp@nvidia.com>
Reviewed-on: http://git-master/r/273409
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agopower: add bq2477x battery charger driver
Andy Park [Wed, 11 Sep 2013 23:54:04 +0000]
power: add bq2477x battery charger driver

Add BQ24770/3 battery charger driver.

Bug 1344257

Change-Id: I70a02fc771e32dc0cac36dfdc492f4a002b93d3e
Signed-off-by: Andy Park <andyp@nvidia.com>
Reviewed-on: http://git-master/r/273407
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agopower: fix gpio handling of bq2471x
Andy Park [Wed, 11 Sep 2013 23:48:56 +0000]
power: fix gpio handling of bq2471x

Gpio held by bq2471x on probing does not get released when bq2471x
registration is failed or bq2471x is removed. Fixing up the probing
function and correctly assigning gpio to bq2471x data for correct
gpio handling.

Bug 1344257

Change-Id: Ic4a133baef5321f3c3a2baf298228c4ffa752e5b
Signed-off-by: Andy Park <andyp@nvidia.com>
Reviewed-on: http://git-master/r/273406
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra: ceres: support more camera devices
Charlie Huang [Thu, 8 Aug 2013 23:36:26 +0000]
ARM: tegra: ceres: support more camera devices

support more camera devices for auto-detection.

device list: imx091, imx135, imx132, ar0833, ov5693, ov5640, ad5816,
             ad5823, dw9718, max77387, lm3565, as3648)

updated both ceres/pluto board power files for the power rail names
used by the above devices.

bug 1339839

Change-Id: I21ccabef46217554f19c8e183709d79832382757
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-on: http://git-master/r/259809
(cherry picked from commit 773fe6844459f07f989a368bc96d7feaeaa5d91c)
Reviewed-on: http://git-master/r/272743
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agomedia: tegra: PCL driver updates
Charlie Huang [Thu, 8 Aug 2013 23:41:55 +0000]
media: tegra: PCL driver updates

change some dev_err to dev_notice to avoid LNX error filter alarm.

synchronize cam_device_layout with odm imager as well as update
debugfs prints.

change the regulator names of imx132 and ov5693 to avoid name conflict
with other sensors.

bug 1339839

Change-Id: I134b8b10d5df965bffa8ac0333a0c3775cf882a5
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-on: http://git-master/r/259810
(cherry picked from commit 89f7b0768a509fc70e78457c6352ef13f874988f)
Reviewed-on: http://git-master/r/272739
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra: RODATA: SMC stack RW
Hiroshi Doyu [Thu, 19 Sep 2013 05:03:43 +0000]
ARM: tegra: RODATA: SMC stack RW

With DEBUG_RODATA, .text section is set as read-only. This prevents
SMC call from using stack with CONFIG_TEGRA_USE_SECURE_KERNEL. This
patch set SMC stack {read,write}'able exceptionaly for DEBUG_RODATA.

Bug 1365298

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

5 years agodma-debug: Use ftrace in {map,unmap}_*() calls
Konsta Holtta [Fri, 30 Aug 2013 06:56:12 +0000]
dma-debug: Use ftrace in {map,unmap}_*() calls

Log the map/unmap/alloc/free calls. This ftrace is enabled by default.

Bug 1173494

Change-Id: I01fe24e570346413644368a6bff1578814f05f5a
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/268383
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

5 years agodma-debug: track and export map counts per device
Konsta Holtta [Tue, 9 Jul 2013 10:59:19 +0000]
dma-debug: track and export map counts per device

Store mapping/allocation counts of devices through their lifetime and
export via debugfs the current, all time total, and maximum number of
mappings and mapped bytes.

Bug 1351794
Bug 1173494

Change-Id: I07ba73d44bcd34e37b2036507da65706a973fc92
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/268456
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

5 years agoiommu/tegra: smmu: Add debug_dma_platformdata()
Hiroshi Doyu [Mon, 2 Sep 2013 12:50:51 +0000]
iommu/tegra: smmu: Add debug_dma_platformdata()

For DMA_API_DEBUG to show platform specific data.

Bug 1173494

Change-Id: I421a0bb3675c7bc6906140f7c1ef867f15e80164
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/269147
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

5 years agodma-debug: dump buffers and mappings via debugfs
Konsta Holtta [Fri, 30 Aug 2013 07:16:41 +0000]
dma-debug: dump buffers and mappings via debugfs

Export via debugfs the debug-dma infrastructure's data about allocated
mappings, and architecture specific information about possible mappings.

Bug 1173494

Change-Id: I6c64364dad69f83fd301a89938fe184dde33806a
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/268384
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

5 years agoARM: tegra12: clock: Update PCIE link clock operations
Alex Frid [Wed, 18 Sep 2013 04:53:21 +0000]
ARM: tegra12: clock: Update PCIE link clock operations

Added state/rate control operations for pciex (pcie link). Clock
module controls only link reset (which was implemented already).
Added operations do not update any clock control h/w but provide
standard interface for the driver to match link state with core
voltage dvfs.

Bug 1317473

Change-Id: Ie8975419708691ebdde5e7e4f25ce230bc74cb20
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/276425
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoarm: tegra: T124 support for LGD 7" panel
Mitch Luban [Thu, 19 Sep 2013 19:02:41 +0000]
arm: tegra: T124 support for LGD 7" panel

Bug 1364398

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

5 years agokernel: power: Add PM_USERSPACE_FROZEN workqueue
Arto Merilainen [Tue, 27 Aug 2013 13:17:58 +0000]
kernel: power: Add PM_USERSPACE_FROZEN workqueue

Some device drivers require a callback to be called after the userspace
processes are frozen. This patch adds PM_USERSPACE_FROZEN workqueue
which is called after userspace processes are frozen but when the
kernel threads are still functioning.

Bug 1344551

Change-Id: I0e6fd7e2473db168d01c88bc0192326ceea92ebe
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/266774
(cherry picked from commit d964493291ef87eea1a2ee47b5b66305bb18bcf3)
Reviewed-on: http://git-master/r/274939
Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agovideo: tegra: host: gk20a: Do not suspend if active
Arto Merilainen [Tue, 17 Sep 2013 09:33:24 +0000]
video: tegra: host: gk20a: Do not suspend if active

gk20a prepare_poweroff callback is called before the userspace is
freezed. As the callback is called beforce userspace is freezed,
the userspace may still do a single submit causing gk20a to power
on again. However, this itself do not prevent suspend and therefore
we may end up to have wrong book keeping about the state of gk20a.

This patch adds a separate callback into gk20a driver that will
make certain that gk20a is turned off before suspend. If the device
is on at this point, we cancel suspend.

Bug 1357150

Change-Id: Ib85a96b6598de52749090ba2356a14562a77a07c
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/275689
Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agoRevert "video: tegra: gk20a: Add barrier before udelay"
Kaz Fukuoka [Thu, 19 Sep 2013 21:08:49 +0000]
Revert "video: tegra: gk20a: Add barrier before udelay"

This reverts commit 4caf0d350209a726ccaf1e239f6939457095b09f.

Change-Id: I959c69ea1030e83dbac6c9182ccd38742df5b3a0
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/276825
Reviewed-by: Matt Craighead <mcraighead@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoarm: tegra: tn8: modify gpu regulator
Hunk Lin [Sat, 14 Sep 2013 12:28:00 +0000]
arm: tegra: tn8: modify gpu regulator

Disable always_on flag and remove extern control so the gpu could be
turned off when LP0 and idle gk20a rail gating.
Change min voltage to 700mW for GPU dvfs.

Bug 1318046

Change-Id: I26e91244b3f6e1077c9394ac3c24a08c647b0918
Signed-off-by: Hunk Lin <hulin@nvidia.com>
Reviewed-on: http://git-master/r/274767
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agovideo: tegra: gk20a: Add barrier before udelay
Kaz Fukuoka [Tue, 17 Sep 2013 20:54:16 +0000]
video: tegra: gk20a: Add barrier before udelay

Add read barrier between write and udelay
to make sure write is done before udelay.

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

5 years agoARM: tegra12: clock: No thermal limit to iso bw
Kaz Fukuoka [Wed, 18 Sep 2013 00:15:50 +0000]
ARM: tegra12: clock: No thermal limit to iso bw

Modified emc shared users requests aggregation algorithm to exempt iso
bw allocation from caps set by users in SHARED_CEILING_BUT_ISO mode.

Assigned SHARED_CEILING_BUT_ISO mode to thermal throttling emc shared
user.

Bug 1001227

Ported from Tegra14 Change-Id: I225a67a96955e54148da65e115b777b340b8ade0

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

5 years agoARM: tegra12: clock: iso-exempt shared ceiling
Kaz Fukuoka [Wed, 18 Sep 2013 00:05:26 +0000]
ARM: tegra12: clock: iso-exempt shared ceiling

Added to enumeration of shared user modes SHARED_CEILING_BUT_ISO mode
to distinguish shared ceiling users that can not throttle iso bw users
(current SHARED_CEILING mode users caps all users including iso).

For now, SHARED_CEILING_BUT_ISO mode is not applied to any user, and
no iso exemption mechanism is implemented.

Bug 1001227

Ported from Tegra14 Change-Id: I558d965ecaa81b82ef94a3b6b2fbaec40b36b59b

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