notro / fbtft

Linux Framebuffer drivers for small TFT LCD display modules. Development has moved to https://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/tree/drivers/staging/fbtft?h=staging-testing
1.85k stars 496 forks source link

RA8875 rotate. #476

Closed Ferite closed 3 years ago

Ferite commented 7 years ago

Hi Notro.

I have been testing an ER_TFTM043_2 display, with RA8875 controller, interfacing with SPI. So far it works well, but there seems to be a problem with fbtft_device's rotate param. Value 180 do nothing, and 90 and 270 just shows a black display. This is my code in /etc/modprobe.d/

options fbtft dma=0
options fbtft_device name=er_tftm050_2 speed=32000000 busnum=2 fps=40 rotate=90

Could you give me some sugestions on if rotate is implemented in this controller, or how can I debug the problem?.

Thanks.

notro commented 7 years ago

The driver doesn't support rotate: http://elixir.free-electrons.com/linux/latest/source/drivers/staging/fbtft/fb_ra8875.c

fbtft flips widht/height on rotate=90 and 270 and fb_ra8875 writes to the kernel log: "display size is not supported!!"

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.