summaryrefslogtreecommitdiff
path: root/drivers/video/pxa_lcd.c
AgeCommit message (Collapse)Author
2022-07-07arm: Remove PXA architecture supportTom Rini
With the last platform for this architecture removed, remove the rest of the architecture support as well. Cc: Marek Vasut <[email protected]> Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2021-08-30global: Remove dead code that starts with CONFIG_[0-9A]Tom Rini
This removes a number of spots of dead code based on symbols that start with CONFIG_[0-9] or CONFIG_A. Signed-off-by: Tom Rini <[email protected]>
2020-05-18common: Drop log.h from common headerSimon Glass
Move this header out of the common header. Signed-off-by: Simon Glass <[email protected]>
2018-05-07SPDX: Convert all of our single license tags to Linux Kernel styleTom Rini
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us. In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style. This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one. Signed-off-by: Tom Rini <[email protected]>
2016-03-27Revert "pxa_lcd: make driver cache-aware"Tom Rini
This reverts commit 59deb7fe8d23c8ec2b659d99323ec4a2ec19148a. Signed-off-by: Tom Rini <[email protected]>
2016-03-27Revert "pxa_lcd: invert colors for Zipit Z2 to get white on black palette"Tom Rini
This reverts commit 3bc8ffd9cb774feceefc7bdebe9353fcea071343. Signed-off-by: Tom Rini <[email protected]>
2016-03-27pxa_lcd: make driver cache-awareVasily Khoruzhick
Signed-off-by: Vasily Khoruzhick <[email protected]>
2016-03-27pxa_lcd: invert colors for Zipit Z2 to get white on black paletteVasily Khoruzhick
Signed-off-by: Vasily Khoruzhick <[email protected]>
2016-03-27zipitz2: enable LCD rotationVasily Khoruzhick
z2's screen is rotated by 270 degrees Signed-off-by: Vasily Khoruzhick <[email protected]> Acked-by: Marek Vasut <[email protected]>
2015-08-24lcd: pxa: clean-up include file orderMarcel Ziswiler
Cleaning up order of include files by sorting them alphabetically keeping in mind to leave common.h on top. Signed-off-by: Marcel Ziswiler <[email protected]>
2015-03-24remove unnecessary version.h includesRob Herring
Various files are needlessly rebuilt every time due to the version and build time changing. As version.h is not actually needed, remove the include. Signed-off-by: Rob Herring <[email protected]> Cc: Albert Aribaud <[email protected]> Cc: Stefano Babic <[email protected]> Cc: Minkyu Kang <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Tom Warren <[email protected]> Cc: Michal Simek <[email protected]> Cc: Macpaul Lin <[email protected]> Cc: Wolfgang Denk <[email protected]> Cc: York Sun <[email protected]> Cc: Stefan Roese <[email protected]> Cc: Nobuhiro Iwamatsu <[email protected]> Cc: Simon Glass <[email protected]> Cc: Philippe Reynes <[email protected]> Cc: Eric Jarrige <[email protected]> Cc: "David Müller" <[email protected]> Cc: Phil Edworthy <[email protected]> Cc: Robert Baldyga <[email protected]> Cc: Torsten Koschorrek <[email protected]> Cc: Anatolij Gustschin <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Reviewed-by: Łukasz Majewski <[email protected]>
2015-02-10lcd: split configuration_get_cmapNikita Kiryanov
configuration_get_cmap() is multiple platform-specific functions stuffed into one function. Split it into multiple versions, and move each version to the appropriate driver to reduce the #ifdef complexity. Signed-off-by: Nikita Kiryanov <[email protected]> Reviewed-by: Simon Glass <[email protected]> Tested-by: Bo Shen <[email protected]> Tested-by: Josh Wu <[email protected]> Cc: Bo Shen <[email protected]> Cc: Simon Glass <[email protected]> Cc: Anatolij Gustschin <[email protected]>
2015-01-10lcd: remove LCD_MONOCHROMENikita Kiryanov
No one is using LCD_MONOCHROME; remove related code. Signed-off-by: Nikita Kiryanov <[email protected]> Cc: Wolfgang Denk <[email protected]> Cc: Anatolij Gustschin <[email protected]> Acked-by: Simon Glass <[email protected]>
2013-10-14Coding Style cleanup: remove trailing white spaceWolfgang Denk
Signed-off-by: Wolfgang Denk <[email protected]>
2013-07-24Add GPL-2.0+ SPDX-License-Identifier to source filesWolfgang Denk
Signed-off-by: Wolfgang Denk <[email protected]> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <[email protected]>
2013-05-05pxa_lcd: make lcd_enable() a weak pointerMike Dunn
Make lcd_init() a weak pointer so that boards can overload it if necessary. The palmtreo680 board needs to wiggle some gpios and configure the pwm controller in order to get the lcd and its backlight working. Signed-off-by: Mike Dunn <[email protected]>
2013-05-05pxa_lcd: add the ACX544AKN lcd deviceMike Dunn
This adds the definitions required to support the LCD device on the Palm Treo 680. Signed-off-by: Mike Dunn <[email protected]>
2013-03-21lcd, fb: remove duplicated prototypes and unused codeJeroen Hofstee
cc: Anatolij Gustschin <[email protected]> cc: Cliff Brake <[email protected]> cc: John Zhan <[email protected]> cc: Marek Vasut <[email protected]> cc: Wolfgang Denk <[email protected]> Signed-off-by: Jeroen Hofstee <[email protected]>
2013-03-21common/lcd.c: remove global lcd_baseJeroen Hofstee
lcd_base is available as gd->fb_base as well, there is no need to keep a seperate copy. For completeness the ack of Bo Shen is for the atmel part. Cc: Alessandro Rubini <[email protected]> Cc: Anatolij Gustschin <[email protected]> Cc: Bo Shen <[email protected]> Cc: Haavard Skinnemoen <[email protected]> Cc: Kyungmin Park <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Minkyu Kang <[email protected]> Cc: Nikita Kiryanov <[email protected]> Cc: Simon Glass <[email protected]> Cc: Stelian Pop <[email protected]> Cc: Tom Warren <[email protected]> Acked-by: Bo Shen <[email protected]> Signed-off-by: Jeroen Hofstee <[email protected]> [agust: also fix cm_t35 board while rebasing] Signed-off-by: Anatolij Gustschin <[email protected]>
2013-03-21common/lcd.c: cleanup use of global variablesJeroen Hofstee
console_col, console_row, lcd_line_length, lcd_console_address had to be declared in board / driver specific code, but were not actually used there on many boards. Get rid of the global variables. for completeness, the ack of Bo Shen is for the atmel part Cc: Alessandro Rubini <[email protected]> Cc: Anatolij Gustschin <[email protected]> Cc: Bo Shen <[email protected]> Cc: Kyungmin Park <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Minkyu Kang <[email protected]> Cc: Nikita Kiryanov <[email protected]> Cc: Simon Glass <[email protected]> Cc: Stelian Pop <[email protected]> Cc: Tom Warren <[email protected]> Acked-by: Bo Shen <[email protected]> Signed-off-by: Jeroen Hofstee <[email protected]> [agust: rebased and fixed cm_t35 board] Signed-off-by: Anatolij Gustschin <[email protected]>
2013-03-21lcd, pxafb: move the pxafb to drivers/videoJeroen Hofstee
Since the lcd code was compiled unconditionally for pxa also add CONFIG_PXA_LCD to the boards using this framebuffer. Since driver/video contains video and lcd drivers, add lcd to the name to make clear it belongs to common/lcd.c. cc: Anatolij Gustschin <[email protected]> cc: Cliff Brake <[email protected]> cc: Marek Vasut <[email protected]> Acked-by: Marek Vasut <[email protected]> Signed-off-by: Jeroen Hofstee <[email protected]>