7 years agovideo: tegra: dc: preserve gamma/csc over suspend
David Schalig [Fri, 14 Oct 2011 03:50:47 +0000]
video: tegra: dc: preserve gamma/csc over suspend

Preserve YUV-to-RGB and gamma correction tables over suspend-resume

Bug 868060

Change-Id: I5ea2224f7ab0dfbe24d741b89d727034be3ebf68
Reviewed-on: http://git-master/r/58016
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R84115584b766900004b5c6cdc3cc8d693fb0db5a

7 years agovideo: tegra: set fb line_length to physical pitch
Joseph Lehrer [Mon, 3 Oct 2011 23:25:53 +0000]
video: tegra: set fb line_length to physical pitch

bug 867222

Change-Id: I782620ac5f9cc633b52bc525fecbdf56cef23002
Reviewed-on: http://git-master/r/54351
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R4df4ce6e36fa490ffad3233c1a7b09330c2a6f74

7 years agoARM: tegra: add missing 'static'
Colin Patrick McCabe [Fri, 21 Oct 2011 22:50:07 +0000]
ARM: tegra: add missing 'static'

Change-Id: I0365550357de813b679f4ca8fdbff3909d151575
Signed-off-by: Colin Patrick McCabe <cmccabe@nvidia.com>
Reviewed-on: http://git-master/r/59756
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R4ab172dc3d4f284e4c1bc7f5f0f903c4f110d1a6

7 years agoarm: tegra: enterprise: remove DIDIM serial prints
Tom Cherry [Wed, 5 Oct 2011 00:50:15 +0000]
arm: tegra: enterprise: remove DIDIM serial prints

Reviewed-on: http://git-master/r/57991
(cherry picked from commit 0a1d4120620fa75ba69ed76478baa08ef37356b1)

Change-Id: I6e5bea4e16dd1e93d2a6c12929feab38fedd60eb
Reviewed-on: http://git-master/r/59692
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rc1105fe074ef5542dac7169c8c89c4ea685a012c

7 years agoasoc: max98088: report jack after enabling jack detection
Nikesh Oswal [Wed, 19 Oct 2011 13:02:58 +0000]
asoc: max98088: report jack after enabling jack detection

Bug: 890385
Bug: 862023

Change-Id: Icec0be967ead5733aa600707c3ba4af99375e4ae
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/59102
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rc16aeac4ea1ba15e214fda504ef17aaef2c83ed5

7 years agoarm: tegra: Add tegra_dc support for Harmony
Robert Morell [Sat, 15 Oct 2011 01:37:10 +0000]
arm: tegra: Add tegra_dc support for Harmony

This adds support for the Tegra dc driver for Harmony's internal
panel.

Signed-off-by: Robert Morell <rmorell@nvidia.com>

Change-Id: I9498b64dc4c5b05a39e1b8a2e7f1d584415038c2
Reviewed-on: http://git-master/r/58254
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rd195557fffa7093d0edf6d3f41ae6305491eef2a

7 years agoarm: tegra: Add Harmony nvmap, host1x devices
Robert Morell [Sat, 15 Oct 2011 01:08:04 +0000]
arm: tegra: Add Harmony nvmap, host1x devices

This is necessary to use the Tegra accelerated device drivers.

Signed-off-by: Robert Morell <rmorell@nvidia.com>

Change-Id: I6c6f10f35654793b4fb713f4ac854f72640a5fef
Reviewed-on: http://git-master/r/58253
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rab19f5b8a98914619ff3d43f5a7eeeed0114f86a

7 years agoARM: tegra: Kconfig: Remove "default=y" for Tegra GRHOST
Mursalin Akon [Thu, 13 Oct 2011 21:53:05 +0000]
ARM: tegra: Kconfig: Remove "default=y" for Tegra GRHOST

By default Tegra graphics host driver is turned on. This
CL removes the default 'yes' for this driver. However,
the option is turned on in defconfig files, for an easier
out of box experience.

Bug 888777

Change-Id: I1ec969f9b0097dc9beccb00ed8cee0ebc7608c41
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/57959
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R5a0866bec84d1b17e8574026f35aee35439fbe50

7 years agoARM: tegra[3]: config: Turn on GRHOST
Mursalin Akon [Thu, 13 Oct 2011 21:51:12 +0000]
ARM: tegra[3]: config: Turn on GRHOST

By default Tegra graphics host driver is turned on. This
CL removes the default 'yes' for this driver. However,
the option is turned on in defconfig files, for an easier
out of box experience.

Bug 888777

Change-Id: I600f3a3fdca1bec12585d6c58ced0efb33e3f8ff
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/57958
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rdb996fd0e4ab230d9fb1da90992e68b91f245b16

7 years agoARM: tegra[3]: config: turn on misc USB options
Mursalin Akon [Sat, 8 Oct 2011 00:38:57 +0000]
ARM: tegra[3]: config: turn on misc USB options

USB suspend, net and devices

Bug 876711, 876553

Change-Id: I06a5cdb9f0f28df3c583848d68293f7fb90ff42a
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/56828
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Re3e73b419d345cb59e2503baef105dafcf875471

7 years agoHACK: Revert "USB: extend ehci-fsl and fsl_udc_core driver for OTG operation"
Dan Willemsen [Tue, 25 Oct 2011 20:28:46 +0000]
HACK: Revert "USB: extend ehci-fsl and fsl_udc_core driver for OTG operation"

This reverts commit 83722bc9430424de1614ff31696f73a40b3d81a9.

Our OTG support doesn't play nice with the upstreamed OTG support, so
for now, revert the upstream commit.

Conflicts:

drivers/usb/gadget/fsl_udc_core.c

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

Rebase-Id: R5a4b466ee983307ee277a591e664c854b0ddd970

7 years agoasoc: tegra: Remove HDMI-SPDIF path support
Sumit Bhattacharya [Fri, 21 Oct 2011 16:38:46 +0000]
asoc: tegra: Remove HDMI-SPDIF path support

HDMI-SPDIF path is not supported on Tegra30. Remove WAR added to
make HDMI-SPDIF path partially functional.
Also remove hda2codec_2x clock access from SPDIF driver since this
is only required for HDMI-SPDIF path.

Bug 872652

Change-Id: Ibc90fa50813bd36808217b4935e58507a3f98a99
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/59640
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>

Rebase-Id: R1860c760d66a8a2d2d8294e7ccd23d9c5c3d5837

7 years agoRevert "video: tegra: Add HDA clock management"
Sumit Bhattacharya [Fri, 21 Oct 2011 14:37:34 +0000]
Revert "video: tegra: Add HDA clock management"

This reverts commit ec6673c1d2021df64e3920cc9c6a06e52e9ffbcb.

Revert this commit since HDA clock names will be changed in order
to add support for HDA driver.

Bug 872652

Change-Id: Ia4899672899189f199fae63a454b178dc29af812
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/59617
Reviewed-by: Scott Peterson <speterson@nvidia.com>

Rebase-Id: R81e80436981bd78f47b20f2a24efd5d9d2a01cca

7 years agoarm: tegra: use non-blocking api to cancel work from mc error isr
Nitin Kumbhar [Fri, 21 Oct 2011 12:50:13 +0000]
arm: tegra: use non-blocking api to cancel work from mc error isr

An api (del_timer_sync), which can sleep, should not be used in
hardirq context. This gives warnings for potential deadlock. Use
non-sleeping api to cancel the work instead. In this case, if the
work is already running, it would unthrottle mc error prints.

BUG 889717

Change-Id: I4c0205766d82a45a04d1c0125bb8ed5927757456
Reviewed-on: http://git-master/r/59604
Tested-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Prajakta Gudadhe <pgudadhe@nvidia.com>

