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.86k stars 495 forks source link

is there a replacement for init? #557

Closed BeauSlim closed 3 years ago

BeauSlim commented 4 years ago

With the removal of the init code in 5.4, is there any method to send custom strings to devices other than to patch the driver?

Many of these displays that come from random sellers require tweaks to get them working properly. Working up custom init strings to use inside device tree files was fiddly, but at least it avoided modifying kernel drivers.

I have an st7789v based display that needs to be issued the following so it displays colour properly:

0x1000021 /* MIPI_DCS_ENTER_INVERT_MODE */

This is not a 'rgb' vs 'bgr' issue.

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.