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: 1052580 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="x0Stg7Yr"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 44F9mr2ztvz9s9N for ; Thu, 7 Mar 2019 11:02:36 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726561AbfCGACe (ORCPT ); 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-Google-Smtp-Source: APXvYqwdnPW/y9So1gIGyOR8jQDF5+ug0ciRCC8Hqqf5gKIvxcay45WltY76fJ2iU72L4F2snRXL1A== 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%) 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