18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (c) 2018, The Linux Foundation. All rights reserved. 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_SDM_VIDEO_CC_SDM845_H 78c2ecf20Sopenharmony_ci#define _DT_BINDINGS_CLK_SDM_VIDEO_CC_SDM845_H 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci/* VIDEO_CC clock registers */ 108c2ecf20Sopenharmony_ci#define VIDEO_CC_APB_CLK 0 118c2ecf20Sopenharmony_ci#define VIDEO_CC_AT_CLK 1 128c2ecf20Sopenharmony_ci#define VIDEO_CC_QDSS_TRIG_CLK 2 138c2ecf20Sopenharmony_ci#define VIDEO_CC_QDSS_TSCTR_DIV8_CLK 3 148c2ecf20Sopenharmony_ci#define VIDEO_CC_VCODEC0_AXI_CLK 4 158c2ecf20Sopenharmony_ci#define VIDEO_CC_VCODEC0_CORE_CLK 5 168c2ecf20Sopenharmony_ci#define VIDEO_CC_VCODEC1_AXI_CLK 6 178c2ecf20Sopenharmony_ci#define VIDEO_CC_VCODEC1_CORE_CLK 7 188c2ecf20Sopenharmony_ci#define VIDEO_CC_VENUS_AHB_CLK 8 198c2ecf20Sopenharmony_ci#define VIDEO_CC_VENUS_CLK_SRC 9 208c2ecf20Sopenharmony_ci#define VIDEO_CC_VENUS_CTL_AXI_CLK 10 218c2ecf20Sopenharmony_ci#define VIDEO_CC_VENUS_CTL_CORE_CLK 11 228c2ecf20Sopenharmony_ci#define VIDEO_PLL0 12 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ci/* VIDEO_CC Resets */ 258c2ecf20Sopenharmony_ci#define VIDEO_CC_VENUS_BCR 0 268c2ecf20Sopenharmony_ci#define VIDEO_CC_VCODEC0_BCR 1 278c2ecf20Sopenharmony_ci#define VIDEO_CC_VCODEC1_BCR 2 288c2ecf20Sopenharmony_ci#define VIDEO_CC_INTERFACE_BCR 3 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ci/* VIDEO_CC GDSCRs */ 318c2ecf20Sopenharmony_ci#define VENUS_GDSC 0 328c2ecf20Sopenharmony_ci#define VCODEC0_GDSC 1 338c2ecf20Sopenharmony_ci#define VCODEC1_GDSC 2 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ci#endif 36