6 years agodrivers: rm31080a: remove useless alert message
Hervé Fache [Mon, 3 Jun 2013 11:58:30 +0000]
drivers: rm31080a: remove useless alert message

The previous change got rid if the resume messages at
alert level, and left only the suspend message. Remove it
for consistency

Bug 1294872
Bug 1343545

Change-Id: I61908a3b7d9d331256028b4eefb42d85834d2d71
Signed-off-by: Hervé Fache <hfache@nvidia.com>
Reviewed-on: http://git-master/r/247079
(cherry picked from commit 6334be6b0dc2e2dfcf0722c13ff05ef3afc901cb)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/258555
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoarm: tegra: register clockevents before timer irq
Nitin Kumbhar [Tue, 18 Jun 2013 13:51:56 +0000]
arm: tegra: register clockevents before timer irq

Each time a cpu boots up, its local timer setup is done. This initializes
clock event device, sets up timer irq and its affinity. The per cpu instance
of clock event device is initialized during it's registration. Before this
happens, clock event device (evt) fields contain data from previous boot up.

This can cause an issue if event handlers are different. It is noticed that
after boot up, timer event handler is set to hrtimer_interrupt() replacing
default tick_handle_periodic(). If this stale handler is invoked it hits
a BUG in hrtimer_interrupt() as hrt is not active yet.

The issue is resolved if initialization of clock event device is done before
setting up timer irq.

Bug 1308139
Bug 1334040

Change-Id: Ibe02074c82821a50b73f152e41826700a9b54ebd
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-on: http://git-master/r/239771
(cherry picked from commit b952f7792a6a444c5030a2a306125d8eb64edb32)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/257873
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agostaging: nvshm: add modem statistics collection support
Hervé Fache [Thu, 4 Jul 2013 16:44:58 +0000]
staging: nvshm: add modem statistics collection support

This patch implements an iterator-based system to browse the statistics
exported by the modem, as well as a notifier to know when the modem
[re-]boots.

Bug 1273958
Bug 1342556

Signed-off-by: Hervé Fache <hfache@nvidia.com>
Change-Id: Idb170658c8436f4785ce66e271c2da8347d28b26
Reviewed-on: http://git-master/r/250664
(cherry picked from commit 840482d40b8b0ea6fb9357fc59de778bfe121b32)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/257872
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agostaging: nvshm: start processing messages on first IPC ready
Hervé Fache [Mon, 1 Jul 2013 17:42:04 +0000]
staging: nvshm: start processing messages on first IPC ready

The first IPC ready only trigger an initialization, which was OK for
TTY and network types of traffic.  With RPC and FS, we may already have
data to process though.

Bug 1318298
Bug 1342556

Signed-off-by: Hervé Fache <hfache@nvidia.com>
Change-Id: I716c80f40c899a5ce2d3522f41e080a6ab648d7a
Reviewed-on: http://git-master/r/251856
(cherry picked from commit f0092a57c9ff7ce3837e0c42453b4878e62a0211)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/257871
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agostaging: nvshm: RPC: check length while decoding message
Hervé Fache [Tue, 16 Jul 2013 16:52:30 +0000]
staging: nvshm: RPC: check length while decoding message

Check the message length as we decode the procedure arguments to detect
data corruption if any.

Bug 1313177
Bug 1342556

Change-Id: I869f31430572c7305410d34332aa3f467a5cb5e2
Signed-off-by: Hervé Fache <hfache@nvidia.com>
Reviewed-on: http://git-master/r/250691
(cherry picked from commit 85dd7ae1bd46f68c7bfd149ac42037dd1e6dc71a)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/257870
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agostaging: nvshm: fix oversized IP packet not handled properly
Martin Chabot [Mon, 15 Jul 2013 10:24:17 +0000]
staging: nvshm: fix oversized IP packet not handled properly

In case of IP packet lenth > MTU, iobuf are not handled
correctly.

Bug 1313726
Bug 1342556

Change-Id: I90e456d6e888db933b6f29c796b628c0588c06e5
Signed-off-by: Martin Chabot <mchabot@nvidia.com>
Reviewed-on: http://git-master/r/251379
(cherry picked from commit dbc9517bc926accb183d208b02b31aa160965d4c)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/257869
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agostaging: nvshm: fix missing spin_unlock_irqrestore
Martin Chabot [Thu, 11 Jul 2013 16:58:31 +0000]
staging: nvshm: fix missing spin_unlock_irqrestore

In case of nvshm_iobuf_check failure, spinlock wasn't
unlocked in nvshm_iobuf_alloc

Bug 1322246
Bug 1342556

Change-Id: I0f71fad3e7794c2f43df8ffcd0775e5b5a355bab
Signed-off-by: Martin Chabot <mchabot@nvidia.com>
Reviewed-on: http://git-master/r/251378
(cherry picked from commit 4a1f1168bf6a62bf1b485f78bdc5cfb36b3b8711)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/257868
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agostaging: nvshm: clear bbc free list at restart
Martin Chabot [Thu, 11 Jul 2013 12:07:13 +0000]
staging: nvshm: clear bbc free list at restart

Clear BBC iobuf free list at iobuf init
Clear cache at startup on IPC region
Add more check and debug messages to
catch similar situation

Bug 1294911
Bug 1342556

Change-Id: I76eb8e59a2ac1c25fe158791a2ee5633fdc0f915
Signed-off-by: Martin Chabot <mchabot@nvidia.com>
Reviewed-on: http://git-master/r/251377
(cherry picked from commit d3fc127a3e56c2787e0126f76dcbdf89210ca2e3)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/257867
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agostaging: nvshm: stop net processing on allocation error
Martin Chabot [Thu, 27 Jun 2013 10:28:09 +0000]
staging: nvshm: stop net processing on allocation error

