Lines Matching +full:tft +full:- +full:lcd
1 // SPDX-License-Identifier: GPL-2.0
2 /* Driver for ORISE Technology OTM3225A SOC for TFT LCD
5 * This driver implements a lcd device for the ORISE OTM3225A display
7 * memory is updated over the 16-bit RGB interface.
11 * provided by Crystalfontz America Inc. who sells the CFAF240320A-032T, a 3.2"
12 * TFT LC display using the OTM3225A controller.
18 #include <linux/lcd.h>
165 while (count--) { in otm3225a_write()
169 buf[2] = instruction->reg; in otm3225a_write()
174 buf[1] = (instruction->value >> 8) & 0xff; in otm3225a_write()
175 buf[2] = instruction->value & 0xff; in otm3225a_write()
179 if (instruction->delay) in otm3225a_write()
180 msleep(instruction->delay); in otm3225a_write()
189 if (power == dd->power) in otm3225a_set_power()
193 otm3225a_write(dd->spi, display_off, ARRAY_SIZE(display_off)); in otm3225a_set_power()
195 otm3225a_write(dd->spi, display_on, ARRAY_SIZE(display_on)); in otm3225a_set_power()
196 dd->power = power; in otm3225a_set_power()
205 return dd->power; in otm3225a_get_power()
217 struct device *dev = &spi->dev; in otm3225a_probe()
221 return -ENOMEM; in otm3225a_probe()
228 dd->spi = spi; in otm3225a_probe()
229 dd->ld = ld; in otm3225a_probe()
250 MODULE_DESCRIPTION("OTM3225A TFT LCD driver");