6 years agoasoc: tegra: add use_codec_jd_irq to allow AP to be able to use codec irq
Simon Je [Tue, 11 Jun 2013 06:24:53 +0000]
asoc: tegra: add use_codec_jd_irq to allow AP to be able to use codec irq

Bug 1287224

Change-Id: I1e9d76cd1a6a0d3a0f90c7453afa98387e5129f3
Signed-off-by: Simon Je <sje@nvidia.com>
Reviewed-on: http://git-master/r/237530
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agoarm: tegra: tegratab: use CDC_IRQ to detect jack hotplug
Simon Je [Mon, 10 Jun 2013 09:04:36 +0000]
arm: tegra: tegratab: use CDC_IRQ to detect jack hotplug

From DVT A01, we need to use CDC_IRQ for jack detection instead of
HEAD_DET, to avoid negative swing into T114.

Bug 1287224

Change-Id: I0f47b24b02172d11ae67160b0c0a8d306fae04b1
Signed-off-by: Simon Je <sje@nvidia.com>
Reviewed-on: http://git-master/r/237174
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoasoc: codecs: add codec irq init to detect jack
Simon Je [Mon, 10 Jun 2013 08:50:05 +0000]
asoc: codecs: add codec irq init to detect jack

add codec irq init func in order to trigger interrupt to AP
when hotpluging jack

Bug 1287224

Change-Id: Iff617a74ef50f7833e270be84d308208129f83eb
Signed-off-by: Simon Je <sje@nvidia.com>
Reviewed-on: http://git-master/r/237173
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoasoc: tegra: Add reset for SPDIF controller
Rahul Mittal [Tue, 11 Jun 2013 07:27:33 +0000]
asoc: tegra: Add reset for SPDIF controller

Add soft reset for SPDIF

Since SPDIF soft reset does not work for T11x,
added WAR proposed by HW to reset spdif controller

Bug 966770

Change-Id: Ifd871c585aae3c25f8dc9416e596c7a176e1ea3e
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/236300
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

6 years agoARM: tegra: dalmore: Enable SDIO freq scaling
Pavan Kunapuli [Tue, 11 Jun 2013 11:15:00 +0000]
ARM: tegra: dalmore: Enable SDIO freq scaling

Bug 1238045

Change-Id: Icdaf2b1f34b3196abc272e0e4a2fed13b56697b7
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/237598
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agovideo: tegra: dsi2edp: add ASSR support
Ken Chang [Thu, 30 May 2013 06:09:19 +0000]
video: tegra: dsi2edp: add ASSR support

Enable TC358770A ASSR if eDP panel is connected
and the panel supports ASSR.

Bug 1295551
Bug 1211053

Change-Id: I99e831f060b64524f92643325472f346f42ff285
Signed-off-by: Ken Chang <kenc@nvidia.com>
Reviewed-on: http://git-master/r/234379
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Bruce Yang <kuoyuany@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoarm: tegra: edp: table show support for T40DC
Diwakar Tundlam [Wed, 12 Jun 2013 23:52:31 +0000]
arm: tegra: edp: table show support for T40DC

Bug 1300607

Change-Id: I19a5381e3e68632f2f06deb7400a33419f320590
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/238189
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra: pluto: set the MAX77665 OC alert current
Xin Xie [Sat, 8 Jun 2013 01:14:10 +0000]
ARM: tegra: pluto: set the MAX77665 OC alert current

bug 1298931

Change-Id: Iea46c10c53a1fe76d09d386f45f05f2da7de1d7d
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/237770
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agopower: max77665-charger: config OC current from board file
Xin Xie [Sat, 8 Jun 2013 00:23:44 +0000]
power: max77665-charger: config OC current from board file

Currently we hard wired the OC current to 3.25A on MAX77665. But
different board could use different setting, or do not use MAX77665 to
generate OC alert.

This patch use the board file to config OC current.

bug 1298931

Change-Id: I87872b6c7bc052efec680683dee6cde571359d84
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/237769
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoASoC: Tegra: Fix for negative dam ifc during voice call
Vijay Mali [Tue, 11 Jun 2013 15:33:24 +0000]
ASoC: Tegra: Fix for negative dam ifc during voice call

Check return value of configure_dam function.
Add error message and graceful exit path in
make_voice_call function when DAM controller
allocation fails.

Bug 1274653

Change-Id: I9924c256113c73fb3208c1e0e7225cb485022ca4
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/237664
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agoARM: tegra: tegratab: pwm freq to 48MHz
Min-wuk Lee [Fri, 7 Jun 2013 06:25:46 +0000]
ARM: tegra: tegratab: pwm freq to 48MHz

Bootloader PWM freq KHz is set to 48MHz and its parent is PLLP.
If PWM frequency is set to different and lower one in kernel begin,
a little flicker can be observed until pwm is configured by
backlight device driver.

Bug 1299402

Change-Id: I1ab1e0e97c952d908fe746a5d5caccfe0ddaa7c6
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/236579
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agonet: wireless: sd8897/sd8797: Update WLAN/BT driver
Marc Yang [Sat, 1 Jun 2013 02:09:40 +0000]
net: wireless: sd8897/sd8797: Update WLAN/BT driver

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

Update SD8897 and SD8797 WLAN driver
Add SD8897 and SD8797 BT drivers

Bug 1256420
Bug 1279040
Change-Id: I3338479450b1b6716a1e3b899e33de92850c9e85
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/235723
Reviewed-by: Mohan Thadikamalla <mohant@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agonet: wireless: 8797/8897: Add SUSPEND/RESUME flags
Marc Yang [Fri, 31 May 2013 02:14:31 +0000]
net: wireless: 8797/8897: Add SUSPEND/RESUME flags

Add SUSPEND/RESUME flags to Makefiles of SD8897 and SD8797 WLAN drivers

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

Bug 1279040
Bug 1256420
Change-Id: I2d0518c38b6003a96d3c7447a8a64210ffc319dc
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/235722
Reviewed-by: Mohan Thadikamalla <mohant@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agonet: wireless: sd8797: Update SD8797 WLAN driver
Marc Yang [Sat, 11 May 2013 00:48:52 +0000]
net: wireless: sd8797: Update SD8797 WLAN driver

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

Bug 1279040
Change-Id: Ifee06a06feb304b039f62f2a3730dc4f04f1e7b5
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/235721
Reviewed-by: Mohan Thadikamalla <mohant@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agohwmon: ina230: fix negative current reading
Xin Xie [Tue, 4 Jun 2013 01:27:55 +0000]
hwmon: ina230: fix negative current reading

