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, 21 Mar 2022 16:04:13 +0000 (16:04 +0000)
commitad36959545838ce25acb711c045af47e977015c9
tree1d40cbb7240772796f4b8e806d315d9fe1b1c8e5
parent7293d8bad9bfb5b9de6c98bda5c9c7fe2a160a91
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