6 years agoregulator: core: support for voltage change from user-space
Laxman Dewangan [Fri, 17 Aug 2012 11:07:47 +0000]
regulator: core: support for voltage change from user-space

It is required for changing voltage of some of rails
from user space to perform characterization of chip.
Support the API to have achieve this from user space.

bug 1033482

Change-Id: Ic5d2c2eda9a4521968577aed38e1fd492b2bb2c3
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/124352
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoARM: tegra: update t114 pinmux table
aghuge [Tue, 21 Aug 2012 13:00:14 +0000]
ARM: tegra: update t114 pinmux table

Bug 959971

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

6 years agoarm: tegra: config: Disable unwanted p1852 features
Sandeep S. Trasi [Tue, 14 Aug 2012 16:24:20 +0000]
arm: tegra: config: Disable unwanted p1852 features

Unwanted features of p1852 are disabled.

Change-Id: I3fbca1bf939d6680233eb3ffe68246d1a9ee022f
Signed-off-by: Sandeep S. Trasi <strasi@nvidia.com>
Reviewed-on: http://git-master/r/123387
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bob Johnston <bjohnston@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

6 years agoARM: tegra: dalmore: add T114 specific pinmux code
aghuge [Tue, 21 Aug 2012 12:56:41 +0000]
ARM: tegra: dalmore: add T114 specific pinmux code

Added T114 chip specific pinmux code for dalmore

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

6 years agostaging: iio: Added Pressure sensor driver for BMP180
Sumit Sharma [Wed, 8 Aug 2012 04:30:08 +0000]
staging: iio: Added Pressure sensor driver for BMP180

Added pressure sensor driver for Bosch BMP180 sensor

Bug 1022128

Change-Id: I5ed0d98d3c9197eac5be6c76e0be92c80c9b66df
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/121974
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoALSA: soc: add DAM programming for T114
Rahul Mittal [Tue, 17 Jul 2012 13:59:18 +0000]
ALSA: soc: add DAM programming for T114

For T114, DAM operates at 32 bit, cbits should be 32
Calling APIs for programming newly added registers

Change-Id: I9427d73538c12ae9dddcd865ccbcdc3a3d668370
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/116453
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agoMerge remote branch 'origin/dev/android-t114-3.4-next' into promotion_build
Rohan Somvanshi [Wed, 22 Aug 2012 10:14:05 +0000]
Merge remote branch 'origin/dev/android-t114-3.4-next' into promotion_build

This merge is done along with the main to dev-t114 merge using tag main-jb-2012.08.20-B1

Change-Id: Ia9b8833eb37c758abcd58013c212acf91846e030

6 years agoARM: Tegra: remove last usages of tegra_gpio_{enable|disable}
Varun Wadekar [Wed, 22 Aug 2012 09:42:11 +0000]
ARM: Tegra: remove last usages of tegra_gpio_{enable|disable}

Change-Id: I71534a342c391ffe548e834edbe8c233ee5d6f3f
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

6 years agoARM: Tegra: la: do not compile driver for Tegra2
Varun Wadekar [Wed, 22 Aug 2012 09:41:31 +0000]
ARM: Tegra: la: do not compile driver for Tegra2

Change-Id: I6120ce75b91efff29e24a60546f50f1767271bd8
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

6 years agoARM: tegra: usb_phy: Fix HSIC resume code
Vinod Atyam [Fri, 17 Aug 2012 09:03:47 +0000]
ARM: tegra: usb_phy: Fix HSIC resume code

1) During remote wakeup resume, no need
   to keep 25 msec delay after resume bit
   is cleared. Updated the code now.
2) PSPD bit in HOSTPC register is read only,
   but bymistake it is getting set in our code.
   Corrected the code now.
3) During AP resume, no need to set RUN bit
   2 times. Corrected the code to do it once.

Bug 1028940
Bug 1024592

Change-Id: I872886f4cef6058d3de9d488321aa5b0925fd62a
Signed-off-by: Vinod Atyam <vatyam@nvidia.com>
Reviewed-on: http://git-master/r/124051
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: cardhu: update memory timings
Ray Poudrier [Tue, 3 Jul 2012 18:43:05 +0000]
ARM: tegra: cardhu: update memory timings

Extend tick length to 60ns

Also add missed Cardhu SKU 1000 table

Bug 1001229
Bug 970610

Change-Id: I224158a88d02595d5b911f59b6920b9ed99481ab
Signed-off-by: Ray Poudrier <rapoudrier@nvidia.com>
Reviewed-on: http://git-master/r/113315
(cherry picked from commit 492193079047d9c5a4fff617a14191438f356e42)
Reviewed-on: http://git-master/r/116221
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Wen Yi <wyi@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: enterprise: update memory timings
Ray Poudrier [Tue, 3 Jul 2012 03:17:42 +0000]
ARM: tegra: enterprise: update memory timings

Extend to 60ns tick

Bug 1001229

Change-Id: Id2b01218a7c5cb1566d0e8c175defb12c79e6497
Signed-off-by: Ray Poudrier <rapoudrier@nvidia.com>
Reviewed-on: http://git-master/r/113122
(cherry picked from commit 176fd3fbaede0d38281fe4bad721856e7fef0833)
Reviewed-on: http://git-master/r/116220
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agovideo: tegra: dc: Add timestamp support
Raghavendra VK [Sat, 4 Aug 2012 04:25:43 +0000]
video: tegra: dc: Add timestamp support

bug 1021221

Change-Id: Ifbe007de5bdeafaa15a0b3f2a138086045eba160
Signed-off-by: Raghavendra VK <rvk@nvidia.com>
Reviewed-on: http://git-master/r/118179
(cherry picked from commit 74be8d4e7210d7bcea0d55565a7cbb06d6cc960e)
Reviewed-on: http://git-master/r/121087
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Robert Morell <rmorell@nvidia.com>

6 years agoARM: Tegra: Curacao: enable CONFIG_HID_SUPPORT
Varun Wadekar [Tue, 21 Aug 2012 13:19:07 +0000]
ARM: Tegra: Curacao: enable CONFIG_HID_SUPPORT

Change-Id: I7cfc4b96a0bb64b4dce8b97a2245b9e7dfcc4fe5
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

6 years agoARM: Tegra: Curacao: remove tegra_gpio_{enable|disable} usage
Varun Wadekar [Tue, 21 Aug 2012 12:09:22 +0000]
ARM: Tegra: Curacao: remove tegra_gpio_{enable|disable} usage