Rebase-Id: R713c536217d0169f395ffb199ec2a97b274b9914

7 years agokernel: Add ioctl constants for i2s loopback tests
Vijay Mali [Fri, 21 Oct 2011 07:27:49 +0000]
kernel: Add ioctl constants for i2s loopback tests

Add required ioctl constants for i2s loopback tests.
Audio test framework is using these ioctls for setting
pcm format paramters for I2S loopback test.

Change-Id: Id192668c5e9937e3cb42f8712a982f214e999289
Reviewed-on: http://git-master/r/59524
Reviewed-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-by: Vijay Mali <vmali@nvidia.com>
Tested-by: Vijay Mali <vmali@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

Rebase-Id: R5cb6bfb63d281559d992818c2a2a95cb00fba78d

7 years agomedia: camera: tegra: Add 120fps mode for AR0832
Yuvraj Pasi [Wed, 12 Oct 2011 13:58:38 +0000]
media: camera: tegra: Add 120fps mode for AR0832

Add a new mode, resolution 800x600. This mode supports
120fps in Aptina sensor 120fps.

Bug: 888005
Reviewed-on: http://git-master/r/57565
(cherry picked from commit 8959b7e5932809c50562b4edbacb6ef52d7f608f)

Change-Id: I087ec7476acc9e3821f46ec034a7ed5115daf2e8
Reviewed-on: http://git-master/r/59494
Tested-by: Yuvraj Pasi <ypasi@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Ra5d41dc26ccf39f22be18599bb5b8f83fd3936eb

7 years agonvhost: Add host module clock functionality for T20/T30
Vandana Salve [Tue, 18 Oct 2011 13:04:02 +0000]
nvhost: Add host module clock functionality for T20/T30

This includes Get/Set clock rate functionality.
Removed the abstraction and added functionality for
T20 and T30 into nvhost_acm file

Bug 887263

Change-Id: I2e8ad3d96fcc3711f99f9aa42150e7d4588910fa
Reviewed-on: http://git-master/r/58654
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Vandana Salve <vsalve@nvidia.com>
Tested-by: Vandana Salve <vsalve@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R5aebeda335d753d23b0e8704dea949ccf0f7303e

7 years agotegra: p852: Enable p852 support in kernel
Manoj Chourasia [Sun, 9 Oct 2011 15:24:28 +0000]
tegra: p852: Enable p852 support in kernel

This patch enable support of p852 in kernel

bug 872849

Reviewed-on: http://git-master/r/46387
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Manoj Chourasia <mchourasia@nvidia.com>
(cherry picked from commit 10f747a674951ef977f4cc66767ade1b6caa6565)

Change-Id: Ideb3c9d09225a6266bfcfa4455613ada72acd789
Reviewed-on: http://git-master/r/56898
Tested-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R90b51f3cbda86d52e6b460e21121d85412d4d626

7 years agotegra: p852: Add initial support of p852 platform
Manoj Chourasia [Mon, 19 Sep 2011 10:55:57 +0000]
tegra: p852: Add initial support of p852 platform

This patch adds initial support for p852 platform

bug 872849

Signed-off-by: Manoj Chourasia<mchourasia@nvidia.com>

Reviewed-on: http://git-master/r/46397
Tested-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
(cherry picked from commit 7c3e671d05fcabdac4e73adf8f3f297924d44498)

Change-Id: I098489f5ef672ab1462edc0a188dc107f1291435
Reviewed-on: http://git-master/r/56897
Tested-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R7bfc6620b98515249ead457cf9dde9d2f267de64

7 years agosound: tegra: fix bug in error handling
Colin Patrick McCabe [Wed, 19 Oct 2011 19:10:29 +0000]
sound: tegra: fix bug in error handling

Fix invalid printf arguments in error handler.

Change-Id: I4d86ba0b00eb4ab7d04660c5c9cd69082ea7799f
Signed-off-by: Colin Patrick McCabe <cmccabe@nvidia.com>
Reviewed-on: http://git-master/r/59171
Reviewed-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R3786dda027d44f423ac2417c9f560761bd10ef10

7 years agocrypto: fix invalid return
Colin Patrick McCabe [Wed, 19 Oct 2011 19:07:27 +0000]
crypto: fix invalid return

Change-Id: I9d03b3a6876b858983739c5e8d8a166a08fb2d78
Signed-off-by: Colin Patrick McCabe <cmccabe@nvidia.com>
Reviewed-on: http://git-master/r/59170
Reviewed-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R73da0f98f4e0d9912ff37cd9faebf06ef11e7bef

7 years agoARM: tegra: fix invalid return
Colin Patrick McCabe [Wed, 19 Oct 2011 19:06:18 +0000]
ARM: tegra: fix invalid return

Change-Id: Iaa3debdcbf16ff3243c635d2fd23a3e17bc35103
Signed-off-by: Colin Patrick McCabe <cmccabe@nvidia.com>
Reviewed-on: http://git-master/r/59169
Reviewed-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R191e18882409373cf238f6588c91cbfc48daebb5

7 years agoARM: tegra: fix edp_limit_debugfs_show
Colin Patrick McCabe [Wed, 19 Oct 2011 19:04:04 +0000]
ARM: tegra: fix edp_limit_debugfs_show

Change-Id: I04fd814d316adcc65ad7a37d2053157e06982ca9
Signed-off-by: Colin Patrick McCabe <cmccabe@nvidia.com>
Reviewed-on: http://git-master/r/59168
Reviewed-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R21468d84c03400faf1b3c5cb5eb5f0eb48ff0577

7 years agovideo: tegra: Phase in DIDIM
Matt Wagner [Thu, 1 Sep 2011 22:09:40 +0000]
video: tegra: Phase in DIDIM

Settings in DIDIM driver are now phased in over a defined
number of steps in order to minimize the perception of changes
to the settings during runtime

Bug 840155

Reviewed-on: http://git-master/r/52495
(cherry picked from commit a33d4f5c677b657751fd017f8419df88016122a5)

Change-Id: I0af84609d0f2ebadf23463473ebf0211dfa594a3
Reviewed-on: http://git-master/r/55789
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R759433a3cfd9b4c07216da4b2c9de6e515a8530d

7 years agoarm: tegra: cardhu: update ina monitor for VDD_CORE_IN
Nitin Kumbhar [Tue, 18 Oct 2011 10:38:39 +0000]
arm: tegra: cardhu: update ina monitor for VDD_CORE_IN

for fab A04 of cardhu, VDD_CORE_IN is monitored with ina monitor
present at i2c addr 0x4A. Update platform data to accommodate
this change.

Also, remove hard-coded indexes used in platform data and i2c
board info.

BUG 883788

Reviewed-on: http://git-master/r/58678
(cherry picked from commit 8e1628bc03bd4a1fde574187a017f67b6358c180)

Reviewed-on: http://git-master/r/59309
(cherry picked from commit ab3a20d05dd46483604f61fabfe865476bc448ac)

Change-Id: I48cc76fff912e702e4862014adf19806c58da915
Reviewed-on: http://git-master/r/59316
Tested-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

Rebase-Id: R9642d23012d370a536ab72e050de059112d1e7bd

7 years agoarm: tegra: Handler for parsing kernel command max_cpu_curr
Laxman Dewangan [Sat, 15 Oct 2011 10:14:04 +0000]
arm: tegra: Handler for parsing kernel command max_cpu_curr

Adding handler for parsing the kernel command max_cpu_curr and api
for retruning the max_cpu_current.

bug 888679

Reviewed-on: http://git-master/r/58626
(cherry picked from commit 4d2da03c37a1a1401b4ef87b888f487a99b175b7)

Change-Id: Ic5a53fe4e41317f48b986867081f3e7d96103f0d
Reviewed-on: http://git-master/r/59290
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: Ra426e2b10268bc7eadbe394c107528378f043e15

7 years agoregulator: tps80031: Proper configuration for PREQ1 control
Laxman Dewangan [Thu, 13 Oct 2011 07:04:58 +0000]
regulator: tps80031: Proper configuration for PREQ1 control

When any rail is configured such that it can be enable by PREQ1
then only control the sleep mode of rails through TRANS register,
not the STATE register.
PREQ1 control the rail to switch from active to sleep and
sleep to active mode.

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

Change-Id: I9763a4d283f0171eb9b7755d44ca3b9059755033
Reviewed-on: http://git-master/r/59289
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R25d191b2429a5f60e77d70aed1eefecaa3b75ba3

7 years agomfd: richo583: Configure pins in gpio mode if used as gpio
Laxman Dewangan [Wed, 12 Oct 2011 15:49:51 +0000]
mfd: richo583: Configure pins in gpio mode if used as gpio

Configuring the pins in gpio mode when it is used as gpio.
Configuring the correct value of bits when setting the output value.

bug 822562

Reviewed-on: http://git-master/r/58276
(cherry picked from commit b854f309151342689b82bd653738eb94c87db4a4)

Change-Id: I7474d1771d83650db9be71db1f578fd0a50ad19d
Reviewed-on: http://git-master/r/59288
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: Rf0619d6a3d24059dab15c39c5800a5fd7ee6779b

7 years agoarm: tegra: cardhu: Support Fab A05
Laxman Dewangan [Tue, 27 Sep 2011 09:50:07 +0000]
arm: tegra: cardhu: Support Fab A05

Support for E1291-A05 board.

bug 881745

Reviewed-on: http://git-master/r/58053
(cherry picked from commit be104b795f0c46b8bbe1e45ca618fed74d81a7c6)

Change-Id: I0137f9e13ee9c01bd60125589b16023c899389c9
Reviewed-on: http://git-master/r/59287
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: R6450506e02427f4bae13857a52ed43dd530e720a

7 years agoarm: tegra: defconfig: support for ADT7461
Alexandre Courbot [Thu, 20 Oct 2011 05:53:51 +0000]
arm: tegra: defconfig: support for ADT7461

Enable support for ADT7461 thermo sensor, used in Whistler boards.

Bug 884322

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Change-Id: I3b69ea8bb2328419a7246f7978ac5b6154bde340
Reviewed-on: http://git-master/r/59264
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>

Rebase-Id: R071328b072562ace714e9092effda32585e478ad

7 years agomisc: nct1008: extended range enable sequence change
Bitan Biswas [Wed, 12 Oct 2011 12:41:06 +0000]
misc: nct1008: extended range enable sequence change

Extended range mode enable sequence for nct1008 updated as per
recommended steps

bug 869823

Reviewed-on: http://git-master/r/57552
(cherry picked from commit 75c6f5173cd4cfa3b0cf114cbbbf6ac1e355a09b)

Reviewed-on: http://git-master/r/58328
(cherry picked from commit 9f2c9004b4f30f9297ef3a7aa8def8a8000934b7)

Change-Id: Ic339d322450187f0ad417030d5da717fa5020592
Reviewed-on: http://git-master/r/59150
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Re46ba9dba83b3e12d6341f9afc913514a9a1031a

7 years agomisc: nct1008: debugfs support for reg dump
Bitan Biswas [Mon, 12 Sep 2011 19:56:09 +0000]
misc: nct1008: debugfs support for reg dump

Debugfs support added in nct1008 driver to enable register dump.

Reviewed-on: http://git-master/r/51856
(cherry picked from commit 4e7b8c8e1a7a43e4d745289fc9f20a11556eca96)

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

Change-Id: Icf9607b12462146e3e046cfc10c3e89424142e5f
Reviewed-on: http://git-master/r/58598
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R95221409d54694937ef226f01572b58c009a8361

7 years agousbnet: Fix data transfer issue for website browsing
pyu [Tue, 13 Sep 2011 07:41:19 +0000]
usbnet: Fix data transfer issue for website browsing

The parameter of NET_IP_ETHERTYPE needs to be configured correctly
for ethernet header and then can transfer data properly.

BUG 870395

Reviewed-on: http://git-master/r/51986
(cherry picked from commit 89bf27954e890e11a11ce45b12fcfce68ad0a45c)

Change-Id: I95c81b73072fe0c64b7cc7fcee0a2a6857969500
Reviewed-on: http://git-master/r/59103
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R512dbe7fc37c82dc158ca933ea78fd04b3366821

7 years agosdhci: Enable SDIO IRQ in sdhci_resume_host
Pavan Kunapuli [Thu, 13 Oct 2011 14:21:24 +0000]
sdhci: Enable SDIO IRQ in sdhci_resume_host

When MMC_PM_KEEP_POWER and MMC_CAP_SDIO_IRQ are
set, enable sdio irq in sdhci_resume_host as it
is overwritten in sdhci_init.

Bug 883715

Change-Id: Icbd433748f03383b8ea780ad953a092f984f03a0
Reviewed-on: http://git-master/r/57872
Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R51bbf535ab8e66f5570c4c23274ed3365368bd35

7 years agosdhci: tegra: Add context restore support for SDIO
Pavan Kunapuli [Thu, 13 Oct 2011 14:17:14 +0000]
sdhci: tegra: Add context restore support for SDIO

Set MMC_CAP_SDIO_IRQ to use interrupts rather than
polling for SDIO function handling.
Set MMC_PM_KEEP_POWER for embedded SDIO devices.
Add controller reset and power on for devices with
MMC_PM_KEEP_POWER flag set.

Bug 883715

Change-Id: I35c98ba879b564752662f60365ee8a5e72d3a587
Reviewed-on: http://git-master/r/57869
Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rc95d4035ea4569cf1742d5785efff7df7ffa2ade

7 years agoregulator: gpio_switch: Fix set_voltage to return selector value
Antti P Miettinen [Fri, 7 Oct 2011 12:18:26 +0000]
regulator: gpio_switch: Fix set_voltage to return selector value

Current regulator_ops interface expects selector value to be returned.
Not doing so results in uninitialized variables used.

Bug 886170

Change-Id: I5b7ca77badbd517f161f8c5c7a92fdf18e1ef7bb
Reviewed-on: http://git-master/r/56661
Reviewed-by: Antti Miettinen <amiettinen@nvidia.com>
Tested-by: Antti Miettinen <amiettinen@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R2b693750ff84e9f8dadd88a835bc06b66d0a3129

7 years agoARM: tegra2: clock: Update bus operations
Preetham Chandru [Thu, 8 Sep 2011 15:13:56 +0000]
ARM: tegra2: clock: Update bus operations

Relaxed bus set rate success condition: instead of checking for the
exact rate check for the closest rate. This makes bus clocks configurable
from sources/PLLs with variable frequencies.

Bug: 869054
Signed-off-by: Preetham Chandru <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/50747
(cherry picked from commit 61313ed2494424513cb6e42c22cb7ca31f21473e)

Change-Id: Id4c9ff63da4cefb1d13888a627f0757a3b941994
Reviewed-on: http://git-master/r/56659
Tested-by: Preetham Chandru <pchandru@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Mursalin Akon <makon@nvidia.com>
Reviewed-by: Allen Martin <amartin@nvidia.com>

Rebase-Id: R57ac9f6cebe9df5e02dadac345653e2f3cf23e83

7 years agoregulator: tps80031: Fix set_voltage to return selector value
Antti P Miettinen [Fri, 7 Oct 2011 12:03:52 +0000]
regulator: tps80031: Fix set_voltage to return selector value

Current regulator_ops interface expects selector value to be returned.
Not doing so results in uninitialized variables used.

Bug 886170

Change-Id: I23e664790311e434303eb23fafd194502ae2909c
Reviewed-on: http://git-master/r/56654
Reviewed-by: Antti Miettinen <amiettinen@nvidia.com>
Tested-by: Antti Miettinen <amiettinen@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R72759360aeca354ef82d0ec7431e8c9f2fcafdfb

7 years agoregulator: tps6236x: Fix set_voltage to return selector value
Antti P Miettinen [Fri, 7 Oct 2011 11:14:54 +0000]
regulator: tps6236x: Fix set_voltage to return selector value

Current regulator_ops interface expects selector value to be returned.
Not doing so results in uninitialized variables used.

Bug 886170

Change-Id: I206117fbb1524e5c272e0c94bdaef3b605978717
Reviewed-on: http://git-master/r/56652
Reviewed-by: Antti Miettinen <amiettinen@nvidia.com>
Tested-by: Antti Miettinen <amiettinen@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R6015e7534c82212f3b28f7fe450e635f0274f80d

7 years agoregulator: tps6591x: Fix set_voltage to return selector value
Antti P Miettinen [Tue, 18 Oct 2011 15:24:25 +0000]
regulator: tps6591x: Fix set_voltage to return selector value

Current regulator_ops interface expects selector value to be returned.
Not doing so results in uninitialized variables used.

Bug 886170

Change-Id: I004ee168eb0f003eb71c36d5fcd6c8106a1fc054
Reviewed-on: http://git-master/r/56648
Reviewed-by: Antti Miettinen <amiettinen@nvidia.com>
Tested-by: Antti Miettinen <amiettinen@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R5fa05ad3dc7cda25b634efbf956ae99280bab40d

7 years agoarm: tegra: Make kernel buildable without nvhost
Terje Bergstrom [Thu, 6 Oct 2011 07:55:04 +0000]
arm: tegra: Make kernel buildable without nvhost

Cuts dependencies to nvhost by adding a Kconfig dependency from DC to
GRHOST and from HD Audio to DC. Configure out calls to nvhost in board
panel files if GRHOST is not present.

Bug 870898

Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>

Change-Id: If7830528e321e951bcadc2a10515e6cab58a6cdf
Reviewed-on: http://git-master/r/56370
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Antti Miettinen <amiettinen@nvidia.com>
Tested-by: Antti Miettinen <amiettinen@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Chris Dragan <kdragan@nvidia.com>

Rebase-Id: R16d9286d67235b0697c914476e7d6462eec7f3ac

7 years agompu3050: Motion Libraries: Eliminate long latencies during boot.
Robert Collins [Tue, 4 Oct 2011 21:04:28 +0000]
mpu3050: Motion Libraries: Eliminate long latencies during boot.

Bug 843573

Change-Id: Ib4422a7a836c14b0f84c0ae069faf6ba0664e784
Reviewed-on: http://git-master/r/56042
(cherry picked from commit cf9063c34b6fb4d50cb9c4cd57e579f3d993c228)
Reviewed-on: http://git-master/r/56043
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Tested-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R7e449d759d37b3873b468def5ffa6dbdbf1d024e

7 years agoarm: tegra: cardhu: OV14810 sensor support
kdivvela [Fri, 30 Sep 2011 13:04:14 +0000]
arm: tegra: cardhu: OV14810 sensor support

Support for OV14810 sensor on cardhu

Bug 839441

Reviewed-on: http://git-master/r/51985
(cherry picked from commit f1aea025b145a884ac4cc507c86c647ca65e348f)

Change-Id: I9db882aab6f8ae89c4d463b9d6825e7c7cfd2928
Reviewed-on: http://git-master/r/58660
Reviewed-by: Krupal Divvela <kdivvela@nvidia.com>
Tested-by: Krupal Divvela <kdivvela@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R8f2a1692deba888e2d0476ea2159a1e36722cc63

7 years agomedia: video: tegra: OV14810 sensor support
kdivvela [Tue, 13 Sep 2011 08:58:18 +0000]
media: video: tegra: OV14810 sensor support

Support for OV14810 (14MP) sensor

Bug 839441

Reviewed-on: http://git-master/r/47714
(cherry picked from commit 2a9be1047fe93fba46c32edf60054261cc90970b)

Change-Id: Ib5c55c56017f4f18312c5b4fdc2c884857003f5f
Reviewed-on: http://git-master/r/58657
Reviewed-by: Krupal Divvela <kdivvela@nvidia.com>
Tested-by: Krupal Divvela <kdivvela@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Ra0bf2a7d2fdfff8303dcdb84b8655afce11a4a12

7 years agousb: host: tegra: Fix for possible race condition in timer handler
vjagadish [Mon, 17 Oct 2011 08:44:58 +0000]
usb: host: tegra: Fix for possible race condition in timer handler

Acquire the spin lock before disabling the clock.

Bug 876433

Change-Id: Iddb39761cb85e5f4c45061f3b2753d7b0fa64944
Reviewed-on: http://git-master/r/58343
Reviewed-by: Venkata Jagadish <vjagadish@nvidia.com>
Tested-by: Venkata Jagadish <vjagadish@nvidia.com>
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

Rebase-Id: Rda16e8bd08be58b6a3304b8cc3a7520417b341d4

7 years agoasoc: max98088: fix cache restore operation
Nikesh Oswal [Mon, 17 Oct 2011 15:45:26 +0000]
asoc: max98088: fix cache restore operation

Bug: 862023

Change-Id: I17352ed290b3f1e319dc8efd112bb6dfddc51f52
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/58416
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

Rebase-Id: Re6ec1485173c3504a13d760a25d34ccd571489e5

7 years agoarm: tegra: cardhu: change i2c pll src to pll_p
Alok Chauhan [Wed, 12 Oct 2011 09:01:04 +0000]
arm: tegra: cardhu: change i2c pll src to pll_p

Change the pll source of i2c from CLK_M to PLL_P_OUT0.

Bug 856468

Change-Id: I0865d0679fcc7ae2b862b9f68900275ab05da5ec
Reviewed-on: http://git-master/r/57505
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R04fd8dd082ad497a7ca7673f593fb4e309b3a2da

7 years agoSdhci: Disable host clk after all io ops are done
Pavan Kunapuli [Tue, 20 Sep 2011 09:23:11 +0000]
Sdhci: Disable host clk after all io ops are done

Disable host clk after all io operations are done.

Bug 871369

Change-Id: I99d7f3a71920c2e6238ae8a3d192fd4f68148373
Reviewed-on: http://git-master/r/53417
Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R74b661881a06a407ef87327d4787f27e45f4ac39

7 years agomedia: video: tegra: update ov2710 1080p and 720p settings
Frank Chen [Tue, 27 Sep 2011 23:26:50 +0000]
media: video: tegra: update ov2710 1080p and 720p settings

Bug 833115

Change-Id: Iaca34334e0168ac04f795eccdfa76ba414848919
Reviewed-on: http://git-master/r/54825
(cherry picked from commit 00e146071f2c034f35f6ce564e08697b7ab2ed91)
Reviewed-on: http://git-master/r/57922
Reviewed-by: Yining Deng <ydeng@nvidia.com>
Tested-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Qi Wang <qiw@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Gerrit_Virtual_Submit
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: Re8d5f67f7f983ad93c20c5d04ed06227c385e9b8

