From patchwork Sat May 6 01:31:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 98750 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp396636qge; Fri, 5 May 2017 18:32:44 -0700 (PDT) X-Received: by 10.98.103.207 with SMTP id t76mr20569450pfj.147.1494034364463; Fri, 05 May 2017 18:32:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1494034364; cv=none; d=google.com; s=arc-20160816; b=V9KG/f+cxsZiQLWbygtGFOIPktz6sQ5isZxlUckZTvdef4Xoc+pcD/YaKxYDU24z7r XqWFe0D2Iwna8bbOyiRwd2NripM2ZitNxRzeui0dncVHK25E1w14gUjzva1hsMlGrStr 6zuPDpST1aZbgzlqALWbQXJlu59CZU4v9pPT4g8RiDTK5bkRzrYf6qlsXlR5dQl5QjKN sts35a9g52Xg2fsNXGk+71EdV96AqVIxIYhngawXGckvfiT9STwLkKmlT8LHTsjWNFgW U2qH0mba/WRw5IitoUPCTJgrkMmaqS2rN7ZUguaKbjvEMbrxzCPpgCP7DutAzDGUHFpV +1gA== 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=tFtG8XL1c+Be2zUT3mIpWK0U+Bkuq9EvHpmRWF3gUV8=; b=U5x0up/Prd2VvoOp1mC0vlctVRZ8/DIQKK8Jy5pwpURYk2ydNWc7Vem5Hp2tSxXkZX uOVSX+1x+yuBmJP1Ul8RATxOUP/l833Pr8smrLE1FYM9M9ug6jz1tEj5Esu6gIjCtb5r L7hx+DyzquqS3GP6ONI42/Bwxwcex1ciNImtN+HyTn7vyHtIrMUUV69PRm2HxF4kTals bgbekfkYhDDoHrxS2H4gGXRLPyTpg+aAze36mYFyBp13XKrl+ASphIklIwviTNlNpWyK bOZz4DZvKUwCkt1CqZpCraaO/ZpV8tfPvFnb57Hyje+AP/9eewwuEnR4zrfBbBR2QS5U uo4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 g14si6974847plm.287.2017.05.05.18.32.44; Fri, 05 May 2017 18:32:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1752429AbdEFBcQ (ORCPT + 25 others); Fri, 5 May 2017 21:32:16 -0400 Received: from mail-pf0-f170.google.com ([209.85.192.170]:34697 "EHLO mail-pf0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751727AbdEFBbu (ORCPT ); Fri, 5 May 2017 21:31:50 -0400 Received: by mail-pf0-f170.google.com with SMTP id e64so9721293pfd.1 for ; Fri, 05 May 2017 18:31:50 -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=tFtG8XL1c+Be2zUT3mIpWK0U+Bkuq9EvHpmRWF3gUV8=; b=hDjy5VW2CVqOKV7nX7o+jJkBSIIVmOeSkHICUeONIoDlcFR6U+imYeI4q2z/LkjrdF E3ByouHBXRYgS0xPO3Ryg1AP5j6VNKlKA0bKOxtA7w+QpuEQgAPxeXzeNC8Wb68/y3Sc Y6shU+sxlRuAq050AKdi39y1brRFdjPIcYjlE= 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=tFtG8XL1c+Be2zUT3mIpWK0U+Bkuq9EvHpmRWF3gUV8=; b=MqautWZS+MKzJhPFHZXgmZe6H00ospZB2LMmBbd4kgtT0XJC1jnDRJti6T633fWhqG 21W54Lk1D7eBxiVHv5JjOue5oV5dXzF885PSkURu+uWVPqhfvNNfPId9h8Oo9T9aOnEZ 5/596hDhHANXTeCtNmYU57qVuEWL5esX/ZfpnfEFYyucVok4FJpHvT8yjjtzqKR17mOB Wj6Ap/BVpAAxKX7t/OgrF1Hd7Pd03gQVS7moDSSEj5fwEh4L2UAUt1lGGgoi06UaozrH OB0GFNTJrbiVQvgHvhuJ452Ek7XbmzZqDDfmjMsAn7spUaUt+C9CyMwMztun9yajDsAX DpCw== X-Gm-Message-State: AN3rC/40kJMcATo/x3QLv2RKnnZPQOsSU1k9nRTUqby6ZsHR2bl1Qc7y sP2AlrSKSHdl4fAN X-Received: by 10.84.131.34 with SMTP id 31mr62423314pld.120.1494034309858; Fri, 05 May 2017 18:31:49 -0700 (PDT) Received: from localhost.localdomain (ip68-111-223-48.sd.sd.cox.net. [68.111.223.48]) by smtp.gmail.com with ESMTPSA id t22sm12319178pfi.89.2017.05.05.18.31.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 May 2017 18:31:49 -0700 (PDT) From: Bjorn Andersson To: Rob Herring , Mark Rutland , Jassi Brar Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org Subject: [PATCH v5 2/3] dt-bindings: mailbox: Introduce Qualcomm APCS global binding Date: Fri, 5 May 2017 18:31:43 -0700 Message-Id: <20170506013144.15297-2-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170506013144.15297-1-bjorn.andersson@linaro.org> References: <20170506013144.15297-1-bjorn.andersson@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Introduce a binding for the Qualcomm APCS global block, exposing a mailbox for invoking interrupts on remote processors in the system. Signed-off-by: Bjorn Andersson --- Changes since v4: - None .../bindings/mailbox/qcom,apcs-kpss-global.txt | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt -- 2.12.0 diff --git a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt new file mode 100644 index 000000000000..eaa9e780f412 --- /dev/null +++ b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt @@ -0,0 +1,46 @@ +Binding for the Qualcomm APCS global block +========================================== + +This binding describes the APCS "global" block found in various Qualcomm +platforms. + +- compatible: + Usage: required + Value type: + Definition: must be one of: + "qcom,msm8916-apcs-kpss-global", + "qcom,msm8996-apcs-hmss-global" + +- reg: + Usage: required + Value type: + Definition: must specify the base address and size of the global block + +- #mbox-cells: + Usage: required + Value type: + Definition: as described in mailbox.txt, must be 1 + + += EXAMPLE +The following example describes the APCS HMSS found in MSM8996 and part of the +GLINK RPM referencing the "rpm_hlos" doorbell therein. + + apcs_glb: apcs-glb@9820000 { + compatible = "qcom,msm8996-apcs-hmss-global"; + reg = <0x9820000 0x1000>; + + #mbox-cells = <1>; + }; + + rpm-glink { + compatible = "qcom,glink-rpm"; + + interrupts = ; + + qcom,rpm-msg-ram = <&rpm_msg_ram>; + + mboxes = <&apcs_glb 0>; + mbox-names = "rpm_hlos"; + }; +