linux/include/video/ili9320.h

/* SPDX-License-Identifier: GPL-2.0-only */
/* include/video/ili9320.c
 *
 * ILI9320 LCD controller configuration control.
 *
 * Copyright 2007 Simtec Electronics
 *	Ben Dooks <[email protected]>
 *
 * http://armlinux.simtec.co.uk/
*/

#define ILI9320_REG(x)

#define ILI9320_INDEX

#define ILI9320_OSCILATION
#define ILI9320_DRIVER
#define ILI9320_DRIVEWAVE
#define ILI9320_ENTRYMODE
#define ILI9320_RESIZING
#define ILI9320_DISPLAY1
#define ILI9320_DISPLAY2
#define ILI9320_DISPLAY3
#define ILI9320_DISPLAY4
#define ILI9320_RGB_IF1
#define ILI9320_FRAMEMAKER
#define ILI9320_RGB_IF2

#define ILI9320_POWER1
#define ILI9320_POWER2
#define ILI9320_POWER3
#define ILI9320_POWER4
#define ILI9320_GRAM_HORIZ_ADDR
#define ILI9320_GRAM_VERT_ADD
#define ILI9320_POWER7
#define ILI9320_FRAME_RATE_COLOUR

#define ILI9320_GAMMA1
#define ILI9320_GAMMA2
#define ILI9320_GAMMA3
#define ILI9320_GAMMA4
#define ILI9320_GAMMA5
#define ILI9320_GAMMA6
#define ILI9320_GAMMA7
#define ILI9320_GAMMA8
#define ILI9320_GAMMA9
#define ILI9320_GAMMA10

#define ILI9320_HORIZ_START
#define ILI9320_HORIZ_END
#define ILI9320_VERT_START
#define ILI9320_VERT_END

#define ILI9320_DRIVER2
#define ILI9320_BASE_IMAGE
#define ILI9320_VERT_SCROLL

#define ILI9320_PARTIAL1_POSITION
#define ILI9320_PARTIAL1_START
#define ILI9320_PARTIAL1_END
#define ILI9320_PARTIAL2_POSITION
#define ILI9320_PARTIAL2_START
#define ILI9320_PARTIAL2_END

#define ILI9320_INTERFACE1
#define ILI9320_INTERFACE2
#define ILI9320_INTERFACE3
#define ILI9320_INTERFACE4
#define ILI9320_INTERFACE5
#define ILI9320_INTERFACE6

/* Register contents definitions. */

#define ILI9320_OSCILATION_OSC

#define ILI9320_DRIVER_SS
#define ILI9320_DRIVER_SM

#define ILI9320_DRIVEWAVE_EOR
#define ILI9320_DRIVEWAVE_BC
#define ILI9320_DRIVEWAVE_MUSTSET

#define ILI9320_ENTRYMODE_AM
#define ILI9320_ENTRYMODE_ID(x)
#define ILI9320_ENTRYMODE_ORG
#define ILI9320_ENTRYMODE_HWM
#define ILI9320_ENTRYMODE_BGR
#define ILI9320_ENTRYMODE_DFM
#define ILI9320_ENTRYMODE_TRI


#define ILI9320_RESIZING_RSZ(x)
#define ILI9320_RESIZING_RCH(x)
#define ILI9320_RESIZING_RCV(x)


#define ILI9320_DISPLAY1_D(x)
#define ILI9320_DISPLAY1_CL
#define ILI9320_DISPLAY1_DTE
#define ILI9320_DISPLAY1_GON
#define ILI9320_DISPLAY1_BASEE
#define ILI9320_DISPLAY1_PTDE(x)


#define ILI9320_DISPLAY2_BP(x)
#define ILI9320_DISPLAY2_FP(x)


#define ILI9320_RGBIF1_RIM_RGB18
#define ILI9320_RGBIF1_RIM_RGB16
#define ILI9320_RGBIF1_RIM_RGB6

#define ILI9320_RGBIF1_CLK_INT
#define ILI9320_RGBIF1_CLK_RGBIF
#define ILI9320_RGBIF1_CLK_VSYNC

#define ILI9320_RGBIF1_RM

#define ILI9320_RGBIF1_ENC_FRAMES(x)

#define ILI9320_RGBIF2_DPL
#define ILI9320_RGBIF2_EPL
#define ILI9320_RGBIF2_HSPL
#define ILI9320_RGBIF2_VSPL


#define ILI9320_POWER1_SLP
#define ILI9320_POWER1_DSTB
#define ILI9320_POWER1_AP(x)
#define ILI9320_POWER1_APE
#define ILI9320_POWER1_BT(x)
#define ILI9320_POWER1_SAP


#define ILI9320_POWER2_VC(x)
#define ILI9320_POWER2_DC0(x)
#define ILI9320_POWER2_DC1(x)


#define ILI9320_POWER3_VRH(x)
#define ILI9320_POWER3_PON
#define ILI9320_POWER3_VCMR


#define ILI9320_POWER4_VREOUT(x)


#define ILI9320_DRIVER2_SCNL(x)
#define ILI9320_DRIVER2_NL(x)
#define ILI9320_DRIVER2_GS


#define ILI9320_BASEIMAGE_REV
#define ILI9320_BASEIMAGE_VLE
#define ILI9320_BASEIMAGE_NDL


#define ILI9320_INTERFACE4_RTNE(x)
#define ILI9320_INTERFACE4_DIVE(x)

/* SPI interface definitions */

#define ILI9320_SPI_IDCODE
#define ILI9320_SPI_ID(x)
#define ILI9320_SPI_READ
#define ILI9320_SPI_WRITE
#define ILI9320_SPI_DATA
#define ILI9320_SPI_INDEX

/* platform data to pass configuration from lcd */

enum ili9320_suspend {};

struct ili9320_platdata {};