linux/drivers/video/backlight/ltv350qv.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Register definitions for Samsung LTV350QV Quarter VGA LCD Panel
 *
 * Copyright (C) 2006, 2007 Atmel Corporation
 */
#ifndef __LTV350QV_H
#define __LTV350QV_H

#define LTV_OPC_INDEX
#define LTV_OPC_DATA

#define LTV_ID
#define LTV_IFCTL
#define LTV_DATACTL
#define LTV_ENTRY_MODE
#define LTV_GATECTL1
#define LTV_GATECTL2
#define LTV_VBP
#define LTV_HBP
#define LTV_SOTCTL
#define LTV_PWRCTL1
#define LTV_PWRCTL2
#define LTV_GAMMA(x)

/* Bit definitions for LTV_IFCTL */
#define LTV_IM
#define LTV_NMD
#define LTV_SSMD
#define LTV_REV
#define LTV_NL(x)

/* Bit definitions for LTV_DATACTL */
#define LTV_DS_SAME
#define LTV_DS_D_TO_S
#define LTV_DS_S_TO_D
#define LTV_CHS_384
#define LTV_CHS_480
#define LTV_CHS_492
#define LTV_DF_RGB
#define LTV_DF_RGBX
#define LTV_DF_XRGB
#define LTV_RGB_RGB
#define LTV_RGB_BGR
#define LTV_RGB_GRB
#define LTV_RGB_RBG

/* Bit definitions for LTV_ENTRY_MODE */
#define LTV_VSPL_ACTIVE_LOW
#define LTV_VSPL_ACTIVE_HIGH
#define LTV_HSPL_ACTIVE_LOW
#define LTV_HSPL_ACTIVE_HIGH
#define LTV_DPL_SAMPLE_RISING
#define LTV_DPL_SAMPLE_FALLING
#define LTV_EPL_ACTIVE_LOW
#define LTV_EPL_ACTIVE_HIGH
#define LTV_SS_LEFT_TO_RIGHT
#define LTV_SS_RIGHT_TO_LEFT
#define LTV_STB

/* Bit definitions for LTV_GATECTL1 */
#define LTV_CLW(x)
#define LTV_GAON
#define LTV_SDR

/* Bit definitions for LTV_GATECTL2 */
#define LTV_NW_INV_FRAME
#define LTV_NW_INV_1LINE
#define LTV_NW_INV_2LINE
#define LTV_DSC
#define LTV_GIF
#define LTV_FHN
#define LTV_FTI(x)
#define LTV_FWI(x)

/* Bit definitions for LTV_SOTCTL */
#define LTV_SDT(x)
#define LTV_EQ(x)

/* Bit definitions for LTV_PWRCTL1 */
#define LTV_VCOM_DISABLE
#define LTV_VCOMOUT_ENABLE
#define LTV_POWER_ON
#define LTV_DRIVE_CURRENT(x)
#define LTV_SUPPLY_CURRENT(x)

/* Bit definitions for LTV_PWRCTL2 */
#define LTV_VCOML_ENABLE
#define LTV_VCOML_VOLTAGE(x)
#define LTV_VCOMH_VOLTAGE(x)

#endif /* __LTV350QV_H */