From patchwork Thu Mar 7 00:03:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 159784 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp6793232jad; Wed, 6 Mar 2019 16:02:36 -0800 (PST) X-Google-Smtp-Source: APXvYqzfBkMCLQFZ6+xHUYlq8B+TpJG1uAzr1WvyYwJwK1tKXJrgLXmi8x4DUYNRFeA7vRt9J2IP X-Received: by 2002:a17:902:9306:: with SMTP id bc6mr9576784plb.59.1551916956203; Wed, 06 Mar 2019 16:02:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551916956; cv=none; d=google.com; s=arc-20160816; b=a1svt3oCQIDzyl5W71pqJjxrbQdME+WEOvYTZmvZW9YAsttmCXRa+U/Qo/wA9ABb1l chABugXLuJ/5Z8U/Fqt2EFdRk9l6v/h6s7CRY8QaQYwNEjEP+DHqCIfN4xVYuJzEVYs4 zAjKCjN2rlJIJc6uoD9m++dGPyRLRK847OkKCE58Wk+2sMS5DuEHF9+ZwSOXQorcnpc6 ZO8PAJkkmGy6c1gZvjMxPz0kMMOLYCN4GBxsviVD5rYYtJi3i3kxLKPCBGnzOT1T9zJ8 e3fb1fqUb4J9MFb/quOJb7oitxOy0VxcRfivs22c5xU5H17oqaHFkkovPipX479MqWM/ ftyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=ZbPJjxSoYcl81yQ1wEFQrBqpLWhgT90XsJgxTUaDTjI=; b=gmYxhWX+i10QoZzGlPip2DEzwZM5ClolOXl8KLnHkWKZcIrRQpzvxA3Tqm2abpHPgW IoAC59PQqjCmEbmWokC7wkYDXD3Hr1i4A0yW7tg5uyVTA4weNWUczDZzSy++K5pOFepE dORsVV6tkBGUdJes3+O3bIaoqpih7mwqlBONu8D8+gP+4zIGf7yntqS4hgKtSyyE+a/g VAElsZfRw+RyFa/LgNAhwF9A54cm6GCRwjz6VLSs+N2ORAkzrLSuc/7hcgsgTR+1JAJE YXNnyvc0cBwyVxrOeltmPW6g8nRESBJbG6BPNh88dbKBWp3YFBYZTzwkPt7pbRAoik+f F2cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x0Stg7Yr; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q9si2727191pll.404.2019.03.06.16.02.35; Wed, 06 Mar 2019 16:02:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x0Stg7Yr; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726561AbfCGACe (ORCPT + 7 others); Wed, 6 Mar 2019 19:02:34 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:46582 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726535AbfCGACe (ORCPT ); Wed, 6 Mar 2019 19:02:34 -0500 Received: by mail-pg1-f196.google.com with SMTP id 196so9720959pgf.13 for ; Wed, 06 Mar 2019 16:02:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZbPJjxSoYcl81yQ1wEFQrBqpLWhgT90XsJgxTUaDTjI=; b=x0Stg7YrNUiHiDFMZVrLIf4dg3dIguNoxLz9GoEjKz81Lp8qb0LAJrVbJbBclfg+bZ Is9fiGZw5CrfI7xHIYKOKfxhdXWt4y+YDGdFd3TL8IDJZdK60NzTHg5ISMEEaVtF/VfE ujxt7s/vonSA+3lv5r1M9Wstrm/5uWdyxTmz5CdWs+bmX1hI+KFJ+zdJy2/EaWISWm47 H0VpMv+CR4+1HdMAZ2NFBpE/UWXSphD/Xc7A7o5X15sF219jgMX9mFm3dmR9PROsRE8o Navu5XWl+DDLKPp1z9+8e5lFO3F1uiIMePVcv5m4PG373i6GZ03SV7aSYB56cn5w3iGv RpyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZbPJjxSoYcl81yQ1wEFQrBqpLWhgT90XsJgxTUaDTjI=; b=MB6a4eFq5lvrHzhvhso4aYprPOB0UzLQPImyeS/Zs/cI5zTSf8GFBFF77315HmQ2FP eb7ABkLCllXth8hinlMnqqSi5ua1Bj1yvkG4k8KYjbF57myHV6CjxwWJM4kWmaBRlG73 y+kcgg3C6UrZv2nrSZL+pJH/roHB0XhUfk0RoQ/F336dWJ7cJ8k5Y7iNpKLchGN9DHIy 8FQ0SbkZzLKQ7Cyim9/kX90g96UaE7qGlpt+vqi6SATS42YYCjihWOfiWAIUuzytUjRU AfufX8locp1e+AEAoj/ZaWdkuoymnV3oRN83WcYwYPuBtry9j3CFs3A6xrWJwOucAxn6 wlBQ== X-Gm-Message-State: APjAAAWl3baytPEFVcsBsRDygLZ2SK8dzmuT+pZr3bitPJEZCaZ6bfen BeVFs+7dSg5eWTXr6jXYChXQcA== X-Received: by 2002:a65:6642:: with SMTP id z2mr8802824pgv.196.1551916953013; Wed, 06 Mar 2019 16:02:33 -0800 (PST) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id n10sm4105589pfa.139.2019.03.06.16.02.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Mar 2019 16:02:32 -0800 (PST) From: Bjorn Andersson To: Ohad Ben-Cohen , Bjorn Andersson , Rob Herring , Mark Rutland Cc: linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: remoteproc: Rename and amend Hexagon v56 binding Date: Wed, 6 Mar 2019 16:03:17 -0800 Message-Id: <20190307000318.1750-2-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190307000318.1750-1-bjorn.andersson@linaro.org> References: <20190307000318.1750-1-bjorn.andersson@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The SDM845 Audio DSP peripheral image loader binding describes the properties needed to load and boot firmware on a Hexagon v56. Rename the file and add the Compute DSP (CDSP) found in QCS404 to the binding. Signed-off-by: Bjorn Andersson --- ...qcom,adsp-pil.txt => qcom,hexagon-v56.txt} | 34 +++++++++++++------ 1 file changed, 24 insertions(+), 10 deletions(-) rename Documentation/devicetree/bindings/remoteproc/{qcom,adsp-pil.txt => qcom,hexagon-v56.txt} (74%) -- 2.18.0 diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp-pil.txt b/Documentation/devicetree/bindings/remoteproc/qcom,hexagon-v56.txt similarity index 74% rename from Documentation/devicetree/bindings/remoteproc/qcom,adsp-pil.txt rename to Documentation/devicetree/bindings/remoteproc/qcom,hexagon-v56.txt index 66af2c30944f..8011f88f7c1f 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp-pil.txt +++ b/Documentation/devicetree/bindings/remoteproc/qcom,hexagon-v56.txt @@ -1,12 +1,13 @@ -Qualcomm Technology Inc. ADSP Peripheral Image Loader +Qualcomm Technology Inc. Hexagon v56 Peripheral Image Loader This document defines the binding for a component that loads and boots firmware -on the Qualcomm Technology Inc. ADSP Hexagon core. +on the Qualcomm Technology Inc. Hexagon v56 core. - compatible: Usage: required Value type: Definition: must be one of: + "qcom,qcs404-cdsp-pil", "qcom,sdm845-adsp-pil" - reg: @@ -28,10 +29,10 @@ on the Qualcomm Technology Inc. ADSP Hexagon core. - clocks: Usage: required Value type: - Definition: List of 8 phandle and clock specifier pairs for the adsp. + Definition: List of phandles and clock specifier pairs for the Hexagon. - clock-names: - Usage: required + Usage: required for SDM845 ADSP Value type: Definition: List of clock input name strings sorted in the same order as the clocks property. Definition must have @@ -39,6 +40,14 @@ on the Qualcomm Technology Inc. ADSP Hexagon core. "lpass_ahbm_aon_cbcr", "qdsp6ss_xo", "qdsp6ss_sleep" and "qdsp6ss_core". +- clock-names: + Usage: required for QCS404 CDSP + Value type: + Definition: List of clock input name strings sorted in the same + order as the clocks property. Definition must have + "xo", "sway", "tbu", "bimc", "ahb_aon", "q6ss_slave", + "q6ss_master", "q6_axim". + - power-domains: Usage: required Value type: @@ -47,28 +56,33 @@ on the Qualcomm Technology Inc. ADSP Hexagon core. - resets: Usage: required Value type: - Definition: reference to the list of 2 reset-controller for the adsp. + Definition: reference to the list of resets for the Hexagon. - reset-names: - Usage: required + Usage: required for SDM845 ADSP Value type: Definition: must be "pdc_sync" and "cc_lpass" +- reset-names: + Usage: required for QCS404 CDSP + Value type: + Definition: must be "restart" + - qcom,halt-regs: Usage: required Value type: Definition: a phandle reference to a syscon representing TCSR followed - by the offset within syscon for lpass halt register. + by the offset within syscon for Hexagon halt register. - memory-region: Usage: required Value type: - Definition: reference to the reserved-memory for the ADSP + Definition: reference to the reserved-memory for the firmware - qcom,smem-states: Usage: required Value type: - Definition: reference to the smem state for requesting the ADSP to + Definition: reference to the smem state for requesting the Hexagon to shut down - qcom,smem-state-names: @@ -79,7 +93,7 @@ on the Qualcomm Technology Inc. ADSP Hexagon core. = SUBNODES The adsp node may have an subnode named "glink-edge" that describes the -communication edge, channels and devices related to the ADSP. +communication edge, channels and devices related to the Hexagon. See ../soc/qcom/qcom,glink.txt for details on how to describe these. = EXAMPLE