5 years agoARM: tegra: Check regulator_enable return values
Dan Willemsen [Thu, 22 Aug 2013 21:07:24 +0000]
ARM: tegra: Check regulator_enable return values

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

5 years agoARM: tegra: Convert tegra_wakeup_monitor to proc_create and seq_file
Dan Willemsen [Thu, 22 Aug 2013 20:49:18 +0000]
ARM: tegra: Convert tegra_wakeup_monitor to proc_create and seq_file

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

5 years agoARM: tegra: cpuquiet: WQ_RESCUER has been removed
Dan Willemsen [Thu, 22 Aug 2013 20:25:58 +0000]
ARM: tegra: cpuquiet: WQ_RESCUER has been removed

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

5 years agofixup! Revert "clocksource: pass DT node pointer to init functions"
Dan Willemsen [Thu, 22 Aug 2013 20:22:39 +0000]
fixup! Revert "clocksource: pass DT node pointer to init functions"

5 years agoARM: tegra: register arm arch timers using clocksource_of_init()
Dan Willemsen [Thu, 22 Aug 2013 20:20:43 +0000]
ARM: tegra: register arm arch timers using clocksource_of_init()

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

5 years agoARM: config: tegra: Regenerate tegra11_android
Dan Willemsen [Thu, 22 Aug 2013 20:20:12 +0000]
ARM: config: tegra: Regenerate tegra11_android

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

5 years agoUSB: otg: Move tegra-otg to phy folder
Dan Willemsen [Thu, 22 Aug 2013 19:10:21 +0000]
USB: otg: Move tegra-otg to phy folder

Everything else got moved in 3.10, make tegra-otg follow

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

5 years agoARM: dts: tegra11: Add clocks to curacao
Ajay Nandakumar [Wed, 14 Aug 2013 11:49:09 +0000]
ARM: dts: tegra11: Add clocks to curacao

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

5 years agoinput: touchscreen: Disable slow scan
Tuomas Kulve [Wed, 7 Aug 2013 09:26:56 +0000]
input: touchscreen: Disable slow scan

Bug 1343312
Bug 1343582

Change-Id: I94c5a7c414ed5c125609befe4b00d4bd970c38f6
Signed-off-by: Tuomas Kulve <tkulve@nvidia.com>
Reviewed-on: http://git-master/r/259130
(cherry picked from commit f7bd783f0810483f26a8539cc4ec02a572b16dee)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/261037
Reviewed-by: Automatic_Commit_Validation_User

5 years agoinput: touchscreen: raydium v60.2 touch driver
Xiaohui Tao [Fri, 2 Aug 2013 17:09:32 +0000]
input: touchscreen: raydium v60.2 touch driver

raydium code drop

[1] Add additional info for regulator event msg

[2] Add RM_PLATFORM_A010 for Ardbeg AVC sensor

[3] Fix no touch function in Pluto platform with RM31081 from idle mode

[4] Refine Pismo touch direction

[5] Fix idle mode problem with Ardbeg AVC sensor

Bug 1330952

Change-Id: Ib282bec3f07a16eb657314ee5127824f02a89d02
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/257604
Reviewed-by: Mitch Luban <mluban@nvidia.com>
(cherry picked from commit 227b8493a0795aff1bd8d1518e5e4fac1f5e7eae)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/261036

5 years agostaging: iio: light: Remove CONFIG_SENSORS_CM32181
Sri Krishna chowdary [Wed, 15 May 2013 10:46:13 +0000]
staging: iio: light: Remove CONFIG_SENSORS_CM32181

CONFIG_SENSORS_CM32181 was needed for choosing
which value to be written to command register.
Now, this is taken care by cm3218 driver at runtime.

bug 1256462
bug 1327616

Change-Id: Id96ae564f3d7900645bd17d054be19a6af1c0c31
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/228832
(cherry picked from commit 6659fbc6bd76bf911942e8b156b04890145a559a)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/264214
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agostaging: iio: light: cm3218: Fix error paths
Sri Krishna chowdary [Fri, 5 Jul 2013 10:59:56 +0000]
staging: iio: light: cm3218: Fix error paths

1. if regulator is not found then chip->consumers is null.
Prevent Null dereference by adding check.
2. Add proper exit states in case of error in probe
3. Assign chip->id during probe

Bug 1256462
Bug 1327616

Change-Id: I0cf7ff6f1071a50886a31867f7ab68652ed06535
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/245356
(cherry picked from commit 2f14b527f78d01d40b55a61cb25fe6cad9857097)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/264212
Reviewed-by: Automatic_Commit_Validation_User

5 years agostaging: iio: light: cm3218: sync cmd register
Sri Krishna chowdary [Wed, 15 May 2013 10:45:12 +0000]
staging: iio: light: cm3218: sync cmd register

Regmap does not sync registers in reg_dafaults as
it assumes the values to be power-on-reset. CM32181 does
not set value of reg 0x00 to 0x0000 on power on. Regmap
assumes this value to be 0x0000 and hence does not write
when request comes to set register value to 0x0000. Hence,
sync command register using i2c write rather than regmap_sync.

Endianness of mask should also be changed.

Decide which default value to be written to device at runtime.

Remove i2c_waitqueue. If device is not ready even after notifier
returns simply return error. No need to wait further.

Bug 1256462
Bug 1327616

Change-Id: Ib01de85ee76cdb325c7ca3dc1b839bc9553846f4
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/227964
(cherry picked from commit f6b731db8766b34e6c4f7c35ce2a65ce68d4351f)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/264211
Reviewed-by: Automatic_Commit_Validation_User

5 years agostaging: iio: light: cm3218: support CM32181
Sri Krishna chowdary [Tue, 16 Apr 2013 07:01:52 +0000]
staging: iio: light: cm3218: support CM32181

CM32181 is used on Ardbeg.
Modify the cm3218 driver to be compatible with k3.8.
Also, change default value for Command register on cm32181.

Bug 1256462
Bug 1327616

Change-Id: I6a3d8875befbe0f18d79ed478fb7f96a20300c0b
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/219714
(cherry picked from commit 6fabee72fa38a5eb99ca90095fb4cdba7700ee1d)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/264210
Reviewed-by: Automatic_Commit_Validation_User

5 years agoARM: tegra: Remove enterprise support from baseband-xmm-power
Dan Willemsen [Wed, 21 Aug 2013 23:41:35 +0000]
ARM: tegra: Remove enterprise support from baseband-xmm-power

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

5 years agosecurity: tf_driver: fix build errors
Ajay Nandakumar [Tue, 13 Aug 2013 06:36:57 +0000]
security: tf_driver: fix build errors

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

5 years agoUPSTREAM v3.10: ARM: tegra: add non-removable and keep-power-in-suspend property...
Joseph Lo [Wed, 3 Apr 2013 20:34:39 +0000]
UPSTREAM v3.10: ARM: tegra: add non-removable and keep-power-in-suspend property for MMC

This patch adds "non-removable" property of MMC host where the eMMC device
is for Tegra platform.

And the "keep-power-in-suspend" property was used for the SDIO device that
need this to go into suspend mode (e.g. BRCM43xx series).

Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
(cherry picked from commit 7a2617a64dac0ce559bee0710704aa7d51f4e92a)
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoUPSTREAM v3.10: ARM: tegra: add SPI nodes to Tegra114 DT
Laxman Dewangan [Fri, 15 Mar 2013 18:37:25 +0000]
UPSTREAM v3.10: ARM: tegra: add SPI nodes to Tegra114 DT

NVIDIA's Tegra114 has 6 SPI controllers. These controllers are
redesign on T114 with different register interface.

Add DT entry for spi controllers and make it compatible with
"nvidia,tegra114-spi", since they are a new incompatible design.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
[swarren: fixed reg property for 3rd SPI controller]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
(cherry picked from commit 6ea0297e39139a777c826339761afb3603c72e10)
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoUPSTREAM v3.10: ARM: tegra: add I2C nodes to Tegra114 DT
Laxman Dewangan [Wed, 13 Mar 2013 19:49:51 +0000]
UPSTREAM v3.10: ARM: tegra: add I2C nodes to Tegra114 DT

NVIDIA's Tegra114 has 5 I2C controllers. These controllers have the
following changes which makes incompatible with previous hardware:
- Single clock source to I2C controller.
- Interrupt support for per packet transfer.

Add DT entry for I2C controllers and make it compatible with
"nvidia,tegra114-i2c".

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
[swarren: fixed location of status property for consistency]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
(cherry picked from commit 3fc2f94eba35cc4735ec775d3c7b36deda71e2b1)
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agofixup! asoc: tegra: dalmore: enable audio
Dan Willemsen [Fri, 9 Aug 2013 07:09:00 +0000]
fixup! asoc: tegra: dalmore: enable audio

This is always enabled in the base tegra114 dtsi now

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

5 years agoUPSTREAM v3.10: ARM: tegra: add APB DMA nodes to Tegra114 DT
Laxman Dewangan [Wed, 13 Mar 2013 19:49:50 +0000]
UPSTREAM v3.10: ARM: tegra: add APB DMA nodes to Tegra114 DT

NVIDIA's Tegra114 has 32 channels APB DMA controller. Add DT entry for
APB DMA controllers and make it compatible with "nvidia,tegra114-apbdma".

Tegra114 DMA controller is not compatible with Tegra30/Tegra20 DMA
controller driver as in Tegra114, the global pause also clock gate the
DMA register and hence it iw not possible to write the DMA register
with global pause.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
[swarren: fixed DT node order]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
(cherry picked from commit c5d9da4aab7a9677e7c820e8ed3dcb2a4cb4725a)
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoUPSTREAM v3.10: ARM: tegra: add SDHCI support for Dalmore
Rhyland Klein [Wed, 20 Feb 2013 18:35:15 +0000]
UPSTREAM v3.10: ARM: tegra: add SDHCI support for Dalmore

Dalmore has a built-in eMMC device and a user-accessible SD card slot.
Add device tree nodes to enable these.

Based on changes by: Pritesh Raithatha <praithatha@nvidia.com>
Signed-off-by: Rhyland Klein <rklein@nvidia.com>
[swarren: added commit description, fixed DT node sort order]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
(cherry picked from commit 8d3207ca248d4877936878171f68be2485f3f71e)
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoUPSTREAM v3.10: ARM: tegra: add SDHCI nodes with common properties
Pritesh Raithatha [Wed, 20 Feb 2013 18:35:14 +0000]
UPSTREAM v3.10: ARM: tegra: add SDHCI nodes with common properties

This patch adds in the SDHCI nodes for the busses supported on Tegra114
boards.

Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
[Rhyland added clk refs to & reordered sdhci nodes and removed spaces]
Signed-off-by: Rhyland Klein <rklein@nvidia.com>
[swarren: fixed DT node sort order]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
(cherry picked from commit 933d87a56e3379479ff399a11899830b341809de)
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoARM: tegra: add clock source of PMC to device tree
Dan Willemsen [Fri, 9 Aug 2013 06:57:03 +0000]
ARM: tegra: add clock source of PMC to device tree

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

5 years agoUPSTREAM v3.10: ARM: tegra: add clock source of PMC to device trees
Joseph Lo [Wed, 3 Apr 2013 11:31:27 +0000]
UPSTREAM v3.10: ARM: tegra: add clock source of PMC to device trees

Adding the bindings of the clock source of PMC in DT.

Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
(cherry picked from commit 7021d1220584ab1e6efd3d59da47b65674d9896a)
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoARM: tegra: cpuidle removed en_core_tk_irqen
Dan Willemsen [Fri, 9 Aug 2013 05:25:20 +0000]
ARM: tegra: cpuidle removed en_core_tk_irqen

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

5 years agoUPSTREAM v3.10: mmc: sdhci_pltfm: Constify sdhci_pltfm_data
Lars-Peter Clausen [Wed, 13 Mar 2013 18:26:03 +0000]
UPSTREAM v3.10: mmc: sdhci_pltfm: Constify sdhci_pltfm_data

The sdhci_pltfm_data struct is never modified within the sdhci_pltfm
module. So make the pdata parameter to sdhci_pltfm_init and
sdhci_pltfm_register const.  This allows drivers to declare their
sdhci_pltfm_data struct as const.

