gma500: Begin the GEMification of the cursor code
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / staging / msm / mddi_toshiba.h
blobcbeea0a26d6c47891ae9afaff774d0c6863cb7de
1 /* Copyright (c) 2009, Code Aurora Forum. All rights reserved.
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
13 #ifndef MDDI_TOSHIBA_H
14 #define MDDI_TOSHIBA_H
16 #define TOSHIBA_VGA_PRIM 1
17 #define TOSHIBA_VGA_SECD 2
19 #define LCD_TOSHIBA_2P4_VGA 0
20 #define LCD_TOSHIBA_2P4_WVGA 1
21 #define LCD_TOSHIBA_2P4_WVGA_PT 2
22 #define LCD_SHARP_2P4_VGA 3
24 #define GPIO_BLOCK_BASE 0x150000
25 #define SYSTEM_BLOCK2_BASE 0x170000
27 #define GPIODIR (GPIO_BLOCK_BASE|0x04)
28 #define GPIOSEL (SYSTEM_BLOCK2_BASE|0x00)
29 #define GPIOPC (GPIO_BLOCK_BASE|0x28)
30 #define GPIODATA (GPIO_BLOCK_BASE|0x00)
32 #define write_client_reg(__X, __Y, __Z) {\
33 mddi_queue_register_write(__X, __Y, TRUE, 0);\
36 #endif /* MDDI_TOSHIBA_H */