GNU Linux-libre 6.9.1-gnu
[releases.git] / include / dt-bindings / clock / qcom,videocc-sm8250.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
4  */
5
6 #ifndef _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SM8250_H
7 #define _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SM8250_H
8
9 /* VIDEO_CC clocks */
10 #define VIDEO_CC_MVS0_CLK_SRC           0
11 #define VIDEO_CC_MVS0C_CLK              1
12 #define VIDEO_CC_MVS0C_DIV2_DIV_CLK_SRC 2
13 #define VIDEO_CC_MVS1_CLK_SRC           3
14 #define VIDEO_CC_MVS1_DIV2_CLK          4
15 #define VIDEO_CC_MVS1C_CLK              5
16 #define VIDEO_CC_MVS1C_DIV2_DIV_CLK_SRC 6
17 #define VIDEO_CC_PLL0                   7
18 #define VIDEO_CC_PLL1                   8
19 #define VIDEO_CC_MVS0_DIV_CLK_SRC       9
20 #define VIDEO_CC_MVS0_CLK               10
21
22 /* VIDEO_CC resets */
23 #define VIDEO_CC_CVP_INTERFACE_BCR      0
24 #define VIDEO_CC_CVP_MVS0_BCR           1
25 #define VIDEO_CC_MVS0C_CLK_ARES         2
26 #define VIDEO_CC_CVP_MVS0C_BCR          3
27 #define VIDEO_CC_CVP_MVS1_BCR           4
28 #define VIDEO_CC_MVS1C_CLK_ARES         5
29 #define VIDEO_CC_CVP_MVS1C_BCR          6
30
31 #define MVS0C_GDSC                      0
32 #define MVS1C_GDSC                      1
33 #define MVS0_GDSC                       2
34 #define MVS1_GDSC                       3
35
36 #endif