Change-Id: I27c23835e1ac56725be61329f9a375aebdae8cb0
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

6 years agovideo: tegra: nvmap: Fix overflow in nvmap_heap
Tuomas Tynkkynen [Mon, 13 Aug 2012 12:43:31 +0000]
video: tegra: nvmap: Fix overflow in nvmap_heap

do_heap_alloc locates a suitable free block from a nvmap heap given a
size and alignment. Unfortunately, if a heap block happens to be
smaller than the alignment passed to the function, an integer overflow
will occur, and a block that's too small gets accidentally returned.

Bug 1032642

Change-Id: Ic650c520409134d753e968f62f144ddeb065ccc7
Signed-off-by: Tuomas Tynkkynen <ttynkkynen@nvidia.com>
Reviewed-on: http://git-master/r/123076
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoscripts: Make git commit info always present
Tao Hu [Wed, 8 Aug 2012 09:30:06 +0000]
scripts: Make git commit info always present

LOCALVERSION_AUTO is set by default.
And git commit will be part of the version.
E.g. "3.1.10-g0fe9b4a" where 0fe9b4a is the commit.

The version will appear in kpanic logs.
It would help developers to know the exact kernel version.

But a tagged commit (main-ics-2012.06.07-A5) will lead to no git info.
E.g. "3.1.10"
This patch will solve the issue.

Change-Id: I28370ada903b4be12bfc51eb3626512572e15c20
wChange-Id: I9dbb6c0a9e2964ead92114197a6d5c457ed7aab9
Signed-off-by: Tao Hu <taoh@nvidia.com>
Reviewed-on: http://git-master/r/123670
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Prajakta Gudadhe <pgudadhe@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agoARM: tegra: e1853: Add build support for E1853
Ashwin Joshi [Fri, 27 Jul 2012 10:28:50 +0000]
ARM: tegra: e1853: Add build support for E1853

E1853 is T30 based automotive platform. Modify Makefile to support build
of E1853 board. Also, added config option to Kconfig file.

Bug 966833
Bug 1018258

Change-Id: I18dc015b79256fde1c77947198b426a0060a9017
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/118932
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
(cherry picked from commit bed57d893803f2ccef8f40bd30bdf1e8a44f184b)
Reviewed-on: http://git-master/r/119652
GVS: Gerrit_Virtual_Submit
Tested-by: Haribabu Narayanan <hnarayanan@nvidia.com>
Reviewed-by: Bob Johnston <bjohnston@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoARM: tegra: cardhu: adjust ov2710 power sequence
Charlie Huang [Fri, 10 Aug 2012 23:26:34 +0000]
ARM: tegra: cardhu: adjust ov2710 power sequence

To fix an instability issue, the power sequence is updated to match
the specification for this device.

bug 1031318

Change-Id: I3970af7ae8ed2baa6060f548242b0093040afb53
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-on: http://git-master/r/122867
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Patrick Shehane <pshehane@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoPM: Need to wake_up_all when suspend fail
BH Hsieh [Mon, 13 Aug 2012 07:33:07 +0000]
PM: Need to wake_up_all when suspend fail

In rpm_suspend, when suspend fail,
before going to reschedule another autosuspend,
wake_up_all is required to avoid remote wakeup
issues.

Bug 1026169
Bug 1027598
Bug 1032565

Change-Id: Ieaf9282dae59b2cb343bf01aa2ba837a8cdc39c7
Signed-off-by: BH Hsieh <bhsieh@nvidia.com>
Reviewed-on: http://git-master/r/122978
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Neil Patel <neilp@nvidia.com>
Tested-by: Neil Patel <neilp@nvidia.com>
Tested-by: Steve Lin <stlin@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin <stlin@nvidia.com>

6 years agousb: otg: tegra: fix racing USB connection events
Xin Xie [Wed, 11 Jul 2012 02:23:03 +0000]
usb: otg: tegra: fix racing USB connection events

Sometimes USB connect and disconnect events is not detected properly. The
OTG irq handler is using a workqueue which has no protection for multiple
incoming event handling.

This patch adds mutex to protect the workqueue for USB connection
handling.

BUG 968345

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

6 years agousb: gadget: tegra: remove unnecessary bus resume
Xin Xie [Tue, 7 Aug 2012 23:07:14 +0000]
usb: gadget: tegra: remove unnecessary bus resume

Current Tegra UDC driver share same IRQ with OTG driver, and it will call
bus_resume() even if there is no UDC IRQ pending.

This patch will check UDC IRQ source and will not cause bus resume if no
IRQ pending for UDC driver.

BUG 1015685

Change-Id: Ifc5634ae5d1f7f1435c64bc527ab2e9fb8d0e36b
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/121896
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agousb: gadget: tegra_udc: use USB charging spec 1.2
Xin Xie [Wed, 1 Aug 2012 23:18:55 +0000]
usb: gadget: tegra_udc: use USB charging spec 1.2

Enable the USB charging based on the USB charging spec 1.2. Now we can
detect:
1. SDP (stanardard downstream port)
2. CDP (charging downstream port)
3. DCP (dedicated charging port)
4. None (no cable connected)
5. Non-standard charger

For some non-standard charger, we cannot detect it as DCP device.
If we find a charger detected as USB device but no EP0 packet recieved
with 1s, we then decided this is 1A charger.

bug 968345

Change-Id: I804f90ea6e4794da8f52b1c3ebd694828d99f40e
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/120218
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: nvmap: Add sanity checks for page pools.
Krishna Reddy [Wed, 1 Aug 2012 22:15:21 +0000]
video: tegra: nvmap: Add sanity checks for page pools.

Check return code for set_page_array_* calls.

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

6 years agoARM: tegra: usb: handle device connect in lp0
Krishna Yarlagadda [Tue, 14 Aug 2012 16:06:59 +0000]
ARM: tegra: usb: handle device connect in lp0

When a otg cable is connected along with device during lp0
system will wakeup but might not complete device enumeration
before going back to lp0. In this case we have to handle pmc
disable.

Bug 1024456

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

6 years agoUSB: gadget: f_audio_source: Adjust packet timing to reduce glitches
Mike Lockwood [Sun, 27 May 2012 22:41:53 +0000]
USB: gadget: f_audio_source: Adjust packet timing to reduce glitches

Increase max packet size and clean up timing logic so we can better
recover from not getting an interrupt in time for a SOF.

Bug 1026047