bug 1298931

Change-Id: If0037afb285b88dde11fe5f40def8f8fe9727c56
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/235215
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoarm: tegra: pluto: enable INA230/INA231/HPA01112 current sensing
Xin Xie [Tue, 4 Jun 2013 01:23:46 +0000]
arm: tegra: pluto: enable INA230/INA231/HPA01112 current sensing

Note: HPA01112, INA230 and INA231 are similar devices and using the same
driver.

This patch will set correct calibration for the INA230 on Pluto platform
based on the battery in-serial resistor value and max battery current.

After this patch will can read back battery current and power correctly
using the INA230.

This patch also leave comment on how to enable the over-current(OC)
throttling using the INA230 device. It is not enabled on the Pluto
platform currently because MAX77665 is used for the OC throttling.

bug 1298931

Change-Id: I37f40e0d3a9ca14314af4f7ee5a5007c5665581f
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/235214
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra: PMU POWER off when boot with charger mode
Hyongbin Kim [Fri, 7 Jun 2013 10:09:05 +0000]
ARM: tegra: PMU POWER off when boot with charger mode

Some charger detected as SDP but it fails enumeration because it is not PC-USB.
In this case, it makes continuous reboot.
power off in charger mode -> PMU reset -> VBUS poweron -> charger mode ->
not detected charger-> power off in charger mode.
Also, this change prevent continuous reboot in detecting charger error case.

Bug 1242042
Bug 1304013

Change-Id: I086fa17ea912b745d9fa0cd21526b78a7215bb44
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/236708
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agoarm: dt: tegra: tegratab: Change OV5693 device name
Frank Chen [Tue, 11 Jun 2013 01:30:27 +0000]
arm: dt: tegra: tegratab: Change OV5693 device name

Change OV5693 device name from "camera" to
"camera.5693".

Bug 1301059

Change-Id: I5d6b88c1ae3d529deb4f6411a558bdb77e385b7f
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/237443
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yin-Chia Yeh <yyeh@nvidia.com>
Reviewed-by: John Sasinowski <jsasinowski@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>

6 years agoarm: tegra: tegratab: Change OV5693 device name
Frank Chen [Tue, 11 Jun 2013 01:33:45 +0000]
arm: tegra: tegratab: Change OV5693 device name

Change OV5693 device name from "camera" to
"camera.5693".

Bug 1301059

Change-Id: I66714c952a3b539f683ab8f10df7938e01b7189a
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/237442
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yin-Chia Yeh <yyeh@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: John Sasinowski <jsasinowski@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>

6 years agomedia: video: tegra: fuse id support
Phil Breczinski [Thu, 6 Dec 2012 23:17:50 +0000]
media: video: tegra: fuse id support

Adds support to read fuse ID from OTP memory on
ov2710, ov9726, ov9772,  ar0832, and imx091 sensors.
Also includes macro-enabled fuse ID programming for
ov2710.  Adjusts data structure used by fuse ID ioctl
to include a field for fuse ID size.

Required by nvcamera version 1.8.0
Required by NVCS version 4.10.0

Bug 1198663

Change-Id: Ib3bb0e100e49aea2c6ce13cd069862476d7f4bb6
Signed-off-by: Phil Breczinski <pbreczinski@nvidia.com>
Reviewed-on: http://git-master/r/169187
(cherry picked from commit 0ce57617ee1f735759333a589aa2890559053fe0)
Reviewed-on: http://git-master/r/232254
Reviewed-by: Brian Bamsch <bbamsch@nvidia.com>
Tested-by: Brian Bamsch <bbamsch@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agoarm: tegra: tegratab: enable wifi 32K clk per board revision
Harry Hong [Tue, 11 Jun 2013 08:29:23 +0000]
arm: tegra: tegratab: enable wifi 32K clk per board revision

wifi 32K clk source
ERS(E1569) : clk_32k_out
DVT1(P1640_A00) : clk3_out
DVT2(P1640_A01) : PMIC 32K out

bug 1297696

Change-Id: I54d31c66ad1f8c5bbe61798abc2039aa3bf85f9a
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/237553
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Gabby Lee <galee@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Shawn Joo <sjoo@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agomedia: tegra: apply ov7695 qualiy tune (060713)
Jake Park [Mon, 10 Jun 2013 05:21:18 +0000]
media: tegra: apply ov7695 qualiy tune (060713)

Apply ov7695 qualiy tune register change from OV,
'OV7695 reference setting_MIPI_24MCLK_060713_nVidia.txt'.

Bug 1278482

Change-Id: If14deae5e49cc766c226e57d91a325b3fb1a8134
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/237108
(cherry picked from commit bf6303da0d525e9656e3da04bde609589945a0c6)
Reviewed-on: http://git-master/r/237161
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoARM: tegra: set macallan sys EDP cap to 24W
Sivaram Nair [Mon, 10 Jun 2013 08:48:05 +0000]
ARM: tegra: set macallan sys EDP cap to 24W

Change-Id: I292d92ed2abeda5fb2c821b8dc7437771d0a9cf7
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/237147
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra: config: update l4t defconfig
Bibek Basu [Mon, 10 Jun 2013 05:56:11 +0000]
ARM: tegra: config: update l4t defconfig

Enable TEGRA_PLLM_SCALED & TEGRA_CPU_DVFS
for l4t kernel

Bug 1304476

Change-Id: I235d4a0d056d400c741c0f451a4c15284bbc59fb
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/237115
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoasoc: aic326x codec: Fix compilation warnigs
Vijay Mali [Sat, 8 Jun 2013 07:43:13 +0000]
asoc: aic326x codec: Fix compilation warnigs

Add typecast in switch statement

Bug 1274537

Change-Id: I03fbce68d449500a3f1de60798e875d5905176eb
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/237042
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

6 years agopower: power-supply-extcon: update cable state during init
Laxman Dewangan [Sat, 1 Jun 2013 13:47:58 +0000]
power: power-supply-extcon: update cable state during init

Update cable state during initialisation to have the sync
with the cable state if cable state event is  missed which is
happened before initialisation of driver.

bug 1304013

Change-Id: I87eb4c41ab589094639379eff8ed2837893ca892
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/234771
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoUSB: xhci: Dynamic host load support
Krishna Yarlagadda [Thu, 2 May 2013 12:00:46 +0000]
USB: xhci: Dynamic host load support

