xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/qcom,videocc-sm8150.h (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
16be33864SEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0-only */
26be33864SEmmanuel Vadot /*
36be33864SEmmanuel Vadot  * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
46be33864SEmmanuel Vadot  */
56be33864SEmmanuel Vadot 
66be33864SEmmanuel Vadot #ifndef _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SM8150_H
76be33864SEmmanuel Vadot #define _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SM8150_H
86be33864SEmmanuel Vadot 
96be33864SEmmanuel Vadot /* VIDEO_CC clocks */
106be33864SEmmanuel Vadot #define VIDEO_CC_IRIS_AHB_CLK		0
116be33864SEmmanuel Vadot #define VIDEO_CC_IRIS_CLK_SRC		1
126be33864SEmmanuel Vadot #define VIDEO_CC_MVS0_CORE_CLK		2
136be33864SEmmanuel Vadot #define VIDEO_CC_MVS1_CORE_CLK		3
146be33864SEmmanuel Vadot #define VIDEO_CC_MVSC_CORE_CLK		4
156be33864SEmmanuel Vadot #define VIDEO_CC_PLL0			5
166be33864SEmmanuel Vadot 
176be33864SEmmanuel Vadot /* VIDEO_CC Resets */
186be33864SEmmanuel Vadot #define VIDEO_CC_MVSC_CORE_CLK_BCR	0
19*8d13bc63SEmmanuel Vadot #define VIDEO_CC_INTERFACE_BCR		1
20*8d13bc63SEmmanuel Vadot #define VIDEO_CC_MVS0_BCR		2
21*8d13bc63SEmmanuel Vadot #define VIDEO_CC_MVS1_BCR		3
22*8d13bc63SEmmanuel Vadot #define VIDEO_CC_MVSC_BCR		4
236be33864SEmmanuel Vadot 
246be33864SEmmanuel Vadot /* VIDEO_CC GDSCRs */
256be33864SEmmanuel Vadot #define VENUS_GDSC			0
266be33864SEmmanuel Vadot #define VCODEC0_GDSC			1
276be33864SEmmanuel Vadot #define VCODEC1_GDSC			2
286be33864SEmmanuel Vadot 
296be33864SEmmanuel Vadot #endif
30