6 years agoARM: tegra: wdt: Replace legacy WDT with CPU WDTs
Kamal Kannan Balagopalan [Wed, 20 Jun 2012 00:35:19 +0000]
ARM: tegra: wdt: Replace legacy WDT with CPU WDTs

Tegra3 adds new CPU watchdog timers. Replace legacy WDT with
CPU WDTs in all Tegra3 platforms.

Bug 857748

Change-Id: I5bd30687003e6b2ebf09916fbd626d82f0bc0b76
Signed-off-by: Kamal Kannan Balagopalan <kbalagopalan@nvidia.com>
Reviewed-on: http://git-master/r/109907
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoarm: tegra: fix power down sequence fps/ame
Chandler Zhang [Fri, 15 Jun 2012 07:57:18 +0000]
arm: tegra: fix power down sequence fps/ame

Fix power down sequence to align with POR. FPS, GPIO and
AME part.

LDO4 tracking is not disabled.

Affcted regs:

FPS_SD3
FPS_SD2
FPS_SD1
FPS_L4
FPS_L3
AME_GPIO
GPIO3
GPIO4
CNFG1_L4
CNFG1SD0
CNFG1SD1

Bug 1001267

Change-Id: I8db160bf00cbe8f215c6e1b762d994d26d82809f
Signed-off-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-on: http://git-master/r/109134
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoARM: tegra: wdt: Add support for Tegra3 CPU WDTs
Kamal Kannan Balagopalan [Tue, 12 Jun 2012 21:38:43 +0000]
ARM: tegra: wdt: Add support for Tegra3 CPU WDTs

Tegra3 adds new CPU watchdog timers. Add device support for the
CPU WDTs.

Bug 857748

Change-Id: I0f99c37fed89879d39667b734654c659fe631aaf
Signed-off-by: Kamal Kannan Balagopalan <kbalagopalan@nvidia.com>
Reviewed-on: http://git-master/r/108379
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agowatchdog: tegra: Revamp Tegra watchdog support
Kamal Kannan Balagopalan [Tue, 1 May 2012 00:52:51 +0000]
watchdog: tegra: Revamp Tegra watchdog support

 - Make all CPU watchdogs accessible except WDT0
 - CPU WDT0 is reserved for suspend/resume WDT recovery
 - Fix WDT enable sequence on watchdog driver probe

Bug 857748

Change-Id: Ia2d07856c32230ab8c9195fee151af09bce3ddde
Signed-off-by: Kamal Kannan Balagopalan <kbalagopalan@nvidia.com>
Reviewed-on: http://git-master/r/99780
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Xin Xie <xxie@nvidia.com>
Reviewed-by: Steve Kuo <stevek@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agohwmon: tsensor: fix system hang in 0C.
Linqiang Pu [Wed, 13 Jun 2012 02:09:10 +0000]
hwmon: tsensor: fix system hang in 0C.

Changed the low temp to 0C since 20C is very easy to trigger thermal
alert under -15C to 15C environment temperature. And the thermal alert
will run into endless alert from tsensor_work_func.

Also revised suspend and resume routine to cancel the work when suspending
and disable/enable irq.

Bug 999175

Signed-off-by: Linqiang Pu <dpu@nvidia.com>
(cherry picked from commit 6a909bfa690991438be298d4933946a92e4929c4)

Change-Id: Icafc6d5f0164204cc0cb7bea64bef2fadadbfbfd
Reviewed-on: http://git-master/r/111550
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: tegra: thermal framework notifier
Bitan Biswas [Thu, 14 Jun 2012 17:32:18 +0000]
ARM: tegra: thermal framework notifier

Tegra thermal framework notifier is used to bypass
driver callbacks after suspend is initiated.

bug 999175

Signed-off-by: Linqiang Pu <dpu@nvidia.com>
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
(cherry picked from commit de6b3b3e4b05edf05ceeda820a8aac548a83d410)

Change-Id: I93bee5d6a4e2738db0d4db821035900b64a850be
Reviewed-on: http://git-master/r/108924
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agohwmon: tegra: improve tsensor accuracy
Bitan Biswas [Fri, 4 May 2012 13:50:57 +0000]
hwmon: tegra: improve tsensor accuracy

tsensor driver uses fixed point approximations.
Improved accuracy of tsensor temperature reading
- adding support to handle negative temperature to counter
  conversions and vice-versa

bug 1001632
bug 999175

Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
(cherry picked from commit 86ae0bdc3fbd34a5a1d0e08f7721ed527ddf5408)

Change-Id: I5f6df85611d502a6dda1186234078fe973d7ca75
Reviewed-on: http://git-master/r/100576
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoarm: tegra: kai: cleanup the code
Kerwin Wan [Wed, 4 Jul 2012 08:34:02 +0000]
arm: tegra: kai: cleanup the code

kai doesn't use spi4 at all so clear the relevant code.

Change-Id: I6d04a880d3f4a793bd32181453897c0f6dd372cf
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/113470
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ashwini Ghuge <aghuge@nvidia.com>
Reviewed-by: Hao Tang <htang@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoARM: tegra: enterprise: OFF rails in sleep state
Laxman Dewangan [Tue, 26 Jun 2012 08:37:41 +0000]
ARM: tegra: enterprise: OFF rails in sleep state

OFF the rails when the system is in sleep state. The rails are
linked withe xternal req PREQ1 which is the core_pwr_req line.
Followng rails are attached to PREQ1:

SMPS2, SMPS4, LDOUSB will be attached to PREQ1
LDOLN, LDO7, LDO6, LDO4, LDO1
CLK32KG, SYSEN, REGEN2, REGEN1 will be attached to PREQ1

bug 979143

Change-Id: I20973faa78ef61fcd03cbe34445f94c36e280544

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

6 years agoARM: tegra: whistler: get rid of gpio enable/disable calls
Sanjay Singh Rawat [Tue, 3 Jul 2012 04:03:06 +0000]
ARM: tegra: whistler: get rid of gpio enable/disable calls

Gpio direction setting and freeing functions will do the needful now.

Bug 984440

Change-Id: I32b1b0d67d2ebe1aa8b766b633fe675543714812
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/104938
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: tegra: pm269: enable vibrator rail
Laxman Dewangan [Thu, 5 Jul 2012 10:31:39 +0000]
ARM: tegra: pm269: enable vibrator rail

Enable vibrator rail in order to support the
vibrator.

bug 1005183

Change-Id: I7133b259df590ad9dd376693b2f3224eb4431ec4
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/113635
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agocpufreq: mid-range frequency bias
satya popuri [Fri, 22 Jun 2012 16:38:26 +0000]
cpufreq: mid-range frequency bias