Load xhci dynamically when otg cable is connected

Bug 1242148

Change-Id: If6b9b3ad198e3d1aef7636e9a7752be7a4ccc1c7
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/234146
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra: USB: Dynamic host load support
Krishna Yarlagadda [Thu, 2 May 2013 12:00:46 +0000]
ARM: tegra: USB: Dynamic host load support

Enable platform data to load xhci
dynamically when otg cable is connected

Bug 1242148

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

6 years agomedia: video: tegra: ad5816: Stay on after probe
Phil Breczinski [Sat, 8 Jun 2013 02:18:36 +0000]
media: video: tegra: ad5816: Stay on after probe

Keep power on after probe function.

Also change focus position type from u16 to s32 so garbage bytes
aren't passed to the raw header.

Bug 1283378

Change-Id: I6a045ac93a3045e390cee9bd0a9772c6d7668290
Signed-off-by: Phil Breczinski <pbreczinski@nvidia.com>
Reviewed-on: http://git-master/r/237032
Reviewed-by: Zhaoyi Wei <zwei@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Gilbert Yeung <gyeung@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agovideo: tegra: fb: Make offset comparison android specific
pdabade [Thu, 6 Jun 2013 09:58:31 +0000]
video: tegra: fb: Make offset comparison android specific

Making current x and y offset comparison android specific.

Bug 1216329

Change-Id: Ie28d81fc2bff06237528fba56a348a442233e6c7
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/236257
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agovideo: tegra: dc: use DISB power domain for HDMI
Jon Mayo [Fri, 7 Jun 2013 22:45:06 +0000]
video: tegra: dc: use DISB power domain for HDMI

Always use DISB for HDMI.

Bug 236314

Change-Id: I65e7a6344b62998363e26510dcab17b006bb9d18
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/236928
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Michael I Gold <gold@nvidia.com>

6 years agodriver: switch: avoid access freed memory
Jay Cheng [Thu, 6 Jun 2013 21:21:27 +0000]
driver: switch: avoid access freed memory

reorder switch_dev_unergister function to avoide access freed memory

bug 1302980

Change-Id: I741cce3001b401b4c9c95dff29a5bd0a7d7009bd
Signed-off-by: Jay Cheng <jacheng@nvidia.com>
Reviewed-on: http://git-master/r/236428
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>

6 years agomedia: tegra: ad5823: add setting from cal data
Jake Park [Tue, 23 Apr 2013 07:28:45 +0000]
media: tegra: ad5823: add setting from cal data

Added the capability to set pos_high/pos_low from
the per unit calibration data for VCM.

Bug 1271714
Bug 1270541
Bug 1264961

Change-Id: If459308459523918be153df809f8890b379a797c
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/232852
(cherry picked from commit 2c86c26fd86d913980503bd860de4fcfb9b84c73)
Reviewed-on: http://git-master/r/222636
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra: tegratab: enable 32KHz clk of CLK32KG pin
Harry Hong [Tue, 4 Jun 2013 08:05:07 +0000]
ARM: tegra: tegratab: enable 32KHz clk of CLK32KG pin

P1640 A01 revision will use pmic 32KHz as wifi 32KHz clk input.
Enable 32KHz clk of CLK32KG pin.

bug 1286467

Change-Id: I7c46585d1456f9aab906d3341bf112af80b9c26a
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/235338
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoinput: misc: fix sysfs permissions
Erik Lilliebjerg [Thu, 6 Jun 2013 14:25:35 +0000]
input: misc: fix sysfs permissions

- Fix sysfs permissions.
- Fix raw accelerometer access.
- Fix autodetection behind MPU.
- Add self-test.

Bug 1224709
Bug 1243584
Bug 1291044
Bug 1295651
Bug 1290313
Bug 1298831

Change-Id: I55847fd158abdb9f12dc830218619c6ed7913396
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/236327
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Tested-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agoARM: tegra: T114 wake source table update
Bitan Biswas [Mon, 20 May 2013 12:17:15 +0000]
ARM: tegra: T114 wake source table update

Disable wake sources that are not known to be tested with T114

bug 1275273

Change-Id: I259b066fbc498378b1fbb4b1577c4bf973cc10b1
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/231926
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra: allow 1-to-many irq to wake mapping
Bitan Biswas [Sat, 18 May 2013 21:44:41 +0000]
ARM: tegra: allow 1-to-many irq to wake mapping

Problem:
Current Tegra wake table does not allow same USB irq to be used
for multiple wake sources.

Fix:
Changed tegra_irq_to_wake API to return multiple wake table indices

bug 1275273

Change-Id: I72e6d83cb71de76e23ea9623b6fcae34091171bb
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/231921
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra: dalmore: VBUS/ID any level wake enable
Bitan Biswas [Wed, 15 May 2013 17:27:14 +0000]
ARM: tegra: dalmore: VBUS/ID any level wake enable

bug 1286802

Change-Id: I1386bae17578c3ca532a801a5a9d6ed1b139d57b
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/231919
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra: USB1 VBUS and ID ANY wake level support
Bitan Biswas [Tue, 14 May 2013 15:12:49 +0000]
ARM: tegra: USB1 VBUS and ID ANY wake level support

This change enables wakeup from USB cable connect and disconnect
for both device(VBUS) and host(ID) cables.
 - board platform data used to enable the implementation
 - chip specific wakeups source file added with new API needed
   to detect VBUS and ID cable connect state
 - chip specific API exposed to return the USB1_VBUS and USB1_ID
   wake indices

bug 1286802

Change-Id: I59cfca82a907d33190a5bc92f33de5986fada43f
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/231918
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoARM: tegra: fix board id check
Bibek Basu [Mon, 10 Jun 2013 08:28:34 +0000]
ARM: tegra: fix board id check

Correct the logical check for board id

Bug 1220745

Change-Id: Iddfcc795772fc1f0a7ba07d59b305999afb00118
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/237140
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: Correct chip specic paths
Antti P Miettinen [Tue, 8 Jan 2013 07:50:52 +0000]
ARM: tegra: Correct chip specic paths

Names of some modules are chip version specific.

Bug 1198566

Change-Id: I0b8fd329bb96e277a49337815d07b94a02d1dcf9
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/189461
(cherry picked from commit 418729e250afd0793932a37d30904547e3e8df47)
Reviewed-on: http://git-master/r/237135
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoARM: tegra11: dvfs: Override DFLL mode Vmin based on fuse
Alex Frid [Sat, 8 Jun 2013 02:17:43 +0000]
ARM: tegra11: dvfs: Override DFLL mode Vmin based on fuse

