tmu.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. u32 triminfo;
  23. u32 rsvd1[4];
  24. u32 triminfo_control;
  25. u32 rsvd5[2];
  26. u32 tmu_control;
  27. u32 rsvd7;
  28. u32 tmu_status;
  29. u32 sampling_internal;
  30. u32 counter_value0;
  31. u32 counter_value1;
  32. u32 rsvd8[2];
  33. u32 current_temp;
  34. u32 rsvd10[3];
  35. u32 threshold_temp_rise;
  36. u32 threshold_temp_fall;
  37. u32 rsvd13[2];
  38. u32 past_temp3_0;
  39. u32 past_temp7_4;
  40. u32 past_temp11_8;
  41. u32 past_temp15_12;
  42. u32 inten;
  43. u32 intstat;
  44. u32 intclear;
  45. u32 rsvd15;
  46. u32 emul_con;
  47. };
  48. #endif /* __ASM_ARCH_TMU_H */