Restrict go_maxspeed_load and max_boost at mid-range frequencies.

Change-Id: I9e3c59bbe708b428e12ce4dbef2144be09751d5a
Signed-off-by: satya popuri <spopuri@nvidia.com>
Reviewed-on: http://git-master/r/111754
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Karthikeyan Samynathan <ksamynathan@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agocrypto: tegra-aes: synchronize dma buffer access
Sanjay Singh Rawat [Wed, 27 Jun 2012 12:48:47 +0000]
crypto: tegra-aes: synchronize dma buffer access

- Using the dma sync apis to keep coherency.

bug 984039

Change-Id: I9e389d2679f05c519ae4a51462247b7efeae01ca
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/111612
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: tegra3: clock: Add EPP clock for ISP channel
Songhee Baek [Tue, 12 Jun 2012 22:50:27 +0000]
ARM: tegra3: clock: Add EPP clock for ISP channel

Adding EPP clock is for using EPP to support rgb capture
in ISP channel.

Bug 988546

Change-Id: I7d02cccfd228a235a7eadd67ae3304757ce90360
Signed-off-by: Songhee Baek <sbaek@nvidia.com>
Reviewed-on: http://git-master/r/108413
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agovideo: tegra: dc: Enable platform data flag
Shashank Sharma [Wed, 27 Jun 2012 14:36:12 +0000]
video: tegra: dc: Enable platform data flag

Enable flag in HDMI pdata, to enable HDMI during bootup.

Change-Id: Id49f9ffe5641c1276a311ab2eee36c478ba2973e
Signed-off-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-on: http://git-master/r/111628
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agomisc: tegra-cec: Initial CEC Driver for T3x platform
Ankit Pashiney [Wed, 20 Jun 2012 03:10:11 +0000]
misc: tegra-cec: Initial CEC Driver for T3x platform

READ API:
read API ignores count and will always return 16 bit data.
read API expects user to supply it with min of 16 bits data
it returns CEC packet in following format
bit 0-7: data
bit 8: EOM
bit 9: ACK

WRITE API:
write API ignores count and will always accept 32 bit data.
write API expects user to supply it with min of 32 bits data
it accepts CEC packet supllied in following format
bit 0-7: data
bit 8: EOM
bit 12: Address mode, 0 = Direct, 1 = Broadcast
bit 16: Generate Start bit, 0 = Disable, 1 = Enable
bit 17: Retry frame, 0 = Disable, 1 = Enable

Logical address is set to 4, as of now there is no mechanism to change this
address from userspace.

Driver is disabled by default in Kconfig

Change-Id: Ia3835cec0bb717e63dabca5c5fcb1236847bf492
Signed-off-by: Ankit Pashiney <apashiney@nvidia.com>
Reviewed-on: http://git-master/r/105520
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agoarm: tegra: Cardhu: add support for CEC
Ankit Pashiney [Wed, 20 Jun 2012 03:08:50 +0000]
arm: tegra: Cardhu: add support for CEC

Added board and pinmux support for CEC

bug 894195

Change-Id: I858908bf090dae3e2043637ed22c53db4892c336
Signed-off-by: Ankit Pashiney <apashiney@nvidia.com>
Reviewed-on: http://git-master/r/105519
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: tegra: clock: Add CEC clock
Ankit Pashiney [Wed, 20 Jun 2012 03:06:43 +0000]
ARM: tegra: clock: Add CEC clock

Added CEC clock for tegra3

bug 894195

Change-Id: I7882371f3ab0f03454d372a7240acd9bd78c2c9c
Signed-off-by: Ankit Pashiney <apashiney@nvidia.com>
Reviewed-on: http://git-master/r/105518
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agoarm: tegra: cec: Add IO support for tegra3 cec
Ankit Pashiney [Wed, 20 Jun 2012 03:00:40 +0000]
arm: tegra: cec: Add IO support for tegra3 cec

Add IO and device support for tegra 3 cec block

bug 894195

Change-Id: Icc68b2f900002cf14f48609d4676e7b3e091e948
Signed-off-by: Ankit Pashiney <apashiney@nvidia.com>
Reviewed-on: http://git-master/r/105517
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agoARM: Tegra: p1852: changed pinmux settings
Mohit Kataria [Fri, 18 May 2012 11:58:04 +0000]
ARM: Tegra: p1852: changed pinmux settings

Pinmux updated as per the latest pinmux sheet.

Bug 978870

Change-Id: I122439df3d043216f1c8c2c1a0a3c88e74d760ee
Signed-off-by: Mohit Kataria <mkataria@nvidia.com>
Reviewed-on: http://git-master/r/111573
(cherry picked from commit 4e65d7d21b5ac5b25e3563ce6a7eb50cf1d8128d)
Reviewed-on: http://git-master/r/103340
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: Tegra: cardhu: Change pin for LVDS_SHTDN_N on PM313
Graziano Misuraca [Wed, 6 Jun 2012 23:22:51 +0000]
ARM: Tegra: cardhu: Change pin for LVDS_SHTDN_N on PM313

Change pin used for LVDS_SHTDN_N from GMI_AD9 to VI_D4

Bug 958167

Change-Id: Ie36bbed84746aeea1e84acdbd53d905a8b2bbf20
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-on: http://git-master/r/#change,108612
Reviewed-on: http://git-master/r/113061
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoarm: config: tegra2: Enable CONFIG_THERMAL
Preetham Chandru [Wed, 27 Jun 2012 08:58:08 +0000]
arm: config: tegra2: Enable CONFIG_THERMAL

Enable CONFIG_THERMAL option so that Linux Thermal Sysfs
framework and Tegra Thermal Throttling are enabled.

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

Change-Id: Ied33df234c9484abbb232036e6fca44fc6d308a1
Reviewed-on: http://git-master/r/111516
Tested-by: Preetham Chandru <pchandru@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Wei Ni <wni@nvidia.com>
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoarm: tegra: thermal: nct1008 support for ventana
Joshua Primero [Mon, 23 Jan 2012 23:08:41 +0000]
arm: tegra: thermal: nct1008 support for ventana

Add nct1008 thermal device support for ventana boards.

Bug 1002374

Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Change-Id: I6d6632c884f36c03fba5b65da24dd0328dd68e96
Reviewed-on: http://git-master/r/111467
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Wei Ni <wni@nvidia.com>

6 years agousb: host: tegra: code clean up
Venu Byravarasu [Fri, 1 Jun 2012 05:45:42 +0000]
usb: host: tegra: code clean up

Addressed below items with this patch:
1. Using devm_kzalloc in place of kzalloc.
2. Correcting platform_get_irq return value check

Change-Id: I68225fe40adbb4be98e16ee2e0a4fccefadd8626
Reviewed-on: http://git-master/r/105843
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: tegra: usb: turn off power during suspend
Rohan Somvanshi [Wed, 4 Jul 2012 10:43:10 +0000]
ARM: tegra: usb: turn off power during suspend

Turn off regulators along with clocks during suspend

Bug 991262

Reviewed-on: http://git-master/r/108820
(cherry picked from commit 41ae7ac21a2c08da0e4312b8395b380a704fa16c)

Change-Id: Ib49eec5d91571d75881f4d252d956dece1d37d60
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/105364
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra: p1852_defconfig: enable NON_ALIASED_COHERENT_MEM
Manoj Chourasia [Tue, 26 Jun 2012 07:45:47 +0000]
ARM: tegra: p1852_defconfig: enable NON_ALIASED_COHERENT_MEM

Enabling CONFIG_NON_ALIASED_COHERENT_MEM in p1852 defconfig
to avoid coherent memmory aliasing.

also enabling ARM_ERRATA_742230

bug 965047

Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-on: http://git-master/r/111174
(cherry picked from commit 086cfc1330df0a158e865d39af48d71d15fd5730)

Change-Id: I410bc14e0c062d14bbfc4b7cfa722a20465010de
Reviewed-on: http://git-master/r/113268
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Manoj Chourasia <mchourasia@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

6 years agoARM: tegra: p1852: defconfig: disable erratum 727915.
Manoj Chourasia [Tue, 26 Jun 2012 07:27:28 +0000]
ARM: tegra: p1852: defconfig: disable erratum 727915.

PL310_ERRATA_727915 holds for PL310 revision r2p0 which
is there in T20. T30 has PL310 r3p1.

bug 820324

Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-on: http://git-master/r/111169
(cherry picked from commit 1e29090d6d700f6afb39828e93605d5742847271)

Change-Id: I01516eedbb6bfaec3e3b619d47e30ff54dfb2824
Reviewed-on: http://git-master/r/113267
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Manoj Chourasia <mchourasia@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

6 years agomisc: tegra-baseband: treat compilation warning as error
Sanjay Singh Rawat [Mon, 2 Jul 2012 07:20:59 +0000]
misc: tegra-baseband: treat compilation warning as error

- Handling warning of wrong return type from function.

bug 949219

Change-Id: I49e74de9314ee4934a5a58a8e406f9bade278aaf
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/112906
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: usb: Add config option to increase cpu freq
Rakesh Bodla [Wed, 4 Jul 2012 05:22:56 +0000]
ARM: tegra: usb: Add config option to increase cpu freq

Adding an option to increase the cpu frequency to
improve usb gadget transfer rate performance.

Bug 923594

Reviewed-on: http://git-master/r/80050
(cherry picked from commit d67b47bbb8322d65f745dcb2226af3f3d582d69a)

Conflicts:

arch/arm/mach-tegra/Kconfig

Change-Id: I4b23fc9948aec37ec58891205ec7dd02f0597af2
Reviewed-on: http://git-master/r/113437
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Tested-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoarm: tegra: usb: remove unnecessary code
Venu Byravarasu [Mon, 2 Jul 2012 12:02:53 +0000]
arm: tegra: usb: remove unnecessary code

As Wake alarm and Walk PTR are being set in
two places for UTMI, removing it from one place.

Change-Id: Ic9c1998f83cb214af52dd0a161f16470386c816e
Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-on: http://git-master/r/112967
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoARM: tegra: cardhu: enable clock gating features for E1506 panel
Rakesh Iyer [Mon, 2 Jul 2012 19:09:04 +0000]
ARM: tegra: cardhu: enable clock gating features for E1506 panel

Enable clock gating features for 720p DSI panel on the E1506.

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

6 years agonet: wireless: bcmdhd: do not register for all
Mursalin Akon [Mon, 2 Jul 2012 21:03:54 +0000]
net: wireless: bcmdhd: do not register for all

Do not register bcmdhd driver for all sdio devices.

Bug 1006828

Change-Id: I49e2d2bc7fbda4414392d8a28a0feefb1c8031ec
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/113045
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agochromeos: update chromeos tegra3 split configs
Rhyland Klein [Tue, 26 Jun 2012 21:45:26 +0000]
chromeos: update chromeos tegra3 split configs

Update split configs to enable the brcmfmac driver for wifi. Also
renormalize the split configs.

BUG=1007114
TEST=Using 6/20/2012 nightly image I was able to browse the web
using wifi

Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Change-Id: Ia810032861cf1015c3a0127cfa07f865a05e9028
Reviewed-on: http://git-master/r/111335
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Wei Ni <wni@nvidia.com>
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agoARM: tegra: kai: Add platform data to spi_device1
aghuge [Fri, 29 Jun 2012 14:19:19 +0000]
ARM: tegra: kai: Add platform data to spi_device1

Adding platform data to spi_device1 and limiting
buffer to 128

Bug 1007899

Change-Id: I9c421cb18215f7db94bbaeae00bc46235edece05
Signed-off-by: aghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/112143
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agocpuquiet: Fix compiler warning
Sai Charan Gurrappadi [Fri, 15 Jun 2012 01:23:17 +0000]
cpuquiet: Fix compiler warning

Change-Id: I03c11c295b40ebd500a715974f7fdca560d9a43a
Signed-off-by: Sai Charan Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/111286
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agocpuquiet: Update stats only on successful operations
Sai Charan Gurrappadi [Thu, 14 Jun 2012 21:17:14 +0000]
cpuquiet: Update stats only on successful operations

Change-Id: I0584fba7458b3a860f9ab3751a8eb5f0345864ad
Signed-off-by: Sai Charan Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/111285
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agocpuquiet: Properly return the first registered governor
Sai Charan Gurrappadi [Fri, 22 Jun 2012 22:42:59 +0000]
cpuquiet: Properly return the first registered governor

Change-Id: I8a21a15d5cf8e4c91a166810387b5d8f1dd7cdb6
Signed-off-by: Sai Charan Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/111284
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra: add sysfs support for tegra cpuquiet driver
Peter De Schrijver [Mon, 11 Jun 2012 17:43:59 +0000]
ARM: tegra: add sysfs support for tegra cpuquiet driver

Change-Id: I215c5de8e98d139a93113978e1e27adb5a6b252c
Signed-off-by: Sai Charan Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/111283
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agocpuquiet: Makefile for cpuquiet framework
Peter De Schrijver [Fri, 30 Mar 2012 08:18:38 +0000]
cpuquiet: Makefile for cpuquiet framework