Override DFLL mode Vmin with 0.9V if designated fuse is set.

Bug 1291764

Change-Id: I994619f48f5fc116341d90716b55ddaf932cfdd4
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/237072
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra11: dvfs: Update CPU Vmax trip temperature
Alex Frid [Sun, 9 Jun 2013 00:15:13 +0000]
ARM: tegra11: dvfs: Update CPU Vmax trip temperature

Reduced CPU Vmax trip temperature to account for hotspot
characterization offset.

Bug 1233302

Change-Id: I6021df285bd2d743324d9d6ffd3bec9563143650
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/237070
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra11: clock: Expand host1x shared bus
Alex Frid [Sat, 8 Jun 2013 07:09:21 +0000]
ARM: tegra11: clock: Expand host1x shared bus

Add cap, floor, and override shared users to host1x bus. Attached cap
user to core cap interface.

Change-Id: I6d9a1c8ad7d890dfaf5c02297df6349ff18328f4
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/237064
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra11: clock: Re-factor host1x bus
Alex Frid [Sat, 8 Jun 2013 06:42:11 +0000]
ARM: tegra11: clock: Re-factor host1x bus

- Set host1x dev_id = "host1x" and con_id = NULL (these definitions
were used before conversion of host1x to shared bus; during conversion
ids were inadvertently swapped - restored now)
- Renamed host1x bus shared users to be consistent with other shared
buses

Change-Id: Id8963cf477315c56de930084ca842c42df535925
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/237063
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-by: Chris Dragan <kdragan@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoarm: tegra: pluto: reduce panel init sequence delay
Vineel Kumar Reddy Kovvuri [Fri, 7 Jun 2013 08:20:18 +0000]
arm: tegra: pluto: reduce panel init sequence delay

updates the delays in panel init command sequence.
Improves lp0 resume time.

Bug 1288173

Change-Id: Ic513e5adfd73c00fe4cf82105721e2b4b0197f9e
Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
Reviewed-on: http://git-master/r/236617
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoasoc; tegra: Increase Realtek speaker gain.
Scott Peterson [Sun, 26 May 2013 17:01:05 +0000]
asoc; tegra: Increase Realtek speaker gain.

Increase the class D speaker gain in Realtek
codec.

Bug 1278531

Change-Id: I55dc5c809a291ff782a2c36ebab1fb07148bc5ee
Signed-off-by: Scott Peterson <speterson@nvidia.com>
(cherry picked from commit bfee36e20c7134d611fe578abbe3a864c9fdaf6a)
Reviewed-on: http://git-master/r/234957
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agoarm: tegra: tegratab: set KB_COL1 input with internal PU
Simon Je [Wed, 29 May 2013 07:20:28 +0000]
arm: tegra: tegratab: set KB_COL1 input with internal PU

To get hall sensor input on DVT A00,
set KB_COL1 pin as gpio input with internal PU

Bug 1296922

Change-Id: Ib0b6a3422c12598199cfaaf887c6dc3b6bfc2589
Signed-off-by: Simon Je <sje@nvidia.com>
(cherry picked from commit 22c69c067a5e7e557caa242225ed6c301f7149c7)
Reviewed-on: http://git-master/r/234871
Reviewed-by: Youngjin Kim <nkim@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoarm: tegra: tegratab: enable clk_out_3
Shawn Joo [Wed, 8 May 2013 13:06:36 +0000]
arm: tegra: tegratab: enable clk_out_3

enable clk_out_3 as default.
it is source input clk for rtc_clk in Comm module for P1640 FAB A00.

Bug 1278403
Bug 1286467

Change-Id: I421c5447246c4a024be68b27bcf6f9f31ad2bf5f
Signed-off-by: Shawn Joo <sjoo@nvidia.com>
Reviewed-on: http://git-master/r/226695
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Harry Hong <hhong@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agomedia:video:tegra: adjusting ad5823 value
Karl Kim [Tue, 4 Jun 2013 11:08:35 +0000]
media:video:tegra: adjusting ad5823 value

settletime / POW_LOW / POS_HIGH / VCM_MODE_TIME value is adjusted
by result of ad5823 characterization.

Bug 1288326

Change-Id: Ibb22927049610d6ea3b5df499b2aa322c2d3e548
Signed-off-by: Karl Kim <kkim@nvidia.com>
Reviewed-on: http://git-master/r/235435
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jake Park <jakep@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agomedia: video: tegra: Fix ov5693 preview flashing issue
Frank Chen [Sat, 1 Jun 2013 08:06:10 +0000]
media: video: tegra: Fix ov5693 preview flashing issue

Set MGC register to use sensor gain instead of real gain.

Change-Id: I949637ec50230539bccdb0acfc4e069165fba33d
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/234764
Reviewed-on: http://git-master/r/234785
(cherry picked from commit 25bd6126c61fb839411ae9570249f465b005722c)
Reviewed-on: http://git-master/r/236900
Reviewed-by: Yin-Chia Yeh <yyeh@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoCamera: Kernel: modified ov5693 power on/off sequence
Alvin Park [Wed, 29 May 2013 07:31:07 +0000]
Camera: Kernel: modified ov5693 power on/off sequence

1. modified ov5693 power on/off sequence
2. removed unused power rail
3. removed delay code

Bug 1234944

Change-Id: I681088faeb3dd663bae1e3f827270da2270a65f2
Signed-off-by: Alvin Park <apark@nvidia.com>
Reviewed-on: http://git-master/r/233584
(cherry picked from commit 1a6856f773b4a27d1d1035abea7958c0dc190b56)
Reviewed-on: http://git-master/r/236899
Reviewed-by: Frank Chen <frankc@nvidia.com>
Tested-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Yin-Chia Yeh <yyeh@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoinput: touch: maxim: update cpu boost
David Jung [Fri, 17 May 2013 19:16:01 +0000]
input: touch: maxim: update cpu boost

Nvidia change to update cpu boost to use MSC Activity

Bug 1290845
Bug 1302936

