From patchwork Fri May 10 04:34:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 163823 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:142:0:0:0:0 with SMTP id j2csp1874792ilr; Thu, 9 May 2019 21:34:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqxbcgVGGbgxl+Mu6FL71Z4BQVhPGEoODizTPfAfNawj/RsEP3s3FujcxY8I0iVhW9YpetOC X-Received: by 2002:a65:4c07:: with SMTP id u7mr10643255pgq.93.1557462871366; Thu, 09 May 2019 21:34:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557462871; cv=none; d=google.com; s=arc-20160816; b=dJ6ztJKR4n6IKA918/AqkYscdD0Vh+qArUIiGAWclvV9mx0/6VcMiT9Y5UBy9VkYca EOeRpKy0hoLIitfdvqXRzqIJhbkatd58LizT6tML5fyrobGqaQfaEeLQpDu7ZXctrfIU c+5ryzXkQL0Tvc/7XXWTsphdyGGej5rGxwnA3w5vgXUwNp9xNgJi3PfD3PbVOFGyf8Mw EFKEY6VEdrHYy0MDp83FGFDrfma75Ka02lrJbLRPT5X0K+r9N+hljqeUKZ2XwL5VsafA +vVSNUfAGc+wrQNC2U4ghTiOdZlEx0TyvZPy/f4+d4qLm3R2ACoqsR/EZNj7Xl70BqHV cIyA== 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=jRXSqrjJ/XGneMATLlq6ef0lWRrjzOAsNMFDS9pI5co=; b=JyqXidrAy2HfrJSgd5NfSoNuc/QD4VTl9jxJLvyJae2P7Q7jQo/08Rth594nSgXNFd xAimC/F4/d1bZMOBTOEt21Mxj9sv8W/CLveoX+rHa0+iPyE+Q3vvstttQxzL3BSAr8iv BgSQrQEjVxZatXiGyptnBZ1Aj5pcFZ9drZDqyT/SbdGLb3HO+BPLnbGCO/hssOIMz0PA eFxsodRAm/3ffYgaWxFogNlHkL/I2d62Ej5M+Iu0PQQuwys+nKVpLaiNU4/XEND8fVe7 5PLTpf++nJyWcrz3UudaZzgir1TOqNFHz7c8Ns1PqGpjzkCdZTdswlW/XHH7JGd/mO+i cMlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=o9ITCZZx; 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 e61si5818437plb.123.2019.05.09.21.34.31; Thu, 09 May 2019 21:34:31 -0700 (PDT) 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=o9ITCZZx; 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 S1727063AbfEJEe2 (ORCPT + 7 others); Fri, 10 May 2019 00:34:28 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:45173 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727037AbfEJEe1 (ORCPT ); Fri, 10 May 2019 00:34:27 -0400 Received: by mail-pg1-f193.google.com with SMTP id i21so2333614pgi.12 for ; Thu, 09 May 2019 21:34:27 -0700 (PDT) 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=jRXSqrjJ/XGneMATLlq6ef0lWRrjzOAsNMFDS9pI5co=; b=o9ITCZZxe5qNjs4HbiK+mgBzmySbP+LEYSzv3r5wNCHFzKqikvp6eKL/OEA4HKSVFf /16HzvfrrZyt2oJdVaHu6giUxmW3GPIiMUvw8N7xsasvwqftFbd0Cbso0C0PbxTYuGW3 bumqxJYT/BFhyANN9EPoDtcqco+3HONZ1BXcvF18W7usb9tzOYlgEg0pXn5EGp5JY0TN fqw1Vz4Vao3+kD7dl52tF+chAi9870zA0EUEesMdvTsh+1I2gXgqHhANo3ctoeOjL22h TIeYS7cx9aJIMovyyImXgAYlzoNLDc49GZHAcJKE4hSaW6G2vTVxiwTHnKVGnpGdKwi3 tE4w== 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=jRXSqrjJ/XGneMATLlq6ef0lWRrjzOAsNMFDS9pI5co=; b=nmRifVWdgMNvUkOlPf9aRKU/t52zX9s5ugZhzyJpPHcf5WqFLmzRmlVn1n3gmSf3p5 dhZJfeAG2otH39EFln/OIg4WNTO9VmQllojcV9sbRsospsEQfRA9unWmBQFzi6lGqJ8n cqdNrOeCR9B2SSMLlRMH6c+pUV72fV63w9/sV3Qk2PwXLWj/IDefQ09PoarEdpNk22Ph bjd5JlUovGgN2cRX1fiXmtyEqbAB398drOWf3xI3Td+YOOM4akxT/eC+8KxgW7ao/7MC GhhWdZ5DkZ4YNin1Ef05x2LGDZO2GWrAVCxPq0IyIkkdNgjVmXuXYpm9QpCOd3h90ONA yr8Q== X-Gm-Message-State: APjAAAVLaQWrALMKbW1c3EDJOFWDkT88bUsWny340X8VkiIfKbzSeiCC CWp0fO7kNeZfGGIw3CB2oGiQlQ== X-Received: by 2002:a65:408b:: with SMTP id t11mr11009686pgp.372.1557462865964; Thu, 09 May 2019 21:34:25 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id s17sm4785317pfm.149.2019.05.09.21.34.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 May 2019 21:34:25 -0700 (PDT) From: Bjorn Andersson To: Ohad Ben-Cohen , Bjorn Andersson , Rob Herring , Mark Rutland Cc: Andy Gross , David Brown , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/8] dt-bindings: remoteproc: Rename and amend Hexagon v56 binding Date: Thu, 9 May 2019 21:34:14 -0700 Message-Id: <20190510043421.31393-2-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190510043421.31393-1-bjorn.andersson@linaro.org> References: <20190510043421.31393-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} | 35 +++++++++++++------ 1 file changed, 25 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..1337a3d93d35 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,11 @@ 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, + per clock-names below. - 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 +41,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 +57,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 +94,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