[PATCH v4 10/10] remoteproc: qcom: Adding required initialization for q6v5 hexagon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Initialization of q6v5 specific resources were missed, adding them
back. This driver supports q6v56 and q6v5.

Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@xxxxxxxxxxxxxx>
---
 drivers/remoteproc/qcom_q6v5_pil.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/drivers/remoteproc/qcom_q6v5_pil.c b/drivers/remoteproc/qcom_q6v5_pil.c
index 3135832..3a926e7 100644
--- a/drivers/remoteproc/qcom_q6v5_pil.c
+++ b/drivers/remoteproc/qcom_q6v5_pil.c
@@ -1249,11 +1249,20 @@ static int q6v5_remove(struct platform_device *pdev)
 	.active_clk_string = active_q6v56_clk_namestr,
 };
 
+static char *active_q6v5_regulator_namestr[] = {"mss", NULL};
+static int active_q6v5_voltage_load[1][2] = { {1000000, 100000} };
+static char *proxy_q6v5_clk_namestr[] = {"xo", NULL};
+static char *active_q6v5_clk_namestr[] = {"iface", "bus", "mem", NULL};
+
 static const struct q6_rproc_res q6v5_res = {
 	.q6_reset_init = q6v5_init_reset,
 	.q6_mba_image = "mba.mbn",
 	.proxy_reg_string = proxy_q6v56_regulator_namestr,
 	.proxy_voltage_load = (int **)proxy_q6v56_voltage_load,
+	.active_reg_string = active_q6v5_regulator_namestr,
+	.active_voltage_load = (int **)active_q6v5_voltage_load,
+	.proxy_clk_string = proxy_q6v5_clk_namestr,
+	.active_clk_string = active_q6v5_clk_namestr,
 };
 
 static const struct of_device_id q6v5_of_match[] = {
-- 
Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project.

--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux