I have a display that is not working with the driver in SPI mode 2, but when changing the mode to 0, it works.
Not sure why the following code is needed in the first place.
#if defined (CONFIG_LV_TFT_DISPLAY_CONTROLLER_ST7789)
#define SPI_TFT_SPI_MODE (2)
#else
#define SPI_TFT_SPI_MODE (0)
#endif