summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-cardhu-panel.c
AgeCommit message (Collapse)Author
2012-12-17video: tegra: clear fb2 unspecified by bootloaderJong Kim
Clear framebuffer2 if and only if framebuffer2 is not specified by the bootloader. If the bootloader framebuffer2 is specified, then copy the contents to kernel framebuffer2. bug 1175957 Change-Id: I4ac4432c1dac6a6c634ab3e6ae31628f9c64ddb4 Signed-off-by: Jong Kim <jongk@nvidia.com> Reviewed-on: http://git-master/r/170663 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2012-08-28video: tegra: cardhu: Default bpp from hardwareChristopher Freeman
This patch adds: 1. A kernel config option that hints to DC driver to use the current value of the color depth register as the default for initializing the FB driver. 2. Checks to see if DC is enabled before reading off the color depth register in tegra_dc_probe. Change-Id: I852cc1328fcf42f33052f46b86d753e691744329 Signed-off-by: Christopher Freeman <cfreeman@nvidia.com> Reviewed-on: http://git-master/r/127297 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-14ARM: tegra: cardhu: report correct height/widthRakesh Iyer
We will report the exact width/height instead of rounding it off for Android's bucketed dpi values. The determination of the bucketed dpi values is handled in user mode. Bug 1003707. Change-Id: Id3d4b9fc325187067e2d3df895ff6a753b730633 Signed-off-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-on: http://git-master/r/121431 Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com> GVS: Gerrit_Virtual_Submit
2012-08-02ARM: tegra: cardhu: report height/width for cardhuRakesh Iyer
For accurate Dots-per-inch computation we need to report height/width for all cardhu based panels. Bug 1003707. Change-Id: I06c5ee077aa82a9ffd958e1cc7c536b445523da3 Signed-off-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-on: http://git-master/r/120350 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-02ARM: tegra: cardhu: provide suspend aggr for E1506Rakesh Iyer
DSI clock gating requires a valid value for aggressive suspend. Change-Id: I6847fb94e2db899ff251e16f045fa76b8ad2e737 Signed-off-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-on: http://git-master/r/118733 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-01ARM: tegra: cardhu: get rid of tegra_gpio_enable() in panel initLaxman Dewangan
The gpio mode of pin is configured when setting direction and hence this call is no more required. Change-Id: I394cb55d90c625f1608a0ac80b24228b57b351c1 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/119607 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-01ARM: tegra: cardhu: report height/width for cardhuRakesh Iyer
For accurate Dots-per-inch computation we need to report height/width for the cardhu panel. Bug 1003707. Change-Id: I9a3413d06d97bed532ffc501000ca9bc2360e842 Signed-off-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-on: http://git-master/r/118777 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-07-30ARM: tegra: cardhu: report height/width for E1506Rakesh Iyer
For accurate Dots-per-inch computation we need to report height/width for the E1506 panel. Bug 1014380. Change-Id: Ic78b6843f65f44d6162e3c4313aae37bd0e96ba1 Signed-off-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-on: http://git-master/r/118438 Reviewed-by: Lokesh Pathak <lpathak@nvidia.com> Tested-by: Lokesh Pathak <lpathak@nvidia.com>
2012-07-26arm: tegra: cardhu: Change governor typePrem Sasidharan
Power improvement for OS IDLE DISPLAY OFF, audio use cases. Governor is changed to conservative governor when panel is suspended. Default governor (interactive governor) is restored when the panel resumes (when user presses the power button). Seeing a power improvement of 22mW (42mW/64mW) for os idle display off and 30mW (57mW/87mW) for audio playback use cases Bug 1002294 Signed-off-by: Prem Sasidharan <psasidharan@nvidia.com> Change-Id: I06d2bca654bc8ff96fdf18d81a98c6e4ec838235 (cherry picked from commit 7002c3fe264163b6be38cf9e24bdf137f44ed69f) Reviewed-on: http://git-master/r/118196 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-07-12ARM: Tegra: cardhu: No longer invert backlight on PM313Graziano Misuraca
Backlight value was inverted for panels with PM313. This assumed the panel was the 15", but because the 10.1" (AUO) is more prevalent and doesn't have the inverted backlight signal we no longer need to invert it. Note this will fix the backlight issue for AUO E1198 boards but break it for 15". Bug 962636 Reviewed-on: http://git-master/r/#change,93965 Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com> Change-Id: Icb65592eb2df21e349e5a759a780e4438a0f5b26 Reviewed-on: http://git-master/r/95728 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-07-05ARM: Tegra: cardhu: Change pin for LVDS_SHTDN_N on PM313Graziano Misuraca
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>
2012-07-04ARM: tegra: cardhu: enable clock gating features for E1506 panelRakesh Iyer
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>
2012-07-01ARM: tegra: cardhu: power management fix for E1506 panelRakesh Iyer
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
2012-06-14video: tegra: host: Register devices in SoC filesTerje Bergstrom
Move the device structures to the driver source code files. Register all nvhost_device's in one loop which is called from board file. host1x driver code is moved to live under host1x, too. This causes a need to add host to include path of tegradc and nvavp. Bug 982965 Change-Id: If99cf9d1ef6bc24663ee8294c19370429ed04ca7 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/104076 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-06-11ARM: tegra: cardhu: enable DSI panel supportRakesh Iyer
Allow for DSI panel support to be present in release builds. Removed CONFIG_TEGRA_CARDHU_DSI config variable. Bug 978305. Change-Id: I2b34fa5c5331de897d2b753da90e26278a6b7870 Signed-off-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-on: http://git-master/r/106919 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-06-06ARM: tegra: cardhu: add support for E1506 panelRakesh Iyer
Add support for 720p DSI panel on the E1506. Bug 978305. Change-Id: If76d2754eebc9e612c2ce006fa73ead7ebb1a109 Signed-off-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-on: http://git-master/r/104894 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-05-25ARM: tegra: cardhu: Remove tegra_gpio_enb/disableAshwini Ghuge
Removing tegra_gpio_enable and disable calls from board files as they are supported through set direction calls in the driver Bug 984439 Change-Id: I51b17389dbb17b0e94e1635ec6d68acd01c743b4 Signed-off-by: Ashwini Ghuge <aghuge@nvidia.com> Reviewed-on: http://git-master/r/102529 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-05-21video: tegra: dc: Init hdmi's platform data and fbShashank Sharma
1. Change hdmi platform data structure's xres and yres values. These values were made same as LVDS panel (1366x768). LVDS runs fix display mode,but HDMI can switch to different modes. The new values (640x480) are corresponding to HDMI's fallback mode resolution. 2. Map bootloader's framebuffer content to fb1 also, to initialize fb1's content, and to avoid black & white strips when hdmi gets enabled but has no content in fb. It sometimes causes inconsistency on fb_console mapped on HDMI. Bug: 930136 Change-Id: Iecf0d8c1cdd6a1baec2aec9c5dded3d73d1347e1 Signed-off-by: Shashank Sharma <shashanks@nvidia.com> Reviewed-on: http://git-master/r/103381 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-05-18arm: tegra: Use nvmap.h include file from kernel/includeKrishna Reddy
Use nvmap.h include file from kernel/include instead of mach-tegra/include. Bug 854182 Change-Id: Ic82b35d6c2e1c49461575a7bbbfd28ee43921466 Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/102723 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-05-08video: tegra: dc: Set default videomodeShashank Sharma
Set default videomode during the dc probe. This patch enables HDMI during the probe only and fixes following issues: 1. Until Xinit there was no display on HDMI. 2. Framebuffer console on HDMI needs it to be enabled well before Xinit. To avoide un-necessary powering on HDMI,Check HPD and enable HDMI only if it's present. Bug: 930136 Bug: 977705 Change-Id: Ifb71328e5df0ccbb5751669db71fd24719fe3738 Signed-off-by: Shashank Sharma <shashanks@nvidia.com> Reviewed-on: http://git-master/r/100656 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-05-03Revert "video: tegra: dc: Set default videomode"Hunk Lin
This reverts commit 9349cedf17f9b3c10760c8d48f831473f87a3a15. It is reviewed on http://git-master/r/99635 It will cause HDMI power ON and emc clock bump up to 667Mhz after resume from LP0. bug 930136 Change-Id: I130494fdb381b3d322ac0e3fc8be2e44f2c2d7a7 Signed-off-by: Hunk Lin <hulin@nvidia.com> Reviewed-on: http://git-master/r/100202 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-05-01video: tegra: dc: Set default videomodeShashank Sharma
Set default videomode during the dc probe. This patch enables HDMI during the probe only and fixes following issues: 1. Until Xinit there was no display on HDMI. 2. Framebuffer console on HDMI needs it to be enabled well before Xinit. Bug: 930136 Change-Id: Ieaf5c69eefa4a6584893425ad4fd772bcd91ea11 Signed-off-by: Shashank Sharma <shashanks@nvidia.com> Reviewed-on: http://git-master/r/99635 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-04-11ARM: tegra: cardhu: add multiple LCD modesJon Mayo
Add 50Hz and 48Hz refresh modes on internal panel. Choose pll_d as default for internal panel. Choose pll_d2 as default for HDMI output. Print a warning when touch panel work around code is being used. Bug 560152 Change-Id: Ia155e02b4fdc4ea3a749c3f1e9edea94786441ba Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/94890 Reviewed-by: Automatic_Commit_Validation_User
2012-03-29ARM: tegra: cardhu: Fixed DSI panel issue on PM269.Kevin Huang
Bug 953155 Change-Id: I9fbb87f17e590971d5a0bf313e740e8b3b4c890b Signed-off-by: Kevin Huang <kevinh@nvidia.com> Reviewed-on: http://git-master/r/91871 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-03-07arm: tegra: set bpp for PM313 display to 24Graziano Misuraca
bpp on PM313 display was 18bpp which caused the colours to show up incorrectly. Setting it properly. Bug 947532 Change-Id: Iccc99b67fea417b12d7bcc9f59055b60689be568 Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com> Reviewed-on: http://git-master/r/88214 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-03-06video: tegra: host: register nvhost master device in board-xxx-panel.cMayuresh Kulkarni
- the suspend order of devices is governed by the order in which devices are registered - this commit ensures that nvhost master is registered before any of the graphics devices - previously this was done in rootfs_init call which is later than arch_init calls of board-xxx-panel.c - this caused tegra-dc device to be registered *before* nvhost master device. as a result it was suspended *later* than nvhost master device. this is a clear violation of dependency rule for nvhost. this caused suspend-resume to fail for L4T - this worked on android as it has CONFIG early suspend enabled while it failed for L4T which doesn't have CONFIG early suspend enabled Bug 947617 Change-Id: I6cd405f3ba23d004e7659140019f5130e6c25159 Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-on: http://git-master/r/87756 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
2012-02-28video: tegra: host: Merge tegra_grhost and host1x devicesMayuresh Kulkarni
- tegra_grhost is a platform device that represents host1x - nvhost has device host1x which represents the same hardware - merge these two device structs - as the new struct is a nvhost_device, platform_driver is also converted into a nvhost_driver - register nvhost device before other graphics devices. this ensures that nvhost_probe() is called as soon as nvhost_driver is registered with the core. - this also ensures that nvmap is probed first, followed by nvhost, followed by tegra-dc and nvavp (if they are enabled). Change-Id: Ic420a6516a9cb20d6f481692a4db10fa6053dd90 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-on: http://git-master/r/82631 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-01-24ARM: tegra: cardhu: Specify PLLD2 as backup clock sourceAlex Frid
Since not all possible PLLP output rates (216MHz, 408MHz or 204MHz) can provide accurate enough pixel clock rate for cardhu panel, use PLLD2 as backup clock source. Bug 928260 Change-Id: I767e621606e849cb7d1976fbed198b9427660544 Reviewed-on: http://git-master/r/76034 Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com> Signed-off-by: Alex Frid <afrid@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/76816 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-01-23arm: tegra: cardhu: Fix build error for ion_platform_dataHiroshi DOYU
Because of incorrect struct member name. This is the left over from the previous commit. Change-Id: Ia4a824761bce69ad8f740ed7525c58affca7d1fb Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com> Reviewed-on: http://git-master/r/75281 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2012-01-12arm: tegra: cardhu: Add iommu heap entry for SMMUHiroshi DOYU
This registers iommu_heap to be used by Ion memory manager. If iommu_heap isn't supported with CONFIG_ION_IOMMU disabled, this entry should be ignored. Change-Id: Iabe072369eecdec4ca25396127c3720915b2eefd Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com> Reviewed-on: http://git-master/r/72830 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2011-12-29arm: tegra: cardhu: Add Ion device and it resouces.Krishna Reddy
Add Ion device and its resources. Change-Id: I77718dda4acc62074dc859a95441ef04181ae4a7 Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/71114 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com> Tested-by: Hiroshi Doyu <hdoyu@nvidia.com>
2011-12-28arm: tegra: Create nvmap dev based on config flag.Krishna Reddy
Create nvmap dev and related resources only when CONFIG_TEGRA_NVMAP is defined. Change-Id: Iee9e43de79767353a750f73cddd6550a74315cff Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/70699 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
2011-12-21arm: tegra: cardhu: Fix error if CONFIG_TEGRA_DC is not definedHyungwoo Yang
This change fixes the compilation error. The error happens when CONFIG_TEGRA_DC is not defined Bug 916044 Change-Id: Icddd959f1ad9d9d9acad66e478e84c2bc96687b2 Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com> Reviewed-on: http://git-master/r/70191 Reviewed-by: Lokesh Pathak <lpathak@nvidia.com> Tested-by: Lokesh Pathak <lpathak@nvidia.com>
2011-12-08arm: tegra: cardhu: Remove conservative gov on suspendKarthik Ramakrishnan
Cardhu does not require conservative governor on early suspend. It is also disabled in the defconfig Change-Id: I5daa0fdcb8ef697bed83756e97f06747e5c89f8c Signed-off-by: Karthik Ramakrishnan <karthikr@nvidia.com> Reviewed-on: http://git-master/r/67326 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2011-11-30arm: tegra: cardhu: HDMI audio while screen is blankJon Mayo
continue to play HDMI audio past earlysuspend (when internal screen is powered down). this is accomplished by using FB_BLANK_NORMAL on HDMI display in earlysuspend instead of FB_BLANK_POWERDOWN. bug 857117 bug 868916 Reviewed-on: http://git-master/r/53609 (cherry picked from commit 31edf6de69113e9895d495c5b584e1af6375cfed) Change-Id: I692f862e9ad9b98193419c5f684114b9c6171875 Reviewed-on: http://git-master/r/56491 Reviewed-by: Jon Mayo <jmayo@nvidia.com> Tested-by: Jon Mayo <jmayo@nvidia.com> Rebase-Id: R4a915b0116b209f161ce6878665d627828757285
2011-11-30ARM: tegra: early switch to default governorSachin Nikam
In <board>_panel_late_resume() first switch to default governor before fb_blank(). Bug 843845 Original-Change-Id: Ic6e3bc1da10631fc8a4525e57039c94ee552f7d2 Signed-off-by: Sachin Nikam <snikam@nvidia.com> Reviewed-on: http://git-master/r/39193 Reviewed-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R8339db8cd0669a0ae84fea09a3e5bb74a361e52a
2011-11-30arm: tegra: set cpufreq governor parameterWen Yi
The new parameters help cpu frequency stay in low level clock as much as possible. This helps reduce power consumption when display is off. BUG 817727 Original-Change-Id: I030319d78e793a0372008a5c0640dce3720a47d8 Reviewed-on: http://git-master/r/35266 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com> Rebase-Id: R72ba82c3403f37721b95617989247e24b371c5fe
2011-11-30ARM: tegra: common: dynamic cpufreq governorBharat Nihalani
To improve the power consumption situation for MP3 playback the scaling governor is set to conservative when display is turned off and the default governor is saved. The governor is restored when display is turned on. Bug 817727 Original work done by "Wen Yi <wyi@nvidia.com>" Original-Change-Id: I43ffb0d508cc6d0a80eeeffcbab77526b644c437 Reviewed-on: http://git-master/r/32194 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com> Rebase-Id: Rffc94033789079726dad27ff5c65e20001478862
2011-11-30arm: tegra: cardhu: hdmi: use hotplug_initJon Mayo
use FB_BLANK_POWERDOWN on hdmi device in earlysuspend to cause tegra_dc_disable. use new hotplug_init / postsuspend callbacks to manage +5V hdmi power pin. this pin should be enabled whenever the device is active, and off when the device is suspended. bug 812083 bug 811523 Original-Change-Id: I6e8a2ae2683c79d5271aef9580df68c11628c823 Reviewed-on: http://git-master/r/27571 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: I6d98bdd58c90e02085d13bf29f2046baf144722e Rebase-Id: Ra8e3c0247a16fdcba0c2a0a8795b2b1e6e9155bb
2011-11-30tegra: cardhu: use earlysuspend for displayJon Mayo
trigger display FB_BLANK_POWERDOWN during earlysuspend. Original-Change-Id: I21c75bca28bd599730b93b84d2c5de1dcb40a74e Reviewed-on: http://git-master/r/22472 Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Tested-by: Jonathan Mayo <jmayo@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Original-Change-Id: I1a9bc8b499ab39cebea0a1435bfe519dba7c55c0 Rebase-Id: R63cbab44f6fb4b09f4396e238ef84f9a810c57b6
2011-11-30arm: tegra: cardhu: Support PM313 SKU0001Hyungwoo Yang
PM313 SKU0001 supports selecting BPP ( 18bpp or 24bpp ) Bug 822980 Reviewed-on: http://git-master/r/61005 (cherry picked from commit c6f9f5ebfe5f85bc56298092dce142980bed5d71) Change-Id: Ifa25704d91bdd9de164b2baac835c38f0cdc0813 Reviewed-on: http://git-master/r/66576 Reviewed-by: Hyungwoo Yang <hyungwooy@nvidia.com> Tested-by: Hyungwoo Yang <hyungwooy@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> Rebase-Id: Ra8e388176b4d7d35915809d5272524ad0fa02cae
2011-11-30ARM: tegra: Cardhu/Enterprise: Phase in pixel/backlight adjustmentsMatt Wagner
Turns on phase_in_adjustments on for Cardhu / Enterprise and updates flicker control Reviewed-on: http://git-master/r/64522 (cherry picked from commit 9b217486322c4da8ba0df0ec6710caf94efbd721) Change-Id: I1fc4ef0b04881c9f2b34b0ab2c88d6b97c88815c Reviewed-on: http://git-master/r/65626 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R1e8eb79e658556337666186e416f7fccc5a4508b
2011-11-30video: tegra: support display board PM313Hyungwoo Yang
This change supports PM313 with 19X12 panel. The change uses PM313 in "Single input to Dual output" mode Bug ID : 822980 Reviewed-on: http://git-master/r/50215 (cherry picked from commit b83e795747fa860b5b7fb66b2067ebe4f15bcfd0) Change-Id: Iabf707ded2976e9877481c215d0b1f1940781f14 Reviewed-on: http://git-master/r/60085 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Re8eadc35c75fa21b0a5f3cb3bee0e8cb77dc3238
2011-11-30arm: tegra: Make kernel buildable without nvhostTerje Bergstrom
Cuts dependencies to nvhost by adding a Kconfig dependency from DC to GRHOST and from HD Audio to DC. Configure out calls to nvhost in board panel files if GRHOST is not present. Bug 870898 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Change-Id: If7830528e321e951bcadc2a10515e6cab58a6cdf Reviewed-on: http://git-master/r/56370 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: Antti Miettinen <amiettinen@nvidia.com> Tested-by: Antti Miettinen <amiettinen@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Chris Dragan <kdragan@nvidia.com> Rebase-Id: R16d9286d67235b0697c914476e7d6462eec7f3ac
2011-11-30arm: tegra: cardhu: Support for E1257Laxman Dewangan
Adding support for E1257 platform. bug 864294 Reviewed-on: http://git-master/r/50662 (cherry picked from commit 8217615021a6ffeb992327f6b010ea9deebc34e7) Change-Id: I3429da1bca38e1ddc5b3c2156a0db6b23aeb5555 Reviewed-on: http://git-master/r/57806 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R7fadbdc30bdca30e41e0b7fdb88628dbc8c32e82
2011-11-30arm: tegra: cardhu: Support for PM311Laxman Dewangan
Adding support for PM311 based system. bug 870139 Reviewed-on: http://git-master/r/50012 (cherry picked from commit d319d9980b6b225735ac97160fdee18fbabba2f0) Change-Id: Iaa28921761e035e8fa29956b776f9379ae326b42 Reviewed-on: http://git-master/r/57251 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R50fc9a079bd46a050084afed2b0f460e2916ebc9
2011-11-30ARM: tegra: nvavp: registering new nvavp driverBharat Nihalani
Also re-arranged tegra_nvavp code so that it is common accross boards Bug 880623 Change-Id: I7d634a718e07e07e945fb512466b3a0672aea7e2 Reviewed-on: http://git-master/r/54487 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R78e4af97d967003560e80efce79d6b22d6d66c4f
2011-11-30arm: tegra: cardhu: Support for PM305Laxman Dewangan
Adding support for PM305. bug 846246 Original-Change-Id: Ib036c67c12984668e0b7153f76a1a1d44c5be14f Reviewed-on: http://git-master/r/49820 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Rebase-Id: R9e9eb93ddcea487159854533eead3fe8eb74e42b
2011-11-30arm: tegra: cardhu: use dithering on 18bpp panelJon Mayo
configure ordered dithering for 18bpp internal lcd. Bug 869395 Original-Change-Id: I4e9391773f783992820e85a201d29403455bc100 Reviewed-on: http://git-master/r/49508 Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Tested-by: Jonathan Mayo <jmayo@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Rebase-Id: R5ff8b01be9412151a51553004cd0040d70bddc4c
2011-11-30ARM: tegra: cardhu: Fix (or suppress) warningsScott Williams
Change-Id: Ie1ec67106ffb4cf38415095a8db31d01fe1d5e10 Signed-off-by: Scott Williams <scwilliams@nvidia.com> Reviewed-on: http://git-master/r/49274 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Tested-by: Daniel Willemsen <dwillemsen@nvidia.com> Rebase-Id: R23e65a63d3f2869217af5cc7952ea64931ba4924