when iobuf alloc fails netdev is stopped to allow
congestion recovering

Bug 1313726
Bug 1342556

Change-Id: I23763b33efe62e5c9f3a49cef61ffb738a01753a
Signed-off-by: Martin Chabot <mchabot@nvidia.com>
Reviewed-on: http://git-master/r/248393
(cherry picked from commit f255b77ff384459c0d47e8a90b459c762910b6ba)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/257866
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agostaging: nvshm: adjust rate limiter and minor issues
Martin Chabot [Thu, 27 Jun 2013 10:25:20 +0000]
staging: nvshm: adjust rate limiter and minor issues

Rate limit now work as expected (no more false restart)
Rate limits tweaked for CAT3 LTE
Cleanup code from obsolete code
Fix AP dummy element channel

Bug 1315729
Bug 1342556

Change-Id: I7b23a79f74acc82ef356eec74159e4c4dc68f5c0
Signed-off-by: Martin Chabot <mchabot@nvidia.com>
Reviewed-on: http://git-master/r/248392
(cherry picked from commit 8cc09130162f12a677ebaa626754044dd571a355)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/257865
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agostaging: nvshm: Fix multi-datagram SHM net packet handling
Martin Chabot [Wed, 26 Jun 2013 14:21:35 +0000]
staging: nvshm: Fix multi-datagram SHM net packet handling

Bug 1315061
Bug 1299443
Bug 1342556

Change-Id: I40e143261576ebad91caed39fb4bc17db2aca8cc
Signed-off-by: Martin Chabot <mchabot@nvidia.com>
Reviewed-on: http://git-master/r/248391
(cherry picked from commit ae4bea68053894f33c90958dd0d80ae7e2c7b61c)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/257864
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agostaging: nvshm: limit number of pending free iobuf
Martin Chabot [Wed, 12 Jun 2013 15:46:29 +0000]
staging: nvshm: limit number of pending free iobuf

iobuf are send back to modem as soon as their number
reach pending limit (16). This will reduce iobuf xon/xoff
transition in LTE cat3/4.

Bug 1289705
Bug 1342556

Change-Id: I9ee7a7fb445bb0cbebfb2386a0d8baf2f6a0bd65
Signed-off-by: Martin Chabot <mchabot@nvidia.com>
Reviewed-on: http://git-master/r/248390
(cherry picked from commit 23431f7bcced0909890771493074373f30c9db0a)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/257863
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agodrivers: staging: nvshm: add runtime checks
Martin Chabot [Wed, 3 Apr 2013 15:07:57 +0000]
drivers: staging: nvshm: add runtime checks

BBC iobufs are always checked to increase
robustness in case BBC puts wrong values in them
or when queue is corrupted
Automatic cleanup on queue processing error to
catch modem crash sooner

Bug 1265388
Bug 1271054
Bug 1299443
Bug 1342556

Change-Id: Id87906cf8d973ecc98e69758e341efb1581367b9
Signed-off-by: Martin Chabot <mchabot@nvidia.com>
Reviewed-on: http://git-master/r/248365
(cherry picked from commit 2aa149955a696307c2a2713e95647807971fd705)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/257862
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agostaging: nvshm: properly deal with major/minor version changes
Hervé Fache [Wed, 10 Jul 2013 10:37:59 +0000]
staging: nvshm: properly deal with major/minor version changes

Major version changes will stop all processing as before.
Minor version changes will allow the system to proceed, but some
features may not work.
Also, v1.3 modems are allowed on v2.x kernels as nothing prevents it.

Bug 1273958
Bug 1342556

Signed-off-by: Hervé Fache <hfache@nvidia.com>
Change-Id: I9c99e90a0f7276a655af5c67283248043faa8dcf
Reviewed-on: http://git-master/r/250174
(cherry picked from commit 9b7846a53a39cd41ceb6e4984bd057e303f6ad13)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/257861
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agostaging: nvshm: add support for upcoming modem version
Hervé Fache [Tue, 9 Jul 2013 08:53:54 +0000]
staging: nvshm: add support for upcoming modem version

A new version of the modem is coming which is backwards compatible
with the previous one (V3). Changing the kernel to accept both the old
and new versions will allow for a smooth transition as nothing opposes
it.

Note: this version has been set to 0x00020001 so that a future change
can restrict the version check to the 'major' part of it, and allow
minor changes to only change the 'minor' part of the version number.

Bug 1273958
Bug 1342556

Signed-off-by: Hervé Fache <hfache@nvidia.com>
Change-Id: I61a144f935404d8ab4562b3dceb4e95f7d1166f9
Reviewed-on: http://git-master/r/247081
(cherry picked from commit 7b8f253dc3363c3fb6e6e6311909b2954237464d)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/257860
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agostaging: nvshm: add and use robust functions to prepare messages
Hervé Fache [Tue, 18 Jun 2013 09:08:57 +0000]
staging: nvshm: add and use robust functions to prepare messages

This shall avoid NULL pointer errors as all checks are done in those
util functions.  This also re-aligns the AP code with the BB code.

Bug 1309698
Bug 1342556

Signed-off-by: Hervé Fache <hfache@nvidia.com>
Change-Id: I19276be06c35d0fee0589ea69b04685e1a715cb8
Reviewed-on: http://git-master/r/247080
(cherry picked from commit 665eeb841a2c9d88f4c7046b52ac3f2082955753)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/257859
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agostaging: nvshm: fix tty implementation for K3.8
Martin Chabot [Tue, 25 Jun 2013 16:15:20 +0000]
staging: nvshm: fix tty implementation for K3.8

Bug 1314266
Bug 1302583
Bug 1342556

Change-Id: Ief67ad822105435c669b78483d3903a5ee1a01a7
Signed-off-by: Martin Chabot <mchabot@nvidia.com>
Reviewed-on: http://git-master/r/241991
(cherry picked from commit 5bba480f6ae2339332941355e7ca32943111e69d)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/257858
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: tegra: config: enable BCMDHD driver
Om Prakash Singh [Wed, 31 Jul 2013 16:01:23 +0000]
ARM: tegra: config: enable BCMDHD driver

Bug 1310450

Change-Id: I895ed3a16aa23816d41e3c335695f22cb31e9821
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/256385
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agonet: wireless: bcmdhd: port bcmdhd driver for kernel 3.8
Om Prakash Singh [Wed, 31 Jul 2013 15:58:49 +0000]
net: wireless: bcmdhd: port bcmdhd driver for kernel 3.8

Bug 1310450

Change-Id: I77e0bb0b9fec4f92da2ce0d31c5cd003fe839f03
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/256384
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agonet: wireless: bcmdhd: update driver to 1.88.21 version
Om Prakash Singh [Wed, 31 Jul 2013 14:24:16 +0000]
net: wireless: bcmdhd: update driver to 1.88.21 version

1) replace bcm4335 driver with bcmdhd
2) symlink bcm43341 to bcmdhd for bcm43341 chip
3) symlink bcm43342 to bcmdhd for bcm43241 chip

Bug 1310450

Change-Id: Iabcbf1cf450d435ebe3ed6982cabebb11841f17e
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/256362
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agortc: palmas: obtain IRQ from palmas_irq_get_virq
Ajay Nandakumar [Thu, 1 Aug 2013 09:08:08 +0000]
rtc: palmas: obtain IRQ from palmas_irq_get_virq

obtain RTC interrupt through palmas_irq_get_virq instead of
platform_get_irq.

Bug 1327616

Change-Id: Ic563d351028f8f768ff329a530ad8ceff7e3e8e4
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/252920
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: tegra: cpuidle: Attach MC clock PM on CPU0
Ajay Nandakumar [Thu, 25 Jul 2013 13:56:51 +0000]
ARM: tegra: cpuidle: Attach MC clock PM on CPU0

Attach MC clock PM with CPUIDLE driver of CPU0.When attaching the
PM with cpuidle through the API pm_genpd_attach_cpuidle,it attaches to
the curent cpu's cpuidle driver on which the code is executing.Hence
there is possiblity that it can attach to other CPUs than 0.On Tegra,
CPU0 can't  enter an idle state until all the other CPUs are idle.
Therefore, the code can be scheduled to run on CPU 0.

Bug 1331433

Change-Id: I8850fb88f328723e4a286693cfc978ca8c44ca51
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/253275
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: tegra: dalmore: Adding late init call to MACHINE_START
Ajay Nandakumar [Fri, 19 Jul 2013 15:41:41 +0000]
ARM: tegra: dalmore: Adding late init call to MACHINE_START

With this Debug Sys file entries pertaining to clock is created
through late initcall.

Bug 1327616

Change-Id: I8f297a7017c18cd67f61cdc4dd00cde3e22886ec
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-on: http://git-master/r/251381

6 years agoARM: config: tegra11_android: Enable NVAVP
Ajay Nandakumar [Thu, 18 Jul 2013 17:25:00 +0000]
ARM: config: tegra11_android: Enable NVAVP

Enable NVAVP driver on tegra114

Bug 1327616

Change-Id: Ieabf2bbf7951a4849252cfb3998c465aa0ba1cfd
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/250838
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agosound: hda: Fix compilation error
Preetham Chandru R [Fri, 2 Aug 2013 10:33:54 +0000]
sound: hda: Fix compilation error

This commit resolves the below error:
sound/pci/hda/hda_intel.c:4212:1: error: redefinition of '__inittest'
sound/pci/hda/hda_intel.c:4211:1: note: previous definition of '__inittest' was here

Bug 1342028

Change-Id: Ic8ae2f408ca82cc11ccc83f0c6c2d1b20051c26e
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/257476
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agofixup! misc: nct1008: Add thermal_zone_params in struct nct1008_platform_data
Dan Willemsen [Thu, 8 Aug 2013 07:54:59 +0000]
fixup! misc: nct1008: Add thermal_zone_params in struct nct1008_platform_data

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

6 years agoARM: tegra: Move arch_timer init later
Dan Willemsen [Thu, 8 Aug 2013 07:47:17 +0000]
ARM: tegra: Move arch_timer init later

If we initialize the architecutral timers before we register our
clockevents device, we run into a kernel panic where the event handler
in tegra_timer_interrupt is null. Instead of putting a null-check there,
re-order initialization to fix this.

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

6 years agoARM: tegra: Consolidate down to one arch timer entry
Dan Willemsen [Thu, 8 Aug 2013 07:21:57 +0000]
ARM: tegra: Consolidate down to one arch timer entry

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

6 years agoregulator: tps65090: Fix to_tps65090_dev
Dan Willemsen [Thu, 8 Aug 2013 05:32:58 +0000]
regulator: tps65090: Fix to_tps65090_dev

We're were going too far up, and getting the i2c bus instead of the i2c
device.

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

6 years agoARM: tegra: Use HAVE_ARM_ARCH_TIMER
Dan Willemsen [Wed, 7 Aug 2013 06:53:14 +0000]
ARM: tegra: Use HAVE_ARM_ARCH_TIMER

see upstream commit 8a4da6e36c582ff746191eca85b6c1c068dbfbd6

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

6 years agoARM: dts: tegra11: GPIO is enabled
Dan Willemsen [Thu, 1 Aug 2013 06:53:15 +0000]
ARM: dts: tegra11: GPIO is enabled

It's enabled in the upstream tegra114.dtsi file, so we don't need to
re-enable it in all the other files.

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

6 years agoRevert "ARM: dts: tegra: add device tree node for GPIO"
Dan Willemsen [Thu, 1 Aug 2013 06:51:21 +0000]
Revert "ARM: dts: tegra: add device tree node for GPIO"

This reverts commit 8e10d12ea60743f9f0abed70d35b89df4c5e81de. It's been
upstreamed.

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

6 years agoUPSTREAM Revert Android "ARM: convert build of appended dtb zImage to list of dtbs"
Dan Willemsen [Thu, 1 Aug 2013 06:41:39 +0000]
UPSTREAM Revert Android "ARM: convert build of appended dtb zImage to list of dtbs"

This reverts commit 5e9468632ea81e7d17fc9bd4457acbaffda7b370.

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

6 years agoARM: mm: Re-enable pageattr.o builds
Dan Willemsen [Thu, 1 Aug 2013 06:31:35 +0000]
ARM: mm: Re-enable pageattr.o builds

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

6 years agofixup! net: phonet: Modifications for RMC PegaPCI. * As submitted by RMC for modem...
Dan Willemsen [Thu, 1 Aug 2013 06:25:16 +0000]
fixup! net: phonet: Modifications for RMC PegaPCI. * As submitted by RMC for modem support *

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

6 years agofixup! net: Add MHI support for RMC PegaPCI. * As submitted by RMC for modem support *
Dan Willemsen [Thu, 1 Aug 2013 06:23:31 +0000]
fixup! net: Add MHI support for RMC PegaPCI. * As submitted by RMC for modem support *

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

6 years agofixup! watchdog: max77660: provide mechanism for resetting WDT in kthread
Dan Willemsen [Thu, 1 Aug 2013 06:19:28 +0000]
fixup! watchdog: max77660: provide mechanism for resetting WDT in kthread

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

6 years agofixup! video: tegra: mipi_cal: Implement driver for mipi calibration
Dan Willemsen [Thu, 1 Aug 2013 06:16:27 +0000]
fixup! video: tegra: mipi_cal: Implement driver for mipi calibration

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

6 years agofixup! video: tegra: dsi2lvds: Implement driver init
Dan Willemsen [Thu, 1 Aug 2013 06:15:41 +0000]
fixup! video: tegra: dsi2lvds: Implement driver init

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

6 years agofixup! video: tegra: dc: split dc.c into smaller files
Dan Willemsen [Thu, 1 Aug 2013 06:03:00 +0000]
fixup! video: tegra: dc: split dc.c into smaller files

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

6 years agofixup! backlight: max8831: Add backlight support for MAX8831
Dan Willemsen [Thu, 1 Aug 2013 06:02:05 +0000]
fixup! backlight: max8831: Add backlight support for MAX8831

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

6 years agousb: gadget: tegra_udc: Move from obsolete API
Dan Willemsen [Thu, 1 Aug 2013 05:58:26 +0000]
usb: gadget: tegra_udc: Move from obsolete API

The obsolete start/stop API was removed in commit:

2d7ebbb0946e9e13285eee348df1dbc48f0580e0

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

6 years agofixup! usb: tegra: add USB device controller driver for tegra chip
Dan Willemsen [Thu, 1 Aug 2013 05:41:45 +0000]
fixup! usb: tegra: add USB device controller driver for tegra chip

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

6 years agofixup! regulator: tps51632: add support for change control mode
Dan Willemsen [Thu, 1 Aug 2013 05:38:30 +0000]
fixup! regulator: tps51632: add support for change control mode

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

6 years agofixup! mmc: tegra: Set broken preset values quirk
Dan Willemsen [Thu, 1 Aug 2013 05:21:55 +0000]
fixup! mmc: tegra: Set broken preset values quirk

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

6 years agofixup! sdhci: Enable SDIO IRQ in sdhci_resume_host
Dan Willemsen [Thu, 1 Aug 2013 05:07:36 +0000]
fixup! sdhci: Enable SDIO IRQ in sdhci_resume_host

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

6 years agofixup! mmc: fix sdhci_host PM flags usage
Dan Willemsen [Thu, 1 Aug 2013 05:04:41 +0000]
fixup! mmc: fix sdhci_host PM flags usage

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

6 years agofixup! arm: tegra: pluto: Modularize board panel file
Dan Willemsen [Thu, 1 Aug 2013 04:57:38 +0000]
fixup! arm: tegra: pluto: Modularize board panel file

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

6 years agofixup! ARM: tegra: pluto: set pmic irq type to LEVEL_HIGH
Dan Willemsen [Thu, 1 Aug 2013 04:56:28 +0000]
fixup! ARM: tegra: pluto: set pmic irq type to LEVEL_HIGH

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

6 years agofixup! arm: tegra: dalmore: Runtime panel detection
Dan Willemsen [Thu, 1 Aug 2013 04:46:57 +0000]
fixup! arm: tegra: dalmore: Runtime panel detection

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

6 years agoARM: tegra: panel: Add platform_device include
Dan Willemsen [Thu, 1 Aug 2013 04:45:09 +0000]
ARM: tegra: panel: Add platform_device include

This header uses platform_device, include it here.

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

6 years agoARM: tegra: panel: Add export include
Dan Willemsen [Thu, 1 Aug 2013 04:44:47 +0000]
ARM: tegra: panel: Add export include

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

6 years agoARM: tegra: cluster: Remove obsolete tracing
Dan Willemsen [Thu, 1 Aug 2013 04:41:28 +0000]
ARM: tegra: cluster: Remove obsolete tracing

The old cpu power tracing API was removed by this commit:

43720bd6014327ac454434496cb953edcdb9f8d6

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

6 years agoHACK: Disable cpu_volt_cap message to userspace
Dan Willemsen [Thu, 1 Aug 2013 01:14:14 +0000]
HACK: Disable cpu_volt_cap message to userspace

bug 1340826

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

6 years agoARM: tegra: invalid cpuidle state count
Ajay Nandakumar [Sat, 20 Jul 2013 10:12:05 +0000]
ARM: tegra: invalid cpuidle state count

cpuidle state count is being decremented twice for cpus other than
cpu0.Due to which state count for other cpus is one.

Bug 1327616

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

6 years agommc: core: Adding MMC awake to Resume
Ajay Nandakumar [Wed, 24 Jul 2013 06:16:24 +0000]
mmc: core: Adding MMC awake to Resume

Calling mmc_card_awake from resume as a request to mmc_card_sleep is
made during suspend,if the sleep command is not possible/avialable
and Power notification is disabled.

Bug 1323103

Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Change-Id: Ib05ab8d54a25734ce60f6495b9302a9c15cbf2f7
Reviewed-on: http://git-master/r/250136
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: tegra: Move ARM gic.h to include/linux/irqchip/arm-gic.h
Dan Willemsen [Mon, 22 Jul 2013 05:57:21 +0000]
ARM: tegra: Move ARM gic.h to include/linux/irqchip/arm-gic.h

See upstream commit 520f7bd73354f003a9a59937b28e4903d985c420

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

6 years agoARM: tegra: Remove unused include
Dan Willemsen [Mon, 22 Jul 2013 05:43:59 +0000]
ARM: tegra: Remove unused include

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

6 years agoARM: tegra: move ARCH_REQUIRE_GPIOLIB
Dan Willemsen [Mon, 22 Jul 2013 01:43:54 +0000]
ARM: tegra: move ARCH_REQUIRE_GPIOLIB

Upstream commit e0277f66125686c7112050ba144efd6d759c47c0 moved
ARCH_REQUIRE_GPIOLIB to the ARCH_TEGRA choice, so it's no longer
required here.

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

6 years agoARM: tegra: remove mach .handle_irq for GIC users
Dan Willemsen [Mon, 22 Jul 2013 01:34:58 +0000]
ARM: tegra: remove mach .handle_irq for GIC users

See upstream v3.9 commit:

  commit b2e6833c1e390e7902698a1576cc76970ccd55db
  ARM: remove mach .handle_irq for GIC users

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

6 years agoARM: tegra: delete struct sys_timer
Dan Willemsen [Mon, 22 Jul 2013 01:19:27 +0000]
ARM: tegra: delete struct sys_timer

Make changes necessary for upstream v3.9 commit:

 commit 6bb27d7349db51b50c40534710fe164ca0d58902
 ARM: delete struct sys_timer

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

6 years agoARM:tegra: Enable powergate debugfs for all platforms
Ajay Nandakumar [Sat, 20 Jul 2013 13:46:33 +0000]
ARM:tegra: Enable powergate debugfs for all platforms

Enable powergate debugfs for all platforms

Bug 1327616

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

6 years agomedia: video: tegra: nvavp: use dma coherent memory
Krishna Reddy [Tue, 18 Jun 2013 22:05:34 +0000]
media: video: tegra: nvavp: use dma coherent memory

Use dma coherent memory instead of NvMap memory

Change-Id: Ibef4829d2d1fda89f8b86ea73136d982312773b2
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/239935
(cherry picked from commit 266865afdea118053d14e598206ebab9715205a9)
Reviewed-on: http://git-master/r/247343
Reviewed-by: Alex Waterman <alexw@nvidia.com>

6 years agomedia: video: nvavp: Switch to new nvmap_pin API
Alex Van Brunt [Wed, 6 Mar 2013 22:36:46 +0000]
media: video: nvavp: Switch to new nvmap_pin API

Change-Id: I503420e920699c6a64d8191b0fe799b817824260
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>
Reviewed-on: http://git-master/r/206824
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

6 years agoARM: dma-mapping: Add dma_alloc_*at*_coherent()
Hiroshi Doyu [Tue, 18 Jun 2013 05:49:09 +0000]
ARM: dma-mapping: Add dma_alloc_*at*_coherent()

Add the version we can specify which IOVA to allocate.

Bug 1309498
Bug 1327616

Change-Id: I434171b09e40f888190b696b567d25777c69bb45
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/247938
(cherry picked from commit 063bf38038fa11b2ba0b7af64a2151b74dee8516)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/250834
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agovideo: tegra: dc: Use new nvmap_pin API
Alex Van Brunt [Tue, 13 Nov 2012 21:37:58 +0000]
video: tegra: dc: Use new nvmap_pin API

Port dc to use the new API to nvmap_pin().

Bug 1327616

Change-Id: Iffeed2c20a82924881e049e088d171931ce2c783
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>
Reviewed-on: http://git-master/r/195683
(cherry picked from commit d3c94280afef506f9ae22a3f5d500c2468f3cd49)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/250833
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agovideo: tegra: host: Change nvmap_pin API in host
Alex Van Brunt [Tue, 13 Nov 2012 21:44:29 +0000]
video: tegra: host: Change nvmap_pin API in host

Port host to use the new API to nvmap_pin().

Bug 1327616