Signed-off-by: Mike Lockwood <lockwood@google.com>
(cherry picked from commit 3d2096a7959d023bc31a3cf934c3d425de01c94f)

Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Change-Id: I0a0a6f448e71e4a0c478bb44cadc54fa021e13e4
Reviewed-on: http://git-master/r/123344
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoUSB: gadget: f_audio_source: New gadget driver for audio output
Mike Lockwood [Fri, 11 May 2012 16:01:08 +0000]
USB: gadget: f_audio_source: New gadget driver for audio output

This driver presents a standard USB audio class interface to the host
and an ALSA PCM device to userspace

Bug 1026047

Signed-off-by: Mike Lockwood <lockwood@google.com>
(cherry picked from commit a23ff394752015a233dd3b27b05c9d913cbf5536)

Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Change-Id: I4054e09888f17d9cdfcfd4a3d430ca5cfb3fd9fa
Reviewed-on: http://git-master/r/123343
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoUSB: gadget: f_accessory: Add support for HID input devices
Rakesh Bodla [Tue, 14 Aug 2012 12:06:15 +0000]
USB: gadget: f_accessory: Add support for HID input devices

Bug 1026047

Signed-off-by: Mike Lockwood <lockwood@google.com>
(cherry picked from commit 7a3d01af4f04950a86a18f5a439f1802d8093650)

Conflicts:

drivers/usb/gadget/f_accessory.c

Change-Id: I30bc02a1bcf636967d56370db83578f49f0e7514
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/123342
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoAdd ACCESSORY_SET_AUDIO_MODE control request and ioctl
Mike Lockwood [Fri, 11 May 2012 16:00:40 +0000]
Add ACCESSORY_SET_AUDIO_MODE control request and ioctl

The control request will be used by the host to enable/disable USB audio
and the ioctl will be used by userspace to read the audio mode

Bug 1026047

Signed-off-by: Mike Lockwood <lockwood@google.com>
(cherry picked from commit 3e1ff6142761eef148c667e540381d1fbc437d4f)

Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Change-Id: I5f449de230ca8f44e2dae30a0f87772310b68f20
Reviewed-on: http://git-master/r/123341
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agopower: max17048: update charge status when resume
Kerwin Wan [Tue, 14 Aug 2012 09:31:11 +0000]
power: max17048: update charge status when resume

bug 1033234

Change-Id: I67a28113fbf0a2461886658322f9106d17a69f23
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/123301
Reviewed-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

6 years agovideo: tegra: nvmap: fix input check in mmap ioctl
Tuomas Tynkkynen [Tue, 31 Jul 2012 14:49:49 +0000]
video: tegra: nvmap: fix input check in mmap ioctl

nvmap_map_into_caller_ptr takes a memory handle from usermode
and adds a memory mapping for the handle. However, the handle
is not checked for being allocated. An unallocated handle
would cause a kernel panic later on from a NULL dereference.

Change-Id: I73987b097a0c843b913660445e8bd1b4755dac61
Signed-off-by: Tuomas Tynkkynen <ttynkkynen@nvidia.com>
Reviewed-on: http://git-master/r/119689
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agogpio: tegra: hide tegra_gpio_enable()/disable()
Laxman Dewangan [Tue, 31 Jul 2012 10:08:43 +0000]
gpio: tegra: hide tegra_gpio_enable()/disable()

The direction apis and irq_set_wake() support the
configuration of pins in gpio mode and hence it
is not require to export the apis for gpio_enable()/
gpio_disable().
Hiding these api.

Change-Id: I5493e4f270df85da21afb6500ac841f4fa4b522a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/119616
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra: clocks: Frequency stats for SCLK/CBUS
Srikanth Nori [Tue, 3 Jul 2012 00:35:38 +0000]
ARM: tegra: clocks: Frequency stats for SCLK/CBUS

This adds a frequency histogram of the frequencies that SCLK
and CBUS clocks go to over time. Stats are presented in the
debugfs at /d/clock_stats/cbus and /d/clock_stats/sclk only if
debugfs is enabled in config

Change-Id: Icae83329612958d8ed4318b2e10c487683d9d734
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-on: http://git-master/r/118380
Reviewed-by: Wen Yi <wyi@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agousb: gadget: tegra_udc: Enable DR IRQ in udc_start
Preetham Chandru [Tue, 10 Jul 2012 13:12:16 +0000]
usb: gadget: tegra_udc: Enable DR IRQ in udc_start

Currently dr_controller_run() is called only during otg state
change.
When we unload a gadget driver, for example g_mass_storage
gadget driver, dr_controller_stop() is called but when it is
loaded back dr_controller_run() won't get called becasue of the
if condition failure. i.e
if (!udc->transceiver) {
dr_controller_run(udc);
}

So when the gadget driver is loaded for the second time
without removing the cable (i.e without otg state change),
the device won't get enumerated on the host because DR
IRQs are not enabled.

This CL fixes the above issue.

Bug 1012787
Signed-off-by: Preetham Chandru <pchandru@nvidia.com>

Change-Id: Ia127630e24dbe4c1e418163c2b858efb3baa8e45
Reviewed-on: http://git-master/r/114592
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: dc: disuse notifier
Ilan Aelion [Fri, 10 Aug 2012 19:53:10 +0000]
video: tegra: dc: disuse notifier

Due to issues with rcu notifiers on secureos, modifying dc flip
notifications to use a simple callback instead.

Bug 1028850

Change-Id: Iebf2a6d64d7316e3df2b88444201f9f9a29698c5
Signed-off-by: Ilan Aelion <iaelion@nvidia.com>
Reviewed-on: http://git-master/r/123103
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>

6 years agosecurity: tf_driver: integrate latest TL release
Hyung Taek Ryoo [Fri, 10 Aug 2012 18:48:56 +0000]
security: tf_driver: integrate latest TL release

Tegra 3 version: TF_TEGRA3_AB01.15.36932
1)Fix an issue in GIC controller
2)Add a task profiler option into the Trusted Foundations
3)Fixes the RCU stalls

Change-Id: Ib137dc4f155765cb7d7084f1f9a6f75d3bf38116
Signed-off-by: Hyung Taek Ryoo <hryoo@nvidia.com>
Reviewed-on: http://git-master/r/122808
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: James Zhao <jamesz@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoarm: tegra: la: refactor la code.
Krishna Reddy [Mon, 13 Aug 2012 19:37:32 +0000]
arm: tegra: la: refactor la code.

This is necessary to support future tegra SOC's.

Change-Id: I2f6ce328e30a6895dce16d82c4097291339155cd
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/123146
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Mark Stadler <mastadler@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agovideo: tegra: host: Fix leak in 3D register read
Terje Bergstrom [Wed, 15 Aug 2012 09:12:16 +0000]
video: tegra: host: Fix leak in 3D register read

When 3D register is read, and we need to do a context switch, the old
context reference is incremented, but it never gets decremented. Fix
by using nvhost_job_get_hwctx() to acquire the reference.

Bug 1031746

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

6 years agomm: Avoid freeing init and initrd memory when CPA is enabled.
Krishna Reddy [Sun, 29 Jul 2012 22:32:14 +0000]
mm: Avoid freeing init and initrd memory when CPA is enabled.

Align memblock reserve for text area to PMD size.
Reserve the memory hole between DRAM start and Page table start.
Add Sanity check to avoid section split in text area.

Bug 1028787

Change-Id: I586e4ad6e3a94aa0c79b302e51156dbe089e481f
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/121883
(cherry picked from commit 65d02640b4b0b38263687c7f3e664c873237dc43)
Reviewed-on: http://git-master/r/123431
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: power: Trace LP2 entry and exit
Antti P Miettinen [Tue, 14 Aug 2012 10:14:00 +0000]
ARM: tegra: power: Trace LP2 entry and exit

Add traces for measuring LP2 entry/exit times.

Bug 960304

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

6 years agoarm: tegra: E1506 Tristate, pull down LCD pins
Prem Sasidharan [Mon, 13 Aug 2012 20:54:16 +0000]
arm: tegra: E1506 Tristate, pull down LCD pins

Tristate and pull down LCD pins D0-D23, LCD_PWR* and
LCD_CS*_N pins for E1506 DSI panel. Reduced the power
consumption on VDDIO_LCD to 0.37mW for PM269 with E1506
DSI panel.

Bug 1007512
Bug 1015349

Signed-off-by: Prem Sasidharan <psasidharan@nvidia.com>
Change-Id: Ic54d1ca71f5ff92742f70915b7b27104c0a508a6
Reviewed-on: http://git-master/r/123172
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agoarm: tegra: dalmore: Add ganged mode support
Animesh Kishore [Mon, 20 Aug 2012 12:41:09 +0000]
arm: tegra: dalmore: Add ganged mode support

Ganged mode support is with disp1 since dsi
is default display client for disp1.

Bug 1017715

Change-Id: Icfbc771b173e49c22be0e6f89b2d5f58ddf7466a
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/124642
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>

6 years agoARM: tegra: dalmore: updating mach-types
aghuge [Thu, 16 Aug 2012 04:27:01 +0000]
ARM: tegra: dalmore: updating mach-types

Change-Id: I37f734d167d340bd1c843dc3ee8a53900d84afd3
Signed-off-by: aghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/122338
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agosdhci: tegra: enable packed command support for eMMC4.5
naveenk [Tue, 7 Aug 2012 09:56:35 +0000]
sdhci: tegra: enable packed command support for eMMC4.5

If host wants to use packed command support
MMC_CAP2_PACKED_CMD should be set.

Bug 837103

Change-Id: Id1bf4ce304268e1026655a6818f0b2ce3026a406
Signed-off-by: naveen kumar arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/121598
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agommc: core: Support packed command for eMMC4.5 device
naveenk [Mon, 6 Aug 2012 14:33:12 +0000]
mmc: core: Support packed command for eMMC4.5 device

Packed command support for eMMC 4.5 device.

Bug 837103

Change-Id: I155ecde2b90b73f6c972816d6a4ef0fb2444763c
Signed-off-by: Seungwon Jeon <tgih.jun <at> samsung.com
Signed-off-by: naveen kumar arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/121328
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoarm: tegra: add pluto support
Tom Cherry [Sat, 4 Aug 2012 01:09:20 +0000]
arm: tegra: add pluto support

Change-Id: I2295732eee44762ad5282469b1532bfbd2682d67
Signed-off-by: Tom Cherry <tcherry@nvidia.com>
Reviewed-on: http://git-master/r/121067
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoiio: light: ISL29028 driver supports ISL29029 also
Sri Krishna chowdary [Thu, 16 Aug 2012 12:37:47 +0000]
iio: light: ISL29028 driver supports ISL29029 also

Bug 980722

Change-Id: I139c67b8f2ad2ec3d9bda3d0fecb4b601bf9f2ab
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/124252
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoARM: config: add tegra11_android_defconfig for tegra11 version.
Laxman Dewangan [Thu, 16 Aug 2012 13:46:15 +0000]
ARM: config: add tegra11_android_defconfig for tegra11 version.

This is copied from tegra3_android_defconfig and remove Tegra30
based platform.

Change-Id: I8a09fb8ae6eab0fd811531f7658ad11bb18c110a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/124059
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agoARM: dalmore: power: add fixed regulators
Pradeep Goudagunta [Thu, 16 Aug 2012 11:19:37 +0000]
ARM: dalmore: power: add fixed regulators

Populate fixed regulators for max77663+Dalmore.

Bug 982726

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

6 years agoARM: tegra: usb_phy: Remove WAR for HSIC bus reset
srinivas [Thu, 16 Aug 2012 10:19:52 +0000]
ARM: tegra: usb_phy: Remove WAR for HSIC bus reset

In T114, HSIC bus reset issue got fixed.
Hence removing the software WAR kept during T30.

Now software sets the reset bit and Linux will handle
reset sequence for HSIC. So removed the chip specific
reset action.

Bug 1021578

Change-Id: Ica1cfc04f82515c869b381759dd319a7085b0a9c
Signed-off-by: srinivas thaduvai <sthaduvai@nvidia.com>
Reviewed-on: http://git-master/r/123963
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vinod Atyam <vatyam@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agosecurity: tf_driver: restore current task flags
Chris Johnson [Tue, 14 Aug 2012 23:12:16 +0000]
security: tf_driver: restore current task flags

In K3.1, this code was setting PF_FREEZER_NOSIG, which meant
freeze_task would signal this thread to TIF_FREEZE later.

In K3.4, PF_FREEZER_NOSIG was removed and the code ported to
toggle PF_KTHREAD instead. But, in the port we missed restoring
the previous task value (leaving PF_KTHREAD still set).

Bug 988873

Change-Id: I1071ea33c08c64288162cd628977081a422c716f
Signed-off-by: Chris Johnson <cwj@nvidia.com>
Reviewed-on: http://git-master/r/123535
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoarm: tegra: p1852: Fix build with kernel 3.4
Sandeep S. Trasi [Tue, 14 Aug 2012 16:18:10 +0000]
arm: tegra: p1852: Fix build with kernel 3.4

Fix builds with kernel 3.4

Change-Id: I4b5b95c57df18bc9cc63cd1a626c7559f3c3473a
Signed-off-by: Sandeep S. Trasi <strasi@nvidia.com>
Reviewed-on: http://git-master/r/123386
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bob Johnston <bjohnston@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agosdhci: tegra: Fix build with kernel 3.4
Sandeep S. Trasi [Tue, 14 Aug 2012 16:10:23 +0000]
sdhci: tegra: Fix build with kernel 3.4

BKOPS capability bit is moved to the caps2 member of mmc_host.

Change-Id: Ibcc71204cbdd6cd4442a75d49234faad1aa94e82
Signed-off-by: Sandeep S. Trasi <strasi@nvidia.com>
Reviewed-on: http://git-master/r/123385
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bob Johnston <bjohnston@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: tegra: integration of slave mode support.
Ankit Gupta [Fri, 13 Jul 2012 09:28:18 +0000]
ARM: tegra: integration of slave mode support.

Add configurability support for i2s parameters accross all board.

ARM: tegra: board: add i2s params
Add configurability support for i2s parameters accross all board
files.
Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com>
Change-Id: If58788b5126280b7e1dc8c66e9c96d0e71229b5e
Reviewed-on: http://git-master/r/111476
(cherry-picked from commit cac52867b0a0cad3b3c5bf46f08b0b94d0be2e02)

ARM: tegra: include: add configurability support for i2s params.
Add several variables for i2s configuration in platform data
structure.
Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com>
Change-Id: Iea3930f308954471f170513234c2c02a8559ef98
Reviewed-on: http://git-master/r/111473
(cherry picked from commit 35e749770f6046fc82860f1152db2f5f579b9508)

Conflicts:

arch/arm/mach-tegra/board-enterprise.c
arch/arm/mach-tegra/board-harmony.c

Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Change-Id: Id6fd683f11c8768b46b4b7b80dc3fc1239753ed5
Reviewed-on: http://git-master/r/123329
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoasoc: tegra: integration of slave mode support.
Ankit Gupta [Wed, 11 Jul 2012 15:20:01 +0000]
asoc: tegra: integration of slave mode support.

Add master/slave configurability support interface for
all codecs. Currently, complete slave mode functionality
is added only for MAX98088 and WM8903 codec only. By
default, board parameters will set i2s master mode for
all codecs.

asoc: tegra: utils: add support for i2s master/slave mode.
Support for i2s in master or slave mode is made generic by
obtaining information from platform data.
Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com>
Change-Id: Ided0fcefb6cdb124b78aab423bfd8c7dccd4bf6e
Reviewed-on: http://git-master/r/111553
(cherry picked from commit bb1ad7222f9c75424a45976d16de418bc927dc04)

asoc: tegra: wm8903 machine: add support for i2s in slave mode.
Add support for i2s as slave for playback and capture use cases.
Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com>
Change-Id: I1f6b73a0a1b690ecd311b0ff4107aadbb1f037d8
Reviewed-on: http://git-master/r/111472
(cherry picked from commit 0434f8ba74adefe60597d95d30a455b9b2ece9b8)

asoc: tegra: wm8753 machine: add support for i2s in slave mode.
Add support for i2s as slave for playback and capture use cases.
Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com>
Change-Id: Ib0596955cd0c6ac5ec57b0f3c6ecc9e4ed41268c
Reviewed-on: http://git-master/r/113208
(cherry picked from commit 0fc6b5e3a98d9f8866f73d7914b0c590334ce862)

asoc: tegra: aic326x machine: add support for i2s in slave mode.
Support for i2s in slave mode is added for playabck and capture
use cases.
Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com>
Change-Id: I41f6459765f075703ad7f5f8dc9d4628dd853820
Reviewed-on: http://git-master/r/112874
(cherry picked from commit 9a89ede36a1dca6f53250444e819443fb6f28d09)

asoc: tegra: rt5640 machine: add support for i2s in slave mode.
Add support for i2s as slave for playback and capture use cases.
Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com>
Change-Id: I850ec62149b8a8d244445b70658b632dbce06558
Reviewed-on: http://git-master/r/112878
(cherry picked from commit 1d51561c8edf47d8557a825450a48ee8743a185b)

asoc: tegra: max98088 machine: add support for codec i2s as slave.
Add support for codec i2s as slave during voice Call.
(Bug 998682)
Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com>
Change-Id: I8fc54d367e9acd5417d270869cb5a9398b3b527f
Reviewed-on: http://git-master/r/110559
(cherry picked from commit 78a490867e131b1cc892094ddd844c2b892cafb6)

asoc: tegra: max98095 machine: add support for i2s in slave mode.
Add support for i2s as slave for playback and capture use cases.
Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com>
Change-Id: I80944d403be94c55ad2ce31aea921d80ea7c088a
Reviewed-on: http://git-master/r/112875

Conflicts:

sound/soc/tegra/tegra_wm8903.c

Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Change-Id: Ia55cda9cc85449806dceb817c3f4c9316c194a2f
Reviewed-on: http://git-master/r/123308
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ankit Gupta (Engrg-SW) <ankitgupta@nvidia.com>
Reviewed-by: Vijay Mali <vmali@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

6 years agovideo: tegra: host: Fix actmon initialization
Terje Bergstrom [Tue, 14 Aug 2012 08:18:13 +0000]
video: tegra: host: Fix actmon initialization

Actmon was initialized with incorrect parameters.

* Hardware adds one to sample period, so initialize it to zero instead of 1
* We don't use consecutive breaches interrupt, so don't initialize it
* Monitor was not activated

Bug 971602

Change-Id: I50a521e38b1bc044dd742e02f708a24f531ee8d4
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/123305
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Andrew Howe <ahowe@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>

6 years agocrypto: tegra-se: Limit max bytes to process
Mallikarjun Kasoju [Tue, 14 Aug 2012 08:21:52 +0000]
crypto: tegra-se: Limit max bytes to process

Security Engine can process maximum of 0xFFFFF 16 byte
blocks. Add check condition for the same.

Bug 961700

Change-Id: Iade1abfd27a9b784de8e0a59f319d403a4beb187
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/123291
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkata Jagadish <vjagadish@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agousb: otg: tegra: fix otg driver crash
Venkatajagadish [Fri, 10 Aug 2012 11:09:52 +0000]
usb: otg: tegra: fix otg driver crash

