From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avaneesh Kumar Dwivedi Subject: [PATCH v4 10/10] remoteproc: qcom: Adding required initialization for q6v5 hexagon Date: Wed, 16 Nov 2016 22:31:36 +0530 Message-ID: <1479315696-15490-11-git-send-email-akdwived@codeaurora.org> References: <1479315696-15490-1-git-send-email-akdwived@codeaurora.org> Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:58206 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932811AbcKPRCW (ORCPT ); Wed, 16 Nov 2016 12:02:22 -0500 In-Reply-To: <1479315696-15490-1-git-send-email-akdwived@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: bjorn.andersson@linaro.org Cc: sboyd@codeaurora.org, agross@codeaurora.org, linux-arm-msm@vger.kernel.org, Avaneesh Kumar Dwivedi Initialization of q6v5 specific resources were missed, adding them back. This driver supports q6v56 and q6v5. Signed-off-by: Avaneesh Kumar Dwivedi --- 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.