Change-Id: I31e71d7801c80db0fd32d17bb12a628123eac7cf
Signed-off-by: David Jung <djung@nvidia.com>
Reviewed-on: http://git-master/r/234302
(cherry picked from commit 38393a0bcefad477254a19b563ed2842e355c62b)
Reviewed-on: http://git-master/r/229856
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yogish Kulkarni <yogishk@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Li Li (SW-TEGRA) <lli5@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra{3,11}: config: Enable CMA & IOMMU
Hiroshi Doyu [Fri, 7 Jun 2013 11:08:20 +0000]
ARM: tegra{3,11}: config: Enable CMA & IOMMU

Enabled CMA & IOMMU

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

6 years agotegra/iommu: smmu: Add linear map support at unmap
Hiroshi Doyu [Mon, 20 May 2013 06:16:26 +0000]
tegra/iommu: smmu: Add linear map support at unmap

Add linear map support at unmap

bug 1286500

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

6 years agoiommu/tegra: smmu: rel-17 fixup
Hiroshi Doyu [Fri, 17 May 2013 11:28:18 +0000]
iommu/tegra: smmu: rel-17 fixup

Fix a gap between m/main and rel-17.

rel-17 hasn't enable PLATFORM_ENABLE_IOMMU yet.

bug 1286500

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

6 years agoARM: dma-mapping: Add new API dma_ops->map_pages()
Hiroshi Doyu [Wed, 3 Apr 2013 12:51:20 +0000]
ARM: dma-mapping: Add new API dma_ops->map_pages()

Add new API dma_ops->map_pages() for performance

bug 1286500

Change-Id: Ib8bbcad53024225173be765358af03d0961f8af0
(cherry picked from commit 1e3b6ee46a5defaa8e1fcc97fc5d9b619c481c41)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234137
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoARM: dma-mapping: Round-up IOVA map base
Hiroshi Doyu [Wed, 15 May 2013 07:38:18 +0000]
ARM: dma-mapping: Round-up IOVA map base

This is necessary for iova_alloc_at(). On high order allocation, the
lower bit of base was ignored, and it returns incorrect IOVA address.

bug 1286500

Change-Id: I0be96b97c8036f8a5bc1c35a1c85e04593021a2b
(cherry picked from commit from 578a5333d43b2c9a78f0a234d391c2f8f5382b5d)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234136
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agovideo: tegra: nvmap: Add tegra_iovmm_vm_insert_pages()
Hiroshi Doyu [Wed, 3 Apr 2013 11:30:36 +0000]
video: tegra: nvmap: Add tegra_iovmm_vm_insert_pages()

Use ops->map_pages() for nvmap.

bug 1286500

Change-Id: Ibaaf27a3c5cb4086561f1b4bcd40ebb5a40cd12c
(cherry picked from commit c8453b97711a9af0d4913de16574fab6bf97d07c)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234135
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoARM: dma-mapping: Add macro to_dma_iommu_mapping()
Hiroshi Doyu [Wed, 5 Dec 2012 16:50:49 +0000]
ARM: dma-mapping: Add macro to_dma_iommu_mapping()

To build without CONFIG_ARM_DMA_USE_IOMMU

bug 1286500

Change-Id: I1a6e385bd6b4039fcc37e120893b98e3ef590746
(cherry picked from commit 094c98e7c4346961b9ad7f741a5d3756c671a071)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234134
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoARM: dma-mapping: Add arm_iommu_detach_device()
Hiroshi Doyu [Thu, 24 Jan 2013 12:49:32 +0000]
ARM: dma-mapping: Add arm_iommu_detach_device()

Need the counter part of arm_iommu_attach_device().

bug 1286500

Change-Id: I7663075ba56e0cf7a0762927247bfb5b884cd750
(cherry picked from commit 96425941ba18e0aa68e22cdd476bd3e521aa8256)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234133
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoiommu/tegra: smmu: Add Tegra errata 1053704 for some of Tegra SoC
Hiroshi Doyu [Fri, 3 May 2013 03:18:02 +0000]
iommu/tegra: smmu: Add Tegra errata 1053704 for some of Tegra SoC

Add workaround of TEGRA_ERRATA_1053704 for some of Tegra SoC

bug 1286500

Change-Id: I7d1a75b198051bc49eb7e14e4e7892eab9818f29
(cherry picked from commit fc688d6f91ae4250cb16274bc8b41875ead06b4e)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234132
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoiommu/core: Add new API iommu_map_pages()
Hiroshi Doyu [Wed, 3 Apr 2013 12:50:44 +0000]
iommu/core: Add new API iommu_map_pages()

Add new API iommu_map_pages() to call iommu_ops->map_pages()
internally.

bug 1286500

Change-Id: I37605703def34bba774e480b29506c459d6391bd
(cherry picked from commit 11ed57ffcbd908e12c1fd836211beed4fc577833)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234131
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoiommu/tegra: smmu: Add ->map_pages() for perf
Hiroshi Doyu [Wed, 3 Apr 2013 12:50:17 +0000]
iommu/tegra: smmu: Add ->map_pages() for perf

Implement iommu_ops->map_pages() for tegra-smmu.

bug 1286500

Change-Id: I0d50d2e73cd9d4c17416e67f100de7194078808f
(cherry picked from commit dfee95817e0150223a06a8062a21e3889903a428)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234129
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoiommu/tegra: smmu: iterate {SECTION,GROUP} instead of TLB_FLUSH_ALL
Hiroshi Doyu [Mon, 22 Apr 2013 10:10:00 +0000]
iommu/tegra: smmu: iterate {SECTION,GROUP} instead of TLB_FLUSH_ALL

TLB_FLUSH_{ALL,ASID} has SMMU H/W bug at HUM OoO. To work around
this H/W bug, iterate TLB_FLUSH_{SECTION,GROUP} for all PDIR index
instead of TLB_FLUSH_ALL although a big perf penalty is expected.

Enable flush_{ptc,tlb}_all when unmap entry is larger than some
specific value. The threshold value can be set to define how many
entries to use flush_ptc_tbl_all via debugfs entry,
"flush_all_threshold".

bug 1286500

Change-Id: I3e8f1eb0316a6829a14661b8e1d4cfcd7e2ec85b
(cherry picked from commit 0aad4b30dde6fd6dd2d86536c6797d83c79830b4)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234128
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoiommu/tegra: smmu: Add smmu_flush_{ptc,tlb}_range()
Hiroshi Doyu [Thu, 2 May 2013 08:45:14 +0000]
iommu/tegra: smmu: Add smmu_flush_{ptc,tlb}_range()

Add smmu_flush_{ptc,tlb}_range(), a little bit more efficient because
it skips unnecessary flushing by unit.

