162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. 462306a36Sopenharmony_ci */ 562306a36Sopenharmony_ci 662306a36Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SM8250_H 762306a36Sopenharmony_ci#define _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SM8250_H 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci/* VIDEO_CC clocks */ 1062306a36Sopenharmony_ci#define VIDEO_CC_MVS0_CLK_SRC 0 1162306a36Sopenharmony_ci#define VIDEO_CC_MVS0C_CLK 1 1262306a36Sopenharmony_ci#define VIDEO_CC_MVS0C_DIV2_DIV_CLK_SRC 2 1362306a36Sopenharmony_ci#define VIDEO_CC_MVS1_CLK_SRC 3 1462306a36Sopenharmony_ci#define VIDEO_CC_MVS1_DIV2_CLK 4 1562306a36Sopenharmony_ci#define VIDEO_CC_MVS1C_CLK 5 1662306a36Sopenharmony_ci#define VIDEO_CC_MVS1C_DIV2_DIV_CLK_SRC 6 1762306a36Sopenharmony_ci#define VIDEO_CC_PLL0 7 1862306a36Sopenharmony_ci#define VIDEO_CC_PLL1 8 1962306a36Sopenharmony_ci#define VIDEO_CC_MVS0_DIV_CLK_SRC 9 2062306a36Sopenharmony_ci#define VIDEO_CC_MVS0_CLK 10 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci/* VIDEO_CC resets */ 2362306a36Sopenharmony_ci#define VIDEO_CC_CVP_INTERFACE_BCR 0 2462306a36Sopenharmony_ci#define VIDEO_CC_CVP_MVS0_BCR 1 2562306a36Sopenharmony_ci#define VIDEO_CC_MVS0C_CLK_ARES 2 2662306a36Sopenharmony_ci#define VIDEO_CC_CVP_MVS0C_BCR 3 2762306a36Sopenharmony_ci#define VIDEO_CC_CVP_MVS1_BCR 4 2862306a36Sopenharmony_ci#define VIDEO_CC_MVS1C_CLK_ARES 5 2962306a36Sopenharmony_ci#define VIDEO_CC_CVP_MVS1C_BCR 6 3062306a36Sopenharmony_ci 3162306a36Sopenharmony_ci#define MVS0C_GDSC 0 3262306a36Sopenharmony_ci#define MVS1C_GDSC 1 3362306a36Sopenharmony_ci#define MVS0_GDSC 2 3462306a36Sopenharmony_ci#define MVS1_GDSC 3 3562306a36Sopenharmony_ci 3662306a36Sopenharmony_ci#endif 37