From patchwork Tue Aug 29 23:13:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 111261 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp45389qge; Tue, 29 Aug 2017 16:13:46 -0700 (PDT) X-Received: by 10.84.217.5 with SMTP id o5mr2353968pli.59.1504048426710; Tue, 29 Aug 2017 16:13:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504048426; cv=none; d=google.com; s=arc-20160816; b=EWibv7m/MXFpboQjS88N8Xe5e8kvTp+dToZa4Ace4QIVYZIQSqx8KhxMZMaGRZNH60 kOCpXE3ppSZyQYxgXYx6GQZG+cDWytt+7okJYvckUgbTqz+tFnBoBLMEYh90HrWAhkxl QjuHvp+8z1HCtGtIYp0lsxMc7ikE/OvB1z9+YkGsl6hlSQHWO9ywXAybgihBTSJPniuf l1yIr7ngdCv6Y7vZU2pQlGrK45kuMvTKIb37ml1tLalFToo2AGkwZuG6PxDCJzE/n7I2 gbsdUzGf6fxG/XnPahPmW/UuWeae6fT/YZVnQ2QvFtUIghIJpGaI36KmUu5vlF87ra/M 0QMg== 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:arc-authentication-results; bh=YmhA/C2pYCMb8JUKL9o4mAJvBffr7Hc57X0mlZGpZTg=; b=zVCVoMlY8NQ/sEMc3sgN1apiDqsYBNBYNRHtKIuecd5ilNMNisoFu1tjK8Zx61eWbc JZePW3tVgDoHhShk6usoAiWLYOwT4y6YRG8xoH+1LBprMI/Wg/Ug4chyA02d3ElyLzNQ VFUoI6Zma9Owj4H84nymsZEGqZZmjSa68b5VAmoaYYjnWpAMipuAuVMaj6g7nFkmZoq0 xe2ir/BkVX3me6hu7OCr1H59i05R6NaFDx4/R9FMUBYgASHvfFLV4x2Go2fJ4E/f5sim 1LHYa0F/2ltkm7CFv6gPppChn3SD8ltMYowWZsBcc/pAU95GO7jc4LFL5pvQPF7eItrE nOIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=YakSRzZX; 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=fail (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 q15si3312536plk.16.2017.08.29.16.13.46; Tue, 29 Aug 2017 16:13:46 -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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=YakSRzZX; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751687AbdH2XNo (ORCPT + 6 others); Tue, 29 Aug 2017 19:13:44 -0400 Received: from mail-pg0-f52.google.com ([74.125.83.52]:36050 "EHLO mail-pg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751789AbdH2XNm (ORCPT ); Tue, 29 Aug 2017 19:13:42 -0400 Received: by mail-pg0-f52.google.com with SMTP id r133so14853871pgr.3 for ; Tue, 29 Aug 2017 16:13:42 -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=iKLIQA6zkScmubcDyGW2GgLXpKIy6sr3GiqBJluXYXc=; b=YakSRzZXXt2ErC9fZY9RFrTI43bFNIUm8s3bpqwvlwVAFdFbp4UKvqoQLVTL95NHUr TP254WA4H3wNoI1Dis11qXM5pYhYnzjOcADuOr6NvxNmdmFGlUPC6mWwtq8DWo3iE60r M9stPYy9BjMN29925zdUjhzGzIhEzRy0jzPjc= 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=iKLIQA6zkScmubcDyGW2GgLXpKIy6sr3GiqBJluXYXc=; b=mxZbPngiI1yMOof/evpS3t3KzFfqRovrE8qGtzTjNjXSbJJTPCY+cq1nLH0bTIlZBN C0CLca5u/glMGA9mC9TpMJ2NAOmZre3jaqmipBRvvCpCinYw1f2HJqbGIFyAHcFGxOq9 I/5AjkZF4Uhr+TcpQ+d+P/rDS+thPyIXIx+SsyM8CypRlQONvVbY6xUxniOLKIXxRZNW p1cfE/Pw/PFUUnNBqJY+EUGTUDUwoyoaocqpiOYHoWJdn1yJn4u03KYUNOceBTgBmPLl Dh/KSXNbk+G9kxDX+v+dzCHUonGu7HYbKRP62bCBXTkMdhRwjUe54Tz4/bMHixv0ZsYv DnvQ== X-Gm-Message-State: AHYfb5j7RDHl0h2fKPq3nXJtv17vMFtsRhDCKWUbh4JEvXpts1AJLqrN zd+D5X60d0iIBpp8 X-Received: by 10.98.70.25 with SMTP id t25mr1998572pfa.206.1504048421602; Tue, 29 Aug 2017 16:13:41 -0700 (PDT) Received: from localhost.localdomain (ip68-111-217-79.sd.sd.cox.net. [68.111.217.79]) by smtp.gmail.com with ESMTPSA id c23sm6522879pfc.60.2017.08.29.16.13.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Aug 2017 16:13:41 -0700 (PDT) From: Bjorn Andersson To: Ohad Ben-Cohen , Bjorn Andersson , Rob Herring , Mark Rutland , Andy Gross , David Brown Cc: linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org Subject: [PATCH 2/2] dt-bindings: soc: qcom: Extend GLINK to cover SMEM Date: Tue, 29 Aug 2017 16:13:36 -0700 Message-Id: <20170829231336.24454-2-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170829231336.24454-1-bjorn.andersson@linaro.org> References: <20170829231336.24454-1-bjorn.andersson@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org In addition to using GLINK for communication with the RPM it can be used ontop of SMEM for communicating with remoteprocs, extend the binding to also describe this case and reference the GLINK binding from the affected remoteproc bindings. Signed-off-by: Bjorn Andersson --- Documentation/devicetree/bindings/remoteproc/qcom,adsp.txt | 7 ++++--- Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt | 5 +++++ Documentation/devicetree/bindings/soc/qcom/qcom,glink.txt | 13 +++++++------ 3 files changed, 16 insertions(+), 9 deletions(-) -- 2.12.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.txt b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.txt index 75ad7b8df0b1..728e4193f7a6 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.txt +++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.txt @@ -63,9 +63,10 @@ on the Qualcomm ADSP Hexagon core. = SUBNODES -The adsp node may have an subnode named "smd-edge" that describes the SMD edge, -channels and devices related to the ADSP. See ../soc/qcom/qcom,smd.txt for -details on how to describe the SMD edge. +The adsp node may have an subnode named either "smd-edge" or "glink-edge" that +describes the communication edge, channels and devices related to the ADSP. +See ../soc/qcom/qcom,smd.txt and ../soc/qcom/qcom,glink.txt for details on how +to describe these. = EXAMPLE diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt index 92347fe6890e..7ff3f7903f26 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt +++ b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt @@ -90,6 +90,11 @@ the memory regions used by the Hexagon firmware. Each sub-node must contain: Value type: Definition: reference to the reserved-memory for the region +The Hexagon node may also have an subnode named either "smd-edge" or +"glink-edge" that describes the communication edge, channels and devices +related to the Hexagon. See ../soc/qcom/qcom,smd.txt and +../soc/qcom/qcom,glink.txt for details on how to describe these. + = EXAMPLE The following example describes the resources needed to boot control the Hexagon, as it is found on MSM8974 boards. diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,glink.txt b/Documentation/devicetree/bindings/soc/qcom/qcom,glink.txt index 50fc20c6ce91..b277eca861f7 100644 --- a/Documentation/devicetree/bindings/soc/qcom/qcom,glink.txt +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,glink.txt @@ -1,11 +1,12 @@ -Qualcomm RPM GLINK binding +Qualcomm GLINK edge binding -This binding describes the Qualcomm RPM GLINK, a fifo based mechanism for -communication with the Resource Power Management system on various Qualcomm -platforms. +This binding describes a Qualcomm GLINK edge, a fifo based mechanism for +communication between subsystem-pairs on various Qualcomm platforms. Two types +of edges can be described by the binding; the GLINK RPM edge and a SMEM based +edge. - compatible: - Usage: required + Usage: required for glink-rpm Value type: Definition: must be "qcom,glink-rpm" @@ -16,7 +17,7 @@ platforms. signal this processor about communication related events - qcom,rpm-msg-ram: - Usage: required + Usage: required for glink-rpm Value type: Definition: handle to RPM message memory resource