summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/panel-p-wuxga-10-1.c
AgeCommit message (Collapse)Author
2018-03-28Revert "video: backlight: pwm_bl: add pwm_gpio"Dominik Sliwa
This reverts commit 95730406a0e3bbd7f862718782924a3c367845a1.
2014-05-06tegra: Remove old SOC/Board supportDan Willemsen
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Change-Id: I06582980f2e9e88ab0e34bc5febc5d939fb77cc4 Reviewed-on: http://git-master/r/404934 (cherry picked from commit d1095251dadc17cb2c4f885f0d5d23359536f02b) Reviewed-on: http://git-master/r/405472 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2014-03-26ARM: tegra: add missing CMU configAllen Chang
Add missing CMU config to fix build break when CMU is disabled Bug 1482548 Change-Id: I3587df8eef74713608a61329a5d6168d3daa95ad Signed-off-by: Allen Chang <allchang@nvidia.com> Reviewed-on: http://git-master/r/386652 Reviewed-by: Jon Mayo <jmayo@nvidia.com> Tested-by: Jon Mayo <jmayo@nvidia.com>
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
2014-01-16EDP: remove old system EDP framework (backlight initialization)Timo Alho
Revised system edp software framework has been put in place. This patch removes old system edp client initialization for backlight clients in all platforms. Bug 1431977 Change-Id: If7ac88ee6f08ebae6d8e907453e0471dc08af958 Signed-off-by: Timo Alho <talho@nvidia.com> Reviewed-on: http://git-master/r/350400 Reviewed-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-12-05arm: tegra: ardbeg: Parse panel gpio from DTVineel Kumar Reddy Kovvuri
Parse DT gpio entries for default ardbeg panel Bug 1385965 Change-Id: Ib79e630532068da6f1a1adfafb7df2663563024e Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com> Reviewed-on: http://git-master/r/337580 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2013-12-04arm: tegra: ardbeg: Dynamic panel DT nodeAnimesh Kishore
- Select panel DT node at runtime - Populate panel call backs dynamically Bug 1172236 Change-Id: Id1145beb97075197c1d25662ee25f24b42b33c55 Signed-off-by: Animesh Kishore <ankishore@nvidia.com> Reviewed-on: http://git-master/r/336876 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
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-10-24video: backlight: EDP client for backlightVineel Kumar Reddy Kovvuri
Implements EDP client for TN8 & Shield ERS backlight system Bug 1359894 Bug 1358209 Change-Id: I4ca1e49d18f9b91d2a6be55235f82bd3f4681ac5 Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com> Reviewed-on: http://git-master/r/299293 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Mitch Luban <mluban@nvidia.com> Tested-by: Mitch Luban <mluban@nvidia.com>
2013-09-16arm: tegra: tn8: Disable panel rst before suspendJiukai Ma
LCD_BL_EN is not used on TN8, disable dsi_panel_rst_gpio before suspend. bug 1353663 Change-Id: Iefa6df02308be44761f12352acdbe3fe23de8187 Signed-off-by: Jiukai Ma <jiukaim@nvidia.com> Reviewed-on: http://git-master/r/269497 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Animesh Kishore <ankishore@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@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-14arm: tegra: ardbeg: Enable panel bl regulatorVineel Kumar Reddy Kovvuri
Enabled dvdd_lcd regulator responsible for backlight intensity. Bug 1322150 Change-Id: Iebd815691246ae33a6bc5d4dc6546366c77912bf Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com> Reviewed-on: http://git-master/r/264195 Reviewed-by: Animesh Kishore <ankishore@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2013-09-14arch: arm: tegra: ardbeg: Add panel supportSeema Khowala
Enable power rails necessary for display. Bug 1257423 Change-Id: I781d692fe981c9aff0ed6ec601e7bb50ac8f16fb Signed-off-by: Mitch Luban <mluban@nvidia.com> Signed-off-by: Seema Khowala <seemaj@nvidia.com> Reviewed-on: http://git-master/r/224963 Reviewed-by: Automatic_Commit_Validation_User 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: dalmore: remove __initdata keyword for dsi_p_wuxga_10_1_bl_deviceKrishna Reddy
This device is accessed even after init section is removed. This device can't be declared with __initdata. Bug 1247591 Change-Id: Iee3bba93907ed9431f690d8223f7a44f710b5f68 Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/221907 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@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-14arm: tegra: dalmore: Increase display wakeup timeVineel Kumar Reddy Kovvuri
Fixes the issue of display failing to wakeup from LP0 Change-Id: Ice35f1518877e6e3810e5d2fe824ce12abf78a5b Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com> Reviewed-on: http://git-master/r/205110 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2013-09-14arm: tegra: macallan: create board fileKerwin Wan
Create initial board files and config files for Macallan. The commit id of the original change in rel-17 is c02427baf3890 But due to that the kernel in main differs from that in rel-17, a little rebase needs to be done and we need to squash the following commits: cdefd04d0fd6a: macallan: Move all tj dependent thermals from nct to soc_therm ccc79951c26bb: macallan: Upgrade CL-DVFS disable output ops b37127d1c36d6: Add raydium touch clock names for macallan Bug 1216782 Change-Id: I2384f68892989f10af64e2291f7ee53d9100e8f1 Signed-off-by: Hayden Du <haydend@nvidia.com> Signed-off-by: Kerwin Wan <kerwinw@nvidia.com> Reviewed-on: http://git-master/r/203144 GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-14arm: tegra: dalmore: Reduce display wakeup timeAnimesh Kishore
Change-Id: I15b881b89fa01d819f5db859eaaf2d0d65e545bb Signed-off-by: Animesh Kishore <ankishore@nvidia.com> Reviewed-on: http://git-master/r/202544 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2013-09-14fixup panel-p-wuxga-10-1.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: improve CMU settings for 19x12 panelMitch Luban
These settings improve color correction for the 19x12 panel to more closely match D69 colors. Bug 1040841 Change-Id: I5481cebde7f58880741bad583a7ca491ae6c090b Signed-off-by: Mitch Luban <mluban@nvidia.com> Reviewed-on: http://git-master/r/172149 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@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>