162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (c) 2018, The Linux Foundation. All rights reserved.
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_SDM_VIDEO_CC_SDM845_H
762306a36Sopenharmony_ci#define _DT_BINDINGS_CLK_SDM_VIDEO_CC_SDM845_H
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci/* VIDEO_CC clock registers */
1062306a36Sopenharmony_ci#define VIDEO_CC_APB_CLK		0
1162306a36Sopenharmony_ci#define VIDEO_CC_AT_CLK			1
1262306a36Sopenharmony_ci#define VIDEO_CC_QDSS_TRIG_CLK		2
1362306a36Sopenharmony_ci#define VIDEO_CC_QDSS_TSCTR_DIV8_CLK	3
1462306a36Sopenharmony_ci#define VIDEO_CC_VCODEC0_AXI_CLK	4
1562306a36Sopenharmony_ci#define VIDEO_CC_VCODEC0_CORE_CLK	5
1662306a36Sopenharmony_ci#define VIDEO_CC_VCODEC1_AXI_CLK	6
1762306a36Sopenharmony_ci#define VIDEO_CC_VCODEC1_CORE_CLK	7
1862306a36Sopenharmony_ci#define VIDEO_CC_VENUS_AHB_CLK		8
1962306a36Sopenharmony_ci#define VIDEO_CC_VENUS_CLK_SRC		9
2062306a36Sopenharmony_ci#define VIDEO_CC_VENUS_CTL_AXI_CLK	10
2162306a36Sopenharmony_ci#define VIDEO_CC_VENUS_CTL_CORE_CLK	11
2262306a36Sopenharmony_ci#define VIDEO_PLL0			12
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ci/* VIDEO_CC Resets */
2562306a36Sopenharmony_ci#define VIDEO_CC_VENUS_BCR		0
2662306a36Sopenharmony_ci#define VIDEO_CC_VCODEC0_BCR		1
2762306a36Sopenharmony_ci#define VIDEO_CC_VCODEC1_BCR		2
2862306a36Sopenharmony_ci#define VIDEO_CC_INTERFACE_BCR		3
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ci/* VIDEO_CC GDSCRs */
3162306a36Sopenharmony_ci#define VENUS_GDSC			0
3262306a36Sopenharmony_ci#define VCODEC0_GDSC			1
3362306a36Sopenharmony_ci#define VCODEC1_GDSC			2
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ci#endif
36