summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/panel-a-1080p-11-6.c
AgeCommit message (Collapse)Author
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: move sd_settings to the panel board fileKerwin Wan
The configurable data of PRISM should be tuned per panel. So PRISM settings are needed to move from board-<platform>-panel.c to the specific panel board file. Bug 1391869 Change-Id: I70d28d7813cb21fc46a421a40e3cf53cb98d4a03 Signed-off-by: Kerwin Wan <kerwinw@nvidia.com> Reviewed-on: http://git-master/r/303813 Reviewed-by: Mitch Luban <mluban@nvidia.com> Tested-by: Mitch Luban <mluban@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-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-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-14fixup! arm: tegra: dalmore: Runtime panel detectionDan Willemsen
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
2013-09-14arm: tegra: remove __initdata keyword for bl_device'sKrishna Reddy
This device is accessed even after init section is removed. This device can't be declared with __initdata. Bug 1247591 Change-Id: I04bd27dc73ca1305b5efe91a43b7ffda6b2ee042 Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/226517 (cherry picked from commit d30287cff217957a46600e270cd3c4a8cc84cb7b) Reviewed-on: http://git-master/r/227568 Reviewed-by: Bo Yan <byan@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com> GVS: Gerrit_Virtual_Submit
2013-09-14arch: arm: linearize backlight after sd adjustmentMitch Luban
We should apply smartdimmer adjustment and then do linear backlight lookup. Bug 1253675 Change-Id: I25ca15c615ea99e49f60f567d874666c8f6a4bcd Signed-off-by: Mitch Luban <mluban@nvidia.com> Reviewed-on: http://git-master/r/218738 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2013-09-14fixup panel-a-1080p-11-6.c remove iomap.hDan Willemsen
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
2013-09-14ARM: tegra: Switch to new PWM driverDan Willemsen
Change-Id: I1066012e561e34b4c1a0a2d25ec4604a5efb3904 Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
2013-09-14ARM: tegra: DSI instance selectionBitan Biswas
Moved the DSI instance and register selection from panel to board files. This effects Tegra11x boards: dalmore, pluto, pismo and ceres Further, panel GPIO selection moved to board files bug 1178654 Change-Id: I276d63f00cfc5bb95e8000cb725d12bab4464720 Signed-off-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-on: http://git-master/r/190224 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
2013-09-14arm: tegra: Remove re-initalization of sd_brightnessMitch Luban
For all dalmore panels, sd_brightness was being initialized to 255 in the notify function. As a result, PRISM wasn't doing anything on the dalmore platform since we started doing automatic panel detection. This fixes that error. Bug 1212968 Reviewed-on: http://git-master/r/189633 (cherry picked from commit 525c27bf9a21d19bdaa44a508195337542d56535) Change-Id: I29873bfab10e2771df519600d232b200c051db50 Signed-off-by: Mitch Luban <mluban@nvidia.com> Reviewed-on: http://git-master/r/190076 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2013-09-14arm: tegra: dalmore: Fix AUO panel configAnimesh Kishore
-fix panel timing -fix regulators -fix gpios -fix phy timings Change-Id: I402f08bd045b61546775fad1800aa0ba56279116 Signed-off-by: Animesh Kishore <ankishore@nvidia.com> Reviewed-on: http://git-master/r/173141 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2013-09-14arm: tegra: dalmore: Runtime panel detectionVineel Kumar Reddy Kovvuri
Bug 1182416 Change-Id: I362f892c32e0f3e8e32e136b3595c71b696b2bae Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com> Reviewed-on: http://git-master/r/169066 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>