Source
x
lcd = devm_lcd_device_register(&spi->dev, "ili922xlcd", &spi->dev, ili,
/*
* (C) Copyright 2008
* Stefano Babic, DENX Software Engineering, sbabic@denx.de.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* This driver implements a lcd device for the ILITEK 922x display
* controller. The interface to the display is SPI and the display's
* memory is cyclically updated over the RGB interface.
*/
/* Register offset, see manual section 8.2 */
/*
* maximum frequency for register access
* (not for the GRAM access)
*/
/*
* Device ID as found in the datasheet (supports 9221 and 9222)
*/
/* Last two bits in the START BYTE */
/**
* START_BYTE(id, rs, rw)
*
* Set the start byte according to the required operation.
* The start byte is defined as: