diff mbox

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

Message ID 1479315696-15490-11-git-send-email-akdwived@codeaurora.org (mailing list archive)
State Not Applicable, archived
Delegated to: Andy Gross
Headers show

Commit Message

Dwivedi, Avaneesh Kumar (avani) Nov. 16, 2016, 5:01 p.m. UTC
Initialization of q6v5 specific resources were missed, adding them
back. This driver supports q6v56 and q6v5.

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

Patch

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[] = {