summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-bonaire-panel.c
AgeCommit message (Collapse)Author
2014-05-23arm: tegra: nvmap: pass dma_dev arg for carveoutsKrishna Reddy
Pass dma_dev arg for carveouts. This is necessary to allocate from carveouts via Dma API. Change-Id: I9c3fea752c9399fb40dccffc09bd572e1713a930 Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/412168 (cherry picked from commit 9dc0a54feae983c85cd99638837062cee1e5c5c9) Reviewed-on: http://git-master/r/412803
2014-03-27arm: tegra: remove setting unused member buddy_sizeKrishna Reddy
Change-Id: I0345b06e725dadf2b661106e7c34d4d6718ef7c2 Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/386366
2014-01-28ARM: tegra: move pwm registration to DTLaxman Dewangan
Move Tegra pwm driver registration to DT from board files. Make the tera pwm as always enabled from DTS. The motiviation is to make the pwm driver registration to independent of panel driver as pwm can be used for other purpose than backlight support only. Change-Id: I1098e976d0a0e9ebf154b5ea503df38b917f1c09 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/360433
2013-11-26arm: tegra: extern sd_brightness relocationMin-wuk Lee
Move extern sd_brightness to dc.h, so display related driver can avoid extern variable usage. Bug 1371533 Change-Id: I785dc1e0085ace74d2463bf70512f964ff80ef65 Signed-off-by: Min-wuk Lee <mlee@nvidia.com> Reviewed-on: http://git-master/r/335323 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2013-11-25ARM: tegra: fix regulator_get() return value checkMallikarjun Kasoju
regulator_get() returns either error pointer or valid pointers. It never returns NULL. Hence it is not a correct to check the return pointer as IS_ERR_OR_NULL(). It should be only IS_ERR(). Bug 1410234 Change-Id: I8cf668ca0bced49ee4f47ccf9b02d70fd0263cd6 Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com> Reviewed-on: http://git-master/r/334471 GVS: Gerrit_Virtual_Submit Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2013-11-12ARM: tegra12: enable DT support for host1xDeepak Nibade
- make board file changes to enable DT support for host1x - rename clocks to isp.0/vi.0/vic03.0/gk20a.0 to match with device names bug 1366383 Change-Id: I97d8dcf1435c93be9cd81c40f101b645f8073019 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/304871 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
2013-10-30Revert "ARM: DT: Add DT entry for PWMs and Backlight"Mitch Luban
This change prevented 25x16 panel from booting. This reverts commit 30014ab843618322bb487e1e9e52edec3dfac4b6. Change-Id: I0e41b1215772938be54faea6e5884177184c4036 Reviewed-on: http://git-master/r/309812 Tested-by: Mitch Luban <mluban@nvidia.com> Reviewed-by: Mitch Luban <mluban@nvidia.com>
2013-10-29ARM: DT: Add DT entry for PWMs and BacklightAjay Nandakumar
Add DT entry for PWM controller and Backlight for NVIDIA's Tegra 114,124 SoCs.It has 4 PWM controllers. Bug 1256106 Change-Id: Ia927d3231db1a07490b5027c1f23d8e736173f30 Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com> Reviewed-on: http://git-master/r/299035 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-10-29Revert "ARM: tegra12: enable DT support for host1x"Terje Bergstrom
This reverts commit 1a48e3a1826b6347b95aa3c1c96ab1c957a240ac. Change-Id: Ibd58be83afadda460b81def37665ab19e95b1693 Reviewed-on: http://git-master/r/304851 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
2013-10-29ARM: tegra12: enable DT support for host1xDeepak Nibade
- make board file changes to enable DT support for host1x - rename duplicate ISP clock name to tegra_isp.0 since with DT, device name becomes isp.0 now bug 1366383 Change-Id: I3b8f08c8c52035dfcd019126774c9d1569499d8c Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/299483 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
2013-09-14ARM: tegra: Move platform detect from <mach/hardware.h> to <linux/tegra-soc.h>Dan Willemsen
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Change-Id: I13f3ff891510d2c868f609d507149b32183d34c5
2013-09-14fixup board-bonaire-panel.c move iomap.hShridhar Rasal
Change-Id: I81e05a2dff8b7071ed83004666b058504086bc04 Signed-off-by: Shridhar Rasal <srasal@nvidia.com> Reviewed-on: http://git-master/r/271831 Reviewed-by: Automatic_Commit_Validation_User
2013-09-14arm: tegra: use the correct initail value for pwm_gpioKerwin Wan
pwm-backlight driver will check whether pwm_gpio is a valid gpio by gpio_is_valid. If it's a valid gpio pin, it will use it as a pwm output pin. If not, it will ignore and the pwm output pin should be configured in board files. But pwm_gpio is 0 by default and 0(TEGRA_GPIO_PA0) is a valid gpio. So the pwm-backlight drvier will do gpio_request(TEGRA_GPIO_PA0) and gpio_free(TEGRA_GPIO_PA0). This is definetly wrong. So set pwm_gpio to TEGRA_GPIO_INVALID for those panels which pwm output pin is set in board files to fix the wrong behavior. Change-Id: I96e451b1f82c494731e29c09695a399d46c243b9 Signed-off-by: Kerwin Wan <kerwinw@nvidia.com> Reviewed-on: http://git-master/r/267752 GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-by: Ashwini Ghuge <aghuge@nvidia.com> Reviewed-by: Hayden Du <haydend@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2013-09-14ARM: tegra: Disable temporal dithering for some board/panelsChao Xu
Temporal dithering causes DC to generate inconsistent CRC values, which is inconvenient for the display tests. Bug 1343680. Change-Id: I5adbc35c20e92b7174278caffa71b75e952fa0ce Signed-off-by: Chao Xu <cxu@nvidia.com> Reviewed-on: http://git-master/r/263435 Reviewed-by: Xue Dong <xdong@nvidia.com>
2013-09-14ARM: tegra: Move panel config to pre-siJeff Smith
This change is a part of the effort to enable runtime platform detection and reduce compile-time conditionals. Bug 1333554 Change-Id: Icf7a6f4a595dd3b7fdf26b61d348f0289f6f190c Signed-off-by: Jeff Smith <jsmith@nvidia.com> Signed-off-by: Chetan Kumar N G <chetankumarn@nvidia.com> Reviewed-on: http://git-master/r/252552 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
2013-09-14ARM: tegra: disable DT path for host1x and gk20aMayuresh Kulkarni
this commit disable DT path for host1x and gk20a the idea is to statically register the host1x and gk20a devices for this to work correctly, it should be ensured that host1x and gk20a entries are removed from DT bug 1316106 Change-Id: I8ac90f691b1bc9d6f39b5ad375ffe5cb1ec33b7c Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-on: http://git-master/r/248410 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Chao Xu <cxu@nvidia.com> Reviewed-by: Mitch Luban <mluban@nvidia.com> Tested-by: Mitch Luban <mluban@nvidia.com>
2013-09-14video: tegra: dc: Add panel depth valueChao Xu
eDP cacluation needs bpp value for the panel. Add it to the board file so we can do the right calculations. Change-Id: I0ec7e1aa46c57d6cfacd809828e9af153e4c2eb5 Signed-off-by: Chao Xu <cxu@nvidia.com> Reviewed-on: http://git-master/r/242520
2013-09-14ARM: mach-tegra: Add LVDS panel support to bonaireChao Xu
Change-Id: I74b8536f152f1f8d9f1e37e3e21570cda30c028a Signed-off-by: Chao Xu <cxu@nvidia.com> Reviewed-on: http://git-master/r/242518
2013-09-14ARM: tegra: Support second head for bonaireChao Xu
eDP was put in displayB on FPGA so add the second head support for bonaire. Change-Id: Ibd69ab68063fe3014aa40e5765fe233fc83b4a7c Signed-off-by: Chao Xu <cxu@nvidia.com> Reviewed-on: http://git-master/r/242514
2013-09-14ARM: tegra12: host1x DT supportTerje Bergstrom
Bug 1297408 Change-Id: Ifd446986ff3a8e3513378589db003de8dfeb3a74 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/241890 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-14ARM: tegra: Initialize framebuffer mem in bonaireTerje Bergstrom
Initialize framebuffer memory in bonaire. As T124 builds with 64-bit phys_addr_t, also __tegra_move_framebuffer() signature needs to be updated. Bug 1201552 Change-Id: Iee314e8f2914174f7f49fe98dd516b9a9c0e465a Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/217303
2013-09-14video: tegra: nvavp: Enable nvavp driver supportSomasundaram S
1> Enable nvavp driver support 2> Enable TEGRA_GRHOST 3> Enable DEBUG_FS 4> Fix compilation errors Bug 1246854 Change-Id: I4cf1e69a69cc891f9d4311183ed74af0973e782b Signed-off-by: Somasundaram S <somasundaram@nvidia.com> Reviewed-on: http://git-master/r/212589 Reviewed-by: Somu Sundaram <somasundarams@nvidia.com> Tested-by: Somu Sundaram <somasundarams@nvidia.com> Reviewed-by: Chao Xu <cxu@nvidia.com>
2013-09-14ARM: tegra12: Replacement of PWM device structureAlex Van Brunt
Replaced the old PWM platform device structure with a new PWM platform device structure. This is done in accordance with the new PWM driver framework and driver which requires just one device which represent all the PWM's available. Bug 1207114 Bug 1252464 Change-Id: I7780e5f3219282484ae314435a344d32c4c15372 Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>
2013-09-14ARM: tegra: reduce panel size on simulatorChao Xu
So the sanity regression runs faster. Change-Id: Ide38de539433053e62ace12d3cc9be81096e3e21 Signed-off-by: Chao Xu <cxu@nvidia.com> Reviewed-on: http://git-master/r/206755 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com> Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
2013-09-14ARM: tegra: remove gpio enable/disable for bonaireXue Dong
Change-Id: I828adbb7a64eb384f9445e351dea765e90778f51 Signed-off-by: Xue Dong <xdong@nvidia.com> Reviewed-on: http://git-master/r/190916 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Chao Xu <cxu@nvidia.com>
2013-09-14ARM: tegra: remove gpio enable/disable for bonaireXue Dong
Change-Id: I828adbb7a64eb384f9445e351dea765e90778f51 Signed-off-by: Xue Dong <xdong@nvidia.com>
2013-09-14ARM: tegra: merge fixupsKen Adams
This change accounts for changes necessary due to change http://git-master/r/161923 in the previous merge. Change-Id: Ie0b1454d4ac051a473a793c9cab449da2fe866d9 Signed-off-by: Ken Adams <kadams@nvidia.com> Reviewed-on: http://git-master/r/166644 Reviewed-by: Adeel Raza <araza@nvidia.com> Reviewed-by: Jin Qian <jqian@nvidia.com>
2013-09-14video: tegra: dc: add lvds frameworkChao Xu
Change-Id: I4dd215e8e4103569694d6c43b59f55b177ebd341 Signed-off-by: Chao Xu <cxu@nvidia.com> Reviewed-on: http://git-master/r/127958 Reviewed-by: Mark Stadler <mastadler@nvidia.com>
2013-09-14ARM: tegra: bonaire: Fix dithering error messageChao Xu
Change-Id: I87fa024f68b496530465c20b3c1faf0d167876ba Signed-off-by: Chao Xu <cxu@nvidia.com> Reviewed-on: http://git-master/r/127246 Reviewed-by: Xue Dong <xdong@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Mark Stadler <mastadler@nvidia.com>
2013-09-14ARM: tegra: bonaire: add board filesJin Qian
and the include for host1x init (invoked from board file) Change-Id: I5a7cb2e074f6c7395aec5ede1db31b2bdeae5cb0 Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Mark Stadler <mastadler@nvidia.com> Signed-off-by: Jin Qian <jqian@nvidia.com> Reviewed-on: http://git-master/r/82938 Signed-off-by: Mark Stadler <mastadler@nvidia.com>