linux/drivers/staging/fbtft
Johannes H. Jensen be077edb46 staging: fbtft: fb_ssd1331: fix mirrored display
When the row scan order is reversed (the default) we also need to
reverse the column scan order. This was not done previously, resulting
in a mirrored display.

Also add support for 180 degree display rotation, in which case simply
disable reversed row and column scan order.

Tested on an Adafruit 0.96" mini Color OLED display.

Signed-off-by: Johannes H. Jensen <joh@pseudoberries.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-06 16:44:05 +01:00
..
fb_agm1264k-fl.c Staging: fbtft: Fix unbalanced braces around else statement 2017-05-15 07:41:59 +02:00
fb_bd663474.c
fb_hx8340bn.c staging: fbtft: Fix to avoid precedence issues 2017-05-29 16:41:37 +02:00
fb_hx8347d.c staging: fbtft: change 'gamma' array to u32 2017-02-03 13:01:36 +01:00
fb_hx8353d.c staging: fbtft: change 'gamma' array to u32 2017-02-03 13:01:36 +01:00
fb_hx8357d.c staging: fbtft: Indent to match open parenthesis 2016-02-11 19:54:36 -08:00
fb_hx8357d.h staging: fbtft: Fix block comments according to kernel coding style 2016-02-11 19:54:36 -08:00
fb_ili9163.c staging: fbtft: Replace a bit shift by a use of BIT. 2017-03-23 14:25:33 +01:00
fb_ili9320.c staging: fbtft: change 'gamma' array to u32 2017-02-03 13:01:36 +01:00
fb_ili9325.c staging: fbtft: Replace a bit shift by a use of BIT. 2017-03-23 14:25:33 +01:00
fb_ili9340.c staging: fbtft: Fix alignment to match open parenthesis 2016-02-14 16:22:49 -08:00
fb_ili9341.c staging: fbtft: change 'gamma' array to u32 2017-02-03 13:01:36 +01:00
fb_ili9481.c staging: fbtft: Make some s16 arrays const 2017-03-06 09:16:59 +01:00
fb_ili9486.c staging: fbtft: Make some s16 arrays const 2017-03-06 09:16:59 +01:00
fb_pcd8544.c staging: fbtft: change 'gamma' array to u32 2017-02-03 13:01:36 +01:00
fb_ra8875.c staging: fbtft: remove redundant initialization of txbuf16 2017-09-18 12:23:40 +02:00
fb_s6d02a1.c staging: fbtft: Make some s16 arrays const 2017-03-06 09:16:59 +01:00
fb_s6d1121.c staging: fbtft: change 'gamma' array to u32 2017-02-03 13:01:36 +01:00
fb_sh1106.c staging: fbtft: fb_sh1106: use new helper helper fbtft_write_buf_dc 2017-03-09 17:33:18 +01:00
fb_ssd1289.c staging: fbtft: Replace a bit shift by a use of BIT. 2017-03-23 14:25:33 +01:00
fb_ssd1305.c staging: fbtft: change 'gamma' array to u32 2017-02-03 13:01:36 +01:00
fb_ssd1306.c staging: fbtft: fix unaligned parentheses 2017-02-05 18:31:04 +01:00
fb_ssd1325.c staging: fbtft: change 'gamma' array to u32 2017-02-03 13:01:36 +01:00
fb_ssd1331.c staging: fbtft: fb_ssd1331: fix mirrored display 2017-11-06 16:44:05 +01:00
fb_ssd1351.c staging: fbtft: fix unaligned parentheses 2017-02-05 18:31:04 +01:00
fb_st7735r.c staging: fbtft: Make some s16 arrays const 2017-03-06 09:16:59 +01:00
fb_st7789v.c staging: fbtft: make const array gamma_par_mask static 2017-07-16 08:41:02 +02:00
fb_tinylcd.c staging: fbtft: Use standard MIPI DCS command defines for tinylcd 2016-02-07 19:39:27 -08:00
fb_tls8204.c staging: fbtft: change 'gamma' array to u32 2017-02-03 13:01:36 +01:00
fb_uc1611.c staging: fbtft: remove unnecessary parantheses around assignment 2017-10-18 15:58:33 +02:00
fb_uc1701.c
fb_upd161704.c
fb_watterott.c Staging: fbtft: fb_watterott: fix incorrect type in assignments 2017-03-06 09:16:59 +01:00
fbtft_device.c staging: fbtft: Merged two identical conditionals into one. 2017-03-06 09:17:07 +01:00
fbtft-bus.c staging: fbtft: differentiate between buffer and data types to fix sparse warning 2017-10-18 15:58:33 +02:00
fbtft-core.c staging: fbtft: array underflow in fbtft_request_gpios_match() 2017-07-28 17:08:16 -07:00
fbtft-io.c staging: fbtft: fix sparse warning 2017-05-16 13:56:36 +02:00
fbtft-sysfs.c staging: fbtft: fix open parentheses alignment 2017-04-28 12:07:25 +02:00
fbtft.h staging: fbtft: add helper fbtft_write_buf_dc 2017-03-09 17:33:03 +01:00
flexfb.c staging: fbtft: Make some s16 arrays const 2017-03-06 09:16:59 +01:00
internal.h staging: fbtft: change 'gamma' array to u32 2017-02-03 13:01:36 +01:00
Kconfig staging: fbtft: add adriver for SH1106 2017-03-06 09:17:08 +01:00
Makefile staging: fbtft: add adriver for SH1106 2017-03-06 09:17:08 +01:00
README

  FBTFT
=========

Linux Framebuffer drivers for small TFT LCD display modules.
The module 'fbtft' makes writing drivers for some of these displays very easy.

Development is done on a Raspberry Pi running the Raspbian "wheezy" distribution.

INSTALLATION
  Download kernel sources

  From Linux 3.15
    cd drivers/video/fbdev/fbtft
    git clone https://github.com/notro/fbtft.git

    Add to drivers/video/fbdev/Kconfig:   source "drivers/video/fbdev/fbtft/Kconfig"
    Add to drivers/video/fbdev/Makefile:  obj-y += fbtft/

  Before Linux 3.15
    cd drivers/video
    git clone https://github.com/notro/fbtft.git

    Add to drivers/video/Kconfig:   source "drivers/video/fbtft/Kconfig"
    Add to drivers/video/Makefile:  obj-y += fbtft/

  Enable driver(s) in menuconfig and build the kernel


See wiki for more information: https://github.com/notro/fbtft/wiki


Source: https://github.com/notro/fbtft/