bug 1286500

Change-Id: I879d39d6e514662c1ce70fa4e3bc62a3eeb5b31a
(cherry picked from commit 1a1e153bcb978e421407c2ccbab9667b5cd380cf)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234127
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoiommu/tegra: smmu: Rename SMMU_ADDR_TO_PFN to SMMU_ADDR_TO_PTN
Hiroshi Doyu [Mon, 8 Apr 2013 05:37:21 +0000]
iommu/tegra: smmu: Rename SMMU_ADDR_TO_PFN to SMMU_ADDR_TO_PTN

It will convert an address to a Page Table index Number. This is
equivalent to SMMU_ADDR_TO_PDN(), which converts an address to a Page
Directory index Number. So it's better to use PTN instead of PFN,
which may imply Page Frame Number wrongly.

bug 1286500

Change-Id: Ib2e02b91c5af91df5d374064e10266341adb402b
(cherry picked from commit 36448e5261403c54c6c30ddc41db9040f88bd1e7)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234126
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoiommu/tegra: smmu: Add alloc_tbl() for L2 pagetable
Hiroshi Doyu [Wed, 3 Apr 2013 12:49:43 +0000]
iommu/tegra: smmu: Add alloc_tbl() for L2 pagetable

Add alloc_tbl() to allocate SMMU L2 pagetable. This is refactoring
alloc_tbl() out from locate_pte() for the later use.

bug 1286500

Change-Id: I03177cf18a41b06e1aab03d748064a845d2b7284
(cherry picked from commit 2194fef5f777a2438ed5d268ef48de8bd8f7b460)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234125
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoiommu/tegra: smmu: Remove unnecessary check
Hiroshi Doyu [Wed, 3 Apr 2013 12:49:23 +0000]
iommu/tegra: smmu: Remove unnecessary check

This sholdn't happen because the previous write doesn't match to the
condition.

bug 1286500

Change-Id: If80063d8feb8e75e828b5b1d9cbdb3f2f014d79d
(cherry picked from commit ac62226fcbfc698a489b4d458e91233a2659c6b8)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234124
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoiommu/tegra: smmu: Skip invalid L2 pagetalbe at unmap
Hiroshi Doyu [Mon, 6 May 2013 09:27:18 +0000]
iommu/tegra: smmu: Skip invalid L2 pagetalbe at unmap

Skip invalid L2 pagetalbe at unmap. Unmap can be called against
invalide pages.

bug 1286500

Change-Id: I70e66eddb57982ae1dd2e0f592d18923676e9171
(cherry picked from commit 56a0bf501f15921bccfc73c3400ce48cb39f36be)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234123
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoiommu/tegra: smmu: Unmap multiple pages at once
Hiroshi Doyu [Fri, 22 Mar 2013 09:30:59 +0000]
iommu/tegra: smmu: Unmap multiple pages at once

Implement to unmap multiple pages at once for performance.

bug 1286500

Change-Id: Ifa4671a8d784f46f3cb5feed21e433240f1634ed
(cherry picked from commit 93f56bda11694944ed246e4e119da073a435536c)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234122
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoiommu/tegra: smmu: Add flush_ptc_and_tlb_range()
Hiroshi Doyu [Wed, 3 Apr 2013 08:49:20 +0000]
iommu/tegra: smmu: Add flush_ptc_and_tlb_range()

Add flush_ptc_and_tlb_range() to handle multiple entries at once.

bug 1286500

Change-Id: Ib1e9e2e7131345bb422787633eb8d1a4c549dda0
(cherry picked from commit b16d45873a8776d7ef7259a9b293336d9a2e1d28)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234121
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoiommu/tegra: smmu: Add flush_ptc_and_tlb_all()
Hiroshi Doyu [Wed, 3 Apr 2013 07:10:32 +0000]
iommu/tegra: smmu: Add flush_ptc_and_tlb_all()

A version of flush_ptc_and_tlb() against all entries within the same
address space.

bug 1286500

Change-Id: I73dfdb0f1249a89313edd89dc5a51b8229648a32
(cherry picked from commit 923f7df28db0f9e18d2698926e3896a0c77c9376)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234120
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoiommu/tegra: smmu: Mask pagetable index correctly
Hiroshi Doyu [Wed, 3 Apr 2013 08:55:28 +0000]
iommu/tegra: smmu: Mask pagetable index correctly

Mask pagetable index to avoid overrun by removing unnecessary bit at
first place.

bug 1286500

Change-Id: I1bccd4d4b1c8510b540d7c0c60e1997ba63f952b
(cherry picked from commit 88bc3c325df13f118ae5a3e492f713119a125e39)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234119
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoiommu/tegra: smmu: Fix u32 -> u64 for swgid
Hiroshi Doyu [Wed, 27 Mar 2013 09:38:23 +0000]
iommu/tegra: smmu: Fix u32 -> u64 for swgid

Fix u32 -> u64 for swgid.

bug 1286500

Change-Id: I2ef4bdab4ec80e1578dd0ee8f3208179d295fb79
Reported-by: Terje Bergstrom <tbergstrom@nvidia.com>
(cherry picked from commit eb64012d3a56e6499d5eb62e671a44641ab8987d)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234118
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoiommu/tegra: smmu: Add support Multiple ASID
Hiroshi Doyu [Tue, 5 Mar 2013 11:11:09 +0000]
iommu/tegra: smmu: Add support Multiple ASID

"nvidia,memory-client" ID is used to find a map/asid. If those info
isn't provided, a platform can specify it in a fixup table later.

bug 1286500

Change-Id: Id6b2955013d33052e9071678b7c119adf35a019f
(cherry picked from commit 659e185e19482e781ae4be847aba12319a7da842)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234117
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoiommu/tegra: smmu: Remove SKIP_SWGRP_CHECK
Hiroshi Doyu [Mon, 4 Mar 2013 13:41:35 +0000]
iommu/tegra: smmu: Remove SKIP_SWGRP_CHECK

Remove obsolete workaround, SKIP_SWGRP_CHECK.

bug 1286500

Change-Id: I2986a33af1304973a2c30e57f7790dd70729f566
(cherry picked from commit 7de038bc039ba1106580fea174a4b74805fea412)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234116
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoiommu/tegra: smmu: Unified tegra-smmu with memory client IDs
Hiroshi Doyu [Mon, 4 Mar 2013 11:56:24 +0000]
iommu/tegra: smmu: Unified tegra-smmu with memory client IDs