Change-Id: Ia071b03c6073c514b99457e35ebbd65ef32a6906
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/105273
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Tested-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoARM: tegra: cpuquiet driver for Tegra3
Peter De Schrijver [Fri, 30 Mar 2012 09:56:08 +0000]
ARM: tegra: cpuquiet driver for Tegra3

Change-Id: Id7427bab50c6e285efe76afa234435bc984fc011
Signed-off-by: Sai Charan Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/105274
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: tegra: fuse: Fix sysfs output
Animesh Kishore [Mon, 2 Jul 2012 12:45:46 +0000]
ARM: tegra: fuse: Fix sysfs output

Adding extra byte for null character. Without this
string concatenation of fuse read will be erratic.

Bug 1007619

Change-Id: Idbb5f997840f5ed27418d5b0b8dfbc9516354f4c
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/112974
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

6 years agoinput: misc: fix light level issue at resume
Chandler Zhang [Thu, 28 Jun 2012 07:06:47 +0000]
input: misc: fix light level issue at resume

The light level is very low at the beginning of resume if auto
backlight level is enabled.
Remove the trigger event code with zero value code and directly
report the actual adc level to fix the issue.

Bug 1005271

Change-Id: I225f2b2b07e676d736ea5cd116cdc769d57ce2f2
Signed-off-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-on: http://git-master/r/112892
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: dvfs: Update Tegra3 dsi dvfs tables
Rakesh Iyer [Sat, 30 Jun 2012 01:19:39 +0000]
ARM: tegra: dvfs: Update Tegra3 dsi dvfs tables

Updated entries in Tegra3 dsi dvfs tables with recent characterization results.

Bug 985671.
Bug 1006163.

Change-Id: Ife87f3ccfd9d6147d4aa5b57c1a5750bbabc7e6b
Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-on: http://git-master/r/112805
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Peter Zu <pzu@nvidia.com>

6 years agocpufreq: fix memory leak with sysfs when stats table are freed
Shaoming Feng [Fri, 29 Jun 2012 02:05:06 +0000]
cpufreq: fix memory leak with sysfs when stats table are freed

bug 1001593

Change-Id: Ib1bf525e5c4c7ed633073a3d0b990703840dad77
Signed-off-by: Shaoming Feng <shaomingf@nvidia.com>
Reviewed-on: http://git-master/r/112025
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Prajakta Gudadhe <pgudadhe@nvidia.com>

6 years agomedia: video: tegra: nvavp: Fix avp print issue
Soumen Kumar Dey [Thu, 28 Jun 2012 08:05:18 +0000]
media: video: tegra: nvavp: Fix avp print issue

Anding with NVAVP_INBOX_VALID is used to clear interrupts.

Change-Id: I941b3af44cd19280832aff3364d110b645aa1ec8
Signed-off-by: Soumen Kumar Dey <sdey@nvidia.com>
Reviewed-on: http://git-master/r/111821
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agocrypto: tegra-aes: correct key table buffer size
Sanjay Singh Rawat [Wed, 27 Jun 2012 11:58:03 +0000]
crypto: tegra-aes: correct key table buffer size

- Correcting the size of the dma buffer allocated for the key table.

Change-Id: I34c0d0554710219021cb534e61a558cf217ccc19
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/111577
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

6 years agomfd: palmas PMIC device support Kconfig
Graeme Gregory [Tue, 15 May 2012 06:48:57 +0000]
mfd: palmas PMIC device support Kconfig

Add the new palmas MFD to Kconfig and Makefile

Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from commit c948ef3ae71c18c1079333b65d6887ceb4577618)

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

6 years agomfd: palmas PMIC device support
Graeme Gregory [Tue, 15 May 2012 06:48:56 +0000]
mfd: palmas PMIC device support

Palmas is a PMIC from Texas Instruments and this is the MFD part of the
driver for this chip. The PMIC has SMPS and LDO regulators, a general
purpose ADC, GPIO, USB OTG mode detection, watchdog and RTC features.

Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from commit 2945fbc2fcd83df03165342c1bc3ab83d0fe9c04)
Change-Id: I0bdebbef55d91d2293806355dced43b4c2decad8
Reviewed-on: http://git-master/r/111485
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoregmap: add support for non contiguous status to regmap-irq
Graeme Gregory [Mon, 14 May 2012 13:40:43 +0000]
regmap: add support for non contiguous status to regmap-irq

In some chips the IRQ status registers are not contiguous in the register
map but spaced at even spaces. This is an easy case to handle with minor
changes. It is assume for this purpose that the stride for status is
equal to the stride for mask/ack registers as well.

Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from commit 022f926a2401c80ed36ebb48a1bffbac08f34d98)
Change-Id: I68a59c8fd8a67062dac0eceaefcc85ed597f4a29
Reviewed-on: http://git-master/r/111484
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agocpuquiet: Updated balanced governor to use the runnable threads patch
Sai Charan Gurrappadi [Tue, 19 Jun 2012 01:22:33 +0000]
cpuquiet: Updated balanced governor to use the runnable threads patch

The balanced governor now looks at the average number of runnable
threads when bringing cores online and offline. The balanced governor
parameters have also been updated to reflect a similar patch for
autohotplug.

Change-Id: I8dac26659ba43d95a68830c6cc268591a7f03f80
Signed-off-by: Sai Charan Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/111282
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agogpu: ion: tegra: treat compilation warning as error
Sanjay Singh Rawat [Mon, 25 Jun 2012 05:51:47 +0000]
gpu: ion: tegra: treat compilation warning as error

- enabling warning as error flag

bug 949219

Change-Id: I5f8acb0f67f42abb7edd62ad21a8a6498681935a
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/110769
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agovideo: backlight: use gpio request and free apis for backlight pin
Sanjay Singh Rawat [Tue, 26 Jun 2012 10:46:56 +0000]
video: backlight: use gpio request and free apis for backlight pin

- Gpio freeing function does disabling job.
- If backlight pin is an sfio, we have to claim the gpio. So that we can use
the gpio api's to configure it as sfio.

bug 984440
bug 858120

Change-Id: I583bf4a486d2d9a6d9b78ee459b1962379eafd3b
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/109564
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agodrivers: skin: Skin prediction algorithm
Joshua Primero [Fri, 25 May 2012 22:54:13 +0000]
drivers: skin: Skin prediction algorithm

Added skin prediction algorithm.

bug 1007726