Change-Id: I3340fad9c477821fb604de60cb11dc54b5c2d343
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>
Reviewed-on: http://git-master/r/195684
(cherry picked from commit e41f8872a4c60fcbe76fe1bdc2db215d3c17cf35)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/250832
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agovideo: tegra: nvmap: Change the nvmap_pin API
Alex Van Brunt [Mon, 12 Nov 2012 23:53:43 +0000]
video: tegra: nvmap: Change the nvmap_pin API

Aliasing an error into a phys_add_t is problematic because phys_addr_t
can be 32 or 64 bits long. Instead, return an int as an error code and
return the physical address by reference.

Bug 1327616

Change-Id: I8e970c34417125c6fff0ab5bdd8198c0d116b0e2
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>
Reviewed-on: http://git-master/r/195682
(cherry picked from commit 7c01f6f3ee1a39f18106e0c02d4afcca71d54977)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/250831
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agofixup! spi: Tegra11: Port all fixes from t30 to tegra11
Dan Willemsen [Sun, 21 Jul 2013 05:11:29 +0000]
fixup! spi: Tegra11: Port all fixes from t30 to tegra11

6 years agomedia: video: tegra: DW9718: Fix kernel warnings
Frank Chen [Thu, 13 Jun 2013 17:11:26 +0000]
media: video: tegra: DW9718: Fix kernel warnings

Unbalanced refernece count causes kernel to generate
warning messages. This is due to disabling a regulator
that has been disabled already.

Bug 1305243
Bug 1327616

Change-Id: I974f6caad98856250730d2faccb1d9a9ae7c3f45
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/248157
(cherry picked from commit 16272a2b57960fbb14258723b30fa6caa341141f)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/250828
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agomedia: video: tegra: Update ad5816 range
Sudhir Vyas [Mon, 3 Jun 2013 11:02:34 +0000]
media: video: tegra: Update ad5816 range

Update focuser calibrated working range.

Bug 1297156
Bug 1327616

Change-Id: I3203420b1d077a33bf8373b32207a212363e316a
Signed-off-by: Sudhir Vyas <svyas@nvidia.com>
Reviewed-on: http://git-master/r/247202
(cherry picked from commit 96950c2913b8df474f3732be819263733e42b9c6)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/250825
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agovideo: tegra: remove redundant kconfig
Bo Yan [Sun, 30 Jun 2013 04:51:29 +0000]
video: tegra: remove redundant kconfig

The drivers/media/video is gone in upstream. The tegra driver should
be moved to drivers/media/platform. For now, just remove redundant
kconfig in drivers/media/video, then modify kconfig in drivers/media
and drivers/media/platform to make kbuild happy. Another change is
needed to move tegra video driver to drivers/media/platform.

Bug 1327616

Change-Id: I648f346aa985c775aab4b4fc59f900b0d8db3875
Signed-off-by: Bo Yan <byan@nvidia.com>
(cherry picked from commit 6d4856dec13cfb97e9b6f2357250a13380125448)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/250824
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agomedia: video: tegra: fix for bonaire build
Nitin Kumbhar [Sat, 22 Jun 2013 10:07:52 +0000]
media: video: tegra: fix for bonaire build

CONFIG_TEGRA_CAMERA is disabled for bonaire. It results
in non-availability of nvc APIs. Build nvc utilities explicitly
for bonaire.

Bug 1327616

Change-Id: I162b32904ee6a1501812bd3d9ef5751700219c2b
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>
(cherry picked from commit cd22609eb7e6b7caad63d04a6fb5c67f8a15a501)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/250823
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agomedia: video: tegra: export nvc utility APIs
Nitin Kumbhar [Fri, 14 Jun 2013 06:58:51 +0000]
media: video: tegra: export nvc utility APIs

Camera drivers can be built as kernel modules and those need
to access nvc utility APIS. Export these APIs for camera kernel
modules.

Bug 1327616

Change-Id: Ia513672523e8725cc05cbb193e4402a92688789d
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-on: http://git-master/r/238791
(cherry picked from commit 2d01f66fefb7f9250019ee1c7619e2b393e9ece5)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/250822
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agodma: tegra: add support for t148
Laxman Dewangan [Sat, 6 Apr 2013 15:34:08 +0000]
dma: tegra: add support for t148

Add support for T148 APB DMA on dmaengine based DMA driver.

Bug 1323171

Change-Id: I1df5812fb8e52019e5705778efc0d3b0356f9340
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit 39ae7d034fef443edc57452dafd4f6c24dadfe6c)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/247132
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agodma: tegra: implement suspend/resume callbacks
Laxman Dewangan [Tue, 23 Apr 2013 15:47:14 +0000]
dma: tegra: implement suspend/resume callbacks

Implement suspend/resume callbacks to store channel register
on suspend and restore channel register on resume.

bug 1323103

Change-Id: I55548701d08d4325f661502c62815747264e7196
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/222118
(cherry picked from commit 2d0f1556f16688ab7a4bd5d1b99034dee6d1321c)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/247131
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: dt: tegra11: Add uart controller dt entry
Kunal Agrawal [Wed, 10 Apr 2013 11:21:57 +0000]
ARM: dt: tegra11: Add uart controller dt entry

Add uart controller details in the dts file of
Tegra114

Bug 1323103

Change-Id: Ie3e7902e450bdbe343457014751526c0d2bd26cb
Signed-off-by: Kunal Agrawal <kunala@nvidia.com>
Reviewed-on: http://git-master/r/218208
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/247129
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agotty: serial: tegra: Rename device name ttyHS
Pradeep Goudagunta [Tue, 28 May 2013 09:57:52 +0000]
tty: serial: tegra: Rename device name ttyHS

Rename device name to ttyHS* from ttyTHS*.