With memory client ID in bitmap, this driver can be unified among
Tegra SoC after Tegra30. Presently a bitmap is set statically in the
driver but this could be removed once tegra-smmu is instanciated from
DT. This driver supports, T30, T114 and T148.

bug 1286500

Change-Id: I39776fa3e0a3705f62f283687d063054be8210d1
(cherry picked from commit 181667972935e412bb81d0c5782d58babf183743)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234115
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoARM: tegra: Create IOVA maps for ASID[0/1]
Hiroshi Doyu [Mon, 4 Mar 2013 19:38:21 +0000]
ARM: tegra: Create IOVA maps for ASID[0/1]

Create IOVA maps:
* ASID[0] for the system default
* ASID[1] for PPCS, which has SDMMC
* ASID[3][4][....], not created, open for drivers, first come, first
  served.

bug 1286500

Change-Id: I475455ee9cec3b382d96fe2e7af5a59ae4361cbf
(cherry picked from commit 4516ece11d26150267fea46800f71a087e16cdbc)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234114
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoiommu/tegra: smmu: BIND_DRIVER attaches device to IOMMU
Hiroshi Doyu [Wed, 6 Mar 2013 08:07:52 +0000]
iommu/tegra: smmu: BIND_DRIVER attaches device to IOMMU

BUS_NOTIFY_BIND_DRIVER needs to attach a devie to IOMMU when it's
removed at previous UNBOUND_DRIVER.

bug 1286500

Change-Id: Ide91e4ae0a54f835fc195854cd858fff7620418e
(cherry picked from commit df3f9065ae3dc3c0e736ca066c2402974328d89d)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234113
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoiommu/tegra: smmu: Add support 4MB SMMU page
Hiroshi Doyu [Wed, 27 Feb 2013 17:47:14 +0000]
iommu/tegra: smmu: Add support 4MB SMMU page

Add support 4MB SMMU page

bug 1286500

Change-Id: If3959f7607746c8b5413dd548123fc0bbc1586d5
(cherry picked from commit 8d90da217e1af11db21d930281ccdc3dc51a98de)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234112
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoiommu/tegra: smmu: Call arm_iommu_detach_device() at BUS_NOTIFY_DEL_DEVICE
Hiroshi Doyu [Thu, 24 Jan 2013 12:51:02 +0000]
iommu/tegra: smmu: Call arm_iommu_detach_device() at BUS_NOTIFY_DEL_DEVICE

Call arm_iommu_detach_device() at BUS_NOTIFY_DEL_DEVICE as the conter
part of BUS_NOTIFY_ADD_DEVICE case.

bug 1286500

Change-Id: I3f6acd5ab086dc5c2db51982c35a4f9bed77c703
(cherry picked from commit bf536573780477d6a6829630acd53b8154e01ad4)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234111
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoARM: tegra: bus_notifier registers platform IOMMU devices
Hiroshi Doyu [Tue, 27 Nov 2012 18:46:25 +0000]
ARM: tegra: bus_notifier registers platform IOMMU devices

Most of platform devices are IOMMU'able in Tegra30 SoC. Registering
all IOMMU'able devices manually isn't nice. This patch allows
platform bus_notifier to register IOMMU devices. Map info can be
passed from DT. Info format is:

  dma-window = <0 0x40000000>;

This is a fix for the following commit:

  commit 5688fbe0b3de2576e1f3f39e7477ebf9e5a9e49b
  platform: IOMMU'able platform_device w/ PLATFORM_ENABLE_IOMMU

bug 1286500

Change-Id: I80f2be03ff5c8a5b0a73254c0648084cfbcaf314
(cherry picked from commit 805b2bd223214015c1211998576bda8484d36b85)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234110
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoiommu/tegra: smmu: Disable smmu_client_disable_hwgrp()
Hiroshi Doyu [Mon, 4 Feb 2013 07:02:54 +0000]
iommu/tegra: smmu: Disable smmu_client_disable_hwgrp()

Disable this until swgroup is implemented correctly.

bug 1286500

Change-Id: Ic6bdd10bf165e713326a4bcde8d0746d41e5cb23
(cherry picked from commit 542b4ccbc6ca87cd1f4c13eb62c0516ccca433dc)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234109
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoiommu/tegra: smmu: Fix unnecessary NULLfication
Hiroshi Doyu [Mon, 4 Feb 2013 07:01:50 +0000]
iommu/tegra: smmu: Fix unnecessary NULLfication

The parent pointer will be released. No need to set NULL. Also this
order is wrong, setting NULL after free().

bug 1286500

Change-Id: I7ee292200417c04a0b5541b4bdcef7cdb184e9b0
(cherry picked from commit f3ff9d7828340e6f1ffe42f29a546711cb5342d0)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234108
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoiommu/tegra: Add missing spinlock initialization
Sami Liedes [Thu, 31 Jan 2013 17:09:16 +0000]
iommu/tegra: Add missing spinlock initialization

Fix tegra_smmu_probe() to initialize client_lock spinlocks in per
address space structures.

bug 1286500

Change-Id: Ie1641e39a5d0448e0ba03f2dfddffdaa4c7630b5
Signed-off-by: Sami Liedes <sliedes@nvidia.com>
(cherry picked from commit e104c2cbe106c699ff0bdd175940f1067a505f52)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/234107
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoARM: tegra: config: tegratab: enable POWER_SUPPLY_EXTCON config
Laxman Dewangan [Fri, 7 Jun 2013 14:31:16 +0000]
ARM: tegra: config: tegratab: enable POWER_SUPPLY_EXTCON config

The power supply notification is from the power_supply extcon driver
which receive the cable type information from USB driver.

Enabling the config to enable the driver.

bug 1304013

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

6 years agocm3218: fix incompatible pointer use in driver
Alexandre Courbot [Thu, 6 Jun 2013 03:43:58 +0000]
cm3218: fix incompatible pointer use in driver

queue_work() and cancel_delayed_work() were used with the wrong
argument, causing a soft hang when shutting the driver down.

Bug 1293990

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Change-Id: Ia7791e552e12b66f642c0179d5f5a8e7b5feff5a
Reviewed-on: http://git-master/r/236126
(cherry picked from commit eb6acd5f6a5f249e4d1d26e58fb9bb1786ddb3d8)
Reviewed-on: http://git-master/r/236558
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra114: Remove the wrong EMC_REFRESH write.
Bo Yan [Thu, 6 Jun 2013 23:31:46 +0000]
ARM: tegra114: Remove the wrong EMC_REFRESH write.