7 years agosdhci: tegra: Switch OFF/ON power rails in suspend/resume
Pavan Kunapuli [Thu, 13 Oct 2011 14:48:54 +0000]
sdhci: tegra: Switch OFF/ON power rails in suspend/resume

Switching OFF the sd power rails in suspend and switching
them ON in resume.

Change-Id: I5145e211111b8144f14ee0338388eeacb34bb003
Reviewed-on: http://git-master/r/57877
Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: R527ae8de0561bfedd3afb2fce62ad4d2876575bc

7 years agocrypto: tegra-se: Adding runtime PM support
venu byravarasu [Thu, 13 Oct 2011 12:52:41 +0000]
crypto: tegra-se: Adding runtime PM support

bug 886813

Change-Id: Ia016c0f783b0396d8433b202ccef1659d10085f5
Reviewed-on: http://git-master/r/57850
Tested-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: R5a13865e200c1345bc30ab86b8d3286d47af5796

7 years agomisc: nct1008: driver clean up
Bitan Biswas [Fri, 7 Oct 2011 11:03:29 +0000]
misc: nct1008: driver clean up

nct1008 driver has been changed as follows:
 1. debugfs create file error check corrected.
 2. pr_err usage replaced with dev_err calls

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

Reviewed-on: http://git-master/r/57358
(cherry picked from commit eadf4dae6c4e2cd1e4daa618f69605683faaa540)

Change-Id: Ib2f914822691ac7d03bb1b2235544aff5e7abee3
Reviewed-on: http://git-master/r/57876
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: Rbab698ab6544b8e275c19e51049d9f7ec586e471

7 years agoARM: tegra: power: Force FW bit when SMP is enabled.
Alex Frid [Tue, 11 Oct 2011 03:32:49 +0000]
ARM: tegra: power: Force FW bit when SMP is enabled.

Set FW bit in CP15 auxiliary control register after LP=>G CPU mode
switch if SMP bit in the same register is set. On Tegra3 in LP mode
FW bit is always zero, even though SMP bit is retained. Hence, this
change recovers FW bit on return from LP to G-mode.

Change-Id: I9f0021ab90866cb8686d73eb6ad5bbedbb2ceb90
Reviewed-on: http://git-master/r/57203
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Antti Miettinen <amiettinen@nvidia.com>
Tested-by: Antti Miettinen <amiettinen@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R37dbe2079eafcfb47babaf41b53818a9130d2bbe

7 years agoARM: tegra: power: Do not switch Tegra3 to PLLP
Alex Frid [Sat, 1 Oct 2011 01:38:59 +0000]
ARM: tegra: power: Do not switch Tegra3 to PLLP

Do not switch Tegra3 to PLLP on sleep entry: no need - unlike Tegra2
PLLX on Tegra3 is not disabled when CPU is rail gated; also G/LP mode
switch clock configuration is set by mode switch prolog and should not
be overwritten at the last moment.

Change-Id: I9aa8463c6b1c04c0a70e70c1e2cd4113a679e100
Reviewed-on: http://git-master/r/57202
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R9a8d78a363c261d45e48832fcbed7fa2854f7da8

7 years agoarm: tegra: defconfig: Enable rtc
Preetham Chandru [Wed, 12 Oct 2011 14:43:22 +0000]
arm: tegra: defconfig: Enable rtc

Enabled rtc support for tegra2 and tegra3

Bug: 879944
Change-Id: I7ad6d7bc15ab9c3afe5e106a29a5b1fdbc4c4635
Signed-off-by: Preetham Chandru <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/56650
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R8dde247c270e9723ddf16fa12889dec764c75e9f

7 years agoarm: dma: Drop GFP_COMP for DMA memory allocations
Sumit Bhattacharya [Thu, 13 Oct 2011 11:50:47 +0000]
arm: dma:  Drop GFP_COMP for DMA memory allocations

dma_alloc_coherent wants to split pages after allocation in order to
reduce the memory footprint. This does not work well with GFP_COMP
pages, so drop this flag before allocation.

This patch is ported from arch/avr32
(commit 3611553ef985ef7c5863c8a94641738addd04cff).

Change-Id: I455cfdc7a2180b8d9d193da5fc8aaf70f8b94ee2
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/57854
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rff955dbdf67e8222f9640910124c5ed2eb600f5a

7 years agovideo: tegra: Add HDA clock management
Sumit Bhattacharya [Thu, 13 Oct 2011 10:42:38 +0000]
video: tegra: Add HDA clock management

Add code to manage HDA related clocks from HDMI driver. When no HDMI
device is connected to device HDA clocks are disabled to save power.
Whenever HDMI hot plug in happend HDMI driver needs to enable these
clocks before setting HDA presense bit so that HDA controller recieves
the interrupt.

Bug 862023

Change-Id: I975daa1621098eea2175244ce5774312bc396649
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/57846
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R35c55b5c492c15bb79c1b17e29fd6293f1764d3f

7 years agoarm: tegra: cardhu: Initialize gpio pins mode
Laxman Dewangan [Tue, 4 Oct 2011 12:58:57 +0000]
arm: tegra: cardhu: Initialize gpio pins mode

Initializing the pins which is used in gpio to their inital state.

bug 876305

Reviewed-on: http://git-master/r/57516
(cherry picked from commit 3f33cb777295669e71e291bb05651d3c6c4b37d5)

Change-Id: Ie05862e5184bb95c85cf7aa96ce2eca497c01c93
Reviewed-on: http://git-master/r/57817
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rfb5311f9499f9e7c191cdd4203c328d3b8b2c333

7 years agopower: tps80031-charger:Mechanism for getting charging status
Laxman Dewangan [Fri, 23 Sep 2011 12:38:54 +0000]
power: tps80031-charger:Mechanism for getting charging status

Adding api which provides the mechanism to getting charging status.

bug 872697

Reviewed-on: http://git-master/r/56625
(cherry picked from commit 4c271cf84923cd5ae9225f41a1a665b116cb974a)
Change-Id: Ibd88cbb568ac65f992a8142934017ed468268d72
Reviewed-on: http://git-master/r/57808
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: R45759b0f319acd29663aa1c23658f094caa6a06f

7 years agoarm: tegra: cardhu: Support for E1257
Laxman Dewangan [Fri, 9 Sep 2011 05:38:01 +0000]
arm: tegra: cardhu: Support for E1257

Adding support for E1257 platform.

bug 864294

Reviewed-on: http://git-master/r/50662
(cherry picked from commit 8217615021a6ffeb992327f6b010ea9deebc34e7)

Change-Id: I3429da1bca38e1ddc5b3c2156a0db6b23aeb5555
Reviewed-on: http://git-master/r/57806
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R7fadbdc30bdca30e41e0b7fdb88628dbc8c32e82

7 years agoarm: tegra: cardhu: Change for w_disable pin on E1198-A02
Laxman Dewangan [Wed, 24 Aug 2011 06:05:17 +0000]
arm: tegra: cardhu: Change for w_disable pin on E1198-A02

The w_disable pin is connected to different gpio in
E1198-A02 compare to E1198-A01. Making related changes
to support E1198-A02.

bug 864282

Reviewed-on: http://git-master/r/48877
(cherry picked from commit 009e0b9ccf776e658c27df59716cc1cce075ad31)
Change-Id: I85b7f0b10dd3549f07c48e71ffca1a304afc753d
Reviewed-on: http://git-master/r/57790
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rbf1f0f4775d536ba198f3c5a3ff3088c75d988fb

