system.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*
  2. * (C) Copyright 2012 Samsung Electronics
  3. * Donghwa Lee <dh09.lee@samsung.com>
  4. *
  5. * This program is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU General Public License as
  7. * published by the Free Software Foundation; either version 2 of
  8. * the License, or (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program; if not, write to the Free Software
  17. * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  18. * MA 02111-1307 USA
  19. *
  20. */
  21. #ifndef __ASM_ARM_ARCH_SYSTEM_H_
  22. #define __ASM_ARM_ARCH_SYSTEM_H_
  23. #ifndef __ASSEMBLY__
  24. struct exynos4_sysreg {
  25. unsigned char res1[0x210];
  26. unsigned int display_ctrl;
  27. unsigned int display_ctrl2;
  28. unsigned int camera_control;
  29. unsigned int audio_endian;
  30. unsigned int jtag_con;
  31. };
  32. struct exynos5_sysreg {
  33. unsigned char res1[0x214];
  34. unsigned int disp1blk_cfg;
  35. unsigned int disp2blk_cfg;
  36. unsigned int hdcp_e_fuse;
  37. unsigned int gsclblk_cfg0;
  38. unsigned int gsclblk_cfg1;
  39. unsigned int reserved;
  40. unsigned int ispblk_cfg;
  41. unsigned int usb20phy_cfg;
  42. unsigned int mipi_dphy;
  43. unsigned int dptx_dphy;
  44. unsigned int phyclk_sel;
  45. };
  46. #endif
  47. void set_system_display_ctrl(void);
  48. #endif /* _EXYNOS4_SYSTEM_H */