dpu_hwio.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
  2. *
  3. * This program is free software; you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License version 2 and
  5. * only version 2 as published by the Free Software Foundation.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. */
  12. #ifndef _DPU_HWIO_H
  13. #define _DPU_HWIO_H
  14. #include "dpu_hw_util.h"
  15. /**
  16. * MDP TOP block Register and bit fields and defines
  17. */
  18. #define DISP_INTF_SEL 0x004
  19. #define INTR_EN 0x010
  20. #define INTR_STATUS 0x014
  21. #define INTR_CLEAR 0x018
  22. #define INTR2_EN 0x008
  23. #define INTR2_STATUS 0x00c
  24. #define INTR2_CLEAR 0x02c
  25. #define HIST_INTR_EN 0x01c
  26. #define HIST_INTR_STATUS 0x020
  27. #define HIST_INTR_CLEAR 0x024
  28. #define INTF_INTR_EN 0x1C0
  29. #define INTF_INTR_STATUS 0x1C4
  30. #define INTF_INTR_CLEAR 0x1C8
  31. #define SPLIT_DISPLAY_EN 0x2F4
  32. #define SPLIT_DISPLAY_UPPER_PIPE_CTRL 0x2F8
  33. #define DSPP_IGC_COLOR0_RAM_LUTN 0x300
  34. #define DSPP_IGC_COLOR1_RAM_LUTN 0x304
  35. #define DSPP_IGC_COLOR2_RAM_LUTN 0x308
  36. #define HW_EVENTS_CTL 0x37C
  37. #define CLK_CTRL3 0x3A8
  38. #define CLK_STATUS3 0x3AC
  39. #define CLK_CTRL4 0x3B0
  40. #define CLK_STATUS4 0x3B4
  41. #define CLK_CTRL5 0x3B8
  42. #define CLK_STATUS5 0x3BC
  43. #define CLK_CTRL7 0x3D0
  44. #define CLK_STATUS7 0x3D4
  45. #define SPLIT_DISPLAY_LOWER_PIPE_CTRL 0x3F0
  46. #define SPLIT_DISPLAY_TE_LINE_INTERVAL 0x3F4
  47. #define INTF_SW_RESET_MASK 0x3FC
  48. #define HDMI_DP_CORE_SELECT 0x408
  49. #define MDP_OUT_CTL_0 0x410
  50. #define MDP_VSYNC_SEL 0x414
  51. #define DCE_SEL 0x450
  52. #endif /*_DPU_HWIO_H */