Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
lcd_mipid.c File Reference
#include <linux/device.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/workqueue.h>
#include <linux/spi/spi.h>
#include <linux/module.h>
#include <linux/platform_data/lcd-mipid.h>
#include "omapfb.h"

Go to the source code of this file.

Data Structures

struct  mipid_device
 

Macros

#define MIPID_MODULE_NAME   "lcd_mipid"
 
#define MIPID_CMD_READ_DISP_ID   0x04
 
#define MIPID_CMD_READ_RED   0x06
 
#define MIPID_CMD_READ_GREEN   0x07
 
#define MIPID_CMD_READ_BLUE   0x08
 
#define MIPID_CMD_READ_DISP_STATUS   0x09
 
#define MIPID_CMD_RDDSDR   0x0F
 
#define MIPID_CMD_SLEEP_IN   0x10
 
#define MIPID_CMD_SLEEP_OUT   0x11
 
#define MIPID_CMD_DISP_OFF   0x28
 
#define MIPID_CMD_DISP_ON   0x29
 
#define MIPID_ESD_CHECK_PERIOD   msecs_to_jiffies(5000)
 
#define to_mipid_device(p)
 

Functions

 module_spi_driver (mipid_spi_driver)
 
 MODULE_DESCRIPTION ("MIPI display driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define MIPID_CMD_DISP_OFF   0x28

Definition at line 42 of file lcd_mipid.c.

#define MIPID_CMD_DISP_ON   0x29

Definition at line 43 of file lcd_mipid.c.

#define MIPID_CMD_RDDSDR   0x0F

Definition at line 39 of file lcd_mipid.c.

#define MIPID_CMD_READ_BLUE   0x08

Definition at line 37 of file lcd_mipid.c.

#define MIPID_CMD_READ_DISP_ID   0x04

Definition at line 34 of file lcd_mipid.c.

#define MIPID_CMD_READ_DISP_STATUS   0x09

Definition at line 38 of file lcd_mipid.c.

#define MIPID_CMD_READ_GREEN   0x07

Definition at line 36 of file lcd_mipid.c.

#define MIPID_CMD_READ_RED   0x06

Definition at line 35 of file lcd_mipid.c.

#define MIPID_CMD_SLEEP_IN   0x10

Definition at line 40 of file lcd_mipid.c.

#define MIPID_CMD_SLEEP_OUT   0x11

Definition at line 41 of file lcd_mipid.c.

#define MIPID_ESD_CHECK_PERIOD   msecs_to_jiffies(5000)

Definition at line 45 of file lcd_mipid.c.

#define MIPID_MODULE_NAME   "lcd_mipid"

Definition at line 32 of file lcd_mipid.c.

#define to_mipid_device (   p)
Value:
panel)

Definition at line 47 of file lcd_mipid.c.

Function Documentation

MODULE_DESCRIPTION ( "MIPI display driver )
MODULE_LICENSE ( "GPL"  )
module_spi_driver ( mipid_spi_driver  )