qcom,videocc-sdm845.h 934 B

123456789101112131415161718192021222324252627282930313233343536
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (c) 2018, The Linux Foundation. All rights reserved.
  4. */
  5. #ifndef _DT_BINDINGS_CLK_SDM_VIDEO_CC_SDM845_H
  6. #define _DT_BINDINGS_CLK_SDM_VIDEO_CC_SDM845_H
  7. /* VIDEO_CC clock registers */
  8. #define VIDEO_CC_APB_CLK 0
  9. #define VIDEO_CC_AT_CLK 1
  10. #define VIDEO_CC_QDSS_TRIG_CLK 2
  11. #define VIDEO_CC_QDSS_TSCTR_DIV8_CLK 3
  12. #define VIDEO_CC_VCODEC0_AXI_CLK 4
  13. #define VIDEO_CC_VCODEC0_CORE_CLK 5
  14. #define VIDEO_CC_VCODEC1_AXI_CLK 6
  15. #define VIDEO_CC_VCODEC1_CORE_CLK 7
  16. #define VIDEO_CC_VENUS_AHB_CLK 8
  17. #define VIDEO_CC_VENUS_CLK_SRC 9
  18. #define VIDEO_CC_VENUS_CTL_AXI_CLK 10
  19. #define VIDEO_CC_VENUS_CTL_CORE_CLK 11
  20. #define VIDEO_PLL0 12
  21. /* VIDEO_CC Resets */
  22. #define VIDEO_CC_VENUS_BCR 0
  23. #define VIDEO_CC_VCODEC0_BCR 1
  24. #define VIDEO_CC_VCODEC1_BCR 2
  25. #define VIDEO_CC_INTERFACE_BCR 3
  26. /* VIDEO_CC GDSCRs */
  27. #define VENUS_GDSC 0
  28. #define VCODEC0_GDSC 1
  29. #define VCODEC1_GDSC 2
  30. #endif