vt1636.h 1.8 KB

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