'1' is written into EMC_REFRESH in SDRAM self-refresh exit sequence.
This is wrong. Remove it.

bug 1270351

Change-Id: I0180f5d36e5605f3c91905cdde4149a9b01b453a
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/236471
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoarm: tegra: soctherm: fix throttle period timing
Xin Xie [Thu, 6 Jun 2013 21:42:54 +0000]
arm: tegra: soctherm: fix throttle period timing

Throttling period register setting for the 'brief' mode is based on the
soctherm clock running at 136MHz, we need adjust it if we running at
different soctherm frequency.

bug 1295404

Change-Id: Ic5a20d169cc8e0ba590268db38b18ec89c5d815f
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/236434
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Rick Song <ricks@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra: macallan: Set max clk to 156MHz for sd
R Raj Kumar [Thu, 6 Jun 2013 09:45:40 +0000]
ARM: tegra: macallan: Set max clk to 156MHz for sd

Setting max clock limit to 156MHz for sd.
Adding sd as vdd_core voltage regulator client.

Bug 1302349

Change-Id: I12774cc428d8c4ea8c4165ba18cd620d4c10f369
Signed-off-by: R Raj Kumar <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/236246
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agomisc: tegra-throughput: avoid flooding warning msg
David Pu [Thu, 6 Jun 2013 07:52:58 +0000]
misc: tegra-throughput: avoid flooding warning msg

timediff value will overflow easily after put dc off
for a while since the data type of long is just 4bytes
for 32bit cpu. after timediff overflowed, uart will spew
out warning messages for a long time before the timediff
becomes > 0.
fixed this issue by resetting the last_flip time as soon
as overflow is occurred.

Bug 1302148
Bug 1293211
Bug 1283757
Bug 1282005

Change-Id: I527ddc1ed7850be3938f2341d7d1623ea4f22e76
Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/236192
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra: dvfs: Change CL-DVFS tuning order
Alex Frid [Thu, 6 Jun 2013 05:41:39 +0000]
ARM: tegra: dvfs: Change CL-DVFS tuning order

Change CL-DVFS tuning order:
when tuning low: tune dfll low, then tune target module trimmers low
when tuning high: tune target module trimmers high, then tune dfll high
(was complementary order in both cases above).

Bug 1291764

Change-Id: Ic1a3850790089975e045cc9efcceb1dc06513b40
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/236146
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra11: dvfs: Update AP40 Vmin in DFLL mode
Alex Frid [Thu, 6 Jun 2013 04:25:24 +0000]
ARM: tegra11: dvfs: Update AP40 Vmin in DFLL mode

Minimum voltage in DFLL mode for AP40 sku is different (0.9V) from all
other skus (1.0V) that share the same cpu dvfs tables. Updated AP40
Vmin respectively.

Bug 1291764

Change-Id: I3f40f24bc68c376d18b09b2f55987c05164cc05d
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/236135
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agohwmon: ina230: change move average timing
Xin Xie [Wed, 5 Jun 2013 01:29:05 +0000]
hwmon: ina230: change move average timing

Original current measurement is using the 140uS ADC conversion
time which is too fast and we might have many false alerts.

Change it to 2.35mS (588uS * 4).

bug 1298931

Change-Id: I81c1c4ff6aa8025ee1de5d93e85aa21f028b3a94
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/235683
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agohwmon: ina230: fix current and power 1st read
Xin Xie [Wed, 5 Jun 2013 00:42:40 +0000]
hwmon: ina230: fix current and power 1st read

Both current and power reading requires calibration register is
programmed correctly before the conversion starts, otherwise 1st
current or power reading will show 0.

bug 1298931

Change-Id: I74a0ac80b4e741fce2d1116b56b32aea49187c11
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/235682
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoRevert "hdmi: don't call tegra_dc_hpd in spinlock"
Marvin Zhang [Tue, 4 Jun 2013 23:56:25 +0000]
Revert "hdmi: don't call tegra_dc_hpd in spinlock"

Bug 1298680

This reverts commit 946e53410468dafd92b6ccb313dba1bb1b72d04d.

Change-Id: Iccea1de23790c6cb4b53022bc7f657b8b600e64c
Signed-off-by: Marvin Zhang <mzhang@nvidia.com>
Reviewed-on: http://git-master/r/235653
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agoarm: tegra: pluto: fix OC protection failure case
Xin Xie [Wed, 29 May 2013 23:31:04 +0000]
arm: tegra: pluto: fix OC protection failure case

We observed system shutdown during the battery high current cases.

We are using the max77665 to provide the over-current signal to initiate
the current throttling and OC protection:
 * MAX77665 will assert the INTB output if detect OC condition after
   (max) 3.3mS debounce time,
 * After INTB line asserted MAX77665 can shut down the battery power if
   the OC condition is not removed within (min) 6mS,
 * After INTB line asserted, MAX77665 de-asserts the INTB line if AP ack
   the IRQ by reading IRQ src register,
 * AP hardware starts throttling the CPU/GPU clock if the INTB line is
   asserted.

By above design, AP hardware will stop throttling the clock when IRQ is
handled, instead of when OC condition is removed. So the throttling
period can be around 1mS in rare cases, and MAX77665 is going to shut
down battery power supply because MAX77665 internal timer requires OC
condition removed for 2mS+ time before assert the INTB again.

Fix above by force the throttling to 3mS as suggested by the Maxim.

bug 1295404

Change-Id: Icce22282e07dd465b4b9e4ae19778df4eb5405f8
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/233900
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agosoc: tegra: rt5640: add speaker AMP EDP support
Dara Ramesh [Tue, 22 Jan 2013 14:44:33 +0000]
soc: tegra: rt5640: add speaker AMP EDP support

a) registered speaker AMP EDP client
b) implemented throttle callback function for EDP

Bug 1160686

Change-Id: I44d006613e9972709a3c0d8ffb7858c09271c1b2
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/193066
Reviewed-by: Hayden Du <haydend@nvidia.com>
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Vijay Mali <vmali@nvidia.com>
Reviewed-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

6 years agoMerge remote-tracking branch 'origin/dev/AOHDR_Merge/Set2' into promotion_build
Harshada kale [Fri, 7 Jun 2013 15:43:43 +0000]
Merge remote-tracking branch 'origin/dev/AOHDR_Merge/Set2' into promotion_build