xref: /netbsd-src/sys/external/gpl2/dts/dist/include/dt-bindings/clock/qcom,videocc-sm8150.h (revision 58c3e048f5c2f43ee7e820013e37079f2e0b6ae5)
1 /*	$NetBSD: qcom,videocc-sm8150.h,v 1.1.1.1 2021/11/07 16:49:57 jmcneill Exp $	*/
2 
3 /* SPDX-License-Identifier: GPL-2.0-only */
4 /*
5  * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
6  */
7 
8 #ifndef _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SM8150_H
9 #define _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SM8150_H
10 
11 /* VIDEO_CC clocks */
12 #define VIDEO_CC_IRIS_AHB_CLK		0
13 #define VIDEO_CC_IRIS_CLK_SRC		1
14 #define VIDEO_CC_MVS0_CORE_CLK		2
15 #define VIDEO_CC_MVS1_CORE_CLK		3
16 #define VIDEO_CC_MVSC_CORE_CLK		4
17 #define VIDEO_CC_PLL0			5
18 
19 /* VIDEO_CC Resets */
20 #define VIDEO_CC_MVSC_CORE_CLK_BCR	0
21 
22 /* VIDEO_CC GDSCRs */
23 #define VENUS_GDSC			0
24 #define VCODEC0_GDSC			1
25 #define VCODEC1_GDSC			2
26 
27 #endif
28