18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SM8250_H 78c2ecf20Sopenharmony_ci#define _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SM8250_H 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci/* VIDEO_CC clocks */ 108c2ecf20Sopenharmony_ci#define VIDEO_CC_MVS0_CLK_SRC 0 118c2ecf20Sopenharmony_ci#define VIDEO_CC_MVS0C_CLK 1 128c2ecf20Sopenharmony_ci#define VIDEO_CC_MVS0C_DIV2_DIV_CLK_SRC 2 138c2ecf20Sopenharmony_ci#define VIDEO_CC_MVS1_CLK_SRC 3 148c2ecf20Sopenharmony_ci#define VIDEO_CC_MVS1_DIV2_CLK 4 158c2ecf20Sopenharmony_ci#define VIDEO_CC_MVS1C_CLK 5 168c2ecf20Sopenharmony_ci#define VIDEO_CC_MVS1C_DIV2_DIV_CLK_SRC 6 178c2ecf20Sopenharmony_ci#define VIDEO_CC_PLL0 7 188c2ecf20Sopenharmony_ci#define VIDEO_CC_PLL1 8 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci/* VIDEO_CC resets */ 218c2ecf20Sopenharmony_ci#define VIDEO_CC_CVP_INTERFACE_BCR 0 228c2ecf20Sopenharmony_ci#define VIDEO_CC_CVP_MVS0_BCR 1 238c2ecf20Sopenharmony_ci#define VIDEO_CC_MVS0C_CLK_ARES 2 248c2ecf20Sopenharmony_ci#define VIDEO_CC_CVP_MVS0C_BCR 3 258c2ecf20Sopenharmony_ci#define VIDEO_CC_CVP_MVS1_BCR 4 268c2ecf20Sopenharmony_ci#define VIDEO_CC_MVS1C_CLK_ARES 5 278c2ecf20Sopenharmony_ci#define VIDEO_CC_CVP_MVS1C_BCR 6 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ci#define MVS0C_GDSC 0 308c2ecf20Sopenharmony_ci#define MVS1C_GDSC 1 318c2ecf20Sopenharmony_ci#define MVS0_GDSC 2 328c2ecf20Sopenharmony_ci#define MVS1_GDSC 3 338c2ecf20Sopenharmony_ci 348c2ecf20Sopenharmony_ci#endif 35