brintos

brintos / linux-shallow public Read only

0
0
Text · 1.1 KiB · c926eca Raw
41 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2 3#ifndef _PANEL_SAMSUNG_S6E63M0_H4#define _PANEL_SAMSUNG_S6E63M0_H5 6/* Manufacturer Command Set */7#define MCS_ELVSS_ON		0xb18#define MCS_TEMP_SWIRE		0xb29#define MCS_PENTILE_1		0xb310#define MCS_PENTILE_2		0xb411#define MCS_GAMMA_DELTA_Y_RED	0xb512#define MCS_GAMMA_DELTA_X_RED	0xb613#define MCS_GAMMA_DELTA_Y_GREEN	0xb714#define MCS_GAMMA_DELTA_X_GREEN	0xb815#define MCS_GAMMA_DELTA_Y_BLUE	0xb916#define MCS_GAMMA_DELTA_X_BLUE	0xba17#define MCS_MIECTL1		0xc018#define MCS_BCMODE		0xc119#define MCS_ERROR_CHECK		0xd520#define MCS_READ_ID1		0xda21#define MCS_READ_ID2		0xdb22#define MCS_READ_ID3		0xdc23#define MCS_LEVEL_2_KEY		0xf024#define MCS_MTP_KEY		0xf125#define MCS_DISCTL		0xf226#define MCS_SRCCTL		0xf627#define MCS_IFCTL		0xf728#define MCS_PANELCTL		0xf829#define MCS_PGAMMACTL		0xfa30 31int 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);38void s6e63m0_remove(struct device *dev);39 40#endif /* _PANEL_SAMSUNG_S6E63M0_H */41