1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3 1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)*/ 2 /* 2 /* 3 * Copyright (c) 2021 MediaTek Inc. 3 * Copyright (c) 2021 MediaTek Inc. 4 * Author: Christine Zhu <christine.zhu@mediat 4 * Author: Christine Zhu <christine.zhu@mediatek.com> 5 */ 5 */ 6 6 7 #ifndef _DT_BINDINGS_RESET_CONTROLLER_MT8195 7 #ifndef _DT_BINDINGS_RESET_CONTROLLER_MT8195 8 #define _DT_BINDINGS_RESET_CONTROLLER_MT8195 8 #define _DT_BINDINGS_RESET_CONTROLLER_MT8195 9 9 10 /* TOPRGU resets */ << 11 #define MT8195_TOPRGU_CONN_MCU_SW_RST 10 #define MT8195_TOPRGU_CONN_MCU_SW_RST 0 12 #define MT8195_TOPRGU_INFRA_GRST_SW_RST 11 #define MT8195_TOPRGU_INFRA_GRST_SW_RST 1 13 #define MT8195_TOPRGU_APU_SW_RST 12 #define MT8195_TOPRGU_APU_SW_RST 2 14 #define MT8195_TOPRGU_INFRA_AO_GRST_SW_RST 13 #define MT8195_TOPRGU_INFRA_AO_GRST_SW_RST 6 15 #define MT8195_TOPRGU_MMSYS_SW_RST 14 #define MT8195_TOPRGU_MMSYS_SW_RST 7 16 #define MT8195_TOPRGU_MFG_SW_RST 15 #define MT8195_TOPRGU_MFG_SW_RST 8 17 #define MT8195_TOPRGU_VENC_SW_RST 16 #define MT8195_TOPRGU_VENC_SW_RST 9 18 #define MT8195_TOPRGU_VDEC_SW_RST 17 #define MT8195_TOPRGU_VDEC_SW_RST 10 19 #define MT8195_TOPRGU_IMG_SW_RST 18 #define MT8195_TOPRGU_IMG_SW_RST 11 20 #define MT8195_TOPRGU_APMIXEDSYS_SW_RST 19 #define MT8195_TOPRGU_APMIXEDSYS_SW_RST 13 21 #define MT8195_TOPRGU_AUDIO_SW_RST 20 #define MT8195_TOPRGU_AUDIO_SW_RST 14 22 #define MT8195_TOPRGU_CAMSYS_SW_RST 21 #define MT8195_TOPRGU_CAMSYS_SW_RST 15 23 #define MT8195_TOPRGU_EDPTX_SW_RST 22 #define MT8195_TOPRGU_EDPTX_SW_RST 16 24 #define MT8195_TOPRGU_ADSPSYS_SW_RST 23 #define MT8195_TOPRGU_ADSPSYS_SW_RST 21 25 #define MT8195_TOPRGU_DPTX_SW_RST 24 #define MT8195_TOPRGU_DPTX_SW_RST 22 26 #define MT8195_TOPRGU_SPMI_MST_SW_RST 25 #define MT8195_TOPRGU_SPMI_MST_SW_RST 23 27 26 28 #define MT8195_TOPRGU_SW_RST_NUM 27 #define MT8195_TOPRGU_SW_RST_NUM 16 29 << 30 /* INFRA resets */ << 31 #define MT8195_INFRA_RST0_THERM_CTRL_SWRST << 32 #define MT8195_INFRA_RST3_THERM_CTRL_PTP_SWRST << 33 #define MT8195_INFRA_RST4_THERM_CTRL_MCU_SWRST << 34 #define MT8195_INFRA_RST2_PCIE_P0_SWRST << 35 #define MT8195_INFRA_RST2_PCIE_P1_SWRST << 36 #define MT8195_INFRA_RST2_USBSIF_P1_SWRST << 37 << 38 /* VDOSYS1 */ << 39 #define MT8195_VDOSYS1_SW0_RST_B_SMI_LARB2 << 40 #define MT8195_VDOSYS1_SW0_RST_B_SMI_LARB3 << 41 #define MT8195_VDOSYS1_SW0_RST_B_GALS << 42 #define MT8195_VDOSYS1_SW0_RST_B_FAKE_ENG0 << 43 #define MT8195_VDOSYS1_SW0_RST_B_FAKE_ENG1 << 44 #define MT8195_VDOSYS1_SW0_RST_B_MDP_RDMA0 << 45 #define MT8195_VDOSYS1_SW0_RST_B_MDP_RDMA1 << 46 #define MT8195_VDOSYS1_SW0_RST_B_MDP_RDMA2 << 47 #define MT8195_VDOSYS1_SW0_RST_B_MDP_RDMA3 << 48 #define MT8195_VDOSYS1_SW0_RST_B_VPP_MERGE0 << 49 #define MT8195_VDOSYS1_SW0_RST_B_VPP_MERGE1 << 50 #define MT8195_VDOSYS1_SW0_RST_B_VPP_MERGE2 << 51 #define MT8195_VDOSYS1_SW0_RST_B_VPP_MERGE3 << 52 #define MT8195_VDOSYS1_SW0_RST_B_VPP_MERGE4 << 53 #define MT8195_VDOSYS1_SW0_RST_B_VPP2_TO_VDO1_ << 54 #define MT8195_VDOSYS1_SW0_RST_B_VPP3_TO_VDO1_ << 55 #define MT8195_VDOSYS1_SW0_RST_B_DISP_MUTEX << 56 #define MT8195_VDOSYS1_SW0_RST_B_MDP_RDMA4 << 57 #define MT8195_VDOSYS1_SW0_RST_B_MDP_RDMA5 << 58 #define MT8195_VDOSYS1_SW0_RST_B_MDP_RDMA6 << 59 #define MT8195_VDOSYS1_SW0_RST_B_MDP_RDMA7 << 60 #define MT8195_VDOSYS1_SW0_RST_B_DP_INTF0 << 61 #define MT8195_VDOSYS1_SW0_RST_B_DPI0 << 62 #define MT8195_VDOSYS1_SW0_RST_B_DPI1 << 63 #define MT8195_VDOSYS1_SW0_RST_B_DISP_MONITOR << 64 #define MT8195_VDOSYS1_SW0_RST_B_MERGE0_DL_ASY << 65 #define MT8195_VDOSYS1_SW0_RST_B_MERGE1_DL_ASY << 66 #define MT8195_VDOSYS1_SW0_RST_B_MERGE2_DL_ASY << 67 #define MT8195_VDOSYS1_SW0_RST_B_MERGE3_DL_ASY << 68 #define MT8195_VDOSYS1_SW0_RST_B_MERGE4_DL_ASY << 69 #define MT8195_VDOSYS1_SW0_RST_B_VDO0_DSC_TO_V << 70 #define MT8195_VDOSYS1_SW0_RST_B_VDO0_MERGE_TO << 71 #define MT8195_VDOSYS1_SW1_RST_B_HDR_VDO_FE0 << 72 #define MT8195_VDOSYS1_SW1_RST_B_HDR_GFX_FE0 << 73 #define MT8195_VDOSYS1_SW1_RST_B_HDR_VDO_BE << 74 #define MT8195_VDOSYS1_SW1_RST_B_HDR_VDO_FE1 << 75 #define MT8195_VDOSYS1_SW1_RST_B_HDR_GFX_FE1 << 76 #define MT8195_VDOSYS1_SW1_RST_B_DISP_MIXER << 77 #define MT8195_VDOSYS1_SW1_RST_B_HDR_VDO_FE0_D << 78 #define MT8195_VDOSYS1_SW1_RST_B_HDR_VDO_FE1_D << 79 #define MT8195_VDOSYS1_SW1_RST_B_HDR_GFX_FE0_D << 80 #define MT8195_VDOSYS1_SW1_RST_B_HDR_GFX_FE1_D << 81 #define MT8195_VDOSYS1_SW1_RST_B_HDR_VDO_BE_DL << 82 28 83 #endif /* _DT_BINDINGS_RESET_CONTROLLER_MT819 29 #endif /* _DT_BINDINGS_RESET_CONTROLLER_MT8195 */ 84 30
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.