7 years agoarm: tegra: enterprise: Filling regulator supply info
Laxman Dewangan [Sat, 28 May 2011 11:28:39 +0000]
arm: tegra: enterprise: Filling regulator supply info

Filling the supply names for all regulator based on power diagram/
schematic of enterprise board.

bug 830124

Change-Id: I69288ef742acca7e7011f41c918e9ddab5a0032d
Reviewed-on: http://git-master/r/34422
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Mohit Singh <mpsingh@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

Rebase-Id: R4ecc9cd5bc81e3c0271528ee71ddacde7e5e3f7c

7 years agoARM: tegra: sensors: Support nct1008 on enterprise
Krishna Yarlagadda [Fri, 20 May 2011 11:32:32 +0000]
ARM: tegra: sensors: Support nct1008 on enterprise

Register nct1008 on enterprise

Change-Id: Ib555c7daee097f39b722acd34ec8097937c90b48
Reviewed-on: http://git-master/r/32364
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: R9821291d316ac99bc613880e9011b81f38c80f6a

7 years agoARM: tegra: sensors: Add support for enterprise
Krishna Yarlagadda [Tue, 17 May 2011 17:16:27 +0000]
ARM: tegra: sensors: Add support for enterprise

Enable mpu and isl & proxy sensors for enterprise board

Bug 827932

Change-Id: I735790f722b143ac654b5f8c0b1d4b3914e693d9
Reviewed-on: http://git-master/r/31879
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: R7c2d4d8b434670769c6f09f55f364799335d0d53

7 years agoarm: tegra: enterprise: Updating power rail info for TPS80031
Laxman Dewangan [Thu, 26 May 2011 08:25:49 +0000]
arm: tegra: enterprise: Updating power rail info for TPS80031

There is independent driver for the pmu tps80031 and so updating the
power rail information based on this driver. Also registering
the tps80031 device.

bug 830904

Change-Id: I98b6ed382dd8b849bd44015f2a2e39e7326cd4a9
Reviewed-on: http://git-master/r/32958
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: R6af201cae368b97e658f6eff8851760f77cebe2d

7 years agoarm: tegra: enterprise: fix BT/WiFi pinmux
Rakesh Goyal [Mon, 2 May 2011 12:23:45 +0000]
arm: tegra: enterprise: fix BT/WiFi pinmux

fixed pinmux,clock and sdhci instance for WiFi/BT

Change-Id: Ifa192d8dcd4321754843aae6e47e1204d5cf074e
Reviewed-on: http://git-master/r/30344
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R3339e0c208fabb677768a39f2cc1a98bb9556438

7 years agoarm: tegra: enterprise: Providing clock init data to mpu80031 driver.
Laxman Dewangan [Mon, 23 May 2011 11:58:51 +0000]
arm: tegra: enterprise: Providing clock init data to mpu80031 driver.

Providing the clock init platform data to mpu80031 driver to support
the 32KHz clock generation.

bug 829520

Change-Id: I0f8912fcf5f938b8f238853a48cf411c7fd9fc78
Reviewed-on: http://git-master/r/32596
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: R63cc0c6ea4967775524e57924b89319fd90ef6c5

7 years agoarm: tegra: enterprise: Added KBC support
Alok Chauhan [Fri, 13 May 2011 20:27:03 +0000]
arm: tegra: enterprise: Added KBC support

Added KBC support

Bug 827020

Change-Id: Ieac77376aa086f0151b5db4f9069dc886c8a2491
Reviewed-on: http://git-master/r/31568
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Alok Chauhan <alokc@nvidia.com>

Rebase-Id: R57011c3e96f4d14a1d53d8376454a7872c26767f

7 years agoARM: tegra: baseband: Add PH450 modem init and reset functions
Steve Lin [Mon, 16 May 2011 18:22:57 +0000]
ARM: tegra: baseband: Add PH450 modem init and reset functions

Add PH450 modem init and reset functions for Tegra Enterprise.
Bug 800301

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

Rebase-Id: R5c93eca6b9fd9d45afbc5d42b49d779f6a027a9a

7 years agomach-types: Official tegra_enterprise machine num
Dan Willemsen [Thu, 12 May 2011 21:50:05 +0000]
mach-types: Official tegra_enterprise machine num

http://www.arm.linux.org.uk/developer/machines/list.php?id=3512

Change-Id: I432bd8512025c6f3ff312b8e120df37c68aa1153
Reviewed-on: http://git-master/r/31409
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Tested-by: Daniel Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R99e43dbe2f73e9b3e2d9d78a8c0c543bc2a93969

7 years agoARM: tegra: enterprise: use UART4 as debug uart
Pradeep Goudagunta [Thu, 12 May 2011 12:01:40 +0000]
ARM: tegra: enterprise: use UART4 as debug uart

Enable UART4 as debug uart.

Bug 814271
Bug 822432

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

Rebase-Id: R6e542cab4c70d962a2960a1708b10167ff161083

7 years agoarm: tegra: nvmap: Forcing to convert CarveOut requests to IOVM
Hiro Sugawara [Thu, 17 Mar 2011 20:58:13 +0000]
arm: tegra: nvmap: Forcing to convert CarveOut requests to IOVM

Adding a build time CONFIG option to enable forcing of conversion
of non-IRAM CarveOut memory allocation requests to IOVM requests.
Default is "y" to force the conversion.
Each forced conversion is reported to console.
Allocation alignments larger than page size for IOVM are enabled.
Single page CarveOut allocations are converted to system memory.
CarveOut memory reservation has been removed for aruba, cardhu,
and enterprise.

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

Rebase-Id: R0aa45ec495c80264630c248c303d1307df281209

7 years agoARM: tegra: enterprise: sdhci: Initial changes
Pradeep Goudagunta [Thu, 12 May 2011 11:22:53 +0000]
ARM: tegra: enterprise: sdhci: Initial changes

Enterprise board uses SDMMC3 slot for External SD and SDMMC1 slot
for WiFi.

