staging: fbtft: Add minipitft13 variant
authorPhil Elwell <phil@raspberrypi.com>
Fri, 19 Feb 2021 10:25:01 +0000 (10:25 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:10 +0000 (11:33 +0000)
commit7a2bddce8d34512fac0db71102ef9b8977bb75ae
tree54d503fa57180a9185271fe08ab2329818c6870e
parenta096c2cad6103aa9cbdeb4f9ac708c0c29616bb3
staging: fbtft: Add minipitft13 variant

The Adafruit Mini-PiTFT13 display needs offsets applying when rotated,
so use the "variant" mechanism to select a custom set_addr_win method
using a dedicated compatible string of "fbtft,minipitft13".

See: https://github.com/raspberrypi/firmware/issues/1524

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