ARM: dts: stm32: add gadget fifo sizes to usbotg_hs on stm32f746
[linux/fpc-iii.git] / include / drm / tinydrm / ili9341.h
blob807a09f43cad91f242a1b8f79ed6bc42c29c04dd
1 /*
2 * ILI9341 LCD controller
4 * Copyright 2016 Noralf Trønnes
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
12 #ifndef __LINUX_ILI9341_H
13 #define __LINUX_ILI9341_H
15 #define ILI9341_FRMCTR1 0xb1
16 #define ILI9341_FRMCTR2 0xb2
17 #define ILI9341_FRMCTR3 0xb3
18 #define ILI9341_INVTR 0xb4
19 #define ILI9341_PRCTR 0xb5
20 #define ILI9341_DISCTRL 0xb6
21 #define ILI9341_ETMOD 0xb7
23 #define ILI9341_PWCTRL1 0xc0
24 #define ILI9341_PWCTRL2 0xc1
25 #define ILI9341_VMCTRL1 0xc5
26 #define ILI9341_VMCTRL2 0xc7
27 #define ILI9341_PWCTRLA 0xcb
28 #define ILI9341_PWCTRLB 0xcf
30 #define ILI9341_RDID1 0xda
31 #define ILI9341_RDID2 0xdb
32 #define ILI9341_RDID3 0xdc
33 #define ILI9341_RDID4 0xd3
35 #define ILI9341_PGAMCTRL 0xe0
36 #define ILI9341_NGAMCTRL 0xe1
37 #define ILI9341_DGAMCTRL1 0xe2
38 #define ILI9341_DGAMCTRL2 0xe3
39 #define ILI9341_DTCTRLA 0xe8
40 #define ILI9341_DTCTRLB 0xea
41 #define ILI9341_PWRSEQ 0xed
43 #define ILI9341_EN3GAM 0xf2
44 #define ILI9341_IFCTRL 0xf6
45 #define ILI9341_PUMPCTRL 0xf7
47 #define ILI9341_MADCTL_MH BIT(2)
48 #define ILI9341_MADCTL_BGR BIT(3)
49 #define ILI9341_MADCTL_ML BIT(4)
50 #define ILI9341_MADCTL_MV BIT(5)
51 #define ILI9341_MADCTL_MX BIT(6)
52 #define ILI9341_MADCTL_MY BIT(7)
54 #endif /* __LINUX_ILI9341_H */