Fix the driver crash after inserting OTG cable in
instance0

Bug 988807

Change-Id: I245e74fc04d0575188ae824d1039560870743e93
Signed-off-by: Venkatajagadish <vjagadish@nvidia.com>
Reviewed-on: http://git-master/r/122651
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agovideo: tegra: nvmap: Call page_to_pfn once
Hiroshi Doyu [Fri, 10 Aug 2012 08:12:19 +0000]
video: tegra: nvmap: Call page_to_pfn once

Change to call page_to_pfn once, small optimization.

Change-Id: I38ce3f91d52a11403470b09b5b40597966fcb5ea
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/122628
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoMerge remote-tracking branch 'origin/dev/android-t114-3.4-next' into promotion_build
varun colbert [Thu, 16 Aug 2012 23:40:08 +0000]
Merge remote-tracking branch 'origin/dev/android-t114-3.4-next' into promotion_build

This merge is part of the main -> dev-chips merge from main-jb-2012.08.14-D1.1

Change-Id: I6bb70447ab6dca91d9e491ca3fbf9cc194777fb9

6 years agoARM: tegra: p1853: get rid of tegra_gpio_enable()
Laxman Dewangan [Mon, 13 Aug 2012 05:51:45 +0000]
ARM: tegra: p1853: get rid of tegra_gpio_enable()

The gpio mode is enabled when setting direction and
disabled when freeing gpio and hence this call is no
more required.

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

6 years agoARM: tegra: p852: get rid of tegra_gpio_enable()
Laxman Dewangan [Mon, 13 Aug 2012 05:49:41 +0000]
ARM: tegra: p852: get rid of tegra_gpio_enable()

The gpio mode is enabled when setting direction and
disabled when freeing gpio and hence this call is no
more required.

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

6 years agovideo: tegra: nvmap: Add support for zeroed pages
Alex Waterman [Wed, 1 Aug 2012 18:02:30 +0000]
video: tegra: nvmap: Add support for zeroed pages

Add support to alloc zeroed pages for user space alloc requests. Also
define a config option to force userspace allocation requests to be
zeroed.

Change-Id: I75d3b2bc36e808f1470b423578ec4cba99e0f967
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/122549
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agomm: Fix incorrect cache attribute restoration.
Krishna Reddy [Thu, 9 Aug 2012 18:18:21 +0000]
mm: Fix incorrect cache attribute restoration.

armv7 uses cache policy as WRITEALLOC. CPA is
restoring the cache attributes to WRITEBACK during
set_pages_array_wb().
Fixed issues in pmd to pte prot translation and vice versa.

Change-Id: I8406b784f62d559f657ef7bc08e77c83ac6e5690
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/122472
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: xmm: adding callback for L0 sequence.
Shawn Joo [Mon, 13 Aug 2012 07:50:48 +0000]
arm: tegra: xmm: adding callback for L0 sequence.

adding callback of xmm modem for L3->L0 power sequence.

Bug 1030815

Change-Id: I4997f56819726a55fc8268a1011bc98ff6baf8ca
Signed-off-by: Shawn Joo <sjoo@nvidia.com>
Reviewed-on: http://git-master/r/122960
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: host: Disable host1x irqs at suspend
Terje Bergstrom [Mon, 13 Aug 2012 12:06:23 +0000]
video: tegra: host: Disable host1x irqs at suspend

host1x interrupts have been left on at suspend due to using wrong
constant for the interrupt register. Disable host1x interrupts at
suspend.

Change-Id: I915fc4e663e6ad90fccacff6fb223c5080e21fcd
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/123055
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Andrew Howe <ahowe@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agopower: tps80031-battery: enable battery full event
Xin Xie [Thu, 12 Jul 2012 22:17:37 +0000]
power: tps80031-battery: enable battery full event

BUG 1015045

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

6 years agopower: tps80031: charger: handle re-charge event
Xin Xie [Fri, 13 Jul 2012 01:26:59 +0000]
power: tps80031: charger: handle re-charge event

After the charging completed, TPS80031 can re-enable the charging if it
sense the voltage dropping (120mV below target). Current drive does not
handle this event and causing the charging forever stopped.

This patch will check the above re-charging happens in the charging WDT
handler, and will ack WDT in order to continue charging.

BUG 1015045

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

6 years agomisc: throughput: move client calls to work queue
Ilan Aelion [Wed, 8 Aug 2012 18:25:52 +0000]
misc: throughput: move client calls to work queue

Perform throughput notifications to clients on work queue rather than
synchronously to dc flip notifications.

Bug 1028850

Change-Id: Ib9446a4ab87a476230a90a1f23c260bcf98e01dc
Signed-off-by: Ilan Aelion <iaelion@nvidia.com>
(cherry picked from commit f48bec5168232d7a50ecfb193146a4be214af3d7)
Reviewed-on: http://git-master/r/#change,122160
Reviewed-on: http://git-master/r/123102
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agovideo: tegra: hdcp: Add Missing Lock
Matt Wagner [Fri, 10 Aug 2012 18:43:35 +0000]
video: tegra: hdcp: Add Missing Lock

Lock was missing around one state set, so we add it here.

Bug 1024031

Change-Id: Iab013fff7e8519e8bcc91e84a5ca7cd6e6e783da
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-on: http://git-master/r/122802
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agoARM: tegra: Ignore PmQos when disabled
Sai Charan Gurrappadi [Fri, 10 Aug 2012 22:13:00 +0000]
ARM: tegra: Ignore PmQos when disabled

The cpu hotplug drivers should only bother updating state or switching
to the G cluster if the driver is not disabled

Bug 1032096

Change-Id: Ice938b094bbf48fef47afa3915b1a48362fb256d
Signed-off-by: Sai Charan Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/122859
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoARM: tegra: cardhu: report correct height/width
Rakesh Iyer [Mon, 6 Aug 2012 21:06:17 +0000]
ARM: tegra: cardhu: report correct height/width

We will report the exact width/height instead of rounding it off for
Android's bucketed dpi values. The determination of the bucketed dpi
values is handled in user mode.

Bug 1003707.

Change-Id: Id3d4b9fc325187067e2d3df895ff6a753b730633
Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-on: http://git-master/r/121431
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agopower: smb349: correct charger status
Allen Yu [Wed, 8 Aug 2012 06:50:40 +0000]
power: smb349: correct charger status

When tegra-otg suspends with charger cable connected, the charger
state and type should not be changed, neither should the charger
callback be executed.

