Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2da3b190 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Add dummy clocks and GDSC support for ATOLL"

parents b6db1226 fecb6c74
Loading
Loading
Loading
Loading
+162 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

&soc {
	/* GDSCs in Global CC */
	ufs_phy_gdsc: qcom,gdsc@177004 {
		compatible = "regulator-fixed";
		regulator-name = "ufs_phy_gdsc";
		reg = <0x177004 0x4>;
		qcom,poll-cfg-gdscr;
		status = "disabled";
	};

	usb30_prim_gdsc: qcom,gdsc@10f004 {
		compatible = "regulator-fixed";
		regulator-name = "usb30_prim_gdsc";
		reg = <0x10f004 0x4>;
		qcom,poll-cfg-gdscr;
		status = "disabled";
	};

	hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc: qcom,gdsc@17d040 {
		compatible = "regulator-fixed";
		regulator-name = "hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc";
		reg = <0x17d040 0x4>;
		qcom,no-status-check-on-disable;
		qcom,gds-timeout = <500>;
		status = "disabled";
	};

	hlos1_vote_mmnoc_mmu_tbu_sf_gdsc: qcom,gdsc@17d044 {
		compatible = "regulator-fixed";
		regulator-name = "hlos1_vote_mmnoc_mmu_tbu_sf_gdsc";
		reg = <0x17d044 0x4>;
		qcom,no-status-check-on-disable;
		qcom,gds-timeout = <500>;
		status = "disabled";
	};

	/* GDSCs in Camera CC */
	bps_gdsc: qcom,gdsc@ad06004 {
		compatible = "regulator-fixed";
		regulator-name = "bps_gdsc";
		reg = <0xad06004 0x4>;
		qcom,poll-cfg-gdscr;
		status = "disabled";
	};

	ipe_0_gdsc: qcom,gdsc@ad07004 {
		compatible = "regulator-fixed";
		regulator-name = "ipe_0_gdsc";
		reg = <0xad07004 0x4>;
		qcom,poll-cfg-gdscr;
		status = "disabled";
	};

	ife_0_gdsc: qcom,gdsc@ad09004 {
		compatible = "regulator-fixed";
		regulator-name = "ife_0_gdsc";
		reg = <0xad09004 0x4>;
		qcom,poll-cfg-gdscr;
		status = "disabled";
	};

	ife_1_gdsc: qcom,gdsc@ad0a004 {
		compatible = "regulator-fixed";
		regulator-name = "ife_1_gdsc";
		reg = <0xad0a004 0x4>;
		qcom,poll-cfg-gdscr;
		status = "disabled";
	};

	titan_top_gdsc: qcom,gdsc@ad0b134 {
		compatible = "regulator-fixed";
		regulator-name = "titan_top_gdsc";
		reg = <0xad0b134 0x4>;
		qcom,poll-cfg-gdscr;
		status = "disabled";
	};

	/* GDSCs in Display CC */
	mdss_core_gdsc: qcom,gdsc@af03000 {
		compatible = "regulator-fixed";
		regulator-name = "mdss_core_gdsc";
		reg = <0xaf03000 0x4>;
		qcom,poll-cfg-gdscr;
		qcom,support-hw-trigger;
		status = "disabled";
		proxy-supply = <&mdss_core_gdsc>;
		qcom,proxy-consumer-enable;
	};

	/* GDSCs in Graphics CC */
	gpu_cx_hw_ctrl: syscon@5091540 {
		compatible = "syscon";
		reg = <0x5091540 0x4>;
	};

	gpu_gx_domain_addr: syscon@5091508 {
		compatible = "syscon";
		reg = <0x5091508 0x4>;
	};

	gpu_gx_sw_reset: syscon@5091008 {
		compatible = "syscon";
		reg = <0x5091008 0x4>;
	};

	gpu_cx_gdsc: qcom,gdsc@509106c {
		compatible = "regulator-fixed";
		regulator-name = "gpu_cx_gdsc";
		reg = <0x509106c 0x4>;
		hw-ctrl-addr = <&gpu_cx_hw_ctrl>;
		qcom,no-status-check-on-disable;
		qcom,gds-timeout = <500>;
		qcom,clk-dis-wait-val = <8>;
		status = "disabled";
	};

	gpu_gx_gdsc: qcom,gdsc@509100c {
		compatible = "regulator-fixed";
		regulator-name = "gpu_gx_gdsc";
		reg = <0x509100c 0x4>;
		qcom,poll-cfg-gdscr;
		domain-addr = <&gpu_gx_domain_addr>;
		sw-reset = <&gpu_gx_sw_reset>;
		status = "disabled";
	};

	/* GDSCs in Video CC */
	vcodec0_gdsc: qcom,gdsc@ab00874 {
		compatible = "regulator-fixed";
		regulator-name = "vcodec0_gdsc";
		reg = <0xab00874 0x4>;
		status = "disabled";
	};

	venus_gdsc: qcom,gdsc@ab00814 {
		compatible = "regulator-fixed";
		regulator-name = "venus_gdsc";
		reg = <0xab00814 0x4>;
		status = "disabled";
	};

	/* GDSCs in NPU CC */
	npu_core_gdsc: qcom,gdsc@9981004 {
		compatible = "regulator-fixed";
		regulator-name = "npu_core_gdsc";
		reg = <0x9981004 0x4>;
		status = "disabled";
	};
};
+123 −0
Original line number Diff line number Diff line
@@ -11,6 +11,14 @@
 */

#include "skeleton64.dtsi"
#include <dt-bindings/clock/qcom,aop-qmp.h>
#include <dt-bindings/clock/qcom,camcc-atoll.h>
#include <dt-bindings/clock/qcom,dispcc-atoll.h>
#include <dt-bindings/clock/qcom,gcc-atoll.h>
#include <dt-bindings/clock/qcom,gpucc-atoll.h>
#include <dt-bindings/clock/qcom,npucc-atoll.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,videocc-atoll.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

/ {
@@ -726,6 +734,121 @@
		};
	};

	clock_rpmh: qcom,rpmh {
		compatible = "qcom,dummycc";
		clock-output-names = "rpm_clocks";
		#clock-cells = <1>;
	};

	clock_aop: qcom,aopclk {
		compatible = "qcom,dummycc";
		clock-output-names = "aop_clocks";
		#clock-cells = <1>;
	};

	clock_gcc: qcom,gcc {
		compatible = "qcom,dummycc";
		clock-output-names = "gcc_clocks";
		#clock-cells = <1>;
		#reset-cells = <1>;
	};

	clock_camcc: qcom,camcc {
		compatible = "qcom,dummycc";
		clock-output-names = "camcc_clocks";
		#clock-cells = <1>;
		#reset-cells = <1>;
	};

	clock_dispcc: qcom,dispcc {
		compatible = "qcom,dummycc";
		clock-output-names = "dispcc_clocks";
		#clock-cells = <1>;
		#reset-cells = <1>;
	};

	clock_gpucc: qcom,gpucc {
		compatible = "qcom,dummycc";
		clock-output-names = "gpucc_clocks";
		#clock-cells = <1>;
		#reset-cells = <1>;
	};

	clock_npucc: qcom,npucc {
		compatible = "qcom,dummycc";
		clock-output-names = "npucc_clocks";
		#clock-cells = <1>;
		#reset-cells = <1>;
	};

	clock_videocc: qcom,videocc {
		compatible = "qcom,dummycc";
		clock-output-names = "videocc_clocks";
		#clock-cells = <1>;
		#reset-cells = <1>;
	};
};

#include "atoll-gdsc.dtsi"

&ufs_phy_gdsc {
	status = "ok";
};

&usb30_prim_gdsc {
	status = "ok";
};

&hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc {
	status = "ok";
};

&hlos1_vote_mmnoc_mmu_tbu_sf_gdsc {
	status = "ok";
};

&bps_gdsc {
	status = "ok";
};

&ipe_0_gdsc {
	status = "ok";
};

&ife_0_gdsc {
	status = "ok";
};

&ife_1_gdsc {
	status = "ok";
};

&titan_top_gdsc {
	status = "ok";
};

&mdss_core_gdsc {
	status = "ok";
};

&gpu_cx_gdsc {
	status = "ok";
};

&gpu_gx_gdsc {
	status = "ok";
};

&vcodec0_gdsc {
	status = "ok";
};

&venus_gdsc {
	status = "ok";
};

&npu_core_gdsc {
	status = "ok";
};

#include "atoll-pinctrl.dtsi"
+100 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#ifndef _DT_BINDINGS_CLK_QCOM_CAM_CC_ATOLL_H
#define _DT_BINDINGS_CLK_QCOM_CAM_CC_ATOLL_H

