2 * Copyright (C) 2009 The Android Open Source Project
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 /*******************************************************************************
21 * hdmi_customization.h
29 * This file implements Customization base function
31 *******************************************************************************/
33 #ifndef HDMI_CUSTOMIZATION_H
34 #define HDMI_CUSTOMIZATION_H
36 /******************************************************************
38 ******************************************************************/
40 #define USING_SCALE_ADJUSTMENT
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
49 /******************************************************************
50 ** MHL GPIO Customization
51 ******************************************************************/
52 //#define MHL_PHONE_GPIO_REUSAGE
53 void ChangeGPIOToI2S();
54 void ChangeI2SToGPIO();
56 int cust_hdmi_power_on(int on
);
58 int cust_hdmi_dpi_gpio_on(int on
);
60 int cust_hdmi_i2s_gpio_on(int on
);
62 int get_hdmi_i2c_addr(void);
64 int get_hdmi_i2c_channel(void);