162306a36Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved. 462306a36Sopenharmony_ci */ 562306a36Sopenharmony_ci 662306a36Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SM8450_H 762306a36Sopenharmony_ci#define _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SM8450_H 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci/* VIDEO_CC clocks */ 1062306a36Sopenharmony_ci#define VIDEO_CC_MVS0_CLK 0 1162306a36Sopenharmony_ci#define VIDEO_CC_MVS0_CLK_SRC 1 1262306a36Sopenharmony_ci#define VIDEO_CC_MVS0_DIV_CLK_SRC 2 1362306a36Sopenharmony_ci#define VIDEO_CC_MVS0C_CLK 3 1462306a36Sopenharmony_ci#define VIDEO_CC_MVS0C_DIV2_DIV_CLK_SRC 4 1562306a36Sopenharmony_ci#define VIDEO_CC_MVS1_CLK 5 1662306a36Sopenharmony_ci#define VIDEO_CC_MVS1_CLK_SRC 6 1762306a36Sopenharmony_ci#define VIDEO_CC_MVS1_DIV_CLK_SRC 7 1862306a36Sopenharmony_ci#define VIDEO_CC_MVS1C_CLK 8 1962306a36Sopenharmony_ci#define VIDEO_CC_MVS1C_DIV2_DIV_CLK_SRC 9 2062306a36Sopenharmony_ci#define VIDEO_CC_PLL0 10 2162306a36Sopenharmony_ci#define VIDEO_CC_PLL1 11 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ci/* VIDEO_CC power domains */ 2462306a36Sopenharmony_ci#define VIDEO_CC_MVS0C_GDSC 0 2562306a36Sopenharmony_ci#define VIDEO_CC_MVS0_GDSC 1 2662306a36Sopenharmony_ci#define VIDEO_CC_MVS1C_GDSC 2 2762306a36Sopenharmony_ci#define VIDEO_CC_MVS1_GDSC 3 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ci/* VIDEO_CC resets */ 3062306a36Sopenharmony_ci#define CVP_VIDEO_CC_INTERFACE_BCR 0 3162306a36Sopenharmony_ci#define CVP_VIDEO_CC_MVS0_BCR 1 3262306a36Sopenharmony_ci#define CVP_VIDEO_CC_MVS0C_BCR 2 3362306a36Sopenharmony_ci#define CVP_VIDEO_CC_MVS1_BCR 3 3462306a36Sopenharmony_ci#define CVP_VIDEO_CC_MVS1C_BCR 4 3562306a36Sopenharmony_ci#define VIDEO_CC_MVS0C_CLK_ARES 5 3662306a36Sopenharmony_ci#define VIDEO_CC_MVS1C_CLK_ARES 6 3762306a36Sopenharmony_ci 3862306a36Sopenharmony_ci#endif 39