Commit | Line | Data |
---|---|---|
6fa3eb70 S |
1 | /* |
2 | * Copyright (C) 2009 The Android Open Source Project | |
3 | * | |
4 | * Licensed under the Apache License, Version 2.0 (the "License"); | |
5 | * you may not use this file except in compliance with the License. | |
6 | * You may obtain a copy of the License at | |
7 | * | |
8 | * http://www.apache.org/licenses/LICENSE-2.0 | |
9 | * | |
10 | * Unless required by applicable law or agreed to in writing, software | |
11 | * distributed under the License is distributed on an "AS IS" BASIS, | |
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
13 | * See the License for the specific language governing permissions and | |
14 | * limitations under the License. | |
15 | */ | |
16 | ||
17 | /******************************************************************************* | |
18 | * | |
19 | * Filename: | |
20 | * --------- | |
21 | * hdmi_customization.h | |
22 | * | |
23 | * Project: | |
24 | * -------- | |
25 | * Android | |
26 | * | |
27 | * Description: | |
28 | * ------------ | |
29 | * This file implements Customization base function | |
30 | * | |
31 | *******************************************************************************/ | |
32 | ||
33 | #ifndef HDMI_CUSTOMIZATION_H | |
34 | #define HDMI_CUSTOMIZATION_H | |
35 | ||
36 | /****************************************************************** | |
37 | ** scale adjustment | |
38 | ******************************************************************/ | |
39 | /* | |
40 | #define USING_SCALE_ADJUSTMENT | |
41 | ||
42 | ///if mhl chip CI2CA pin is pull up, the folloing should be defined. otherwise, please mask it. | |
43 | #define SII_I2C_ADDR (0x72) | |
44 | #define HDMI_I2C_CHANNEL 3 | |
45 | */ | |
46 | ||
47 | ||
48 | ||
49 | /****************************************************************** | |
50 | ** MHL GPIO Customization | |
51 | ******************************************************************/ | |
52 | //#define MHL_PHONE_GPIO_REUSAGE | |
53 | void ChangeGPIOToI2S(); | |
54 | void ChangeI2SToGPIO(); | |
55 | ||
56 | int cust_hdmi_power_on(int on); | |
57 | ||
58 | int cust_hdmi_dpi_gpio_on(int on); | |
59 | ||
60 | int cust_hdmi_i2s_gpio_on(int on); | |
61 | ||
62 | int get_hdmi_i2c_addr(void); | |
63 | ||
64 | int get_hdmi_i2c_channel(void); | |
65 | ||
66 | ||
67 | #endif |