tft driver

How would one know if if a particular driver is already build in the bone kernel fb_ra8875.c

root@bone:/home/debian# modinfo fbtft filename: /lib/modules/4.9.78-ti-r94/kernel/drivers/staging/fbtft/fbtft.ko license: GPL depends: staging: Y intree: Y vermagic: 4.9.78-ti-r94 SMP preempt mod_unload modversions ARMv7 p2v8 parm: debug:override device debug level (ulong) If the driver is already compiled in how would one add it to a device tree file for use spi driven device but no dc pin, first command byte upper bits select either a command or data and w/r kinda a different animal than most tft displays

Hi, it looks like the ra8875 driver is included, at least for the
kernel I'm running:

debian@beaglebone:~$ modinfo
/lib/modules/4.16.0-rc2-bone3/kernel/drivers/staging/fbtft/fb_ra8875.ko.xz
filename:
/lib/modules/4.16.0-rc2-bone3/kernel/drivers/staging/fbtft/fb_ra8875.ko.xz
license: GPL
author: Pf@nne
description: FB driver for the RA8875 LCD Controller
alias: platform:ra8875
alias: spi:ra8875
alias: platform:fb_ra8875
alias: spi:fb_ra8875
alias: of:N*T*Craio,ra8875C*
alias: of:N*T*Craio,ra8875
depends: fbtft
staging: Y
intree: Y
name: fb_ra8875
vermagic: 4.16.0-rc2-bone3 mod_unload modversions ARMv7 p2v8

fyi - I installed that kernel with this command:
sudo /opt/scripts/tools/update_kernel.sh --bone-channel --exp

This page from the fbtft wiki might be of interest:
https://github.com/notro/fbtft/wiki/fbtft_device#parameters

Here is example of the parameters one person uses:
https://github.com/notro/fbtft/issues/476

I'm curious which RA8875 display do you have?

I do support for Adafruit so I could request this one to try it out:
https://www.adafruit.com/product/1590

thanks,
drew

Hi, it looks like the ra8875 driver is included, at least for the
kernel I’m running:

debian@beaglebone:~$ modinfo
/lib/modules/4.16.0-rc2-bone3/kernel/drivers/staging/fbtft/fb_ra8875.ko.xz
filename:
/lib/modules/4.16.0-rc2-bone3/kernel/drivers/staging/fbtft/fb_ra8875.ko.xz
license: GPL
author: Pf@nne
description: FB driver for the RA8875 LCD Controller
alias: platform:ra8875
alias: spi:ra8875
alias: platform:fb_ra8875
alias: spi:fb_ra8875
alias: of:NTCraio,ra8875C*
alias: of:NTCraio,ra8875
depends: fbtft
staging: Y
intree: Y
name: fb_ra8875
vermagic: 4.16.0-rc2-bone3 mod_unload modversions ARMv7 p2v8

fyi - I installed that kernel with this command:
sudo /opt/scripts/tools/update_kernel.sh --bone-channel --exp

This page from the fbtft wiki might be of interest:
https://github.com/notro/fbtft/wiki/fbtft_device#parameters

Here is example of the parameters one person uses:
https://github.com/notro/fbtft/issues/476

I’m curious which RA8875 display do you have?

I do support for Adafruit so I could request this one to try it out:
https://www.adafruit.com/product/1590

thanks,
drew

How would one know if if a particular driver is already build in the bone

kernel fb_ra8875.c

To know before installing, the last commit on any of the beagleboard kernels is the defconfig. Pick the kernel branch on github and go to the last commit.

https://github.com/beagleboard/linux/commit/960d4b4bc998942d0642df2246a79c6cd5e9eb5d

Search for RA8875.