7 years agoarm: tegra: Avoid negative number parsing for debug port
Laxman Dewangan [Wed, 28 Sep 2011 09:12:49 +0000]
arm: tegra: Avoid negative number parsing for debug port

Avoiding negative number parsing for debug port id.

bug 854995

Reviewed-on: http://git-master/r/57328
(cherry picked from commit 81ce6594db0a2b9131e3a1317ef1f10e8310aad5)
Change-Id: I38e9e545c06a61b79d292c86dcbf8c595d2eddca
Reviewed-on: http://git-master/r/57787
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R2fe0b743db9f2b87f0a0715aeda12e7c00b041a7

7 years agoarm: tegra: Support for kernel command audio_codec
Laxman Dewangan [Sun, 18 Sep 2011 11:19:10 +0000]
arm: tegra: Support for kernel command audio_codec

Adding the handler to parse the kernel command "audio_codec".

bug 876544

Reviewed-on: http://git-master/r/56623
(cherry picked from commit b82c518354864c7dba03beea3c576edfab428efd)

Change-Id: Icb42164ea1276f4f5af941b8ba2f80076759af8b
Reviewed-on: http://git-master/r/57779
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: Rf3a0eed42103ef830c9697da42eb685fde6f6fe9

7 years agovideo: tegra: dc: ioctl for setting gamma lut
David Schalig [Thu, 13 Oct 2011 03:50:14 +0000]
video: tegra: dc: ioctl for setting gamma lut

- enable gamma look-up hardware only when needed to save power
- add flags field to ioctl TEGRA_DC_EXT_SET_LUT for forward compatibility

Bug 868060

Change-Id: I690f8b8856e0b1acd6215907ca8bd78ecaf30b17
Reviewed-on: http://git-master/r/57736
Reviewed-by: David Schalig <dschalig@nvidia.com>
Tested-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Robert Morell <rmorell@nvidia.com>

Rebase-Id: Rf6081a9372ba7d6e53a66b9b58a50a62ad409d9a

7 years agovideo: tegra: host: Check for allocation failures
Terje Bergstrom [Thu, 22 Sep 2011 12:37:17 +0000]
video: tegra: host: Check for allocation failures

Adds checks for memory allocation failures, and proper propagation
of error conditions. Adds clearing of pointers after free or unpin
has been called to catch use after free.

Bug 877551

Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/54027
Reviewed-by: Antti Miettinen <amiettinen@nvidia.com>
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Gerrit_Virtual_Submit
(cherry picked from commit bfbf2766d11a5f85781532ddce3a87b7ae762ba3)
Change-Id: I04171ee5db6a42bb1689221d4f80d5f3d35e7399
Reviewed-on: http://git-master/r/57462

Rebase-Id: Rc9f43312c8b818869d746f4b73700d8b56e4569d

7 years agoi2c: tegra: slave: Fix i2c transmit/receive issues
Chaitanya Bandi [Thu, 13 Oct 2011 13:41:19 +0000]
i2c: tegra: slave: Fix i2c transmit/receive issues

Fixed the following issues in i2c slave driver:
1) Driver was failing to receive large data
2) Driver was receiving only eight bytes in a loop
3) Incorrect arguments while calling readl

Change-Id: I5ffe76b800a24270845aced0df30a69d9625f557
Reviewed-on: http://git-master/r/57218
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bandi Krishna Chaitanya <bandik@nvidia.com>
Tested-by: Bandi Krishna Chaitanya <bandik@nvidia.com>

Rebase-Id: Rc262503e24baad814f7175c88f9fa8a6671c34b9

7 years agousb: host: tegra: Configurable USB hotplug
Artiste Hsu [Tue, 27 Sep 2011 01:47:32 +0000]
usb: host: tegra: Configurable USB hotplug

Hotplug on usb is supported when hotplug flag is set in platform data

Bug 869745

(cherry picked from commit I57ba0b18a2d4232b2df2074c91aff97c6e639e7d)
Reviewed-on: http://git-master/r/54588

Change-Id: I24e5ddf49cead14d3eebe30da0f92402015c95c7
Reviewed-on: http://git-master/r/57725
Tested-by: Artiste Hsu <chhsu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rdf4296a0b0e04733832b8b60b347a3da9cc67413

7 years agoi2c: fix crash when there is no regulator
Jihoon Bang [Sat, 1 Oct 2011 00:22:55 +0000]
i2c: fix crash when there is no regulator

Calling regulator_disable causes system to crash when there
is no regualtor. It calls regulator_disable only when regulators
exist.

Bug 871860

Reviewed-on: http://git-master/r/55603
(cherry picked from commit 042e786e9766c891b44b8e00aa05f4c42b724440)

Reviewed-on: http://git-master/r/56237
(cherry picked from commit 9607d33bfcb84f764935ea911b93e716018ab818)

Change-Id: I06cfaeedcbdf276c3a17a759d410c7b46de8e9b1
Reviewed-on: http://git-master/r/57416
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Tested-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: Rb146536a30b5e0c1f06a1622e77248aa539617a8

7 years agoi2c: add regulators to PCA954x
Jihoon Bang [Wed, 12 Oct 2011 00:15:30 +0000]
i2c: add regulators to PCA954x

Add regulators to PCA954x in case PCA954x is controlled
by programmable PMIC. Add two Vcc. One is for PCA954x itself
and the other is for I2C bus.

Bug 871860
Reviewed-on: http://git-master/r/54745
(cherry picked from commit 7beddf4e72024e6f140ed306e80a7e1d19d7f36b)

Reviewed-on: http://git-master/r/55800
(cherry picked from commit 57138283d20301658ffe904577a72e9ea95b053e)

Change-Id: Ic98f33d2b8b324b7539d9b5b000a5591c5f7f742
Reviewed-on: http://git-master/r/57415
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Tested-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R9ece556f76ca88bfb74ceae1e6d520956c1b7d0a

7 years agoarm: tegra: enterprise: add I2C mux driver instance
Jihoon Bang [Tue, 27 Sep 2011 18:23:55 +0000]
arm: tegra: enterprise: add I2C mux driver instance

Add I2C mux driver instance to support two rear sensors.
Add new GPIO pin to control reset for I2C mux.
If board doesn't have I2C mux, it falls back to previous I2C tree.

Bug 871860

Reviewed-on: http://git-master/r/54763
(cherry picked from commit c53f8fc9d5d05427684aafb4ad6552eb6cff7ff7)

Reviewed-on: http://git-master/r/55799
(cherry picked from commit c5fe68c1b4b1ed1e283526c8ac057efb3a2af5af)

Change-Id: I40a35cbd301e53a8d70700043142d5cac0655b5c
Reviewed-on: http://git-master/r/57414
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Tested-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: Re59baf9b13c653c366f992913622d1a46c8aecde

7 years agoARM: tegra[3]: config: Add advanced IP options
Mursalin Akon [Mon, 10 Oct 2011 22:48:06 +0000]
ARM: tegra[3]: config: Add advanced IP options

Add advanced IP options, such as Multicast, ip filter, etc.

Bug 876711, 876553

Change-Id: I5dd811078f115ea8db3b37f2896c2d1b5f6bcf0e
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/57153
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R1f5f69fc568010fd3a48c5e68bb7f9be3e694a66

7 years agoARM: tegra[3]: config: Enable some debugging features
Mursalin Akon [Mon, 10 Oct 2011 19:14:36 +0000]
ARM: tegra[3]: config: Enable some debugging features

Bug 876711, 876553

Change-Id: I64ecbc40659ab5c2e639e8f09f8453ea39ff7054
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/57152
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Raa20f4186b3e4877bd591116056dfef1ceafa464

7 years agonvhost: Wait for CDMA to end before freeing channel
Terje Bergstrom [Wed, 5 Oct 2011 12:18:20 +0000]
nvhost: Wait for CDMA to end before freeing channel

Wait for CDMA to become idle before freeing resources associated with a
channel.

Bug 877665

Change-Id: I1a25f98ba8620202d349a4c6af38fa0e20839751
Reviewed-on: http://git-master/r/56653
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Gerrit_Virtual_Submit
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-by: Antti Miettinen <amiettinen@nvidia.com>
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R6a00d31d4bd91f7875671af8b183a2ceac1fc242

7 years agoarm: tegra: pm: issue a pl310 cache sync for tegra2
Mayuresh Kulkarni [Thu, 15 Sep 2011 09:26:10 +0000]
arm: tegra: pm: issue a pl310 cache sync for tegra2

this needs to be done when the lp2 is aborted before the
stipulated programmed time to wake-up

for bug 867094

Change-Id: I02102ed8afa69d782de5950118352e80edc79df4
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/52581
Reviewed-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R5938771982b7cceb9ea23ee73852ca8b9b3490ae

7 years agoARM: tegra: Fix file permissions
Scott Williams [Wed, 12 Oct 2011 01:11:01 +0000]
ARM: tegra: Fix file permissions

Change-Id: I4668077a85d82e08db0fee537712a2e4b949007a
Reviewed-on: http://git-master/r/57426
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R04eea53de492e784958a1c386d78646406f4d957

7 years agohwmon: tegra: tsensor: coefficient update
Bitan Biswas [Wed, 7 Sep 2011 15:30:14 +0000]
hwmon: tegra: tsensor: coefficient update

m, n and p coefficients updated for fuse revision 21 and beyond.
- code cleanup done. fixed checkpatch warnings.

bug 842208

Reviewed-on: http://git-master/r/53808
(cherry picked from commit 488785f279a5642fffde3d48d62c77f46a20b63a)

Reviewed-on: http://git-master/r/55026
(cherry picked from commit 49a5b4cf51ed43e2a9d25a2603e84ed835446832)

Change-Id: I83db5a746d5960c799fbf09e2334ecc608c44d39
Reviewed-on: http://git-master/r/57367
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: R49c36a57132c60260e1ab9d9f2aa68bf3602c962

7 years agomisc: nct1008: error handling change
Bitan Biswas [Mon, 12 Sep 2011 19:41:16 +0000]
misc: nct1008: error handling change

Error handling in the driver was not correctly done earlier. Changes
done are as follows:
- error returned stored in int data type instead of u8 or s8
- few places error was not checked, added the checks needed.

Reviewed-on: http://git-master/r/51855
(cherry picked from commit c8e014fa9d8a7cad2d78d91fad8fe056b4ea0714)

Reviewed-on: http://git-master/r/54990
(cherry picked from commit 8f9f4a8e72998fef8bea9aa00e9ac136920f8dc0)

Change-Id: Id6da54e8d6d39d47962fa8e74ac91934788267fa
Reviewed-on: http://git-master/r/57365
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R2fd8ef10485da58395e352974384e3f20e913d38

7 years agomedia: video: nvavp: Add ioctl to set/get clock rate
Prashant Gaikwad [Tue, 27 Sep 2011 12:14:54 +0000]
media: video: nvavp: Add ioctl to set/get clock rate

These ioctls provides interface to user space for
VDE/AVP/EMC clock rate anagement. This helps to save power.

Bug 876405

Change-Id: Ic36cd78bf78a3c04dac49dd4b3040542130bc855
Reviewed-on: http://git-master/r/54697
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>

Rebase-Id: Rcd1d8e536641d109c7e1db7ccaf3a8e54a169acc

7 years agoarm: tegra: gpio: API to configure pins as gpio with init value
Laxman Dewangan [Fri, 30 Sep 2011 10:44:27 +0000]
arm: tegra: gpio: API to configure pins as gpio with init value

Adding api to configure pins in gpio mode with init value before
gpio library is up. This will provide to configure the pins in
initial state and avoid any glitch in pins.

bug 876305

Reviewed-on: http://git-master/r/56630
(cherry picked from commit 9e357b69d25f96c13acb660860bcdf8e0ab0a1ef)

Change-Id: Ia14721c0bf96e1a45561139fdbbf2d995b9a4963
Reviewed-on: http://git-master/r/57265
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rc775d23898a6275d633e4474e6cf9b10395697e2

7 years agoarm: tegra: Add handle for kernel option power_supply
Laxman Dewangan [Sun, 4 Sep 2011 11:40:13 +0000]
arm: tegra: Add handle for kernel option power_supply

Adding the handler function for the kernel command line
option "power_supply".

Reviewed-on: http://git-master/r/50674
(cherry picked from commit 8d9e6bbe59ab68f44a4713f5d1bcc7877baf8180)

Change-Id: I07796b6ee5893d73ac7557e81aac5d26b299c491
Reviewed-on: http://git-master/r/57262
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rd64bf314bcdfe3f7bdbcdee946ed261bfce5938f

7 years agoarm: tegra: cardhu: Set LDO2 to 1200mV for E1208-A04
Laxman Dewangan [Wed, 28 Sep 2011 17:13:30 +0000]
arm: tegra: cardhu: Set LDO2 to 1200mV for E1208-A04

bug 875709

Reviewed-on: http://git-master/r/56632
(cherry picked from commit b7077b25dfaa7c92c5f05f50688d26710eb57348)

Change-Id: I46b0bd4d939e5ffbce9599ad2c437a7d424b1d87
Reviewed-on: http://git-master/r/57258
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rb192b1590af659143cf62938ce5ab468526216ee

7 years agoarm: tegra: cardhu: pm269: Remove SDMMC1_VDD control
Laxman Dewangan [Mon, 26 Sep 2011 12:49:49 +0000]
arm: tegra: cardhu: pm269: Remove SDMMC1_VDD control

The SDMMC_VDD control is generated from the cpld programming
for pm269 and so it is not require to have gpio control for this.

bug  880984

Reviewed-on: http://git-master/r/56627
(cherry picked from commit 38ad9be02578b64d3f5eab8c6146abfc6c842d35)
Change-Id: Id7cae7a724c02754b3abbc937a7e80b9a51d7977
Reviewed-on: http://git-master/r/57254
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R34a8cb39a5c557461ebbb540692487d357798eca

7 years agoarm: tegra: cardhu: Support for PM311
Laxman Dewangan [Wed, 31 Aug 2011 06:16:43 +0000]
arm: tegra: cardhu: Support for PM311

Adding support for PM311 based system.

bug 870139

Reviewed-on: http://git-master/r/50012
(cherry picked from commit d319d9980b6b225735ac97160fdee18fbabba2f0)

Change-Id: Iaa28921761e035e8fa29956b776f9379ae326b42
Reviewed-on: http://git-master/r/57251
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R50fc9a079bd46a050084afed2b0f460e2916ebc9

7 years agoarm: tegra: enterpeise: add debounce time in codec platform data
Nikesh Oswal [Fri, 7 Oct 2011 07:19:54 +0000]
arm: tegra: enterpeise: add debounce time in codec platform data

Bug: 862023

Change-Id: I3163c5560b9ca37f627eca477b267056e04ba4ab
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/56576
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Ra7c5aab6e023d7a8d086883e359993cb87a66464

7 years agoarm: tegra: Remove T30 SPDIF DMA resource info
Sumit Bhattacharya [Tue, 4 Oct 2011 12:02:36 +0000]
arm: tegra: Remove T30 SPDIF DMA resource info

Bug 872652