/* CAM_CC clocks */
#define CAM_CC_PLL0						0
#define CAM_CC_PLL0_OUT_EVEN					1
#define CAM_CC_PLL1						2
#define CAM_CC_PLL1_OUT_EVEN					3
#define CAM_CC_PLL2						4
#define CAM_CC_PLL2_OUT_AUX					5
#define CAM_CC_PLL3						6
#define CAM_CC_BPS_AHB_CLK					7
#define CAM_CC_BPS_AREG_CLK					8
#define CAM_CC_BPS_AXI_CLK					9
#define CAM_CC_BPS_CLK						10
#define CAM_CC_BPS_CLK_SRC					11
#define CAM_CC_CAMNOC_ATB_CLK					12
#define CAM_CC_CAMNOC_AXI_CLK					13
#define CAM_CC_CCI_0_CLK					14
#define CAM_CC_CCI_0_CLK_SRC					15
#define CAM_CC_CCI_1_CLK					16
#define CAM_CC_CCI_1_CLK_SRC					17
#define CAM_CC_CORE_AHB_CLK					18
#define CAM_CC_CPAS_AHB_CLK					19
#define CAM_CC_CPHY_RX_CLK_SRC					20
#define CAM_CC_CSI0PHYTIMER_CLK					21
#define CAM_CC_CSI0PHYTIMER_CLK_SRC				22
#define CAM_CC_CSI1PHYTIMER_CLK					23
#define CAM_CC_CSI1PHYTIMER_CLK_SRC				24
#define CAM_CC_CSI2PHYTIMER_CLK					25
#define CAM_CC_CSI2PHYTIMER_CLK_SRC				26
#define CAM_CC_CSI3PHYTIMER_CLK					27
#define CAM_CC_CSI3PHYTIMER_CLK_SRC				28
#define CAM_CC_CSIPHY0_CLK					29
#define CAM_CC_CSIPHY1_CLK					30
#define CAM_CC_CSIPHY2_CLK					31
#define CAM_CC_CSIPHY3_CLK					32
#define CAM_CC_FAST_AHB_CLK_SRC					33
#define CAM_CC_ICP_APB_CLK					34
#define CAM_CC_ICP_ATB_CLK					35
#define CAM_CC_ICP_CLK						36
#define CAM_CC_ICP_CLK_SRC					37
#define CAM_CC_ICP_CTI_CLK					38
#define CAM_CC_ICP_TS_CLK					39
#define CAM_CC_IFE_0_AXI_CLK					40
#define CAM_CC_IFE_0_CLK					41
#define CAM_CC_IFE_0_CLK_SRC					42
#define CAM_CC_IFE_0_CPHY_RX_CLK				43
#define CAM_CC_IFE_0_CSID_CLK					44
#define CAM_CC_IFE_0_CSID_CLK_SRC				45
#define CAM_CC_IFE_0_DSP_CLK					46
#define CAM_CC_IFE_1_AXI_CLK					47
#define CAM_CC_IFE_1_CLK					48
#define CAM_CC_IFE_1_CLK_SRC					49
#define CAM_CC_IFE_1_CPHY_RX_CLK				50
#define CAM_CC_IFE_1_CSID_CLK					51
#define CAM_CC_IFE_1_CSID_CLK_SRC				52
#define CAM_CC_IFE_1_DSP_CLK					53
#define CAM_CC_IFE_LITE_CLK					54
#define CAM_CC_IFE_LITE_CLK_SRC					55
#define CAM_CC_IFE_LITE_CPHY_RX_CLK				56
#define CAM_CC_IFE_LITE_CSID_CLK				57
#define CAM_CC_IFE_LITE_CSID_CLK_SRC				58
#define CAM_CC_IPE_0_AHB_CLK					59
#define CAM_CC_IPE_0_AREG_CLK					60
#define CAM_CC_IPE_0_AXI_CLK					61
#define CAM_CC_IPE_0_CLK					62
#define CAM_CC_IPE_0_CLK_SRC					63
#define CAM_CC_JPEG_CLK						64
#define CAM_CC_JPEG_CLK_SRC					65
#define CAM_CC_LRME_CLK						66
#define CAM_CC_LRME_CLK_SRC					67
#define CAM_CC_MCLK0_CLK					68
#define CAM_CC_MCLK0_CLK_SRC					69
#define CAM_CC_MCLK1_CLK					70
#define CAM_CC_MCLK1_CLK_SRC					71
#define CAM_CC_MCLK2_CLK					72
#define CAM_CC_MCLK2_CLK_SRC					73
#define CAM_CC_MCLK3_CLK					74
#define CAM_CC_MCLK3_CLK_SRC					75
#define CAM_CC_MCLK4_CLK					76
#define CAM_CC_MCLK4_CLK_SRC					77
#define CAM_CC_SLOW_AHB_CLK_SRC					78
#define CAM_CC_SOC_AHB_CLK					79
#define CAM_CC_SYS_TMR_CLK					80

