clk: qcom: Enumerate remaining msm8998 resets

The current list of defined resets is incomplete compared to what the
hardware implements.  Enumerate the remaining resets according to the
hardware documentation.

Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
Jeffrey Hugo
2018-12-04 08:13:22 -07:00
committed by Stephen Boyd
parent 11832328c5
commit c0cb7c7e71
2 changed files with 174 additions and 0 deletions

View File

@@ -204,5 +204,92 @@
#define GCC_TSIF_BCR 16
#define GCC_UFS_BCR 17
#define GCC_USB_30_BCR 18
#define GCC_SYSTEM_NOC_BCR 19
#define GCC_CONFIG_NOC_BCR 20
#define GCC_AHB2PHY_EAST_BCR 21
#define GCC_IMEM_BCR 22
#define GCC_PIMEM_BCR 23
#define GCC_MMSS_BCR 24
#define GCC_QDSS_BCR 25
#define GCC_WCSS_BCR 26
#define GCC_BLSP1_BCR 27
#define GCC_BLSP1_UART1_BCR 28
#define GCC_BLSP1_UART2_BCR 29
#define GCC_BLSP1_UART3_BCR 30
#define GCC_CM_PHY_REFGEN1_BCR 31
#define GCC_CM_PHY_REFGEN2_BCR 32
#define GCC_BLSP2_BCR 33
#define GCC_BLSP2_UART1_BCR 34
#define GCC_BLSP2_UART2_BCR 35
#define GCC_BLSP2_UART3_BCR 36
#define GCC_SRAM_SENSOR_BCR 37
#define GCC_PRNG_BCR 38
#define GCC_TSIF_0_RESET 39
#define GCC_TSIF_1_RESET 40
#define GCC_TCSR_BCR 41
#define GCC_BOOT_ROM_BCR 42
#define GCC_MSG_RAM_BCR 43
#define GCC_TLMM_BCR 44
#define GCC_MPM_BCR 45
#define GCC_SEC_CTRL_BCR 46
#define GCC_SPMI_BCR 47
#define GCC_SPDM_BCR 48
#define GCC_CE1_BCR 49
#define GCC_BIMC_BCR 50
#define GCC_SNOC_BUS_TIMEOUT0_BCR 51
#define GCC_SNOC_BUS_TIMEOUT1_BCR 52
#define GCC_SNOC_BUS_TIMEOUT3_BCR 53
#define GCC_SNOC_BUS_TIMEOUT_EXTREF_BCR 54
#define GCC_PNOC_BUS_TIMEOUT0_BCR 55
#define GCC_CNOC_PERIPH_BUS_TIMEOUT1_BCR 56
#define GCC_CNOC_PERIPH_BUS_TIMEOUT2_BCR 57
#define GCC_CNOC_BUS_TIMEOUT0_BCR 58
#define GCC_CNOC_BUS_TIMEOUT1_BCR 59
#define GCC_CNOC_BUS_TIMEOUT2_BCR 60
#define GCC_CNOC_BUS_TIMEOUT3_BCR 61
#define GCC_CNOC_BUS_TIMEOUT4_BCR 62
#define GCC_CNOC_BUS_TIMEOUT5_BCR 63
#define GCC_CNOC_BUS_TIMEOUT6_BCR 64
#define GCC_CNOC_BUS_TIMEOUT7_BCR 65
#define GCC_APB2JTAG_BCR 66
#define GCC_RBCPR_CX_BCR 67
#define GCC_RBCPR_MX_BCR 68
#define GCC_USB3_PHY_BCR 69
#define GCC_USB3PHY_PHY_BCR 70
#define GCC_USB3_DP_PHY_BCR 71
#define GCC_SSC_BCR 72
#define GCC_SSC_RESET 73
#define GCC_USB_PHY_CFG_AHB2PHY_BCR 74
#define GCC_PCIE_0_LINK_DOWN_BCR 75
#define GCC_PCIE_0_PHY_BCR 76
#define GCC_PCIE_0_NOCSR_COM_PHY_BCR 77
#define GCC_PCIE_PHY_BCR 78
#define GCC_PCIE_PHY_NOCSR_COM_PHY_BCR 79
#define GCC_PCIE_PHY_CFG_AHB_BCR 80
#define GCC_PCIE_PHY_COM_BCR 81
#define GCC_GPU_BCR 82
#define GCC_SPSS_BCR 83
#define GCC_OBT_ODT_BCR 84
#define GCC_VS_BCR 85
#define GCC_MSS_VS_RESET 86
#define GCC_GPU_VS_RESET 87
#define GCC_APC0_VS_RESET 88
#define GCC_APC1_VS_RESET 89
#define GCC_CNOC_BUS_TIMEOUT8_BCR 90
#define GCC_CNOC_BUS_TIMEOUT9_BCR 91
#define GCC_CNOC_BUS_TIMEOUT10_BCR 92
#define GCC_CNOC_BUS_TIMEOUT11_BCR 93
#define GCC_CNOC_BUS_TIMEOUT12_BCR 94
#define GCC_CNOC_BUS_TIMEOUT13_BCR 95
#define GCC_CNOC_BUS_TIMEOUT14_BCR 96
#define GCC_CNOC_BUS_TIMEOUT_EXTREF_BCR 97
#define GCC_AGGRE1_NOC_BCR 98
#define GCC_AGGRE2_NOC_BCR 99
#define GCC_DCC_BCR 100
#define GCC_QREFS_VBG_CAL_BCR 101
#define GCC_IPA_BCR 102
#define GCC_GLM_BCR 103
#define GCC_SKL_BCR 104
#define GCC_MSMPU_BCR 105
#endif