From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avaneesh Kumar Dwivedi Subject: [PATCH v4 00/10]remoteproc: qcom: Add support to hexagon q6v56 in qcom hexagon rproc driver Date: Wed, 16 Nov 2016 22:31:26 +0530 Message-ID: <1479315696-15490-1-git-send-email-akdwived@codeaurora.org> Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:56960 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932589AbcKPRBv (ORCPT ); Wed, 16 Nov 2016 12:01:51 -0500 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 This is patchset v4 having modifications as per comment on patchset v3. Major changes w.r.t. patchset v3 are as below. 1- clean up of resource struct initialization. 2- breaking up all changes into more number of logical patches. 3- handling of clock through array of clock pointers. 4- single place handling of proxy and active regulators. 5- Addressing Other comments on last patches. There were certain comments which could not be addressed 1- To program MSS_RESET via GCC reset controller Since MSS_RESET does not control any clock as are done by other BCR or block control registers, so it does not qualify to be controlled by GCC reset controller. This is moreover like any other register, which can be programmed by IOREMAP. This patchset is verified on top of kernel 4.9.rc4. below is console o/p [ 3.304426] remoteproc1: powering up 2080000.qcom,mss [ 3.304435] remoteproc1: Booting fw image mba.mbn, size 213888 [ 4.518946] remoteproc1: remote processor 2080000.qcom,mss is now up Avaneesh Kumar Dwivedi (10): remoteproc: qcom: Add and initialize private data for hexagon dsp. remoteproc: qcom: Initialize MSS reset control handle remoteproc: qcom: Initialize clock and regulator handle with private data remoteproc: qcom: Modify regulator enable and disable interface remoteproc: qcom: Separate out regulator disable routine in two remoteproc: qcom: Modify clock enable and disable routine remoteproc: qcom: Add new routine for mss restart programming remoteproc: qcom: Modify reset sequence for hexagon to support q6v56 remoteproc: qcom: Modify stop routine for q6v56 specific step remoteproc: qcom: Adding required initialization for q6v5 hexagon .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 5 + drivers/remoteproc/qcom_q6v5_pil.c | 622 +++++++++++++++++---- 2 files changed, 504 insertions(+), 123 deletions(-) -- Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.