Bug 822432

Change-Id: Ifa13d69fa65f974c8457b9ffec231579b356a810
Reviewed-on: http://git-master/r/30514
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Tested-by: Daniel Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R91d9ad73d0abe5a4943b8d41648d8e24a012c69a

7 years agoARM: tegra: enterprise: sdhci: Build FIX
Pradeep Goudagunta [Fri, 6 May 2011 14:04:30 +0000]
ARM: tegra: enterprise: sdhci: Build FIX

Build Fix.

Bug 822432

Change-Id: Ia9d2d3ddc9aa9b2c00761ceb30a2bdcda8d261cf
Reviewed-on: http://git-master/r/30718
Reviewed-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R9f6c1953031d39ab4d10283c3be0d9ff6216de02

7 years agoARM: tegra: enterprise: Preserve common PLLP_OUT4 setting
Alex Frid [Mon, 2 May 2011 18:11:39 +0000]
ARM: tegra: enterprise: Preserve common PLLP_OUT4 setting

Change-Id: I5a3d8134530969f1c896e12ac97a2a091ad97084
Reviewed-on: http://git-master/r/30074
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R1e5e45d97d482675fef25bca1e4ab62b70ab8887

7 years agoarm: tegra3: update pinmux table for CAM_MCLK
Prayas Mohanty [Mon, 2 May 2011 07:56:42 +0000]
arm: tegra3: update pinmux table for CAM_MCLK

Fix mux entry for CAM_MCLK to use VI_ALT2.

bug 821540

Change-Id: I7d68af22eb65b5e2ee20bf521cc73587e41b1c37
Reviewed-on: http://git-master/r/29981
Reviewed-by: Prayas Mohanty <pmohanty@nvidia.com>
Tested-by: Prayas Mohanty <pmohanty@nvidia.com>
Reviewed-by: Shantanu Nath <snath@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Danielle Sun <dsun@nvidia.com>
Tested-by: Danielle Sun <dsun@nvidia.com>

Rebase-Id: R01e37ba5c127da48e8c6708e9f6de896ed7945e6

7 years agoarm: tegra3: Updating pinmux table based on TRM
Laxman Dewangan [Mon, 25 Apr 2011 06:44:31 +0000]
arm: tegra3: Updating pinmux table based on TRM

On tegra3 TRM, some of the pin mux option for a given
pin group is not recommended and so not exposed in the
TRM reference table.

Updating the pinmux table accordingly. The non-recommended
pin option is set as TEGRA_MUX_INVALID.

bug 817099

Change-Id: I572ee84912fe065a73e59d4f9ba0ce01223ead85
Reviewed-on: http://git-master/r/29626
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R2c6d6b065075ca47761bbc7d156e129efa02c50b

7 years agoarm: tegra: enterprise: Enabling the PMU driver
nagesh Penumarty [Mon, 25 Apr 2011 11:43:32 +0000]
arm: tegra: enterprise: Enabling the PMU driver

Adding the board file for power and
enabling the TI 6025 pmu driver.

Original-Change-Id: I4676223599877ca51d892b373bcae03778c25f57
Reviewed-on: http://git-master/r/28668
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Change-Id: I5ee27c2aa99075960b3255fb7a9dbae397e3b71d

Rebase-Id: R7fda12e3247fa1e7769198113e8c883a1c1b6e09

7 years agoarm: tegra: enterprise: Renamed tegra_enterprise to enterprise
Kasoju Mallikarjun [Wed, 20 Apr 2011 11:38:18 +0000]
arm: tegra: enterprise: Renamed tegra_enterprise to enterprise

Renamed tegra_enterprise board name to enterprise

Original-Change-Id: If4bfe61ef086f980b81ca4fedd30d760e89befad
Reviewed-on: http://git-master/r/28324
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Change-Id: I27173743eedba2d964b33d17136318f93f1e3afc

Rebase-Id: Rbc65b62d51cb7249bcf2d07291c93c223c231369

7 years agoARM: tegra: Fix file permissions
Scott Williams [Fri, 15 Apr 2011 18:05:42 +0000]
ARM: tegra: Fix file permissions

Remove executable permission bit from source files.

Generated with:
    find \( -name "*.c" -or -name "*.h" -or -name "*akefile" -or \
        -name "*\.mk" \) -type f -perm /+x | xargs chmod -x

Original-Change-Id: If459d180238b8dd4cc40f92f74a56d01c81a2768
Reviewed-on: http://git-master/r/27916
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Scott Williams <scwilliams@nvidia.com>
Change-Id: If96e5e61c9f3b60ceaf9dcf88c0c7d7d1d8f343a

Rebase-Id: Rd8088a9b0813bc443a08548271e6586479b99886

7 years agoarm: tegra: tegra_enterprise: Creating board files
Kasoju Mallikarjun [Wed, 6 Apr 2011 19:11:48 +0000]
arm: tegra: tegra_enterprise: Creating board files

Creating initial board files and config files for tegra_enterprise board.

Original-Change-Id: I77dcd612421167b9c6441d5d6fb779bb51491efa
Reviewed-on: http://git-master/r/20852
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>
Change-Id: I498fe3cde454657c22fb1c1bc2212eb5e2f7fd6e

Rebase-Id: Rcf164609f08780297a383d040e934a1ecd3c86b5

7 years agoARM: config: tegra3: Enable NEON
Dan Willemsen [Thu, 14 Jul 2011 20:18:37 +0000]
ARM: config: tegra3: Enable NEON

Change-Id: I3451fd9954763b2336170659fc1347a41b1a13a1
Reviewed-on: http://git-master/r/41080
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Tested-by: Daniel Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R66c117823358cc1e7a0bdae95ff66f6929490870

7 years agoARM: config: tegra3: Enable TPS6591 for cardhu
Dan Willemsen [Mon, 27 Jun 2011 02:53:44 +0000]
ARM: config: tegra3: Enable TPS6591 for cardhu

Rebase-Id: Rcfe87837310ce0ffef650226d4cfa8c16126ef3c

7 years agoARM: config: Add tegra3 defconfig
Dan Willemsen [Sun, 26 Jun 2011 02:13:24 +0000]
ARM: config: Add tegra3 defconfig

Rebase-Id: R29d97f93b207b7ac98673ab1ce6856971f1a54f0

7 years agoARM: config: tegra: Enable MAX8907c for whistler
Dan Willemsen [Fri, 24 Jun 2011 20:18:28 +0000]
ARM: config: tegra: Enable MAX8907c for whistler

Rebase-Id: Rd9b0de424e19008bf096a6ae969ef15ab36e5ceb

7 years agoARM: config: tegra: Add Whistler
Dan Willemsen [Fri, 24 Jun 2011 00:17:05 +0000]
ARM: config: tegra: Add Whistler

Rebase-Id: Re53cf9f6d39ebcd8fa82583cd13cd0dd4ec30f04

7 years agoARM: config: tegra: disable CPU_IDLE
Dan Willemsen [Mon, 20 Jun 2011 23:59:56 +0000]
ARM: config: tegra: disable CPU_IDLE

Rebase-Id: Rff3859dd167efdf8a7dea7b656f2519b51a61108

7 years agoARM: config: tegra: enable USB, DC, FB, SND
Dan Willemsen [Mon, 20 Jun 2011 22:16:26 +0000]
ARM: config: tegra: enable USB, DC, FB, SND

Rebase-Id: Rc5b2be31858d9d9f82455340cc6263e0c03d5efe

7 years agoARM: config: tegra: Enable EXT4
Dan Willemsen [Sat, 14 May 2011 22:27:40 +0000]
ARM: config: tegra: Enable EXT4

Rebase-Id: Rbc31c28085a0fa0b2b33af8147f361ae83d4ca7f

7 years agoRemove DEBUG_LL temporarily
Dan Willemsen [Sat, 14 May 2011 21:31:50 +0000]
Remove DEBUG_LL temporarily

Rebase-Id: R001ec1d6f0b7380519bc7857f9c1efec8fcf26bf

7 years agoARM: config: add ventana
Dan Willemsen [Sat, 14 May 2011 02:40:45 +0000]
ARM: config: add ventana

Rebase-Id: R620cc1cbf4445766624eea38e282db346b891b28

7 years agoMerge branch 'buckets/watchdog' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:19 +0000]
Merge branch 'buckets/watchdog' into after-buckets

7 years agoMerge branch 'buckets/video' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:19 +0000]
Merge branch 'buckets/video' into after-buckets

7 years agoMerge branch 'buckets/usb' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:18 +0000]
Merge branch 'buckets/usb' into after-buckets

7 years agoMerge branch 'buckets/spi' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:17 +0000]
Merge branch 'buckets/spi' into after-buckets

7 years agoMerge branch 'buckets/sound' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:17 +0000]
Merge branch 'buckets/sound' into after-buckets

7 years agoMerge branch 'buckets/serial' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:16 +0000]
Merge branch 'buckets/serial' into after-buckets

7 years agoMerge branch 'buckets/rtc' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:15 +0000]
Merge branch 'buckets/rtc' into after-buckets

7 years agoMerge branch 'buckets/regulator' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:15 +0000]
Merge branch 'buckets/regulator' into after-buckets

7 years agoMerge branch 'buckets/power' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:14 +0000]
Merge branch 'buckets/power' into after-buckets

7 years agoMerge branch 'buckets/net' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:13 +0000]
Merge branch 'buckets/net' into after-buckets

7 years agoMerge branch 'buckets/mmc' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:13 +0000]
Merge branch 'buckets/mmc' into after-buckets

7 years agoMerge branch 'buckets/misc' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:12 +0000]
Merge branch 'buckets/misc' into after-buckets

7 years agoMerge branch 'buckets/mfd' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:12 +0000]
Merge branch 'buckets/mfd' into after-buckets

7 years agoMerge branch 'buckets/media' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:11 +0000]
Merge branch 'buckets/media' into after-buckets

7 years agoMerge branch 'buckets/mach-tegra' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:10 +0000]
Merge branch 'buckets/mach-tegra' into after-buckets

7 years agoMerge branch 'buckets/input' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:10 +0000]
Merge branch 'buckets/input' into after-buckets

7 years agoMerge branch 'buckets/i2c' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:09 +0000]
Merge branch 'buckets/i2c' into after-buckets

7 years agoMerge branch 'buckets/hwmon' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:09 +0000]
Merge branch 'buckets/hwmon' into after-buckets

7 years agotegra:watchdog: Change timer src to timer10 for watchdog.
vdumpa [Thu, 24 Feb 2011 00:10:27 +0000]
tegra:watchdog: Change timer src to timer10 for watchdog.

Fix wdt resource definition issue either.
Bug 790458

Original-Change-Id: I7c80d6c243c42a0e632603dfcc255b70995358b2
Reviewed-on: http://git-master/r/20646
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: I9897fb6614d75508bd0ffd6e866acf27a24a0cb5

Rebase-Id: R165f408464819298bdcc1f0b677c50b46071be90

7 years agotegra:watchdog: Use new watchdog controller.
vdumpa [Wed, 16 Feb 2011 08:01:24 +0000]
tegra:watchdog: Use new watchdog controller.

Use new watch dog controller for CONFIG_ARCH_TEGRA_3x_SOC.
Bug 790458

Original-Change-Id: I43975a2794f44f612a5f16674cd674aeebe4e6be
Reviewed-on: http://git-master/r/19715
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: Ic8c9907998a2ab1777ea2b00f1acceb6d66c10e5

Rebase-Id: Ra0b9af5a0642fab2d13816f04c0c340ea42a45c8

7 years agowatchdog: tegra_wdt: fix WDT open() kernel panic
Xin Xie [Sat, 19 Mar 2011 01:08:28 +0000]
watchdog: tegra_wdt: fix WDT open() kernel panic

Opening the Tegra WDT device from user space is causing the kernel
panic. It is found that the device file private data pointer is passing
incorrectly in the orignal code.

bug 786885

Original-Change-Id: I4646b02c5a804c07d05ba01e35034408cc8e3e4e
Reviewed-on: http://git-master/r/23629
Reviewed-by: Xin Xie <xxie@nvidia.com>
Tested-by: Xin Xie <xxie@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: Ra37e36461d02b1482bcb815dc554104cf552544d

7 years agovideo: tegra: dc: add window inversion interface to overlay driver
Michael I. Gold [Tue, 14 Jun 2011 19:10:44 +0000]
video: tegra: dc: add window inversion interface to overlay driver

Support INVERT_H and INVERT_V flags and pass through to the DC driver.
Also support TILED flag instead of a separate tiled field.

Original-Change-Id: If5aa4e24666020d85272a955ef7b6ce6f70aeccb
Reviewed-on: http://git-master/r/36553
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Michael I Gold <gold@nvidia.com>
Reviewed-by: Michael Frydrych <mfrydrych@nvidia.com>

Rebase-Id: R58c32fc4a09ac4f5004d101d29740b934011049f

7 years agoaat2870: Change suspend and resume event source
Jin Park [Fri, 3 Jun 2011 11:25:49 +0000]
aat2870: Change suspend and resume event source

Change aat2870_bl suspend and resume event source to backlight driver
from platform driver.
Clean-up codes.

Bug 813111

Change-Id: If04b77bf0c3c3118f05107db6ffeaea7a21cdfac
Signed-off-by: Jin Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/35390
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rd0d57cb8166b138754e374dbbc47ab011c30d13d

7 years agovideo: tegra: dc: DC and HDMI debug info display
Heechul Yun [Fri, 20 May 2011 00:18:56 +0000]
video: tegra: dc: DC and HDMI debug info display

Following files will show information of DC and hdmi
/sys/kernel/debug/tegradc.[01]/{regs,mode,stats}
/sys/kernel/debug/tegra_hdmi/regs
/sys/devices/nvhost/tegradc.[01]/stats_enable

Bug 827295

Change-Id: I60bcf4454b9ea7d0ed73a6199595b06dbfa32cd7
Reviewed-on: http://git-master/r/32454
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: Rcd7e9f5cb51e0b7613ab3f8cc802b30f45b3092c

7 years agovideo: tegra: dc: underflow reset is for tegra2
Jon Mayo [Tue, 14 Jun 2011 22:20:24 +0000]
video: tegra: dc: underflow reset is for tegra2

only tegra2 needs dc underflow reset worker, disable worker if tegra2
support is disabled.

bug 836677

Change-Id: I98ba440f1d93c900fa1ce7d1bfd239e3060c437a
Reviewed-on: http://git-master/r/36597
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R0fc472527407865e5f8d6ec072d16778cd092d31

7 years agoarm: tegra: disable HDA clocks while not in use
Sumit Bhattacharya [Tue, 14 Jun 2011 14:46:13 +0000]
arm: tegra: disable HDA clocks while not in use

Disable HDA related clocks when device is not connected
to HDMI. HDA clocks will be enabled from HDMI driver when
HDMI device is hot plugged.

Bug 820213

Change-Id: I4e6839aab0dc5277b11c415cbb495766f72442b8
Reviewed-on: http://git-master/r/36517
Tested-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Niranjan Wartikar <nwartikar@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

Rebase-Id: R0c38182820603e98ed36019858920632cf3f69e5

7 years agovideo: dsi: tegra: driver power management
Animesh Kishore [Fri, 10 Jun 2011 18:38:10 +0000]
video: dsi: tegra: driver power management

Implementation for:
- syncpt for ulpm
- power saving in different components of the controller
- correcting syncpt sequence for BTA

Bug 833709
Bug 793857

Change-Id: I60ff03c64dc46a3dd8e09e1c6d43ab8355b8b649
Reviewed-on: http://git-master/r/36142
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Tested-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>

Rebase-Id: R63486a8fbdbe5a0181cda9336ca1a73b95bdd780

7 years agonvhost: Add checks for # of GPU register sets.
Terje Bergstrom [Fri, 29 Apr 2011 07:45:50 +0000]
nvhost: Add checks for # of GPU register sets.

Checks from a fuse whether we have one or two register sets.

 - fuse.h/fuse.c: Implement tegra_register_sets()

 - nvhost_3dctx.c: Use tegra_register_sets() to determine number of
   sets to save.

 - dev.c: Create entry /sys/module/nvhost/parameters/register_sets to
   return to user space the number of sets.

Change-Id: Ibd9a50cfe77a642335bd85b5814e8fdd8d2c35e6
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/29786
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: R2f4e5bb376ad669781e6289a9b11eb86ad63b472

7 years agonvhost: Enable MPE powergating, except when open.
Terje Bergstrom [Mon, 16 May 2011 07:24:08 +0000]
nvhost: Enable MPE powergating, except when open.

Enable MPE power gating, but keep it powered on when userspace has a
channel open.

Bug 809847

Change-Id: I30a297c079c0911fdaf9de528e3d5bf4a7cc1d72
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/32179
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: R2c0b0d6a38011c08181c95886ac5df1c822c6a33

7 years agoarm: tegra: enterprise: Controls for 3d barrier
Alex Odorovic [Mon, 23 May 2011 10:42:27 +0000]
arm: tegra: enterprise: Controls for 3d barrier

Adds userspace control for 3d barrier on 3d panel found on enterprise.
Provides 2 sysfs files:

/sys/devices/nvhost/tergradc/stereo_mode
/sys/devices/nvhost/tergradc/stereo_orientation

These are used to enable/disable 3d barrier and control it's
orientation, respectively.

Change-Id: I580f0992c19cbee9a695bac9bef503c9888abc83
Reviewed-on: http://git-master/r/32575
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: Rcbf4758dbc1637ebfe924d48f543cc657dd8abdc

7 years agovideo: tegra: nvmap: Fix nvmap_handle.c compile
Dan Willemsen [Mon, 13 Jun 2011 22:04:10 +0000]
video: tegra: nvmap: Fix nvmap_handle.c compile

Rebase-Id: Re05bf8da51b75cfd7c8a10677fce557c76593a43

7 years agovideo: tegra: nvmap: Fix iovm_commit accounting issue.
vdumpa [Thu, 9 Jun 2011 00:42:19 +0000]
video: tegra: nvmap: Fix iovm_commit accounting issue.

Bug 835748

Original-Change-Id: I67766cc94496162816cbef4689fa806553d6edfa
Reviewed-on: http://git-master/r/35792
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>

Rebase-Id: Ree8a45408d5763ec8db2cc4072add4c347326f99

7 years agovideo: tegra: dc: configurable LCD parent clock
Jon Mayo [Thu, 2 Jun 2011 03:10:27 +0000]
video: tegra: dc: configurable LCD parent clock

use a .parent_clk field to allow forced configuration of parent of
LCD/RGB clock. default is to use "pll_p".

Bug 829081

Original-Change-Id: If891e38022b7e88836d41385f60be66d48e366f9
Reviewed-on: http://git-master/r/34833
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Tested-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: Rb97abda6cee3fcff379fe253372c203df073dbab

7 years agonvrm: move stale wait checking into the kernel
Chris Johnson [Sat, 30 Apr 2011 21:24:44 +0000]
nvrm: move stale wait checking into the kernel

The kernel now receives wait tracking data (similar to gathers and
relocs) and compares the current syncpt with the threshold value.

If it's old, it gets a kernel mapping and rewrites the method data
to use a kernel reserved syncpt that is always 0 (so trivially pops
when seen by the HW).

Bug 519650
Bug 785525
Bug 803452

The waitchk implementation is also backward compatible with older
user space code that didn't supply waitchk data as part of the
submit.

(cherry picked from commit 4069d8e67665624ad3dceb628e572980dd57acd0)
(cherry picked from commit 6e4336408588e348804a62e53386acc9abc06823)
(cherry picked from commit 87a9efe751716ca741caac72b9061fdfdcec540a)
(cherry picked from commit 6d8d2c454e835f7cfe34371e07dac173f3153452)

Original-Change-Id: I1bf4c940fefb6e251aa8c396e92631fa3cbe32df
Reviewed-on: http://git-master/r/23159
Reviewed-on: http://git-master/r/30281
Reviewed-on: http://git-master/r/32669
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: Rbad4942a103de7d64d8a6a11d4a973740c56fa8e

7 years agoarm: tegra: nvhost: Add debugfs entry for null GPU kickoff
Janne Hellsten [Tue, 24 May 2011 12:34:13 +0000]
arm: tegra: nvhost: Add debugfs entry for null GPU kickoff

Add a debugfs entry for enabling/disabling GPU null kickoff of
graphics submits on a per process basis.

Restructure existing tegra_host debugfs node by making the existing
tegra_host file a directory and moving the status query under its own
status node.  Thus the file system structure changes from:

/sys/kernel/debug/tegra_host - status

to

/sys/kernel/debug/tegra_host/status - status
/sys/kernel/debug/tegra_host/null_kickoff_pid - null GPU ctl

Bug 826513

Original-Change-Id: Id7ccbce1bb9e53c6e3b036d10f23563fab6bf481
Reviewed-on: http://git-master/r/32765
Reviewed-by: Janne Hellsten <jhellsten@nvidia.com>
Tested-by: Janne Hellsten <jhellsten@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

Rebase-Id: R8bfacafbd0a74cddf33cded06331e52b53564156

7 years agovideo: tegra: host: Work towards enabling 3d power gating
Shashank Garg [Tue, 17 May 2011 11:25:23 +0000]
video: tegra: host: Work towards enabling 3d power gating

Fixed clock enable/disable balance issue. Added code for power gating 3d1.

Power gating still disabled as it won't work for T20 or T30 A01.

Original-Change-Id: Idcc5fd9d21d43c796bbeeac378a46f9eca3ab1c9
Reviewed-on: http://git-master/r/31142
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Shashank Garg <sgarg@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R80f171724518d94364e169416788d4ce577b3a66

7 years agovideo: tegra: nvmap: Add support to allocate specific IOVM
vdumpa [Mon, 16 May 2011 02:31:15 +0000]
video: tegra: nvmap: Add support to allocate specific IOVM

Original-Change-Id: I95cdf71e74947d4394e0cfd272a29c47562d4059
Reviewed-on: http://git-master/r/31648
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: Rb8c6f92bdfd0bf124a878800a793828fa61c0043

7 years agovideo: dsi: tegra: Stop dc stream before configuring dsi
Animesh Kishore [Thu, 2 Jun 2011 16:25:37 +0000]
video: dsi: tegra: Stop dc stream before configuring dsi

Advantage is that it avoids glitches on panel arising while dsi
registers are being configured.

Bug 833685

Original-Change-Id: I6c36749ae964aa4669c4e3cccd551405d3542a4e
Reviewed-on: http://git-master/r/34926
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Tested-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>

Rebase-Id: R423ce1bc27a1cf99c441ee4d56aba2dd53dcf696

7 years agovideo: tegra: nvmap: single page allocation policy corrected
Kirill Artamonov [Tue, 24 May 2011 10:12:43 +0000]
video: tegra: nvmap: single page allocation policy corrected

When user doesn't use default heap policy and selects
GART or carveout allocation, automatic single-page-to-sysmem
rule doesn't work. Because of broken rule many single page
allocations take extra space in carveout and create
unnecessary page mappings in GART and SMMU.

The fix adds sysmem bit to heap mask when allocation is
single page and GART or carveout is present in heap mask.

bug 730124
bug 731923

The change also does sanity check of available system memory
before adding sysmem bit for carveout allocations.

bug 777839

Original-Change-Id: I13a62653825f6c80581adcd2682fb2608d3a284e
Reviewed-on: http://git-master/r/31383
Reviewed-by: Kirill Artamonov <kartamonov@nvidia.com>
Tested-by: Kirill Artamonov <kartamonov@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R278606210f20aacc885fa9eb06b3a2a3d8677b55

7 years agovideo: tegra: dc: Selecting proper output signal or LM0/1
Laxman Dewangan [Wed, 1 Jun 2011 17:41:56 +0000]
video: tegra: dc: Selecting proper output signal or LM0/1

If LM0/LM1 output signal is selected from the PWM PM0 and PM1 then
configuring the output select register accordingly.

bug 831073

Original-Change-Id: I7546fd86a10dbf3ca3fa114d0e528ec8b9ee0e4f
Reviewed-on: http://git-master/r/34733
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: R99e5dff91c5e7c9c7367c2b591ca16c804cdbed1

7 years agovideo: backlight: tegra: Supporting DC-pwm on Tegra3.
Laxman Dewangan [Wed, 1 Jun 2011 17:46:03 +0000]
video: backlight: tegra: Supporting DC-pwm on Tegra3.

Supporting the dc pwm based backlight control for TEGRA3
SOC.

bug 831073

Original-Change-Id: I21e430e28472285636612b71732a8b94e609bb91
Reviewed-on: http://git-master/r/34734
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Hoang Pham <hopham@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: Re9ee1077cf2c77017472740ac7bc50e4dc7e3ce8

7 years agovideo: tegra: dc: fix ksv_list query sequence and timeout handling
Peter Zu [Sat, 28 May 2011 06:13:15 +0000]
video: tegra: dc: fix ksv_list query sequence and timeout handling

- remove delay on i2c r/w success to fix hdcp test case 1b-03 failure
- do not turn on hdcp crypt before verifying repeater

bug 829599

Original-Change-Id: I43718636342cb0d396cc702a8374d61da72844a7
Reviewed-on: http://git-master/r/34645
Tested-by: Peter Zu <pzu@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R209e114e898cb2052233d6e8d24a2e5be3fbd32a

7 years agotegra: dc: fix dc hang during dc reset
Min-wuk Lee [Thu, 2 Jun 2011 02:03:01 +0000]
tegra: dc: fix dc hang during dc reset

1. fix dc hang during dc reset
2. do dc reset after dc clk enabling
in reset worker function
3. remove a few build warnings

Bug 801463

Original-Change-Id: Ib7fe65555d7b0cdc8ae73fd3afd28d2b95e2d57e
Reviewed-on: http://git-master/r/33112
Reviewed-by: Min-wuk Lee <mlee@nvidia.com>
Tested-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Hyong Bin Kim <hyongbink@nvidia.com>

Rebase-Id: R4e8a48b950a7f5965953dcb9490a61a486c4d779

7 years agoarm: tegra: Clean up SOC conditionals
Scott Williams [Tue, 24 May 2011 05:08:42 +0000]
arm: tegra: Clean up SOC conditionals

Change SOC conditionals to make them more forward-looking.

Original-Change-Id: Ib60db4e690c2f396afdec962616d735548b5a8a9
Reviewed-on: http://git-master/r/32706
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: R4731d27b650940a5d532419616fefc495c621305

7 years ago[ARM] tegra: Extend the wait interface in the host
Paul Hodgson [Wed, 9 Mar 2011 12:18:26 +0000]
[ARM] tegra: Extend the wait interface in the host

Extend the wait interface to relay the actual resultant waited
point back.

Original-Change-Id: Idbaa96b186390a2383ef2cc99aefb950648a2d19
Reviewed-on: http://git-master/r/23033
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: Rd30d550f9adbd84f643201c17c61a46e80884e86

7 years agovideo: tegra: host: add additional syncpoint id
Prayas Mohanty [Mon, 2 May 2011 10:54:23 +0000]
video: tegra: host: add additional syncpoint id

For stereo camera, we need to read syncpoints from
both the rear sensors which are on their own pixel
parsers. Add an additional sw syncpoint for that.

bug 787214
bug 786928

Original-Change-Id: I4dff7fa636ff548de44544f845a5a1ba0c402d6d
Reviewed-on: http://git-master/r/30009
Tested-by: Prayas Mohanty <pmohanty@nvidia.com>
Reviewed-by: Andrew Howe <ahowe@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Gary Zhang <garyz@nvidia.com>
Reviewed-by: Erik M Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R927b1c2297441f9c30afdc8c623a8299340b6771

7 years agovideo: dsi: tegra: Support for sync point
ankishore [Wed, 18 May 2011 05:48:13 +0000]
video: dsi: tegra: Support for sync point

Adding support for sync point in dsi kernel driver

Bug 807903

Original-Change-Id: Id0520be9896bdb7f96718e38d548bc2f7e52fa3e
Reviewed-on: http://git-master/r/31939
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: R364c6b99608b2743c94cf80779305ce56e1570ea

7 years agovideo: dsi: tegra: driver power management
ankishore [Mon, 16 May 2011 09:16:24 +0000]
video: dsi: tegra: driver power management

Support for power management in dsi kernel driver

Bug 793857

Original-Change-Id: If2ac183c830974d33b9aeeb615178cf554136bbf
Reviewed-on: http://git-master/r/31541
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Tested-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>

Rebase-Id: R25378071d2ca6ad17982d1cad5512d66ebe63c1e

7 years agotegra: iovm: Limit forced Carveout-to-IOVM conversion to tegra 3
Hiro Sugawara [Tue, 17 May 2011 20:15:05 +0000]
tegra: iovm: Limit forced Carveout-to-IOVM conversion to tegra 3

Bug 828027

Original-Change-Id: I890e0481be5aade59bc68510c9fe5929bb3b64a2
Reviewed-on: http://git-master/r/31902
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Tested-by: Daniel Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R7daa676019d94684e5245d850a49274903578332

7 years agoARM: tegra: dc: lower hdmi clock before set rate
Jon Mayo [Sat, 14 May 2011 00:28:58 +0000]
ARM: tegra: dc: lower hdmi clock before set rate

choose a higher clock divider on hdmi before switching clock parents.
This prevents hdmi from exceeding its DVFS clock limits.

Original-Change-Id: I09c23498bf6450cf19e91accb788715582c3befb
Reviewed-on: http://git-master/r/31605
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>

Rebase-Id: Red51c8e99dcc60fe4cda52efba77e1182e89e3b5

7 years agomedia: tegra: avp: Allocate IOVMM first for AVP
Kaz Fukuoka [Sun, 15 May 2011 00:46:24 +0000]
media: tegra: avp: Allocate IOVMM first for AVP

bug 827505

Original-Change-Id: If6d4fd137b72c3a08bf8fb1094d8dd31ab361f1c
Reviewed-on: http://git-master/r/31633
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Tested-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-by: Frank Thomas Bourgeois <fbourgeois@nvidia.com>

Rebase-Id: R563eaa39b299d89133f7a9fb4b1c7129e8ddb71e

7 years agoarm: tegra: nvmap: Forcing to convert CarveOut requests to IOVM
Hiro Sugawara [Thu, 17 Mar 2011 20:58:13 +0000]
arm: tegra: nvmap: Forcing to convert CarveOut requests to IOVM

Adding a build time CONFIG option to enable forcing of conversion
of non-IRAM CarveOut memory allocation requests to IOVM requests.
Default is "y" to force the conversion.
Each forced conversion is reported to console.
Allocation alignments larger than page size for IOVM are enabled.
Single page CarveOut allocations are converted to system memory.
CarveOut memory reservation has been removed for aruba, cardhu,
and enterprise.

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

Rebase-Id: R602260e283f721b7e0f0d802092516ff68c068fe

7 years agovideo: tegra: dsi: Adjusted the values of packet sequence registers.
Kevin Huang [Tue, 3 May 2011 17:52:24 +0000]
video: tegra: dsi: Adjusted the values of packet sequence registers.

Changed the values of packet sequence registers for DSI burst video mode.

Original-Change-Id: I70188ed3c8fff094862a89377457751fd0d4382c
Reviewed-on: http://git-master/r/31080
Reviewed-by: Kevin Huang <kevinh@nvidia.com>
Tested-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R15b821f1f77afa2a323c92b4db660781a3f6a219

7 years agonvhost: Add tracing to nvhost driver.
Terje Bergstrom [Thu, 28 Apr 2011 13:32:33 +0000]
nvhost: Add tracing to nvhost driver.

Creates /d/tracing/events/nvhost. Logs channel opens, closes,
writes and flushes. For writes, logs number, size and address
of cmdbufs and number of relocs.

Original-Change-Id: I5bdadcb40c31e3f057eb8c4579b95e235d860e39
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/29770
Reviewed-by: Andrew Howe <ahowe@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>

Rebase-Id: Rbe763a4da9f5c431170301f91fa1bc4cb4ed8f0e

7 years agovideo: tegra: Added sysfs for dc/smartdimmer
Laurence Harrison [Thu, 7 Apr 2011 01:26:21 +0000]
video: tegra: Added sysfs for dc/smartdimmer

Includes:
1.) Added basic DC sysfs objects.
2.) Sysfs objects and functions for smartdimmer settings.
3.) Register dump access for smartdimmer.
4.) Improvements to the behavior of smartdimmer (now updates
    at the end of vblank instead of the beginning).
5.) Rename v_blank_complete to vblank_complete to keep in
    same effective style as the rest of the code.

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

Rebase-Id: R3a65726e3644d01b374f9774e966d635234567b4

7 years agovideo: tegra: Fixed compilation warnings.
Kevin Huang [Fri, 6 May 2011 20:40:53 +0000]
video: tegra: Fixed compilation warnings.

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

Rebase-Id: Raf05cd039655b68ebd398c5cf517c292ba10d493

7 years agoARM: tegra: dc: Fix overlay emc scaling calculations
Alex Frid [Wed, 4 May 2011 05:36:43 +0000]
ARM: tegra: dc: Fix overlay emc scaling calculations

Bug 822754

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

Rebase-Id: Rb6df5db1b5e18ef45d8b492c467409bed01f6733

7 years agovideo: tegra: dc: handle error condition
Amit Kamath [Wed, 27 Apr 2011 12:23:43 +0000]
video: tegra: dc: handle error condition

Do not handle requests further for displays that are not enabled

BUG 813310

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

Rebase-Id: R602328df16df1b9c5e94a2737fa20181359a3c6e

7 years agoARM: tegra: dc: fix h_ref_to_sync calculation
Jon Mayo [Fri, 29 Apr 2011 23:43:24 +0000]
ARM: tegra: dc: fix h_ref_to_sync calculation

use smaller h_ref_to_sync values.
removed old debug printks

Bug 806009

Original-Change-Id: Iaf2cf258fcfb840df1863a69bcbba236486d2551
Reviewed-on: http://git-master/r/29900
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Chong Zhang <chzhang@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: Rddb9941a95c37a509a024036bc8711019a65baf6

7 years agovideo: tegra: dc: stop hdcp when keys are missing
Jon Mayo [Fri, 29 Apr 2011 23:57:07 +0000]
video: tegra: dc: stop hdcp when keys are missing

verify Aksv, if it is invalid then quickly disable further hdcp checks.

Bug 792855

Original-Change-Id: I4a9d689d571d2f916e11f92f5b897f287f724068
Reviewed-on: http://git-master/r/29899
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R198c9da7c918732a9b764063d12fd7de3792e5b8

