-
Notifications
You must be signed in to change notification settings - Fork 5.2k
FBTFT drivers now in staging #767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The Adafruit PiTFT - 2.8" Touchscreen is very popular.
The touchscreen driver can be a module, but it doesn't autoload when the device is present. |
@notro linux-next and gregkh staging is promising as the st7735 is of interest to me on several ARM boards. I asked Matt Porter if he was going to try to get his st7735fb driver merged into mainline (http://elinux.org/images/1/19/Passing_Time_With_SPI_Framebuffer_Driver.pdf) and he told he didn't believe any new framebuffer drivers would be merged as fbdev is being deprecated by Laurent Pinchart and others. |
I asked about that almost 2 weeks ago, and haven't gotten an answer yet: Is fbdev deprecated? This is what Arnd Bergmann said in December:
phoronix article a year ago: FBDEV Is Still Not Deprecated In The Linux Kernel I'm working on some structural changes to fbtft that will provide better layering which will make it easy to move the drivers to DRM or any other graphics subsystem if that's needed. |
@notro thanks for the thorough update |
Can it be made to load using device tree? |
Yes, this is the overlay I use: https://github.com/notro/fbtft/blob/master/dts/overlays/rpi/pitft-overlay.dts |
It's in Linus' tree now: https://github.com/torvalds/linux/tree/master/drivers/staging/fbtft |
@notro do you want to create a PR adding the staging fbtt drivers, the defconfig changes and the dtoverlay. I think as long as the new drivers are not loaded without being enabled through the overlay, then we're okay with this. |
@popcornmix how do you change the defconfig? Do you manually edit the files? |
Edit your .config. Build run "make ARCH=arm savedefconfig" and copy defconfig into arch/arm/configs. |
Thanks. |
Small cleanups from v6
The FBTFT framebuffer drivers for small LCD displays, is now accepted in the staging tree:
https://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/tree/drivers/staging/fbtft?h=staging-testing
They will probably enter in the 3.20 merge window.
Can these drivers be included in rpi-3.18.y?
The following config additions are also needed:
This configuration change will trigger rpi-update issue #106
The reason this module changes from loadable to builtin, is that FB_TFT selects FB_BACKLIGHT which is a bool and thus BACKLIGHT_CLASS_DEVICE switches to builtin.
In my rpi-update kernels, I use this
pre-install
script as a fix:This takes care not to remove out-of-tree modules in the extra directory.
The text was updated successfully, but these errors were encountered: