From 42866d71ad2f8783ccdc1a8ea69e6758ce8a3cae Mon Sep 17 00:00:00 2001 From: Ralph Hempel Date: Sun, 26 Jun 2016 09:30:12 -0400 Subject: [PATCH] Rotate the color display 270 degrees instead of 90 - The color LCD modification works best with the existing LCD holder if the display is rotated 270 degrees. There are two known users that have done the mod so this will now be the default orientation. --- arch/arm/mach-davinci/board-legoev3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-davinci/board-legoev3.c b/arch/arm/mach-davinci/board-legoev3.c index acca62c4666c7..22984fb21d0bf 100644 --- a/arch/arm/mach-davinci/board-legoev3.c +++ b/arch/arm/mach-davinci/board-legoev3.c @@ -105,7 +105,7 @@ static const struct fbtft_platform_data legoev3_st7735r_data = { .buswidth = 8, .backlight = 1, }, - .rotate = 90, + .rotate = 270, .gpios = (const struct fbtft_gpio []) { { "reset", EV3_LCD_RESET_PIN }, { "dc", EV3_LCD_A0_PIN },