Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/spi/spi.h>
#include <linux/regulator/consumer.h>
#include <linux/gpio.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <video/omapdss.h>
Go to the source code of this file.
Data Structures | |
struct | tpo_td043_device |
Macros | |
#define | TPO_R02_MODE(x) ((x) & 7) |
#define | TPO_R02_MODE_800x480 7 |
#define | TPO_R02_NCLK_RISING BIT(3) |
#define | TPO_R02_HSYNC_HIGH BIT(4) |
#define | TPO_R02_VSYNC_HIGH BIT(5) |
#define | TPO_R03_NSTANDBY BIT(0) |
#define | TPO_R03_EN_CP_CLK BIT(1) |
#define | TPO_R03_EN_VGL_PUMP BIT(2) |
#define | TPO_R03_EN_PWM BIT(3) |
#define | TPO_R03_DRIVING_CAP_100 BIT(4) |
#define | TPO_R03_EN_PRE_CHARGE BIT(6) |
#define | TPO_R03_SOFTWARE_CTL BIT(7) |
#define | TPO_R04_NFLIP_H BIT(0) |
#define | TPO_R04_NFLIP_V BIT(1) |
#define | TPO_R04_CP_CLK_FREQ_1H BIT(2) |
#define | TPO_R04_VGL_FREQ_1H BIT(4) |
#define | TPO_R03_VAL_NORMAL |
#define | TPO_R03_VAL_STANDBY |
Functions | |
module_spi_driver (tpo_td043_spi_driver) | |
MODULE_AUTHOR ("Gražvydas Ignotas <[email protected]>") | |
MODULE_DESCRIPTION ("TPO TD043MTEA1 LCD Driver") | |
MODULE_LICENSE ("GPL") | |
#define TPO_R02_HSYNC_HIGH BIT(4) |
Definition at line 25 of file panel-tpo-td043mtea1.c.
Definition at line 22 of file panel-tpo-td043mtea1.c.
#define TPO_R02_MODE_800x480 7 |
Definition at line 23 of file panel-tpo-td043mtea1.c.
#define TPO_R02_NCLK_RISING BIT(3) |
Definition at line 24 of file panel-tpo-td043mtea1.c.
#define TPO_R02_VSYNC_HIGH BIT(5) |
Definition at line 26 of file panel-tpo-td043mtea1.c.
#define TPO_R03_DRIVING_CAP_100 BIT(4) |
Definition at line 32 of file panel-tpo-td043mtea1.c.
#define TPO_R03_EN_CP_CLK BIT(1) |
Definition at line 29 of file panel-tpo-td043mtea1.c.
#define TPO_R03_EN_PRE_CHARGE BIT(6) |
Definition at line 33 of file panel-tpo-td043mtea1.c.
#define TPO_R03_EN_PWM BIT(3) |
Definition at line 31 of file panel-tpo-td043mtea1.c.
#define TPO_R03_EN_VGL_PUMP BIT(2) |
Definition at line 30 of file panel-tpo-td043mtea1.c.
#define TPO_R03_NSTANDBY BIT(0) |
Definition at line 28 of file panel-tpo-td043mtea1.c.
#define TPO_R03_SOFTWARE_CTL BIT(7) |
Definition at line 34 of file panel-tpo-td043mtea1.c.
#define TPO_R03_VAL_NORMAL |
Definition at line 41 of file panel-tpo-td043mtea1.c.
#define TPO_R03_VAL_STANDBY |
Definition at line 46 of file panel-tpo-td043mtea1.c.
#define TPO_R04_CP_CLK_FREQ_1H BIT(2) |
Definition at line 38 of file panel-tpo-td043mtea1.c.
#define TPO_R04_NFLIP_H BIT(0) |
Definition at line 36 of file panel-tpo-td043mtea1.c.
#define TPO_R04_NFLIP_V BIT(1) |
Definition at line 37 of file panel-tpo-td043mtea1.c.
#define TPO_R04_VGL_FREQ_1H BIT(4) |
Definition at line 39 of file panel-tpo-td043mtea1.c.
MODULE_AUTHOR | ( | "Gražvydas Ignotas <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "TPO TD043MTEA1 LCD Driver" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_spi_driver | ( | tpo_td043_spi_driver | ) |