exynos_fb.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*
  2. * Copyright (C) 2012 Samsung Electronics
  3. *
  4. * Author: InKi Dae <inki.dae@samsung.com>
  5. * Author: Donghwa Lee <dh09.lee@samsung.com>
  6. *
  7. * This program is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU General Public License as
  9. * published by the Free Software Foundation; either version 2 of
  10. * the License, or (at your option) any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with this program; if not, write to the Free Software
  19. * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  20. * MA 02111-1307 USA
  21. */
  22. #ifndef _EXYNOS_FB_H_
  23. #define _EXYNOS_FB_H_
  24. #include <asm/arch/fb.h>
  25. #define MAX_CLOCK (86 * 1000000)
  26. enum exynos_cpu_auto_cmd_rate {
  27. DISABLE_AUTO_FRM,
  28. PER_TWO_FRM,
  29. PER_FOUR_FRM,
  30. PER_SIX_FRM,
  31. PER_EIGHT_FRM,
  32. PER_TEN_FRM,
  33. PER_TWELVE_FRM,
  34. PER_FOURTEEN_FRM,
  35. PER_SIXTEEN_FRM,
  36. PER_EIGHTEEN_FRM,
  37. PER_TWENTY_FRM,
  38. PER_TWENTY_TWO_FRM,
  39. PER_TWENTY_FOUR_FRM,
  40. PER_TWENTY_SIX_FRM,
  41. PER_TWENTY_EIGHT_FRM,
  42. PER_THIRTY_FRM,
  43. };
  44. void exynos_fimd_lcd_init_mem(unsigned long screen_base, unsigned long fb_size,
  45. unsigned long palette_size);
  46. void exynos_fimd_lcd_init(vidinfo_t *vid);
  47. unsigned long exynos_fimd_calc_fbsize(void);
  48. #endif