xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/qcom,videocc-sm8150.h (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
4  */
5 
6 #ifndef _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SM8150_H
7 #define _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SM8150_H
8 
9 /* VIDEO_CC clocks */
10 #define VIDEO_CC_IRIS_AHB_CLK		0
11 #define VIDEO_CC_IRIS_CLK_SRC		1
12 #define VIDEO_CC_MVS0_CORE_CLK		2
13 #define VIDEO_CC_MVS1_CORE_CLK		3
14 #define VIDEO_CC_MVSC_CORE_CLK		4
15 #define VIDEO_CC_PLL0			5
16 
17 /* VIDEO_CC Resets */
18 #define VIDEO_CC_MVSC_CORE_CLK_BCR	0
19 
20 /* VIDEO_CC GDSCRs */
21 #define VENUS_GDSC			0
22 #define VCODEC0_GDSC			1
23 #define VCODEC1_GDSC			2
24 
25 #endif
26