staging/fbtft: Add support for display variants
authorPhil Elwell <phil@raspberrypi.com>
Tue, 1 Sep 2020 17:15:27 +0000 (18:15 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 27 Jan 2021 19:13:19 +0000 (19:13 +0000)
commit14c6851755a67efb8a043727dc14b5d9bccf2614
treec6908e3a28b5146408cab860eb13efa53774b7a6
parentee547f97084cf8d8dccc4310be9b5b0428f9079f
staging/fbtft: Add support for display variants

Display variants are intended as a replacement for the now-deleted
fbtft_device drivers. Drivers can register additional compatible
strings with a custom callback that can make the required changes
to the fbtft_display structure.

Start the ball rolling by adding adafruit18, adafruit18_green and
sainsmart18 displays.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
drivers/staging/fbtft/fb_st7735r.c
drivers/staging/fbtft/fbtft-core.c
drivers/staging/fbtft/fbtft.h