Bug 1323103

Change-Id: I98f83782e904ad27b61ec8cb754c64b5715ba4cd
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/233263
(cherry picked from commit 1b57a306934d92d1b9d2121b6a6f511f8321807f)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/247128
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoserial: tegra: add chip data for T114 SOC
Kunal Agrawal [Tue, 16 Apr 2013 06:23:48 +0000]
serial: tegra: add chip data for T114 SOC

added chip data and also compatible, data fields in of_device_id
for T114 SOC.

Bug 1323103

Change-Id: Iea39ffa247c29f21e87be6b650f5f3b4aa960fbe
Signed-off-by: Kunal Agrawal <kunala@nvidia.com>
Reviewed-on: http://git-master/r/219674
(cherry picked from commit 0e22fbc3a4d1ff0e3d4d139742f74c59a9b41f6b)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/247127
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoserial: tegra: support registration of devices through board file
Kunal Agrawal [Wed, 20 Mar 2013 10:48:53 +0000]
serial: tegra: support registration of devices through board file

support registration of uart devices through board files also

Bug 1323103

Change-Id: Ie17bb8e204d11a83b0ac4935654fb1536d9c43d2
Signed-off-by: Kunal Agrawal <kunala@nvidia.com>
Reviewed-on: http://git-master/r/211162
(cherry picked from commit fcea3df82bc7a5136872c04b8429ac7f636f508d)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/247126
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: tegra: dalmore: enable HS UART through DT
Pradeep Goudagunta [Tue, 28 May 2013 09:06:38 +0000]
ARM: tegra: dalmore: enable HS UART through DT

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

Bug 1323103

Change-Id: I43a86c726d07c101bd3c8604499b90612f8b391c
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/233261
(cherry picked from commit dba9fd3a331823c7be5626e3e0d5f9baa21af983)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/247125
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoserial: tegra: add platform data for uart driver
Kunal Agrawal [Thu, 21 Mar 2013 05:24:02 +0000]
serial: tegra: add platform data for uart driver

Bug 1323103

Change-Id: I22efc93e2da42ed0d1f4ea84a77ab1e91efa8dd5
Signed-off-by: Kunal Agrawal <kunala@nvidia.com>
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/211465
(cherry picked from commit f44d6f82e2d3f69d5fda899b4bb81a5abca6a567)
Reviewed-on: http://git-master/r/246726
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: tegra: dalmore: Enable serial-tegra
Pradeep Goudagunta [Mon, 27 May 2013 13:11:32 +0000]
ARM: tegra: dalmore: Enable serial-tegra

Bug 1323103

Change-Id: Iae6f64f1f0fa3c5c544071c5cdea43e35f41a025
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/232990
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/246725
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: tegra: Rename HS uart driver name
Pradeep Goudagunta [Tue, 28 May 2013 09:54:34 +0000]
ARM: tegra: Rename HS uart driver name

Tegra will use serial-tegra as HS uart driver.

Bug 1323103

Change-Id: I86c9b46e96cf81896057de59a7afc6e680e6c08e
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/233262
(cherry picked from commit a1fb3b5a3a02626c00f7dd0e295daa55ddaaf2e4)
Reviewed-on: http://git-master/r/246724
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agogpio: tegra: Moved tegra gpio suspend/resume
Ajay Nandakumar [Thu, 28 Mar 2013 13:53:16 +0000]
gpio: tegra: Moved tegra gpio suspend/resume

Moving tegra gpio suspend/resume from platform suspend to syscore
suspend/resume.Since GPIO's are need by other modules in the kernel
and it state cannot be maintained across the power cycle ,it needs to
be suspended  furthur in time and hence cannot be sheduled along with
other drivers.Hence,moving to Syscore suspend allows the GPIO module
to be suspend later and resume futher ahead of the devices.

Bug 1323103

Change-Id: Id3a092a1e492f2830c485b330ccc6fb26746ff6d
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/213997
(cherry picked from commit bc25f5333f90baf716b313060d56dd78fe7fe7e9)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/246721
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: config: tegra11_android: Regenerate defconfig
Dan Willemsen [Thu, 20 Jun 2013 21:23:35 +0000]
ARM: config: tegra11_android: Regenerate defconfig

Ensure that the following are selected:

* CONFIG_TEGRA20_APB_DMA
* CONFIG_SPI_TEGRA114

bug 1310453

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

6 years agoHACK Revert "ARM: tegra: dalmore: enable full regulator constraints"
Dan Willemsen [Thu, 20 Jun 2013 20:46:20 +0000]
HACK Revert "ARM: tegra: dalmore: enable full regulator constraints"

This reverts commit 81720be0e212e0e879a1bf9a56247447903ea645. Now the
display on my dalmore comes on.

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

6 years agofixup! fixup! drivers: video: tegra: 3d scaling uses devfreq
Dan Willemsen [Thu, 20 Jun 2013 20:12:15 +0000]
fixup! fixup! drivers: video: tegra: 3d scaling uses devfreq

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

6 years agovideo: tegra: host: enable nvhost_pod governor
Ajay Nandakumar [Wed, 13 Mar 2013 10:31:17 +0000]
video: tegra: host: enable nvhost_pod governor

nvhost_pod governor was not enabled as the registering method
has changed in 3.8 for the dev-freq governor.

Bug 1207114

Change-Id: I5b7c418959ad8a87c3cac4a4e6b1f4ce442ce09a
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/208783
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoHACK Revert "ARM: tegra: sdhci: Pass min,max vcore overrides"
Dan Willemsen [Thu, 20 Jun 2013 08:05:42 +0000]
HACK Revert "ARM: tegra: sdhci: Pass min,max vcore overrides"