SMB349 has a debounce delay of ~20ms +/- 3 after cable is unpluged
and will stop all I2C functions for 2.3ms when getting reset to POR.
Add 50ms' delay before reading charger status to avoid I2C error and
make sure we get the right charger state.

Bug 1024735

Change-Id: I1667b23df768b46b524c6578c4bee09e131d9f96
Signed-off-by: Allen Yu <alleny@nvidia.com>
Reviewed-on: http://git-master/r/120905
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agovideo: tegra: host: Fix section mismatches
Terje Bergstrom [Fri, 3 Aug 2012 11:29:11 +0000]
video: tegra: host: Fix section mismatches

nvhost context related functions were in init section, even though
they are called from non-init functions.

Bug 1022681

Change-Id: Ie85e9dd3f19873aec4153e34c7bffa19f40d37fa
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/120884
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agotracing: Clock lock trace events
Antti P Miettinen [Fri, 10 Aug 2012 12:18:38 +0000]
tracing: Clock lock trace events

Add tracing for clock lock/unlock operations.

Bug 960307

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

6 years agoworkqueue: CPU hotplug keep idle workers
Mitch Luban [Wed, 25 Jul 2012 19:59:04 +0000]
workqueue: CPU hotplug keep idle workers

This change merges two patchsets. The first set,
containing 6 patches, reimplements WQ_HIGHPRI
to use a seperate worker_pool. gcwq->pools[0]
is used for normal priority work and pools[1]
for high priority.

The second patchset contains 9 patches and
reimplements CPU hotplug to keep idle workers.
Updates workqueue CPU hotplug path to use a
disassociated global_cwq, which runs as an
unbound one (WQ_UNBOUND). While this requires
rebinding idle workers, overall hotplug path
is much simpler.

Original patchset:
http://thread.gmane.org/gmane.linux.kernel/1329164

Bug 978010

Change-Id: Ic66ec8848a8d111b5278e63ef6a410846dfd8fcc
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/118387
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agomtd: tegra-nor: treat warnings as errors
Deepak Nibade [Tue, 24 Jul 2012 12:38:52 +0000]
mtd: tegra-nor: treat warnings as errors

add compilation flag to treat warnings as errors
handle error of variable declaration

bug 949219

Change-Id: Iac05d4d0e4c4cbf39a534b7aee32c0dac57ae49d
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/118027
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
Reviewed-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoinput: tegra: kbc: treat warnings as errors
Deepak Nibade [Tue, 24 Jul 2012 11:42:33 +0000]
input: tegra: kbc: treat warnings as errors

-add compilation flag to treat warning as error

bug 949219

Change-Id: I3f7f557099b0473883e0b959b65eb8f17ed30978
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/118008
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoE1853 BRINGUP: HDMI bringup
Dongfang Shi [Fri, 27 Jul 2012 10:28:50 +0000]
E1853 BRINGUP: HDMI bringup

- Register HDMI device.
- Panel init also registers HOST1x.
- HDMI is fully functional
- Hotplug detect GPIO, DDC bus works fine.

bug 966833
bug 1018258

Change-Id: Ia04fbfb9b9ddcf81cef241f3cd1187cdc87d159d
Reviewed-on: http://git-master/r/119118
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Raymond Rees <rrees@nvidia.com>
Tested-by: Dongfang Shi <dshi@nvidia.com>
(cherry picked from commit c62d307b84a034bae31afce67b8755d500170f58)
Reviewed-on: http://git-master/r/119743
Reviewed-by: Bob Johnston <bjohnston@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

6 years agoMerge branch 'android-t114-3.4-rebased' into android-t114-3.4
Varun Wadekar [Thu, 16 Aug 2012 10:23:17 +0000]
Merge branch 'android-t114-3.4-rebased' into android-t114-3.4

6 years agokernel: fix Makefile typo
Richard Wiley [Tue, 14 Aug 2012 23:08:53 +0000]
kernel: fix Makefile typo

Fixes CFLAGS typo in kernel/Makefile

Change-Id: I4bdf7d0ecc9f31cb46b48d9987d8ea633684223b
Signed-off-by: Richard Wiley <rwiley@nvidia.com>
Reviewed-on: http://git-master/r/123533
Reviewed-by: Chao Xu <cxu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mark Stadler <mastadler@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoiommu/tegra: smmu: Fix warning for unnecessary token
Hiroshi Doyu [Thu, 9 Aug 2012 10:42:50 +0000]
iommu/tegra: smmu: Fix warning for unnecessary token

Fix warning for unnecessary token after #undef.

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

6 years agostaging: iio: light: isl29028: fix upper threshold in sysfs store functions
Varun Wadekar [Tue, 7 Aug 2012 12:39:19 +0000]
staging: iio: light: isl29028: fix upper threshold in sysfs store functions

0xFFFF is not a valid upper threshold value for ir_low_threshold or
als_high_threshold.

Change-Id: I72963db3ad67c2e17aa169defd4a3c6cf540140b
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/121780
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra: T11x wake table created
Bitan Biswas [Mon, 6 Aug 2012 15:18:06 +0000]
ARM: tegra: T11x wake table created

T11x specific wakeup table is created

Change-Id: I7eec37118194ea08a2f8cc09d2270bad111db20f
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/121335
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: tegra11: dvfs: Rename CL-DVFS data structure
Alex Frid [Fri, 10 Aug 2012 05:09:29 +0000]
ARM: tegra11: dvfs: Rename CL-DVFS data structure

Changed name of the structure with dfll tuning parameters in CL-DVFS
object from "soc_data" to more appropriate "dfll_data". Updated
member names to remove redundant (now) dfll_ prefix (one exception -
kept dfll_clk_name member for consistency with other dfll clock
references).

Change-Id: I08e83ea7981b32ebd776a9eb2a94cf2b972a0085
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/122818
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>

6 years agoARM: tegra11: dvfs: Add cpu cvb dvfs template
Alex Frid [Tue, 7 Aug 2012 23:34:22 +0000]
ARM: tegra11: dvfs: Add cpu cvb dvfs template

Added support for CPU continues virtual binning (CVB). CVB dvfs
table include a set of coefficients for each operating frequency
that can be used to calculate cpu voltage base on the speedo value
for the particular chip.

The calculated value can be used directly to set voltage targets
when CPU run on DFLL clock source. After applying additional margin
this voltage provides minimum level required to run CPU on PLL clock
at the respective frequency.

Integrated one template table just for testing in emulation. Updated
CPU dvfs initialization and CL-DVFS voltage maps accordingly.

Change-Id: I115b2351c651ef7230c2998049ed66903e5ba356
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/122817
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoRevert "ARM: Tegra11: cl_dvfs: change MAX_CL_DVFS_VOLTAGES from 33 to 41"
Alex Frid [Thu, 9 Aug 2012 20:13:53 +0000]
Revert "ARM: Tegra11: cl_dvfs: change MAX_CL_DVFS_VOLTAGES from 33 to 41"

This is h/w limitation, and it is safe after maps initialization
is fixed.

This reverts commit 358f9cb8f50be503820b8331260b39e8ab2a0c44.

Change-Id: Ided2fe98ed1242052d8bd283eb7528eb875f7509
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/122816
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>

6 years agoARM: tegra11: dvfs: Fix Cl-DVFS maps initialization
Alex Frid [Thu, 9 Aug 2012 06:39:53 +0000]
ARM: tegra11: dvfs: Fix Cl-DVFS maps initialization

- Bounded number of processed safe dvfs entries by actual number
of supported frequencies (rather than maximum possible frequencies)
- Moved BUG_ON check of safe dvfs table size against CL-DVFS voltage
table size from compile time to run time.
- Made sure mapping voltage is advanced in case when remaining voltage
range is smaller than number of available steps.

Change-Id: I6e97a2dea1ccc80206232152c928ee14abe0045d
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/122815
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>

6 years agobluesleep: remove WARNING message during kernel statup.
Hayden Du [Fri, 10 Aug 2012 02:04:20 +0000]
bluesleep: remove WARNING message during kernel statup.

in bluesleep's probe function, will generate a WARNING message if bluesleep
don't have a bt_ext_wake resource, because in probe function some call path
will free bt_ext_wake gpio even that gpio not request, we can add a jugement
to see wether the gpio has request before we free it.

Change-Id: Idb6fb10da8b21cf51d75f6421061aca0471cde54
Signed-off-by: Hayden Du <haydend@nvidia.com>
Reviewed-on: http://git-master/r/122568
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

6 years agoarm: tegra: dalmore: Implement board panel file
Animesh Kishore [Thu, 9 Aug 2012 12:34:20 +0000]
arm: tegra: dalmore: Implement board panel file

Comprises of:
1. nvmap device registration
2. nvavp device registration
3. host1x device registration
4. display device registration
5. basic dsi and hdmi support

Bug 1017715

Change-Id: Iaef6f566deccf1b4dfceae28cd32a2188842ff61
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/122431
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agovideo: tegra: dc: Set interface ctrl to default
Animesh Kishore [Thu, 9 Aug 2012 12:17:33 +0000]
video: tegra: dc: Set interface ctrl to default

No parallel display client on t11x.
Serial display client need default settings.

Bug 1017715

Change-Id: Icf00be597ce7833e10f32b1c3d247ec12eaf9f6e
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/122430
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agovideo: tegra: nvmap: Skip unnecessary loop for tegra_iommu_free_vm()
Hiroshi Doyu [Wed, 8 Aug 2012 12:36:49 +0000]
video: tegra: nvmap: Skip unnecessary loop for tegra_iommu_free_vm()

dma_unmap_page() can take bigger length than PAGE_SIZE.

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

6 years agoARM: tegra: Skip soctherm init in simulation
Terje Bergstrom [Thu, 9 Aug 2012 10:56:47 +0000]
ARM: tegra: Skip soctherm init in simulation

Skip initialization of the new soctherm driver in simulation. It
causes simulation to hang.

Bug 1028850

Change-Id: I01f619c360896d77e15f644f7fc4c2b69c527b6a
Reviewed-on: http://git-master/r/122407
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Joshua Primero <jprimero@nvidia.com>
Tested-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agortc: RTC driver for palmas
Mallikarjun Kasoju [Fri, 10 Aug 2012 16:22:51 +0000]
rtc: RTC driver for palmas

Add RTC driver for palmas

Bug 978821

Change-Id: I6cdc1f491f97db0edc1c57d2429de565e407d799
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/122126
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agokernel: add Kbuild option for kernel optimization level
Richard Wiley [Tue, 7 Aug 2012 17:42:51 +0000]
kernel: add Kbuild option for kernel optimization level

Adds a kernel config option to lower the kernel compile optimization
level from O2 to O1 for clearer GDB debugging. Default on for simulation
builds, default off for others.

Change-Id: I17fd63b5b391984d28b275e516df89d6a223021c
Reviewed-on: http://git-master/r/121822
Reviewed-by: Chao Xu <cxu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ken Adams <kadams@nvidia.com>
Tested-by: Richard Wiley <rwiley@nvidia.com>
Reviewed-by: Mark Stadler <mastadler@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>

6 years agoARM: dalmore: power: fill max77663 power rails
Pradeep Kumar [Tue, 7 Aug 2012 12:54:02 +0000]
ARM: dalmore: power: fill max77663 power rails

Bug 982726

Change-Id: I6112385c79bb17b8f4de91bdca79f853f0a85238
Reviewed-on: http://git-master/r/121788
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: dalmore: Enable tps51632 cpu regulator
Pradeep Kumar [Tue, 7 Aug 2012 12:07:12 +0000]
ARM: dalmore: Enable tps51632 cpu regulator

Bug 978821

Change-Id: I2510465bfd485473f35380077fa640cee5df7992
Signed-off-by: Pradeep Kumar <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/121628
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra11: clock: Account for effective EMC bus width
Alex Frid [Tue, 7 Aug 2012 03:30:28 +0000]
ARM: tegra11: clock: Account for effective EMC bus width

Since EMC shared bandwidth users normalize EMC rate request to 32-bit
bus, added scaling to actual 64-bit effective bus width on Tegra11.

Change-Id: Ibec57e990393f67ab5c57da5283904959eaf054e
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/121542
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: fix sectionmismatch for __soc_smp_ops and platform_cpu_kill
Peter De Schrijver [Fri, 3 Aug 2012 13:03:21 +0000]
ARM: fix sectionmismatch for __soc_smp_ops and platform_cpu_kill

platform_cpu_kill and __soc_smp_ops are also referenced by handle_IPI, hence
they cannot be __cpuinit.

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

6 years agoALSA: soc: update DAM driver for T114
Rahul Mittal [Tue, 17 Jul 2012 13:52:48 +0000]
ALSA: soc: update DAM driver for T114

Updated DAM driver for T114 as per changed hardware from T30

Change-Id: I6c41c72d9934becdf9ab6fb82528be3c75e61dbe
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/114925
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>