#endif
+53 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#ifndef _DT_BINDINGS_CLK_QCOM_DISP_CC_ATOLL_H
#define _DT_BINDINGS_CLK_QCOM_DISP_CC_ATOLL_H

#define DISP_CC_PLL0						0
#define DISP_CC_MDSS_AHB_CLK					1
#define DISP_CC_MDSS_AHB_CLK_SRC				2
#define DISP_CC_MDSS_BYTE0_CLK					3
#define DISP_CC_MDSS_BYTE0_CLK_SRC				4
#define DISP_CC_MDSS_BYTE0_DIV_CLK_SRC				5
#define DISP_CC_MDSS_BYTE0_INTF_CLK				6
#define DISP_CC_MDSS_DP_AUX_CLK					7
#define DISP_CC_MDSS_DP_AUX_CLK_SRC				8
#define DISP_CC_MDSS_DP_CRYPTO_CLK				9
#define DISP_CC_MDSS_DP_CRYPTO_CLK_SRC				10
#define DISP_CC_MDSS_DP_LINK_CLK				11
#define DISP_CC_MDSS_DP_LINK_CLK_SRC				12
#define DISP_CC_MDSS_DP_LINK_DIV_CLK_SRC			13
#define DISP_CC_MDSS_DP_LINK_INTF_CLK				14
#define DISP_CC_MDSS_DP_PIXEL_CLK				15
#define DISP_CC_MDSS_DP_PIXEL_CLK_SRC				16
#define DISP_CC_MDSS_ESC0_CLK					17
#define DISP_CC_MDSS_ESC0_CLK_SRC				18
#define DISP_CC_MDSS_MDP_CLK					19
#define DISP_CC_MDSS_MDP_CLK_SRC				20
#define DISP_CC_MDSS_MDP_LUT_CLK				21
#define DISP_CC_MDSS_NON_GDSC_AHB_CLK				22
#define DISP_CC_MDSS_PCLK0_CLK					23
#define DISP_CC_MDSS_PCLK0_CLK_SRC				24
#define DISP_CC_MDSS_ROT_CLK					25
#define DISP_CC_MDSS_ROT_CLK_SRC				26
#define DISP_CC_MDSS_RSCC_AHB_CLK				27
#define DISP_CC_MDSS_RSCC_VSYNC_CLK				28
#define DISP_CC_MDSS_VSYNC_CLK					29
#define DISP_CC_MDSS_VSYNC_CLK_SRC				30
#define DISP_CC_SLEEP_CLK					31
#define DISP_CC_SLEEP_CLK_SRC					32
#define DISP_CC_XO_CLK						33
#define DISP_CC_XO_CLK_SRC					34

#endif
+178 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#ifndef _DT_BINDINGS_CLK_QCOM_GCC_ATOLL_H
#define _DT_BINDINGS_CLK_QCOM_GCC_ATOLL_H

/* Dummy clocks for rate measurement */
#define MEASURE_ONLY_BIMC_CLK					0
#define MEASURE_ONLY_CNOC_CLK					1
#define MEASURE_ONLY_IPA_2X_CLK					2
#define MEASURE_ONLY_SNOC_CLK					3