This patch also makes the sdhci_pltfm_data declarations const where
possible.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
(cherry picked from commit 1db5eebf22f86a87c3fcbbb085a4abbcfd09ee7d)
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agonet: wireless: bcmdhd: Fix build for 3.9
Dan Willemsen [Thu, 8 Aug 2013 09:54:47 +0000]
net: wireless: bcmdhd: Fix build for 3.9

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

5 years agonvavp: Fix build with 3.8
Dan Willemsen [Thu, 8 Aug 2013 09:18:06 +0000]
nvavp: Fix build with 3.8

Change-Id: I3a827b407d8fa7d71297a9c72645904ece2e5bc7
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-on: http://git-master/r/259572

5 years agomedia: video: tegra: HACK disable tegra_dtv
Ajay Nandakumar [Wed, 24 Jul 2013 13:36:56 +0000]
media: video: tegra: HACK disable tegra_dtv

Disabling tegra DTV as it needs to be changed as per new DMA frmawork

Bug 1327616

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

5 years agovideo: tegra: host: Check against unknown device
Terje Bergstrom [Mon, 10 Jun 2013 08:39:12 +0000]
video: tegra: host: Check against unknown device

Register read/write IOCTLs do not check against unknown device. Add
checks to prevent kernel panic.

Bug 1039339
Bug 1343582

Change-Id: Ic59879e7bc54dd5f55943fed9a358eb25c89778a
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/238589
(cherry picked from commit 95865977888ed05291e4564631761fa5c8997e73)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/258677
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoinput: touchscreen: raydium add detection of AVC sensor
Xiaohui Tao [Tue, 30 Jul 2013 23:50:49 +0000]
input: touchscreen: raydium add detection of AVC sensor

Bug 1343545

Change-Id: I32db26ebfa18d219f2df05b75dcd5e45250c9b23
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/255809
(cherry picked from commit 2d4726ea827a74a554e3e732cfad4f1a9f3cfa55)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/258559
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoinput: touchscreen: raydium change for k3.8
Xiaohui Tao [Tue, 30 Jul 2013 18:17:55 +0000]
input: touchscreen: raydium change for k3.8

Remove unnecessary code and change irqflags

Bug 1343545

Change-Id: I39a9e4285f6ab2dd7dd0adb02ca48f02411d7df0
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/255678
(cherry picked from commit 267d3057c854b1697cf0088ef827c6b0c2221081)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/258558
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoinput: touchscreen: raydium v60.0 touch driver
Xiaohui Tao [Tue, 30 Jul 2013 16:40:14 +0000]
input: touchscreen: raydium v60.0 touch driver

raydium code drop

[1] Shorten suspend/resume duration

[2] Uniform debug msgs (with prefix "Raydium" and using dev_info instead of printk)

[3] Idle mode abnormal CPU clock frequency

[4] AVC snesor support (To verify AVC sensor, the return value of rm_tch_get_gpio_sensor_select routine in rm31080a_ts.c should be changed from 0 to 1. *0 for normal dalmore sensor ; 1 for ANC sensor)

[5] Pismo support (To verify Pismo, the past platform ID of dalmore_touch_init routine in /kernel/arch/arm/mach-tegra/board-dalmore.c should be changed from RM_PLATFORM_D010 to RM_PLATFORM_P140)

[6] Reduce TCH_WAKE_LOCK_TIMEOUT from 2 secs to 500 msec

Bug 1343545

Change-Id: Ia65ecb13dc667fce937e82858321ca44f50bb733
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/255657
(cherry picked from commit ad8d07d3ce337390b34784387693b63c6f4ca7d2)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/258557
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoinput: touch: raydium: conditional wakelock calls
Naveen Kumar S [Mon, 1 Jul 2013 11:16:21 +0000]
input: touch: raydium: conditional wakelock calls

Tasks holding wakelocks in raydium driver intermittently obstruct
system from entering suspend state. Added conditional checks while
invoking wakelock functions so as to disable them if needed.

Bug 1314808
Bug 1343545

Change-Id: Ie71ea98661e56f2f50d406ee759b007ac877762a
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/247729
(cherry picked from commit f56a79205a60e0e86b4a0c2e9f3c5d33f22c5a58)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/258556
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>

5 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>