Tom Rini
f3c2cab878
Revert "pxa_lcd: make driver cache-aware"
...
This reverts commit 59deb7fe8d
.
Signed-off-by: Tom Rini <trini@konsulko.com >
2016-03-27 20:58:08 -04:00
Tom Rini
09bffbf649
Revert "pxa_lcd: invert colors for Zipit Z2 to get white on black palette"
...
This reverts commit 3bc8ffd9cb
.
Signed-off-by: Tom Rini <trini@konsulko.com >
2016-03-27 20:57:54 -04:00
Vasily Khoruzhick
59deb7fe8d
pxa_lcd: make driver cache-aware
...
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com >
2016-03-27 09:13:00 -04:00
Vasily Khoruzhick
3bc8ffd9cb
pxa_lcd: invert colors for Zipit Z2 to get white on black palette
...
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com >
2016-03-27 09:12:57 -04:00
Vasily Khoruzhick
59fa089b2b
zipitz2: enable LCD rotation
...
z2's screen is rotated by 270 degrees
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com >
Acked-by: Marek Vasut <marex@denx.de >
2016-03-27 09:12:56 -04:00
Marcel Ziswiler
ab9272f955
lcd: pxa: clean-up include file order
...
Cleaning up order of include files by sorting them alphabetically
keeping in mind to leave common.h on top.
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com >
2015-08-24 20:30:38 +02:00
Rob Herring
7682a99826
remove unnecessary version.h includes
...
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 <robh@kernel.org >
Cc: Albert Aribaud <albert.u.boot@aribaud.net >
Cc: Stefano Babic <sbabic@denx.de >
Cc: Minkyu Kang <mk7.kang@samsung.com >
Cc: Marek Vasut <marex@denx.de >
Cc: Tom Warren <twarren@nvidia.com >
Cc: Michal Simek <monstr@monstr.eu >
Cc: Macpaul Lin <macpaul@andestech.com >
Cc: Wolfgang Denk <wd@denx.de >
Cc: York Sun <yorksun@freescale.com >
Cc: Stefan Roese <sr@denx.de >
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org >
Cc: Simon Glass <sjg@chromium.org >
Cc: Philippe Reynes <tremyfr@yahoo.fr >
Cc: Eric Jarrige <eric.jarrige@armadeus.org >
Cc: "David Müller" <d.mueller@elsoft.ch >
Cc: Phil Edworthy <phil.edworthy@renesas.com >
Cc: Robert Baldyga <r.baldyga@samsung.com >
Cc: Torsten Koschorrek <koschorrek@synertronixx.de >
Cc: Anatolij Gustschin <agust@denx.de >
Reviewed-by: Linus Walleij <linus.walleij@linaro.org >
Reviewed-by: Łukasz Majewski <l.majewski@samsung.com >
2015-03-24 10:50:50 -04:00
Nikita Kiryanov
38b550877f
lcd: split configuration_get_cmap
...
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 <nikita@compulab.co.il >
Reviewed-by: Simon Glass <sjg@chromium.org >
Tested-by: Bo Shen <voice.shen@atmel.com >
Tested-by: Josh Wu <josh.wu@atmel.com >
Cc: Bo Shen <voice.shen@atmel.com >
Cc: Simon Glass <sjg@chromium.org >
Cc: Anatolij Gustschin <agust@denx.de >
2015-02-10 13:25:08 +01:00
Nikita Kiryanov
f4469f50b0
lcd: remove LCD_MONOCHROME
...
No one is using LCD_MONOCHROME; remove related code.
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il >
Cc: Wolfgang Denk <wd@denx.de >
Cc: Anatolij Gustschin <agust@denx.de >
Acked-by: Simon Glass <sjg@chromium.org >
2015-01-10 17:50:04 +01:00
Wolfgang Denk
3765b3e7bd
Coding Style cleanup: remove trailing white space
...
Signed-off-by: Wolfgang Denk <wd@denx.de >
2013-10-14 16:06:53 -04:00
Wolfgang Denk
1a4596601f
Add GPL-2.0+ SPDX-License-Identifier to source files
...
Signed-off-by: Wolfgang Denk <wd@denx.de >
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini <trini@ti.com >
2013-07-24 09:44:38 -04:00
Mike Dunn
86e929e825
pxa_lcd: make lcd_enable() a weak pointer
...
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 <mikedunn@newsguy.com >
2013-05-05 23:47:05 +02:00
Mike Dunn
98eda33858
pxa_lcd: add the ACX544AKN lcd device
...
This adds the definitions required to support the LCD device on the Palm Treo
680.
Signed-off-by: Mike Dunn <mikedunn@newsguy.com >
2013-05-05 23:47:05 +02:00
Jeroen Hofstee
2e72972a44
lcd, fb: remove duplicated prototypes and unused code
...
cc: Anatolij Gustschin <agust@denx.de >
cc: Cliff Brake <cliff.brake@gmail.com >
cc: John Zhan <zhanz@sinovee.com >
cc: Marek Vasut <marek.vasut@gmail.com >
cc: Wolfgang Denk <wd@denx.de >
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl >
2013-03-21 10:35:27 +01:00
Jeroen Hofstee
00a0ca5986
common/lcd.c: remove global lcd_base
...
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 <rubini@unipv.it >
Cc: Anatolij Gustschin <agust@denx.de >
Cc: Bo Shen <voice.shen@atmel.com >
Cc: Haavard Skinnemoen <haavard.skinnemoen@atmel.com >
Cc: Kyungmin Park <kyungmin.park@samsung.com >
Cc: Marek Vasut <marek.vasut@gmail.com >
Cc: Minkyu Kang <mk7.kang@samsung.com >
Cc: Nikita Kiryanov <nikita@compulab.co.il >
Cc: Simon Glass <sjg@chromium.org >
Cc: Stelian Pop <stelian@popies.net >
Cc: Tom Warren <twarren@nvidia.com >
Acked-by: Bo Shen <voice.shen@atmel.com >
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl >
[agust: also fix cm_t35 board while rebasing]
Signed-off-by: Anatolij Gustschin <agust@denx.de >
2013-03-21 10:16:53 +01:00
Jeroen Hofstee
f1d205a19c
common/lcd.c: cleanup use of global variables
...
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 <rubini@unipv.it >
Cc: Anatolij Gustschin <agust@denx.de >
Cc: Bo Shen <voice.shen@atmel.com >
Cc: Kyungmin Park <kyungmin.park@samsung.com >
Cc: Marek Vasut <marek.vasut@gmail.com >
Cc: Minkyu Kang <mk7.kang@samsung.com >
Cc: Nikita Kiryanov <nikita@compulab.co.il >
Cc: Simon Glass <sjg@chromium.org >
Cc: Stelian Pop <stelian@popies.net >
Cc: Tom Warren <twarren@nvidia.com >
Acked-by: Bo Shen <voice.shen@atmel.com >
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl >
[agust: rebased and fixed cm_t35 board]
Signed-off-by: Anatolij Gustschin <agust@denx.de >
2013-03-21 10:11:17 +01:00
Jeroen Hofstee
0698095af6
lcd, pxafb: move the pxafb to drivers/video
...
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 <agust@denx.de >
cc: Cliff Brake <cliff.brake@gmail.com >
cc: Marek Vasut <marek.vasut@gmail.com >
Acked-by: Marek Vasut <marex@denx.de >
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl >
2013-03-21 09:38:21 +01:00