tmu.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*
  2. * Copyright (c) 2012 Samsung Electronics Co., Ltd.
  3. * http://www.samsung.com
  4. * Akshay Saraswat <akshay.s@samsung.com>
  5. *
  6. * EXYNOS - Thermal Management Unit
  7. *
  8. * See file CREDITS for list of people who contributed to this
  9. * project.
  10. *
  11. * This program is free software; you can redistribute it and/or modify
  12. * it under the terms of the GNU General Public License version 2 as
  13. * published by the Free Software Foundation.
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program; if not, write to the Free Software
  16. * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  17. * MA 02111-1307 USA
  18. */
  19. #ifndef __ASM_ARCH_TMU_H
  20. #define __ASM_ARCH_TMU_H
  21. struct exynos5_tmu_reg {
  22. unsigned triminfo;
  23. unsigned rsvd1;
  24. unsigned rsvd2;
  25. unsigned rsvd3;
  26. unsigned rsvd4;
  27. unsigned triminfo_control;
  28. unsigned rsvd5;
  29. unsigned rsvd6;
  30. unsigned tmu_control;
  31. unsigned rsvd7;
  32. unsigned tmu_status;
  33. unsigned sampling_internal;
  34. unsigned counter_value0;
  35. unsigned counter_value1;
  36. unsigned rsvd8;
  37. unsigned rsvd9;
  38. unsigned current_temp;
  39. unsigned rsvd10;
  40. unsigned rsvd11;
  41. unsigned rsvd12;
  42. unsigned threshold_temp_rise;
  43. unsigned threshold_temp_fall;
  44. unsigned rsvd13;
  45. unsigned rsvd14;
  46. unsigned past_temp3_0;
  47. unsigned past_temp7_4;
  48. unsigned past_temp11_8;
  49. unsigned past_temp15_12;
  50. unsigned inten;
  51. unsigned intstat;
  52. unsigned intclear;
  53. unsigned rsvd15;
  54. unsigned emul_con;
  55. };
  56. #endif /* __ASM_ARCH_TMU_H */