/* GCC clocks */
#define GPLL0							4
#define GPLL0_OUT_EVEN						5
#define GPLL6							6
#define GPLL7							7
#define GCC_AGGRE_UFS_PHY_AXI_CLK				8
#define GCC_AGGRE_UFS_PHY_AXI_HW_CTL_CLK			9
#define GCC_AGGRE_USB3_PRIM_AXI_CLK				10
#define GCC_BOOT_ROM_AHB_CLK					11
#define GCC_CAMERA_AHB_CLK					12
#define GCC_CAMERA_HF_AXI_CLK					13
#define GCC_CAMERA_THROTTLE_HF_AXI_CLK				14
#define GCC_CAMERA_XO_CLK					15
#define GCC_CE1_AHB_CLK						16
#define GCC_CE1_AXI_CLK						17
#define GCC_CE1_CLK						18
#define GCC_CFG_NOC_USB3_PRIM_AXI_CLK				19
#define GCC_CPUSS_AHB_CLK					20
#define GCC_CPUSS_AHB_CLK_SRC					21
#define GCC_CPUSS_AHB_POSTDIV_CLK_SRC				22
#define GCC_CPUSS_GNOC_CLK					23
#define GCC_CPUSS_RBCPR_CLK					24
#define GCC_DDRSS_GPU_AXI_CLK					25
#define GCC_DISP_AHB_CLK					26
#define GCC_DISP_GPLL0_CLK_SRC					27
#define GCC_DISP_GPLL0_DIV_CLK_SRC				28
#define GCC_DISP_HF_AXI_CLK					29
#define GCC_DISP_THROTTLE_HF_AXI_CLK				30
#define GCC_DISP_XO_CLK						31
#define GCC_GP1_CLK						32
#define GCC_GP1_CLK_SRC						33
#define GCC_GP2_CLK						34
#define GCC_GP2_CLK_SRC						35
#define GCC_GP3_CLK						36
#define GCC_GP3_CLK_SRC						37
#define GCC_GPU_CFG_AHB_CLK					38
#define GCC_GPU_GPLL0_CLK_SRC					39
#define GCC_GPU_GPLL0_DIV_CLK_SRC				40
#define GCC_GPU_MEMNOC_GFX_CLK					41
#define GCC_GPU_SNOC_DVM_GFX_CLK				42
#define GCC_NPU_AXI_CLK						43
#define GCC_NPU_BWMON_AXI_CLK					44
#define GCC_NPU_BWMON_DMA_CFG_AHB_CLK				45
#define GCC_NPU_BWMON_DSP_CFG_AHB_CLK				46
#define GCC_NPU_CFG_AHB_CLK					47
#define GCC_NPU_DMA_CLK						48
#define GCC_NPU_GPLL0_CLK_SRC					49
#define GCC_NPU_GPLL0_DIV_CLK_SRC				50
#define GCC_PDM2_CLK						51
#define GCC_PDM2_CLK_SRC					52
#define GCC_PDM_AHB_CLK						53
#define GCC_PDM_XO4_CLK						54
#define GCC_PRNG_AHB_CLK					55
#define GCC_QSPI_CNOC_PERIPH_AHB_CLK				56
#define GCC_QSPI_CORE_CLK					57
#define GCC_QSPI_CORE_CLK_SRC					58
#define GCC_QUPV3_WRAP0_CORE_2X_CLK				59
#define GCC_QUPV3_WRAP0_CORE_CLK				60
#define GCC_QUPV3_WRAP0_S0_CLK					61
#define GCC_QUPV3_WRAP0_S0_CLK_SRC				62
#define GCC_QUPV3_WRAP0_S1_CLK					63
#define GCC_QUPV3_WRAP0_S1_CLK_SRC				64
#define GCC_QUPV3_WRAP0_S2_CLK					65
#define GCC_QUPV3_WRAP0_S2_CLK_SRC				66
#define GCC_QUPV3_WRAP0_S3_CLK					67
#define GCC_QUPV3_WRAP0_S3_CLK_SRC				68
#define GCC_QUPV3_WRAP0_S4_CLK					69
#define GCC_QUPV3_WRAP0_S4_CLK_SRC				70
#define GCC_QUPV3_WRAP0_S5_CLK					71
#define GCC_QUPV3_WRAP0_S5_CLK_SRC				72
#define GCC_QUPV3_WRAP1_CORE_2X_CLK				73
#define GCC_QUPV3_WRAP1_CORE_CLK				74
#define GCC_QUPV3_WRAP1_S0_CLK					75
#define GCC_QUPV3_WRAP1_S0_CLK_SRC				76
#define GCC_QUPV3_WRAP1_S1_CLK					77
#define GCC_QUPV3_WRAP1_S1_CLK_SRC				78
#define GCC_QUPV3_WRAP1_S2_CLK					79
#define GCC_QUPV3_WRAP1_S2_CLK_SRC				80
#define GCC_QUPV3_WRAP1_S3_CLK					81
#define GCC_QUPV3_WRAP1_S3_CLK_SRC				82
#define GCC_QUPV3_WRAP1_S4_CLK					83
#define GCC_QUPV3_WRAP1_S4_CLK_SRC				84
#define GCC_QUPV3_WRAP1_S5_CLK					85
#define GCC_QUPV3_WRAP1_S5_CLK_SRC				86
#define GCC_QUPV3_WRAP_0_M_AHB_CLK				87
#define GCC_QUPV3_WRAP_0_S_AHB_CLK				88
#define GCC_QUPV3_WRAP_1_M_AHB_CLK				89
#define GCC_QUPV3_WRAP_1_S_AHB_CLK				90
#define GCC_SDCC1_AHB_CLK					91
#define GCC_SDCC1_APPS_CLK					92
#define GCC_SDCC1_APPS_CLK_SRC					93
#define GCC_SDCC1_ICE_CORE_CLK					94
#define GCC_SDCC1_ICE_CORE_CLK_SRC				95
#define GCC_SDCC2_AHB_CLK					96
#define GCC_SDCC2_APPS_CLK					97
#define GCC_SDCC2_APPS_CLK_SRC					98
#define GCC_SYS_NOC_CPUSS_AHB_CLK				99
#define GCC_UFS_MEM_CLKREF_CLK					100
#define GCC_UFS_PHY_AHB_CLK					101
#define GCC_UFS_PHY_AXI_CLK					102
#define GCC_UFS_PHY_AXI_CLK_SRC					103
#define GCC_UFS_PHY_AXI_HW_CTL_CLK				104
#define GCC_UFS_PHY_ICE_CORE_CLK				105
#define GCC_UFS_PHY_ICE_CORE_CLK_SRC				106
#define GCC_UFS_PHY_ICE_CORE_HW_CTL_CLK				107
#define GCC_UFS_PHY_PHY_AUX_CLK					108
#define GCC_UFS_PHY_PHY_AUX_CLK_SRC				109
#define GCC_UFS_PHY_PHY_AUX_HW_CTL_CLK				110
#define GCC_UFS_PHY_RX_SYMBOL_0_CLK				111
#define GCC_UFS_PHY_TX_SYMBOL_0_CLK				112
#define GCC_UFS_PHY_UNIPRO_CORE_CLK				113
#define GCC_UFS_PHY_UNIPRO_CORE_CLK_SRC				114
#define GCC_UFS_PHY_UNIPRO_CORE_HW_CTL_CLK			115
#define GCC_USB30_PRIM_MASTER_CLK				116
#define GCC_USB30_PRIM_MASTER_CLK_SRC				117
#define GCC_USB30_PRIM_MOCK_UTMI_CLK				118
#define GCC_USB30_PRIM_MOCK_UTMI_CLK_SRC			119
#define GCC_USB30_PRIM_MOCK_UTMI_POSTDIV_CLK_SRC		120
#define GCC_USB30_PRIM_SLEEP_CLK				121
#define GCC_USB3_PRIM_CLKREF_CLK				122
#define GCC_USB3_PRIM_PHY_AUX_CLK				123
#define GCC_USB3_PRIM_PHY_AUX_CLK_SRC				124
#define GCC_USB3_PRIM_PHY_COM_AUX_CLK				125
#define GCC_USB3_PRIM_PHY_PIPE_CLK				126
#define GCC_USB_PHY_CFG_AHB2PHY_CLK				127
#define GCC_VIDEO_AHB_CLK					128
#define GCC_VIDEO_AXI_CLK					129
#define GCC_VIDEO_GPLL0_DIV_CLK_SRC				130
#define GCC_VIDEO_THROTTLE_AXI_CLK				131
#define GCC_VIDEO_XO_CLK					132

/* GCC resets */
#define GCC_GPU_BCR						0
#define GCC_MMSS_BCR						1
#define GCC_NPU_BWMON_BCR					2
#define GCC_NPU_BCR						3
#define GCC_PDM_BCR						4
#define GCC_PRNG_BCR						5
#define GCC_QSPI_BCR						6
#define GCC_QUPV3_WRAPPER_0_BCR					7
#define GCC_QUPV3_WRAPPER_1_BCR					8
#define GCC_QUSB2PHY_PRIM_BCR					9
#define GCC_QUSB2PHY_SEC_BCR					10
#define GCC_SDCC1_BCR						11
#define GCC_SDCC2_BCR						12
#define GCC_UFS_PHY_BCR						13
#define GCC_USB30_PRIM_BCR					14
#define GCC_USB3_DP_PHY_PRIM_BCR				15
#define GCC_USB3_DP_PHY_SEC_BCR					16
#define GCC_USB3_PHY_PRIM_BCR					17
#define GCC_USB3_PHY_SEC_BCR					18
#define GCC_USB3PHY_PHY_PRIM_BCR				19
#define GCC_USB3PHY_PHY_SEC_BCR					20
#define GCC_USB_PHY_CFG_AHB2PHY_BCR				21

#endif
Loading