From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avaneesh Kumar Dwivedi Subject: [RESEND PATCH v2] remoteproc: qcom: Venus firmware loader support for msm8996 Date: Tue, 29 Nov 2016 16:20:46 +0530 Message-ID: <1480416647-3518-1-git-send-email-akdwived@codeaurora.org> Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:56528 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755531AbcK2KvE (ORCPT ); Tue, 29 Nov 2016 05:51:04 -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, stanimir.varbanov@linaro.org, agross@codeaurora.org, linux-arm-msm@vger.kernel.org, Avaneesh Kumar Dwivedi This Patch is based on https://patchwork.kernel.org/patch/9415627/ https://patchwork.kernel.org/patch/9415651/ This patch add necessary routine and data structure to support standalone venus firmware load on msm8996. Below are brief of changes. 1- Add private data structure which provide string-name and rate of clock on msm8996 platform for venus. 2- Provide clock initialization and enable/disable functionality. below is console log on msm8996 platform with above change, this is standalone test log without video driver enablement. [ 2.612011] remoteproc0: soc:vidc_tzpil@0 is available [ 2.616939] remoteproc0: Note: remoteproc is still under development and considered experimental. [ 2.621963] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed. [ 2.631037] qcom-tz-pil soc:vidc_tzpil@0: Venus rproc probe done [ 2.641463] remoteproc0: powering up soc:vidc_tzpil@0 [ 2.641468] remoteproc0: Booting fw image venus.mdt, size 6812 [ 2.698127] remoteproc0: remote processor soc:vidc_tzpil@0 is now up Changes w.r.t. patchset 1 reorganization and cleanup of added code. Avaneesh Kumar Dwivedi (1): remoteproc: qcom: Add venus rproc support on msm8996 platform. .../devicetree/bindings/remoteproc/qcom,venus.txt | 26 ++++- drivers/remoteproc/qcom_venus_pil.c | 116 ++++++++++++++++++++- 2 files changed, 140 insertions(+), 2 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.