linux/drivers/gpu/drm/panel/panel-samsung-s6e63m0.h

/* SPDX-License-Identifier: GPL-2.0 */

#ifndef _PANEL_SAMSUNG_S6E63M0_H
#define _PANEL_SAMSUNG_S6E63M0_H

/* Manufacturer Command Set */
#define MCS_ELVSS_ON
#define MCS_TEMP_SWIRE
#define MCS_PENTILE_1
#define MCS_PENTILE_2
#define MCS_GAMMA_DELTA_Y_RED
#define MCS_GAMMA_DELTA_X_RED
#define MCS_GAMMA_DELTA_Y_GREEN
#define MCS_GAMMA_DELTA_X_GREEN
#define MCS_GAMMA_DELTA_Y_BLUE
#define MCS_GAMMA_DELTA_X_BLUE
#define MCS_MIECTL1
#define MCS_BCMODE
#define MCS_ERROR_CHECK
#define MCS_READ_ID1
#define MCS_READ_ID2
#define MCS_READ_ID3
#define MCS_LEVEL_2_KEY
#define MCS_MTP_KEY
#define MCS_DISCTL
#define MCS_SRCCTL
#define MCS_IFCTL
#define MCS_PANELCTL
#define MCS_PGAMMACTL

int s6e63m0_probe(struct device *dev, void *trsp,
		  int (*dcs_read)(struct device *dev, void *trsp,
				  const u8 cmd, u8 *val),
		  int (*dcs_write)(struct device *dev, void *trsp,
				   const u8 *data,
				   size_t len),
		  bool dsi_mode);
void s6e63m0_remove(struct device *dev);

#endif /* _PANEL_SAMSUNG_S6E63M0_H */