1 /* SPDX-License-Identifier: GPL-2.0 */
2 
3 #ifndef _PANEL_SAMSUNG_S6E63M0_H
4 #define _PANEL_SAMSUNG_S6E63M0_H
5 
6 /* Manufacturer Command Set */
7 #define MCS_ELVSS_ON		0xb1
8 #define MCS_TEMP_SWIRE		0xb2
9 #define MCS_PENTILE_1		0xb3
10 #define MCS_PENTILE_2		0xb4
11 #define MCS_GAMMA_DELTA_Y_RED	0xb5
12 #define MCS_GAMMA_DELTA_X_RED	0xb6
13 #define MCS_GAMMA_DELTA_Y_GREEN	0xb7
14 #define MCS_GAMMA_DELTA_X_GREEN	0xb8
15 #define MCS_GAMMA_DELTA_Y_BLUE	0xb9
16 #define MCS_GAMMA_DELTA_X_BLUE	0xba
17 #define MCS_MIECTL1		0xc0
18 #define MCS_BCMODE		0xc1
19 #define MCS_ERROR_CHECK		0xd5
20 #define MCS_READ_ID1		0xda
21 #define MCS_READ_ID2		0xdb
22 #define MCS_READ_ID3		0xdc
23 #define MCS_LEVEL_2_KEY		0xf0
24 #define MCS_MTP_KEY		0xf1
25 #define MCS_DISCTL		0xf2
26 #define MCS_SRCCTL		0xf6
27 #define MCS_IFCTL		0xf7
28 #define MCS_PANELCTL		0xf8
29 #define MCS_PGAMMACTL		0xfa
30 
31 int s6e63m0_probe(struct device *dev, void *trsp,
32 		  int (*dcs_read)(struct device *dev, void *trsp,
33 				  const u8 cmd, u8 *val),
34 		  int (*dcs_write)(struct device *dev, void *trsp,
35 				   const u8 *data,
36 				   size_t len),
37 		  bool dsi_mode);
38 int s6e63m0_remove(struct device *dev);
39 
40 #endif /* _PANEL_SAMSUNG_S6E63M0_H */
41