qcom,dispcc-sdm845.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /*
  2. * Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 and
  6. * only version 2 as published by the Free Software Foundation.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. */
  13. #ifndef _DT_BINDINGS_CLK_MSM_DISP_CC_SDM845_H
  14. #define _DT_BINDINGS_CLK_MSM_DISP_CC_SDM845_H
  15. #define DISP_CC_MDSS_AHB_CLK 0
  16. #define DISP_CC_MDSS_AXI_CLK 1
  17. #define DISP_CC_MDSS_BYTE0_CLK 2
  18. #define DISP_CC_MDSS_BYTE0_CLK_SRC 3
  19. #define DISP_CC_MDSS_BYTE0_INTF_CLK 4
  20. #define DISP_CC_MDSS_BYTE1_CLK 5
  21. #define DISP_CC_MDSS_BYTE1_CLK_SRC 6
  22. #define DISP_CC_MDSS_BYTE1_INTF_CLK 7
  23. #define DISP_CC_MDSS_DP_AUX_CLK 8
  24. #define DISP_CC_MDSS_DP_AUX_CLK_SRC 9
  25. #define DISP_CC_MDSS_DP_CRYPTO_CLK 10
  26. #define DISP_CC_MDSS_DP_CRYPTO_CLK_SRC 11
  27. #define DISP_CC_MDSS_DP_LINK_CLK 12
  28. #define DISP_CC_MDSS_DP_LINK_CLK_SRC 13
  29. #define DISP_CC_MDSS_DP_LINK_INTF_CLK 14
  30. #define DISP_CC_MDSS_DP_PIXEL1_CLK 15
  31. #define DISP_CC_MDSS_DP_PIXEL1_CLK_SRC 16
  32. #define DISP_CC_MDSS_DP_PIXEL_CLK 17
  33. #define DISP_CC_MDSS_DP_PIXEL_CLK_SRC 18
  34. #define DISP_CC_MDSS_ESC0_CLK 19
  35. #define DISP_CC_MDSS_ESC0_CLK_SRC 20
  36. #define DISP_CC_MDSS_ESC1_CLK 21
  37. #define DISP_CC_MDSS_ESC1_CLK_SRC 22
  38. #define DISP_CC_MDSS_MDP_CLK 23
  39. #define DISP_CC_MDSS_MDP_CLK_SRC 24
  40. #define DISP_CC_MDSS_MDP_LUT_CLK 25
  41. #define DISP_CC_MDSS_PCLK0_CLK 26
  42. #define DISP_CC_MDSS_PCLK0_CLK_SRC 27
  43. #define DISP_CC_MDSS_PCLK1_CLK 28
  44. #define DISP_CC_MDSS_PCLK1_CLK_SRC 29
  45. #define DISP_CC_MDSS_QDSS_AT_CLK 30
  46. #define DISP_CC_MDSS_QDSS_TSCTR_DIV8_CLK 31
  47. #define DISP_CC_MDSS_ROT_CLK 32
  48. #define DISP_CC_MDSS_ROT_CLK_SRC 33
  49. #define DISP_CC_MDSS_RSCC_AHB_CLK 34
  50. #define DISP_CC_MDSS_RSCC_VSYNC_CLK 35
  51. #define DISP_CC_MDSS_VSYNC_CLK 36
  52. #define DISP_CC_MDSS_VSYNC_CLK_SRC 37
  53. #define DISP_CC_PLL0 38
  54. #define DISP_CC_MDSS_BYTE0_DIV_CLK_SRC 39
  55. #define DISP_CC_MDSS_BYTE1_DIV_CLK_SRC 40
  56. #define DISP_CC_MDSS_RSCC_BCR 0
  57. #endif