staging/fbtft: Add support for display variants
authorPhil Elwell <phil@raspberrypi.com>
Tue, 1 Sep 2020 17:15:27 +0000 (18:15 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:04 +0000 (11:33 +0000)
commitb558d01c8d3d428ae44634c93a658a5490bc9087
treef5371095afe9baf68c89cc5dad884664445d108b
parentf315a5ec5442c9382aa1ef784a8c60abc7b74a62
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