Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
mipi_display.h
Go to the documentation of this file.
1 /*
2  * Defines for Mobile Industry Processor Interface (MIPI(R))
3  * Display Working Group standards: DSI, DCS, DBI, DPI
4  *
5  * Copyright (C) 2010 Guennadi Liakhovetski <[email protected]>
6  * Copyright (C) 2006 Nokia Corporation
7  * Author: Imre Deak <[email protected]>
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License version 2 as
11  * published by the Free Software Foundation.
12  */
13 #ifndef MIPI_DISPLAY_H
14 #define MIPI_DISPLAY_H
15 
16 /* MIPI DSI Processor-to-Peripheral transaction types */
17 enum {
22 
27 
31 
35 
38 
40 
42 
44 
49 
53 
57 
62 };
63 
64 /* MIPI DSI Peripheral-to-Processor transaction types */
65 enum {
74 };
75 
76 /* MIPI DCS commands */
77 enum {
78  MIPI_DCS_NOP = 0x00,
120 };
121 
122 /* MIPI DCS pixel formats */
123 #define MIPI_DCS_PIXEL_FMT_24BIT 7
124 #define MIPI_DCS_PIXEL_FMT_18BIT 6
125 #define MIPI_DCS_PIXEL_FMT_16BIT 5
126 #define MIPI_DCS_PIXEL_FMT_12BIT 3
127 #define MIPI_DCS_PIXEL_FMT_8BIT 2
128 #define MIPI_DCS_PIXEL_FMT_3BIT 1
129 
130 #endif