Re: [beagleboard] tft driver

2018-02-23 Thread Jason Kridner


> On Feb 22, 2018, at 1:41 PM, Drew Fustini  wrote:
> 
> 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
> 
>> On Wed, Feb 21, 2018 at 9:48 PM, evilwulfie  wrote:
>> 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. 


>> 
>> 
>> https://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/tree/drivers/staging/fbtft?h=staging-testing
>> 
>> 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
>> 
>> --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to beagleboard+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/beagleboard/7eb65c10-babd-33d3-b1d9-304b0b757fb1%40gmail.com.
>> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/CAEf4M_Bhviak-4naHXB85mp%2B5pdsnQVCr1GSWEh2mXpNU11Gmg%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/836EFE82-258C-42BB-8B7D-B284ECAFCCD3%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] tft driver

2018-02-22 Thread Drew Fustini
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

On Wed, Feb 21, 2018 at 9:48 PM, evilwulfie  wrote:
> How would one know if if a particular driver is already build in the bone
> kernel fb_ra8875.c
>
>
> https://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/tree/drivers/staging/fbtft?h=staging-testing
>
> 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
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/7eb65c10-babd-33d3-b1d9-304b0b757fb1%40gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAEf4M_Bhviak-4naHXB85mp%2B5pdsnQVCr1GSWEh2mXpNU11Gmg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.