remoteproc: qcom: q6v5-mss: Add missing clocks for MSM8996
authorSibi Sankar <sibis@codeaurora.org>
Fri, 28 Dec 2018 18:53:03 +0000 (00:23 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jan 2020 13:50:10 +0000 (14:50 +0100)
[ Upstream commit 80ec419c3404106c563aaf56aa6b516a59c4cdfb ]

Proxy vote for QDSS clock and remove vote on handover interrupt
to provide MSS PBL with access to STM hardware registers during
boot. Add "snoc_axi" and "mnoc_axi" to the active clock list.
Rename "gpll0_mss_clk" to "gpll0_mss" for consistency across SoCs.

Fixes: 9f058fa2efb1 ("remoteproc: qcom: Add support for mss remoteproc on msm8996")
Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/remoteproc/qcom_q6v5_pil.c

index 6a84b63..073747b 100644 (file)
@@ -1271,13 +1271,16 @@ static const struct rproc_hexagon_res msm8996_mss = {
        .proxy_clk_names = (char*[]){
                        "xo",
                        "pnoc",
+                       "qdss",
                        NULL
        },
        .active_clk_names = (char*[]){
                        "iface",
                        "bus",
                        "mem",
-                       "gpll0_mss_clk",
+                       "gpll0_mss",
+                       "snoc_axi",
+                       "mnoc_axi",
                        NULL
        },
        .need_mem_protection = true,