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

Add hy28b 2017 model with ILI9325D chip #524

Closed warlo closed 5 years ago

warlo commented 5 years ago

The HY28B is shipped with a newer ILI9325 D chip, which uses another initialisation code as provided here.

I added a new dt-overlay which seemingly works – I do atleast get text on the screen using dtoverlay=hy28b-2017,rotate=90 in boot/config.txt after building it according to the instructions here.

I also added a FB driver with the updated initialisation. Haven't tried it yet, so not sure if it works though.

notro commented 5 years ago

This repo is just an archive, development happens in Linux mainline.

If initialization is the only difference, this can be solved by putting the sequence in the DT overlay. Like for the previous version of hy28b: https://github.com/raspberrypi/linux/blob/rpi-4.14.y/arch/arm/boot/dts/overlays/hy28b-overlay.dts

warlo commented 5 years ago

Heh, might be smart to read the readme 😅 Won't hurt to have the github history here anyways, was quite a pain to figure it out. I'll create a PR to the mainline 👍