7 years agoARM: tegra: dc: clip invalid windows to screen res
Jon Mayo [Fri, 29 Apr 2011 03:25:13 +0000]
ARM: tegra: dc: clip invalid windows to screen res

clip invalid windows to fix screen size, failure to do so causes display
errors that result in corrupted display and invalid video modes.
prints a warning only once, if this warning is present in the logs then
there is a misbehaving application.

Bug 821094

Original-Change-Id: Ief7b6379026e6abeb31a28aabf920618edd7ab44
Reviewed-on: http://git-master/r/29759
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: Rbbd1c33e5d4b58b5ddc8a4910b6851dc9bb73d63

7 years agoARM: tegra: dc: fix mutex lock in reset worker
Jon Mayo [Fri, 29 Apr 2011 22:08:56 +0000]
ARM: tegra: dc: fix mutex lock in reset worker

unlock mutex if reset worker finds the display disabled.

Bug 801463

Original-Change-Id: I22bff26b5b72e75f0c46efb68446ec2257e8273f
Reviewed-on: http://git-master/r/29898
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Michael I Gold <gold@nvidia.com>

Rebase-Id: Rc38b140352b443963756a0b0385261065a58b1e0

7 years agoHACK: Enable HDMI hotplug
Dan Willemsen [Fri, 1 Apr 2011 06:33:08 +0000]
HACK: Enable HDMI hotplug

Original-Change-Id: I0aabdebab1765014c2a853f41ec53fba3cce6670

Rebase-Id: R4ac77645bd5c1a615d9045dccdd1cc40e9d05938

7 years agovideo: dsi: tegra: Read from dsi panel
ankishore [Fri, 15 Apr 2011 06:16:51 +0000]
video: dsi: tegra: Read from dsi panel

Support to read from dsi panel even with dc stream on.

Original-Change-Id: I4ecbeded43d3e8424d66f64321f902c540163427
Reviewed-on: http://git-master/r/27465
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Tested-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Venkata Nageswara Penumarty <vpenumarty@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Original-Change-Id: I68c59bb0d8f8761102e10f130029ffce827cdadb

Rebase-Id: R6b3498b0cb1b9608ca457ab9869d97ad46bea4f9

7 years agoARM: tegra: Use proper type for physical addresses
Scott Williams [Wed, 13 Apr 2011 00:47:52 +0000]
ARM: tegra: Use proper type for physical addresses

Original-Change-Id: I158d2be97c795313e7e74ce9fb4ec0bdc7d95496
Reviewed-on: http://git-master/r/27559
Tested-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Hiro Sugawara <hsugawara@nvidia.com>
Reviewed-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I0ff198daa548ed2837f7fb1794013bf0adf7e5a1

Rebase-Id: R83df5f3b5104183bfe774d8eed8ce94427c9b7fc

7 years agoarm: video: tegra: dc callbacks for hotplug init
Jon Mayo [Wed, 13 Apr 2011 01:14:22 +0000]
arm: video: tegra: dc callbacks for hotplug init

add new dc out callback hotplug_init and postsuspend to handle board
specific configuration of power and gpios for detecting hotplug.

bug 812083 bug 811523

Original-Change-Id: Ia7937cc9461465502cabbd2a5efaee0093bccfe0
Reviewed-on: http://git-master/r/27570
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: Iab0fbe0e493ad3818416454ba7a2dda679f68dfb

Rebase-Id: R8869de766d7939a7be48a4860c45d18ac7a2ffed

7 years agoARM: tegra: dc: hdmi drive strength changes
Jon Mayo [Thu, 10 Feb 2011 23:35:38 +0000]
ARM: tegra: dc: hdmi drive strength changes

use pixel clock to configure HDMI interface signaling properties.
These options are different depending on which SoC.

Bug 786961 Bug 795251

Original-Change-Id: Ic898e87134cbac0fe5723242febdf46bc5b72d32
Reviewed-on: http://git-master/r/19176
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: I98d68da65e590a0eb5cf7fac166d05e0c531bd5f

Rebase-Id: Re162cfbb1042f6e19b38d2de3e278677dc702361

7 years agovideo: tegra: nvmap: Remove dead code
Dan Willemsen [Fri, 1 Apr 2011 06:36:58 +0000]
video: tegra: nvmap: Remove dead code

This commit:
tegra:video:nvmap: optimize cache_maint operation.

added some dead code

Original-Change-Id: I9193a7865f5e3126b06950efaf9b5a4b6c7fd919

Rebase-Id: R30ba7719d8aa6ad48d708714396299b154cf0131

7 years agoARM: tegra: dc: fix deadlock on overlay wq flush
Jon Mayo [Thu, 31 Mar 2011 03:23:39 +0000]
ARM: tegra: dc: fix deadlock on overlay wq flush

dc lock is head while flush occurred, but functions called by workers need
take the dc lock to proceed.

Bug 807015

Original-Change-Id: Id30c5c768947f8f9959b01be3983761a18c5a1e5
Reviewed-on: http://git-master/r/24890
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: I6537018e03cfc354af9a7187d2fdd019cfe55960

Rebase-Id: Rc1c42255aef998f6741fe1484356a884479b8ec8

7 years agovideo: tegra: dsi: Stop dc stream at the frame end
kevinh [Fri, 18 Mar 2011 07:12:40 +0000]
video: tegra: dsi: Stop dc stream at the frame end

Fixed tegra_dsi_stop_dc_stream() to flush register immediately.
Added tegra_dsi_stop_dc_stream_at_frame_end().

Original-Change-Id: Ie4fe1f6d59e6bf0dab40251f33a0c2f8d816fdd8
Reviewed-on: http://git-master/r/23488
Reviewed-by: Kevin Huang <kevinh@nvidia.com>
Tested-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: I398cb977146656936c5768c2bc3ec83f7bdc7c66

Rebase-Id: Rda5a11692992edd47c49e0f30446efc0a26e747e