Change-Id: Iaea76918169f3270f865122f824f60678c419b50
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/55970
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R70b9408e1c66c97a63a9408dda43aacd369c3178

7 years agoasoc: max98088: add control to enable/disable digital mic
Nikesh Oswal [Mon, 3 Oct 2011 05:41:33 +0000]
asoc: max98088: add control to enable/disable digital mic

Bug: 862023

Change-Id: I1784a813ad8ef224f0587ba977518c2940b66e01
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/55674
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R960030914089aa1eefcbb0d8ac2eda28c8095785

7 years agoASoC: Tegra: WM8903: Support speaker and dmic
Sumit Bhattacharya [Sun, 2 Oct 2011 23:23:58 +0000]
ASoC: Tegra: WM8903: Support speaker and dmic

Complete DAPM route map for cardhu and ventana. Expose more alsa
controls to facilitate codec routing. Properly handle speaker,
internal mic and external mic routing events.

Bug 872652

Change-Id: I4620d08ade1f455a4075d9822fcfd5e34474133f
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/55669
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R42bcced2737f035bb1888fac064ee20fa6371143

7 years agoarm: tegra: Specify dev name for audio regulators
Sumit Bhattacharya [Sun, 2 Oct 2011 21:46:22 +0000]
arm: tegra: Specify dev name for audio regulators

Specify device names for ventana and cardhu speaker and digital mic
regulators. Also use same regulator name for ventana and cardhu
speaker supply.

Bug 872652

Change-Id: I5a254eee2037c86e208818f34cdff24aee0edad9
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/55668
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R81411e5e595ec1d9e700d08410a9d3e49f24cbee

7 years agoarm: tegra: Pass WM8903 gpio configuration
Sumit Bhattacharya [Sun, 2 Oct 2011 08:57:55 +0000]
arm: tegra: Pass WM8903 gpio configuration

On cardhu and ventana WM8903 GPIO1 is used for digital mic lrclk
output and GPIO2 is used for digital mic data input. Pass corresponding
WM8903 gpio configuration through platform data to enable cardhu and
ventana digital mic support.

Bug 872652

Change-Id: I410265f1b4f9a8c5e43e5437ed6bac4122709178
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/55654
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rb47b7afe17013d4a0d5d73a15ba19c12dab0efbf

7 years agoregulator: tps6591x: Optimize voltage change using cache
Laxman Dewangan [Mon, 12 Sep 2011 07:58:12 +0000]
regulator: tps6591x: Optimize voltage change using cache

Optimizing the time require to change the voltage by using the
register caching.

bug 870689

Reviewed-on: http://git-master/r/51754
(cherry picked from commit cb2676e3e25f3a6134f38ecb0e3dfe9e7a1f4fd4)

Change-Id: I771d6d0ebad60d05381af07cc791f5ad8b4426fd
Reviewed-on: http://git-master/r/55643
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: R89993e38c00a6e1dc0f482bd6319830548b90118

7 years agoasoc: max98088: disable the irq when entering suspend
Nikesh Oswal [Fri, 30 Sep 2011 12:23:00 +0000]
asoc: max98088: disable the irq when entering suspend

Bug: 862023
Change-Id: Ibaa3ffbb9e81736e45c2bccb0d6e1828cde4025b
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/55474
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rf4af409992ad20aa854736727df5060ce82435ed

7 years agoasoc: tegra: max98088: add jack and switch notifier code
Nikesh Oswal [Fri, 30 Sep 2011 12:00:34 +0000]
asoc: tegra: max98088: add jack and switch notifier code

Bug: 862023

Change-Id: I0302091654c5394733264712269be4fe0aefa39a
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/55466
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R3c915a05a2f6bc90ff24d9ee6625dcadd92f93e8

7 years agoasoc: max98088: add headset/headphone detection code
Nikesh Oswal [Fri, 30 Sep 2011 11:57:08 +0000]
asoc: max98088: add headset/headphone detection code

Bug: 862023

Change-Id: Ieb9247cef5feecf3e241d8980f9c4376cadf2965
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/55465
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

Rebase-Id: Rf725fad369dbbe4d5f6eaa7b667170a127fa0a08

7 years agotegra: harmony: KBC support for chicony keyboard
Ramalingam C [Tue, 11 Oct 2011 08:58:55 +0000]
tegra: harmony: KBC support for chicony keyboard

This change includes the keymapping details for chicony keyboard and registers
the platform_device called "tegra-kbc" with all board resources corresponding
to KBC.

Change-Id: I4222914f09520b60882a447fc149fd1c352be037
Signed-off-by: Ramalingam C <ramalingamc@nvidia.com>
Reviewed-on: http://git-master/r/57233
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: Rb233d2e2065fa590a6e776eb81ba205efc45442b

7 years agoARM: tegra: dvfs: Add T30V SKU definition
Alex Frid [Tue, 6 Sep 2011 19:07:01 +0000]
ARM: tegra: dvfs: Add T30V SKU definition

Bug 872025

(cherry picked from commit d71aae19a06b591312703d146c9a9adf9f7e729b)

Change-Id: If1c0e3b22079b00b9cabfc1e9f4e5c4c5d206f5b
Reviewed-on: http://git-master/r/57214
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R955c084556968ce77450817b993a79aab801ea83

7 years agoARM: tegra: dvfs: Update Tegra3 speedo thresholds
Alex Frid [Tue, 6 Sep 2011 18:58:28 +0000]
ARM: tegra: dvfs: Update Tegra3 speedo thresholds

Bug 817679

(cherry picked from commit 86acefef882428c6cad6b761521f74b054adba24)

Change-Id: I992c9682fd6bcc9984968f56da661f76a04edecd
Reviewed-on: http://git-master/r/57213
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: Ra6cc62a4c7da079e18d09809973741af430ae8f9

7 years agoarm: tegra: defconfig: Enable USB storage & SCSI
Preetham Chandru [Tue, 11 Oct 2011 17:24:29 +0000]
arm: tegra: defconfig: Enable USB storage & SCSI

Enabled USB storage & SCSI support

Bug: 879944
Signed-off-by: Preetham Chandru <pchandru@nvidia.com>
Change-Id: Ifda0c387dd5fab1c4d48c7ab23abab7f3736200b
Reviewed-on: http://git-master/r/56227
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R0d7d681af41d8df2549b2eecc1437cc978f71ed8

7 years agoARM: tegra[3]: config: Enable NLSs
Mursalin Akon [Mon, 10 Oct 2011 22:52:09 +0000]
ARM: tegra[3]: config: Enable NLSs

Bug 876711, 876553

Change-Id: I7c221f5162411285e9c2c811670ba5c9010fa676
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/57154
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R9a39fec8a43b6cc3b94ddb3920a1cd933e9a2569

7 years agoarm: mm: change_page_attr support
Vinod Rex [Fri, 7 Oct 2011 18:30:35 +0000]
arm: mm: change_page_attr support

bug 865816

Adapted from x86 change_page_attr() implementation

Change-Id: I398c9d460b841484de4fcfcac10ffffdf49a4a5a
Reviewed-on: http://git-master/r/56769
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>

Rebase-Id: Rddeccf358c948ba84af52316f084814ae53dca5e

7 years agoarm: tegra: enable l2 cache data prefetch
Anshul Jain [Fri, 7 Oct 2011 00:43:21 +0000]
arm: tegra: enable l2 cache data prefetch

Bug 874120

Change-Id: I17a1cc0d8f018246e5c7a99e01c2ab8d78e102ea
Reviewed-on: http://git-master/r/56520
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rc9af15a0993dd6c9147e464d227e7446ed5a86a0