1f7018c21STomi Valkeinen /* 2f7018c21STomi Valkeinen * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved. 3f7018c21STomi Valkeinen * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved. 4f7018c21STomi Valkeinen 5f7018c21STomi Valkeinen * This program is free software; you can redistribute it and/or 6f7018c21STomi Valkeinen * modify it under the terms of the GNU General Public 7f7018c21STomi Valkeinen * License as published by the Free Software Foundation; 8f7018c21STomi Valkeinen * either version 2, or (at your option) any later version. 9f7018c21STomi Valkeinen 10f7018c21STomi Valkeinen * This program is distributed in the hope that it will be useful, 11f7018c21STomi Valkeinen * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even 12f7018c21STomi Valkeinen * the implied warranty of MERCHANTABILITY or FITNESS FOR 13f7018c21STomi Valkeinen * A PARTICULAR PURPOSE.See the GNU General Public License 14f7018c21STomi Valkeinen * for more details. 15f7018c21STomi Valkeinen 16f7018c21STomi Valkeinen * You should have received a copy of the GNU General Public License 17f7018c21STomi Valkeinen * along with this program; if not, write to the Free Software 18f7018c21STomi Valkeinen * Foundation, Inc., 19f7018c21STomi Valkeinen * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 20f7018c21STomi Valkeinen */ 21f7018c21STomi Valkeinen 22f7018c21STomi Valkeinen #ifndef _VT1636_H_ 23f7018c21STomi Valkeinen #define _VT1636_H_ 24f7018c21STomi Valkeinen #include "chip.h" 25f7018c21STomi Valkeinen bool viafb_lvds_identify_vt1636(u8 i2c_adapter); 26f7018c21STomi Valkeinen void viafb_init_lvds_vt1636(struct lvds_setting_information 27f7018c21STomi Valkeinen *plvds_setting_info, struct lvds_chip_information *plvds_chip_info); 28f7018c21STomi Valkeinen void viafb_enable_lvds_vt1636(struct lvds_setting_information 29f7018c21STomi Valkeinen *plvds_setting_info, 30f7018c21STomi Valkeinen struct lvds_chip_information *plvds_chip_info); 31f7018c21STomi Valkeinen void viafb_disable_lvds_vt1636(struct lvds_setting_information 32f7018c21STomi Valkeinen *plvds_setting_info, 33f7018c21STomi Valkeinen struct lvds_chip_information *plvds_chip_info); 34f7018c21STomi Valkeinen void viafb_vt1636_patch_skew_on_vt3324( 35f7018c21STomi Valkeinen struct lvds_setting_information *plvds_setting_info, 36f7018c21STomi Valkeinen struct lvds_chip_information *plvds_chip_info); 37f7018c21STomi Valkeinen void viafb_vt1636_patch_skew_on_vt3327( 38f7018c21STomi Valkeinen struct lvds_setting_information *plvds_setting_info, 39f7018c21STomi Valkeinen struct lvds_chip_information *plvds_chip_info); 40f7018c21STomi Valkeinen void viafb_vt1636_patch_skew_on_vt3364( 41f7018c21STomi Valkeinen struct lvds_setting_information *plvds_setting_info, 42f7018c21STomi Valkeinen struct lvds_chip_information *plvds_chip_info); 43f7018c21STomi Valkeinen 44f7018c21STomi Valkeinen #endif 45