This reverts commit fc2ca38aeef3c44c70de4b6915f16bf3ffebd96e. Otherwise
we get I/O errors at boot.

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

6 years agoHACK Revert "mmc: tegra: Set override voltages with dvfs APIs"
Dan Willemsen [Thu, 20 Jun 2013 08:05:24 +0000]
HACK Revert "mmc: tegra: Set override voltages with dvfs APIs"

This reverts commit 72dc416e6ac9e1691c7dae79a1c1407ad775177d. Otherwise
we get I/O errors at boot.

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

6 years agoHACK Revert "mmc: tegra: Fix tuning for multiple freqs"
Dan Willemsen [Thu, 20 Jun 2013 08:05:07 +0000]
HACK Revert "mmc: tegra: Fix tuning for multiple freqs"

This reverts commit a097c0e00fd6863845ce97cc6a2b9b6ddd8a7dcf. Otherwise
we get I/O errors at boot.

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

6 years agotegra_pflash: Increase erase and write delay timings of tegra-pflash
Ashutosh Patel [Tue, 4 Jun 2013 10:11:02 +0000]
tegra_pflash: Increase erase and write delay timings of tegra-pflash

Change:
    - Increase erase and write delay timings of tegra-pflash

bug 1292129

Change-Id: I6d3d904c5b40371a3f7f3847bca82e2fe02e8f33
Signed-off-by: Ashutosh Patel <ashutoshp@nvidia.com>
Reviewed-on: http://git-master/r/235407
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Nitin Sehgal <nsehgal@nvidia.com>
Tested-by: Nitin Sehgal <nsehgal@nvidia.com>
Reviewed-by: Nate Huang <nhuang@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoarm: tegra: gmi: Fix driver dependencies for devices on gmi bus.
Nitin Sehgal [Tue, 28 May 2013 10:22:04 +0000]
arm: tegra: gmi: Fix driver dependencies for devices on gmi bus.

- nor mapping driver, pca gmi & sram driver could be selected independently.
- efs & pflash should depend on nor mapping driver.

bug 1294819

Change-Id: I8d201f6aad5ec742ff57d2c11a2507b2bc4f5a8d
Signed-off-by: Nitin Sehgal <nsehgal@nvidia.com>
Reviewed-on: http://git-master/r/235036
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

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

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

Bug 1302148
Bug 1293211
Bug 1283757
Bug 1282005

Reviewed-on: http://git-master/r/236192
(cherry picked from commit d5cf072d6cad8b2bdbbe9ea71e6e60a635c59065)

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

6 years agoarm: tegra: Fix incorrect register usage in lp1 suspend
Karthik Ramakrishnan [Thu, 6 Jun 2013 23:32:55 +0000]
arm: tegra: Fix incorrect register usage in lp1 suspend

The register r0 is being used as TEGRA_CLK_RESET_BASE
address, and r5 is used as tegra3_sdram_pad_save register.
These registers were used incorrectly here.

Bug 1270351

Change-Id: I9fe39ab052fa875e809d7b33a5ae346060d3090f
Signed-off-by: Karthik Ramakrishnan <karthikr@nvidia.com>
Reviewed-on: http://git-master/r/236472
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agomedia: video: tegra: remove obsolete source
David Schalig [Wed, 5 Jun 2013 08:57:54 +0000]
media: video: tegra: remove obsolete source

tegra_camera.c is not compiled and obsolete, the driver now lives
in drivers/video/tegra/camera/

Bug 1298672

Change-Id: I580812d4b209f761cb69034024c03895ac2c5904
Signed-off-by: David Schalig <dschalig@nvidia.com>
Reviewed-on: http://git-master/r/235803
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Karsten Patzwaldt <kpatzwaldt@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agomedia: video: tegra: ov5640: move MCLK into sensor
David Schalig [Wed, 5 Jun 2013 07:49:27 +0000]
media: video: tegra: ov5640: move MCLK into sensor

Move MCLK control from tegra_camera into sensor driver,
to allow for full control over MCLK rate and enable timing,
per sensor power-on/off sequence specification.

Bug 1298672

Change-Id: If26d2e6c3fc9deccf1797db20f8fe1e57695c21d
Signed-off-by: David Schalig <dschalig@nvidia.com>
Reviewed-on: http://git-master/r/235776
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Karsten Patzwaldt <kpatzwaldt@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agomedia: video: tegra: ov5693: move MCLK into sensor
David Schalig [Wed, 5 Jun 2013 07:03:47 +0000]
media: video: tegra: ov5693: move MCLK into sensor

Move MCLK control from tegra_camera into sensor driver,
to allow for full control over MCLK rate and enable timing,
per sensor power-on/off sequence specification.

Bug 1298672

Change-Id: I56c15fa54b248bdbf8fdb85e2540d37864affbde
Signed-off-by: David Schalig <dschalig@nvidia.com>
Reviewed-on: http://git-master/r/235760
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Karsten Patzwaldt <kpatzwaldt@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agomedia: video: tegra: ov7695: move MCLK into sensor
David Schalig [Wed, 5 Jun 2013 07:01:57 +0000]
media: video: tegra: ov7695: move MCLK into sensor

Move MCLK control from tegra_camera into sensor driver,
to allow for full control over MCLK rate and enable timing,
per sensor power-on/off sequence specification.

Bug 1298672

Change-Id: I017663e2cdb3bbb323970ebf2ee1de0ce9f93948
Signed-off-by: David Schalig <dschalig@nvidia.com>
Reviewed-on: http://git-master/r/235759
Reviewed-by: Karsten Patzwaldt <kpatzwaldt@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>