mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
04e554807c
Change-Id: Ibead64ce2e901dede2ddd1b86088b88f2350ce92 Signed-off-by: Duy Truong <dtruong@codeaurora.org>
37 lines
1.1 KiB
C
37 lines
1.1 KiB
C
/* Copyright (c) 2009, The Linux Foundation. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 and
|
|
* only version 2 as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
*/
|
|
|
|
#ifndef MDDI_TOSHIBA_H
|
|
#define MDDI_TOSHIBA_H
|
|
|
|
#define TOSHIBA_VGA_PRIM 1
|
|
#define TOSHIBA_VGA_SECD 2
|
|
|
|
#define LCD_TOSHIBA_2P4_VGA 0
|
|
#define LCD_TOSHIBA_2P4_WVGA 1
|
|
#define LCD_TOSHIBA_2P4_WVGA_PT 2
|
|
#define LCD_SHARP_2P4_VGA 3
|
|
|
|
#define GPIO_BLOCK_BASE 0x150000
|
|
#define SYSTEM_BLOCK2_BASE 0x170000
|
|
|
|
#define GPIODIR (GPIO_BLOCK_BASE|0x04)
|
|
#define GPIOSEL (SYSTEM_BLOCK2_BASE|0x00)
|
|
#define GPIOPC (GPIO_BLOCK_BASE|0x28)
|
|
#define GPIODATA (GPIO_BLOCK_BASE|0x00)
|
|
|
|
#define write_client_reg(__X, __Y, __Z) {\
|
|
mddi_queue_register_write(__X, __Y, TRUE, 0);\
|
|
}
|
|
|
|
#endif /* MDDI_TOSHIBA_H */
|