Home | History | Annotate | Line # | Download | only in clock
      1  1.1  jmcneill /*	$NetBSD: qcom,videocc-sdm845.h,v 1.1.1.1 2018/06/27 16:27:08 jmcneill Exp $	*/
      2  1.1  jmcneill 
      3  1.1  jmcneill /* SPDX-License-Identifier: GPL-2.0 */
      4  1.1  jmcneill /*
      5  1.1  jmcneill  * Copyright (c) 2018, The Linux Foundation. All rights reserved.
      6  1.1  jmcneill  */
      7  1.1  jmcneill 
      8  1.1  jmcneill #ifndef _DT_BINDINGS_CLK_SDM_VIDEO_CC_SDM845_H
      9  1.1  jmcneill #define _DT_BINDINGS_CLK_SDM_VIDEO_CC_SDM845_H
     10  1.1  jmcneill 
     11  1.1  jmcneill /* VIDEO_CC clock registers */
     12  1.1  jmcneill #define VIDEO_CC_APB_CLK		0
     13  1.1  jmcneill #define VIDEO_CC_AT_CLK			1
     14  1.1  jmcneill #define VIDEO_CC_QDSS_TRIG_CLK		2
     15  1.1  jmcneill #define VIDEO_CC_QDSS_TSCTR_DIV8_CLK	3
     16  1.1  jmcneill #define VIDEO_CC_VCODEC0_AXI_CLK	4
     17  1.1  jmcneill #define VIDEO_CC_VCODEC0_CORE_CLK	5
     18  1.1  jmcneill #define VIDEO_CC_VCODEC1_AXI_CLK	6
     19  1.1  jmcneill #define VIDEO_CC_VCODEC1_CORE_CLK	7
     20  1.1  jmcneill #define VIDEO_CC_VENUS_AHB_CLK		8
     21  1.1  jmcneill #define VIDEO_CC_VENUS_CLK_SRC		9
     22  1.1  jmcneill #define VIDEO_CC_VENUS_CTL_AXI_CLK	10
     23  1.1  jmcneill #define VIDEO_CC_VENUS_CTL_CORE_CLK	11
     24  1.1  jmcneill #define VIDEO_PLL0			12
     25  1.1  jmcneill 
     26  1.1  jmcneill /* VIDEO_CC Resets */
     27  1.1  jmcneill #define VIDEO_CC_VENUS_BCR		0
     28  1.1  jmcneill #define VIDEO_CC_VCODEC0_BCR		1
     29  1.1  jmcneill #define VIDEO_CC_VCODEC1_BCR		2
     30  1.1  jmcneill #define VIDEO_CC_INTERFACE_BCR		3
     31  1.1  jmcneill 
     32  1.1  jmcneill /* VIDEO_CC GDSCRs */
     33  1.1  jmcneill #define VENUS_GDSC			0
     34  1.1  jmcneill #define VCODEC0_GDSC			1
     35  1.1  jmcneill #define VCODEC1_GDSC			2
     36  1.1  jmcneill 
     37  1.1  jmcneill #endif
     38