xref: /linux/include/dt-bindings/clock/qcom,videocc-sm8150.h (revision be239684b18e1cdcafcf8c7face4a2f562c745ad)
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 #define VIDEO_CC_INTERFACE_BCR		1
20 #define VIDEO_CC_MVS0_BCR		2
21 #define VIDEO_CC_MVS1_BCR		3
22 #define VIDEO_CC_MVSC_BCR		4
23 
24 /* VIDEO_CC GDSCRs */
25 #define VENUS_GDSC			0
26 #define VCODEC0_GDSC			1
27 #define VCODEC1_GDSC			2
28 
29 #endif
30