Change-Id: Ia76f73cb818aa02e608e1fc69ab4d8277a5825eb
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/104814
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agospi: tegra: macro for enable/disable runtime pm inside driver
Laxman Dewangan [Fri, 29 Jun 2012 11:50:59 +0000]
spi: tegra: macro for enable/disable runtime pm inside driver

Add macro in the spi tegra driver for enabling/disabling
runtime PM specific to this driver.
Setting macro SPI_PM_RUNTIME_ENABLE to 1 will enable the
runtime pm and resetting to 0 make runtime pm disable.

The dynamic clock management i.e. enabling the clock before
transfer and disabling after transfer complete is done in
both the cases.
When runtime pm is enabled then clock control is done through
runtime pm callbacks otherwise it will be directly call the
clock control apis.

bug 1003103

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

6 years agovideo: tegra: dc: split dc.c into smaller files
Jon Mayo [Tue, 26 Jun 2012 20:53:55 +0000]
video: tegra: dc: split dc.c into smaller files

Moved mode setting code into mode.c
Move window code info window.c
Moved clock related code into clock.c
Moved LUT and gamma related code into lut.c
Moved csc(color space conversion) into csc.c
Removed unnecessary static function prototypes from header.
Moved many short inline functions to dc_priv.h
Cleaned up copyright headings.
Cleaned up formatting and indent in all files.
Fixed build warnings.

Bug 870907

Change-Id: I6ccc37150191765394f0b5629423eafd4e5e5792
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/111371
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoregulator: tps80031: support for min voltage tolerance
Laxman Dewangan [Fri, 22 Jun 2012 06:42:38 +0000]
regulator: tps80031: support for min voltage tolerance

Sometimes the system allow to run in less than requested
minimum voltage and if this tolerance allow the regulator
to set voltage in lower side range than this saves the power.
For the example, if client request vmin = 975mV for regulator
voltage then it sets the voltage to 987.5mv as the nearest to this
desired value. The next lower side for the voltage is 974.8mv.
So if system runs on tolerance of 1mv and if it request for
975mv then driver can look for minimum voltage as 975 - tolerance(1)
= 974mv and possible configure 974.8mv rather than 987.5mV and so
it can save the power equivalent to 12.5mV higher voltage.

Support the configuration of tolerance value.

Change-Id: Ic8312bb397c2615a3ee0f84072ec394e513525ea
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/110523
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: config: Added tegra skin throttling option
Joshua Primero [Fri, 1 Jun 2012 19:49:35 +0000]
ARM: config: Added tegra skin throttling option

Added Kconfig option to enable skin thermal throttling.

bug 1007726

Change-Id: I8f92172ffd44802f1662c327c02c8a61c523c408
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/105989
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoARM: tegra: Object based balanced throttling
Joshua Primero [Thu, 9 Feb 2012 20:03:00 +0000]
ARM: tegra: Object based balanced throttling

Implemented an object based balanced throttling in preparation
for multiple balanced throttling objects.

bug 1007726

Change-Id: Ib58fafaf696af0ae58e78bd9fd417d3a822d0571
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/105238
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoarm: tegra: modify hotplug balance threshold
Xiao Bo Zhao [Fri, 8 Jun 2012 00:11:14 +0000]
arm: tegra: modify hotplug balance threshold

Tuned the sensitivity level of the hot-plug governor's balancing algorithm to 60% from 75%

Bug 958978

Change-Id: I972ed908995e348e8b3b0afb8108c44b66c80eae
Signed-off-by: Wen Yi <wyi@nvidia.com>
(cherry picked from commit 07a69db5af4c971b2c2d161ee149580ab5b40633)
Reviewed-on: http://git-master/r/111641
Reviewed-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Tested-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoarm: tegra: hotplug: modify down_delay
Xiao Bo Zhao [Thu, 24 May 2012 23:33:42 +0000]
arm: tegra: hotplug: modify down_delay

Modified the hot-plug governor down_delay to be 500ms instead of 2s

Bug 958978

Change-Id: I55b5a4994f8e4564879cfd206fc683ff6f32d9ac
Signed-off-by: Wen Yi <wyi@nvidia.com>
(cherry picked from commit dd477396f2762f871255fb9d0800431d7534754d)
Reviewed-on: http://git-master/r/111640
Reviewed-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Tested-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoarm: tegra: hotplug: tune runnable thread params.
Xiao Bo Zhao [Fri, 8 Jun 2012 00:20:18 +0000]
arm: tegra: hotplug: tune runnable thread params.

Tuned the runnable threads threshold from 5/9/13 to 5/9/10 in order to improve performance

Bug 958978

Change-Id: I77abcd0077845517f2b5f7487c547f8a5157c2c7
Signed-off-by: Wen Yi <wyi@nvidia.com>
(cherry picked from commit 25a97f57661353fbb5ee40faed296befbf635178)
Reviewed-on: http://git-master/r/111639
Reviewed-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Tested-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra: power: Use runnable threads average for hotplug
Wen Yi [Tue, 12 Jun 2012 19:01:11 +0000]
ARM: tegra: power: Use runnable threads average for hotplug

Sample scheduler runnable threads average in auto-hotplug work
function and use it to determine the auto-hotplug target for number
of on-line cores. Use cpu up delay as sampling period, and enforce
down delay by checking last cpu configuration change time stamp.

Bug 958978

Change-Id: I4280a11d39914687e6ffaa6f38df594d10aedaa9
Signed-off-by: Alex Frid <afrid@nvidia.com>
(cherry picked from commit 507e2ef5e4f09b23de2e924003dba259d3c8bc3c)
Reviewed-on: http://git-master/r/111638
Reviewed-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Tested-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoscheduler: Re-compute time-average nr_running on read
Varun Wadekar [Wed, 11 Jul 2012 08:58:06 +0000]
scheduler: Re-compute time-average nr_running on read

Port commit 1802afb2a (http://git-master/r/111637) from v3.1

Re-compute time-average nr_running when it is read. This would
prevent reading stalled average value if there were no run-queue
changes for a long time. New average value is returned to the reader,
but not stored to avoid concurrent writes. Light-weight sequential
counter synchronization is used to assure data consistency for
re-computing average.

Original author: Alex Frid <afrid@nvidia.com>

Signed-off-by: Alex Frid <afrid@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

Change-Id: Ic486006d62436fb61cda4ab6897e933f5c102b52

6 years agoproc: enhance time-average nr_running stats
Alex Frid [Wed, 16 May 2012 21:27:13 +0000]
proc: enhance time-average nr_running stats

Add time-average nr_running to loadavg printout

Bug 958978

Change-Id: I5c6904efb52a86f4964eb66c1576fc91f60f5b1d
Signed-off-by: Alex Frid <afrid@nvidia.com>
(cherry picked from commit 86f3642cc44a69d1e4798719bd9182cd6923f526)
Reviewed-on: http://git-master/r/111636
Reviewed-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Tested-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoscheduler: compute time-average nr_running per run-queue
Varun Wadekar [Mon, 7 May 2012 22:12:25 +0000]
scheduler: compute time-average nr_running per run-queue

Port commit 0b5a8a6f3 (http://git-master/r/111635) from v3.1

Compute the time-average number of running tasks per run-queue for a
trailing window of a fixed time period. The delta add/sub to the
average value is weighted by the amount of time per nr_running value
relative to the total measurement period.

Original author: Diwakar Tundlam <dtundlam@nvidia.com>

Change-Id: I076e24ff4ed65bed3b8dd8d2b279a503318071ff
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

6 years agosched: delete sched.c
Varun Wadekar [Wed, 11 Jul 2012 07:12:10 +0000]
sched: delete sched.c

Commit 391e43da797a96aeb65410281891f6d0b0e9611c (sched: Move all scheduler
bits into kernel/sched/) removed this file, but somehow it still exists.

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

6 years agoARM: tegra: cardhu: power management fix for E1506 panel
Rakesh Iyer [Wed, 20 Jun 2012 00:52:52 +0000]
ARM: tegra: cardhu: power management fix for E1506 panel

Fix for power up/down sequencing for 720p DSI panel on the E1506.

Bug 997484.

Change-Id: Ia65e20b96da3bad0703136839eaf0394f9c7b364
Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-on: http://git-master/r/109918
(cherry picked from commit c6f7033ddbc18a4b780620d1e7d65fe2ce5e4108)
Reviewed-on: http://git-master/r/111945
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agovideo: tegra: dsi: 720p panel power fix
Rakesh Iyer [Wed, 20 Jun 2012 00:46:00 +0000]
video: tegra: dsi: 720p panel power fix

Send specified DC frames to 720p panel during power up/down sequencing.

Bug 997484.

Change-Id: I3927e98322ec93f68cabf635c71485b64750d7f9
Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-on: http://git-master/r/109917
(cherry picked from commit e1d10bc056031fbc2f68101978d76317c44fc7af)
Reviewed-on: http://git-master/r/111944
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agovideo: tegra: host: Serialize 2D jobs
Terje Bergstrom [Wed, 27 Jun 2012 06:37:05 +0000]
video: tegra: host: Serialize 2D jobs

Force serialization of 2D jobs by inserting a host wait for previous
maximum at the beginning of the job.

Bug 1002293

Change-Id: I667ad4565cc32186ea7ccf16845c68d1b1bbdf78
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/111475
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Donghan Ryu <dryu@nvidia.com>
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Daniel Parker <dparker@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Francis Hart <fhart@nvidia.com>

6 years agonet: wireless: bcmdhd: move barrier to after setting the suspended flag.
Sang-Hun Lee [Sat, 16 Jun 2012 00:15:46 +0000]
net: wireless: bcmdhd: move barrier to after setting the suspended flag.

Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/47846
Tested-by: Kirt Hsieh <Kirt_Hsieh@asus.com>
Reviewed-by: Kirt Hsieh <Kirt_Hsieh@asus.com>
Reviewed-by: Vincent Yue <Vincent_Yue@asus.com>

Bug 984811

Signed-off-by: Roger Hsieh <rhsieh@nvidia.com>
Change-Id: I708dadddf3f3eac9f8bacc72e3aef94247a87e70
Reviewed-on: http://git-master/r/106352
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sang-Hun Lee <sanlee@nvidia.com>
Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoARM: tegra: emc: add reference counting to early ack disablement
Sang-Hun Lee [Wed, 20 Jun 2012 23:16:57 +0000]
ARM: tegra: emc: add reference counting to early ack disablement

Bug 995950

Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/110190
(cherry picked from commit cbfc31fb126cd651157125d1785135eced6587dd)

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

6 years agomedia: video: tegra: tegra_camera: disable eack
Sang-Hun Lee [Thu, 21 Jun 2012 01:33:59 +0000]
media: video: tegra: tegra_camera: disable eack

 - Disable eack when a camera is in use

Bug 995950

Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/110224
(cherry picked from commit f336812516efac8c6445def282340333094973c9)

Change-Id: I9a5ee84dc48bacf88261b0bf3180fe69fea3712f
Reviewed-on: http://git-master/r/110979
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoarm: tegra: enterprise: Firmware update support for pn544
Rakesh Goyal [Fri, 22 Jun 2012 12:21:11 +0000]
arm: tegra: enterprise: Firmware update support for pn544

Enable firmware GPIO for board E1205 with fab A03 or A04.
Resubmitting the changes as required for firmware download.

Bug 959290

Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: http://git-master/r/110558
(cherry picked from commit c715bf0aafb5449a5a0c190b1e4f89dd3778eba2)

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

6 years agoarm: config: tegra3: disable tibluesleep driver
Nagarjuna Kristam [Mon, 25 Jun 2012 11:35:13 +0000]
arm: config: tegra3: disable tibluesleep driver

bug 1006864

Change-Id: Ic5c4dde1e8422b7182487560a102d4ac83ae58a9
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/110857
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoarm: tegra: kai: use bluesleep driver for TI wl12xx bt chip
Nagarjuna Kristam [Mon, 25 Jun 2012 11:30:35 +0000]
arm: tegra: kai: use bluesleep driver for TI wl12xx bt chip

For TI WL12xx BT chip, register bluesleep driver to enable
"wake on bluetooth" feature

bug 1006864

Change-Id: I294afd2dad1974c57e0fe5d3c000d44433da6c05
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/110855
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agovideo: tegra: nvmap: resolve compilation time warning
Sanjay Singh Rawat [Mon, 18 Jun 2012 17:51:41 +0000]
video: tegra: nvmap: resolve compilation time warning

- Grouping variables around bitwise operators for safe operation.

bug 949219

Change-Id: I8edf7fb241eb79ac07b63ab856d206fc453308f1
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/109577
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agobluetooth: enable sleep only if chip supports
Nagarjuna Kristam [Mon, 25 Jun 2012 11:16:14 +0000]
bluetooth: enable sleep only if chip supports

Some bt chips e.g TI wl12xx, do not support external wake using GPIO.
If bluesleep platform data does not contain external wake GPIO information,
bluesleep driver assumes, bt chip does not support external wake and disables
bluetooth chip power management.

Bluesleep driver is also modified to start and stop on HCI_DEV_UP and
HCI_DEV_DOWN events respectively.

bug 1006864

Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Change-Id: I64c34f5816bd824da1c720175f9e93c16847299b
Reviewed-on: http://git-master/r/108498
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agovideo: tegra: host: T30 uses two GPUs always
Arto Merilainen [Fri, 15 Jun 2012 13:16:32 +0000]
video: tegra: host: T30 uses two GPUs always

This patch removes the possibility to disable the second GPU of T30
using a fuse.

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

6 years agoARM: tegra: pcie: Enable ASPM l1 state support
Vidya Sagar [Tue, 26 Jun 2012 16:34:03 +0000]
ARM: tegra: pcie: Enable ASPM l1 state support

Currently, only L0s state of ASPM is supported by default.
This change enables the l1 state support for Root Ports.

Bug 815499

Change-Id: Iec5e5f2edbf4ccfa35cb74432e18b29f18ec7771
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/110062
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jay Agarwal <jagarwal@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Krishna Thota <kthota@nvidia.com>

6 years agodrivers: misc: Thermal estimator driver
Joshua Primero [Fri, 1 Jun 2012 01:11:23 +0000]
drivers: misc: Thermal estimator driver

Added driver which estimates temperature based on
a linear formula from other temperature sensors.

bug 1007726

Change-Id: Ic0d3ba7f0d369d4321f55b03e6326ff4efbb512e
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/105988
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agodrivers: nct: exposed nct internal/external temps
Joshua Primero [Wed, 9 May 2012 00:25:31 +0000]
drivers: nct: exposed nct internal/external temps

Added function that exposes nct1008's internal and external
temperature measurements.

bug 1007726

Change-Id: Iffaca95f5e4267e09a0c3ebb2fbfb909a3bed89d
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/101377
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agovideo: tegra: dc: Fix the check of dirty window.
Kevin Huang [Tue, 26 Jun 2012 08:27:58 +0000]
video: tegra: dc: Fix the check of dirty window.

Change-Id: I6584c856356d6be123a66731bde414e4925ffe07
Reviewed-on: http://git-master/r/111184
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoarm: tegra: enterprise: Add support to externel pwm.
Kevin Huang [Wed, 20 Jun 2012 17:34:29 +0000]
arm: tegra: enterprise: Add support to externel pwm.

Bug 995402

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

6 years agovideo: tegra: dc: Deactivate DSI runtime when DC is idle.
Kevin Huang [Fri, 15 Jun 2012 18:09:12 +0000]
video: tegra: dc: Deactivate DSI runtime when DC is idle.

We support 3 different aggressiveness levels of disabling DSI runtime.
The larger the aggressive level is, the higher DSI power we can save.

Bug 936337

Change-Id: Idadcb49b364e29ddd0a05dde1c6d3dfda6cd493e
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/106361
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: baseband: boost CPU frequency when modem BT3 boots
Steve Lin [Fri, 15 Jun 2012 21:54:31 +0000]
arm: tegra: baseband: boost CPU frequency when modem BT3 boots

Boost CPU frequency to ensure the modem core dump can be transfered
before the BT3 watchdog timeout.

Bug 975990

Signed-off-by: Steve Lin <stlin@nvidia.com>
Reviewed-on: http://git-master/r/109325
(cherry picked from commit 028155da1b31742b0133dbad62fe5a6a66f2bf1e)

Change-Id: I9e7960c11521f011bcbd5566bb40fa780723b49f
Reviewed-on: http://git-master/r/104038
Reviewed-by: Uday Raval <uraval@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Steve Lin <stlin@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin <stlin@nvidia.com>

6 years agoarm: tegra: baseband: add sysfs file for modem boot, etc.
Steve Lin [Fri, 15 Jun 2012 01:12:46 +0000]
arm: tegra: baseband: add sysfs file for modem boot, etc.

1. Add sysfs file so the fild can load/unload host controller before
modem power cycle.
2. Move modem boot irq to modem PM driver.
3. Add short autosuspend to optimize power consumption if the wake
source of system resume is not modem.
4. Avoid LP0 abort if remote wakeup happens during L0/L2 -> L3
transition.
5. Fix deadlock in pm_notifier function.

Bug 975990

Signed-off-by: Steve Lin <stlin@nvidia.com>
Reviewed-on: http://git-master/r/109079
(cherry picked from commit 0b60aade303a022ff3335b4a238ba2dbae4da4b5)

Change-Id: I9bcac40e2f93f95c702b42a2eb5e4e9aa7a9d721
Reviewed-on: http://git-master/r/103981
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Uday Raval <uraval@nvidia.com>
Tested-by: Steve Lin <stlin@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin <stlin@nvidia.com>

6 years agoARM: tegra: usb_phy: Fix for glitch on STROBE line
Vinod Atyam [Wed, 20 Jun 2012 17:36:37 +0000]
ARM: tegra: usb_phy: Fix for glitch on STROBE line

Observed glitch on STROBE line during HSIC resume.
This is because after removing the TX circuit power down,
HSIC controller is keeping in reset to program
phy parameters. TX circuit is driving low on STROBE line until
controller removed out of reset.
Now corrected the code to remove power down after setting phy
parameters and removed the reset on HSIC controller.

Bug 991709

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

6 years agoregulator: tps80031: Allow to configure in OFF mode in sleep state
Laxman Dewangan [Mon, 25 Jun 2012 13:29:27 +0000]
regulator: tps80031: Allow to configure in OFF mode in sleep state

Allow to configure the rail into sleep-off mode even if
the external req is not supported for a regulator.

bug 979143

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

6 years agortc: max77663: avoid powering on system by RTC alarm.
Jinyoung Park [Tue, 15 May 2012 08:42:32 +0000]
rtc: max77663: avoid powering on system by RTC alarm.

Clean RTC alarm and don't set new alarm during shutdown process.
After powering off, we do not want Maxim PMIC automaticly boots caused
by RTC alarm.

Bug 985193

Signed-off-by: Haley Teng <hteng@nvidia.com>
Reviewed-on: http://git-master/r/104773
(cherry picked from commit 0bd7f3163f73ba3cf87dadd6bc6fa35a538ac153)

Change-Id: I7209407503b9f51dfb5b8f59d05c6fa8f04c6069
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/110858
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: clock: Add fence read in emc clock change
Alex Frid [Thu, 7 Jun 2012 06:51:28 +0000]
ARM: tegra: clock: Add fence read in emc clock change

Added fence read in Tegra3 emc clock change procedure.

Change-Id: I2162affb4dddcacf38057e07ff6fbd5964643188
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/106956
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agousb: serial: baseband: Add another XMM modem USB VID/PID.
Michael Hsu [Wed, 9 May 2012 23:30:34 +0000]
usb: serial: baseband: Add another XMM modem USB VID/PID.

Add support for another XMM modem.

Bug 996038

Change-Id: I392a18284b372fbc80c581b31b21af3c072bf4d3
Signed-off-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-on: http://git-master/r/110193
(cherry picked from commit bdad2e9c1b195c8f7fcc3216f2bf27ea99dfd597)
Reviewed-on: http://git-master/r/110941
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin <stlin@nvidia.com>

6 years agousb: cdc_ether: Add rmnet device info to PH450 and Tango
Mohan T [Mon, 25 Jun 2012 05:36:17 +0000]
usb: cdc_ether: Add rmnet device info to PH450 and Tango

Modified device info element for PH450 and Tango to
sync with framework.

Change-Id: I325571358f8c1875484254a9f497c606adb03180
Signed-off-by: Mohan T <mohant@nvidia.com>
Reviewed-on: http://git-master/r/110765
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthieu Vincenot <mvincenot@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>

6 years agoARM: tegra: Change pm269 board structure configs
Sudhir Vyas [Mon, 18 Jun 2012 11:24:49 +0000]
ARM: tegra: Change pm269 board structure configs

* NVC config change added to make code inline with
generic NVC framework, but it is introducing camera
crash after reboot issue on pm269.

* Make code identical to what was there earlier to fix
above regression.

Bug 998465

Change-Id: I8510ef3427b218481c5e36c952056dda799080f6
Signed-off-by: Sudhir vyas <svyas@nvidia.com>
Reviewed-on: http://git-master/r/109523
(cherry picked from commit 7e642946895848829bb6405bc675062c86907eb4)
Reviewed-on: http://git-master/r/110087
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoFix gcov for GCC 4.6.
Tuomas Tynkkynen [Wed, 20 Jun 2012 11:47:25 +0000]
Fix gcov for GCC 4.6.

Gcov's internal data structures, on which the kernel depends on, have
changed in GCC 4.6. This patch adds support for GCC 4.6 and should still
work on GCC 4.4 too.

For reference, look at 'struct gcov_fn_info' in GCC's 'gcc/gcov-io.h',
near line 698:
https://android.googlesource.com/toolchain/gcc/+/master/gcc-4.4.3/
https://android.googlesource.com/toolchain/gcc/+/master/gcc-4.6/

Bug 1003822

Change-Id: I527736f944c80b8b345d1685669c0b99eb38fb66
Signed-off-by: Tuomas Tynkkynen <ttynkkynen@nvidia.com>
Reviewed-on: http://git-master/r/110073
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Tested-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agovideo: host: Add host to EXTRA_CFLAGS
Rhyland Klein [Fri, 22 Jun 2012 18:07:29 +0000]
video: host: Add host to EXTRA_CFLAGS

It seems with building with different tool chains, when compiling
nvhost_acm it doesn't end up with drivers/video/tegra/host in its
include path and therefore it fails to find some header files.

Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Change-Id: Ic3d72c863d4b5e501222d21077ba9735315ec65c
Reviewed-on: http://git-master/r/110592
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Allen Martin <amartin@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agovideo: tegra: use public APIs exposed by host1x driver
Mayuresh Kulkarni [Mon, 18 Jun 2012 07:05:40 +0000]
video: tegra: use public APIs exposed by host1x driver

Bug 961009

Change-Id: Ifdcc7bc8a40d270e70a63329f46caff541bf01e2
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/109461
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoarm: tegra: kai: Fix panel power on/off sequence
Ken Chang [Tue, 15 May 2012 10:02:04 +0000]
arm: tegra: kai: Fix panel power on/off sequence

Panel power on/off sequence should meet the panel spec as below.

power on:
1. EN_VDD_PNL
2. PCLK
3. LVDS_EN
4. LCD_BL_PWN

power off:
1. LCD_BL_PWN
2. LVDS_EN
3. PCLK
4. EN_VDD_PNL

Pixel clock on/off is controlled by dc driver, we need to separate the
setting of panel enable/disable into two parts. The first, i.e., before
pclk on/off, is done in kai_panel_enable()/kai_panel_prepoweroff().
And the second part, i.e., after pclk on/off, is done in
kai_panel_postpoweron()/kai_panel_disable().

bug 976081

Signed-off-by: Ken Chang <kenc@nvidia.com>
Reviewed-on: http://git-master/r/102555
Reviewed-by: Artiste Hsu <chhsu@nvidia.com>
Reviewed-by: Prajakta Gudadhe <pgudadhe@nvidia.com>
(cherry picked from commit 8149532e20729c359eb1680297f19a8f46343054)

Change-Id: Ifc0d60c2caabf60f4186179e64756a4caabf9af6
Reviewed-on: http://git-master/r/110297
Tested-by: Ken Chang <kenc@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Artiste Hsu <chhsu@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agovideo: tegra: dc: Support for pre power-off actions
Ken Chang [Tue, 15 May 2012 03:20:52 +0000]
video: tegra: dc: Support for pre power-off actions

Part of panel settings need to be done before/after pixel clock
is disabled. Add support for these actions to meet panel
spec.

bug 976081

Signed-off-by: Ken Chang <kenc@nvidia.com>
Reviewed-on: http://git-master/r/102542
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>
(cherry picked from commit dcecdc64d4d0fd4d9f69df52c9d200dfbf1dd7fc)

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

6 years agoarm: tegra: pcie: Fix USB3 after LP0
Jay Agarwal [Fri, 22 Jun 2012 12:03:51 +0000]
arm: tegra: pcie: Fix USB3 after LP0

Stop and add pcie devices to probe the devices
again in order to have correct value of irq which
was not, at first probe while resume.

Bug 956573

Change-Id: I8d497116350ad263c4ae3053cd429393a0f0bc99
Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-on: http://git-master/r/110556
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: Tegra: p1852: UARTE pinmux correction
sreenivasulu velpula [Tue, 19 Jun 2012 11:56:40 +0000]
ARM: Tegra: p1852: UARTE pinmux correction

UARTE pin directions were set as per the old pinmux sheet.
Updated the pinmux as per the sheet revision #18
//syseng/Projects/P1852/PinMux/T30_PinMux_for_P1852.xls

Bug 991591

Change-Id: I50cf05659e4970882dffc1cd268718e64c886a23
Signed-off-by: sreenivasulu velpula <svelpula@nvidia.com>
Reviewed-on: http://git-master/r/109762
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mohit Kataria <mkataria@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>