Hi Drew,
I haven't used it with a BeagleBone. Creating a device tree overlay should be
easy though.
If you want to use the backlight, you need to create a node at the root level
like this:
backlight: backlight {
compatible = "gpio-backlight";
gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
};
Then add a child node to the SPI device for the display kind of like this:
&spi1 {
status = "okay";
pinctrl-0 = <&ev3_lcd_pins>;
pinctrl-names = "default";
display@0{
status = "okay";
compatible = "jianda,jd-t18003-t01", "sitronix,st7735r";
reg = <0>;
spi-max-frequency = <32000000>;
dc-gpios = <&gpio 43 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio 80 GPIO_ACTIVE_HIGH>;
backlight = &backlight;
rotation = <270>;
};
};
Obviously you will need to change some things and put it in DT overlay format,
but it should get you pointed in the right direction.
On 02/17/2018 06:38 PM, Drew Fustini wrote:
Hi David, I was excited to see you've written a TinyDRM driver for the 1.8"
Adafruit TFT. Have you tried it out with a BeagleBone?
I'd like to use with the BeagleBone Black and am thinking about how go about
it. I imagine I would need to create a device tree overlay to initialize your
driver with the appropriate settings?
Thanks!
Drew
--
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/3dd52a15-9be0-425a-9ec1-27a22921067a%40lechnology.com.
For more options, visit https://groups.google.com/d/optout.