From 871480933a1c28f8a9fed4c4d34d06c439a7a422 Mon Sep 17 00:00:00 2001 From: Srikant Patnaik Date: Sun, 11 Jan 2015 12:28:04 +0530 Subject: Moved, renamed, and deleted files The original directory structure was scattered and unorganized. Changes are basically to make it look like kernel structure. --- ANDROID_3.4.5/drivers/video/backlight/ili9320.h | 80 ------------------------- 1 file changed, 80 deletions(-) delete mode 100644 ANDROID_3.4.5/drivers/video/backlight/ili9320.h (limited to 'ANDROID_3.4.5/drivers/video/backlight/ili9320.h') diff --git a/ANDROID_3.4.5/drivers/video/backlight/ili9320.h b/ANDROID_3.4.5/drivers/video/backlight/ili9320.h deleted file mode 100644 index e388eca7..00000000 --- a/ANDROID_3.4.5/drivers/video/backlight/ili9320.h +++ /dev/null @@ -1,80 +0,0 @@ -/* drivers/video/backlight/ili9320.h - * - * ILI9320 LCD controller driver core. - * - * Copyright 2007 Simtec Electronics - * Ben Dooks - * - * http://armlinux.simtec.co.uk/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -/* Holder for register and value pairs. */ -struct ili9320_reg { - unsigned short address; - unsigned short value; -}; - -struct ili9320; - -struct ili9320_client { - const char *name; - int (*init)(struct ili9320 *ili, struct ili9320_platdata *cfg); - -}; -/* Device attached via an SPI bus. */ -struct ili9320_spi { - struct spi_device *dev; - struct spi_message message; - struct spi_transfer xfer[2]; - - unsigned char id; - unsigned char buffer_addr[4]; - unsigned char buffer_data[4]; -}; - -/* ILI9320 device state. */ -struct ili9320 { - union { - struct ili9320_spi spi; /* SPI attachged device. */ - } access; /* Register access method. */ - - struct device *dev; - struct lcd_device *lcd; /* LCD device we created. */ - struct ili9320_client *client; - struct ili9320_platdata *platdata; - - int power; /* current power state. */ - int initialised; - - unsigned short display1; - unsigned short power1; - - int (*write)(struct ili9320 *ili, unsigned int reg, unsigned int val); -}; - - -/* ILI9320 register access routines */ - -extern int ili9320_write(struct ili9320 *ili, - unsigned int reg, unsigned int value); - -extern int ili9320_write_regs(struct ili9320 *ili, - struct ili9320_reg *values, - int nr_values); - -/* Device probe */ - -extern int ili9320_probe_spi(struct spi_device *spi, - struct ili9320_client *cli); - -extern int ili9320_remove(struct ili9320 *lcd); -extern void ili9320_shutdown(struct ili9320 *lcd); - -/* PM */ - -extern int ili9320_suspend(struct ili9320 *lcd, pm_message_t state); -extern int ili9320_resume(struct ili9320 *lcd); -- cgit