From patchwork Sat May 27 23:14:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 100608 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp840032qge; Sat, 27 May 2017 16:14:46 -0700 (PDT) X-Received: by 10.99.125.87 with SMTP id m23mr10447173pgn.79.1495926886312; Sat, 27 May 2017 16:14:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495926886; cv=none; d=google.com; s=arc-20160816; b=Ab2XOu6kMKelzHzI2rjMQNUgKovOKI9HVVXWyzGZh5SBSbzmAhUcka557SuuTJSFt7 xdEPGxXeUvxOrbc1+bP+4RVNJsnhS5JkFVd9QP9SH+C0sarcWI4D7A9j/00e87Tgznh4 ChL9x+SMaj+vWB5phaj5Sf7yHyw3NFvsh0qXn0Lm78y5JG/GNZTDz5ss+eVbhChpQzPQ YiQb/WCm2/bYxrBNiaHfyul5kFZEYRAHdJJo0ZLZXC30Qqhps3PyyjDjAfG/P6+I/rUF OLVEJk6I3+T3IGtROfxwyins6IlMMNDAOA7KO4Y7eckf7Cpyu/3uzbavLjDHucQLVkOv ox0w== 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=ecR0aqmXaCCI/Sp0/cWSfwEeEIE3sU7o4/Z+t/ys9fQ=; b=n9ZCx+4JrQPmjLd2IBphB6xnv209dZ+gr5clPu51Reg2Z+pglQBzunjyBtmpqSZy0k oBfKLNj+PNfvb1Cu5orcKqZUwvsMmKLM0pqvVYFSUPts31oK0o6C9lWw+begSE3hmpAZ P6X5uhZtRjpE2bRZA8liIHCTnzlmSD6kYg3Jo6gy5JSvm03TOSRngPptLXDbDnFotTqk 3k5dD1kleidP3JutEyewnf4j+y4ecoZ12bT3V6ez+qDAthGDoI0aXZ9F8JL3XM8Ytc92 TEa2htRj27hpY1irpt/N8ALnqLfkHz2e2Mq1ceG84vfEPezczr+5sopnHy19kZWc693n ukNw== 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 28si5484132pfq.323.2017.05.27.16.14.38; Sat, 27 May 2017 16:14:46 -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 S1750907AbdE0XOd (ORCPT + 25 others); Sat, 27 May 2017 19:14:33 -0400 Received: from mail-pg0-f50.google.com ([74.125.83.50]:36340 "EHLO mail-pg0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750770AbdE0XOL (ORCPT ); Sat, 27 May 2017 19:14:11 -0400 Received: by mail-pg0-f50.google.com with SMTP id x64so8252219pgd.3 for ; Sat, 27 May 2017 16:14:11 -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=ecR0aqmXaCCI/Sp0/cWSfwEeEIE3sU7o4/Z+t/ys9fQ=; b=X4Mc8R4LJHvrro0b7jq80+OIPv2P5twNxCXSeo+1ycKoaI8LTeim/vv799mTi6Fxlr bvP39B9qZvSVZVwdq3k9V4JZeE4piabJHsZ18VvxrNRfkAt/NJ8h+MDZ7bLAC3YAfiMi J6enQqfvho+cLIhtkEHtjPCNzym4dgprtn2Qs= 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=ecR0aqmXaCCI/Sp0/cWSfwEeEIE3sU7o4/Z+t/ys9fQ=; b=EhAwtrzdKySoDlWnlCT4rY+4nhQlY9VEc5Q2BafOGH++HldMrAyK/kTNlehL28gDAU 87kjmwhpnnB9vSYyepB6KXX6sKxKHmkcxqvOp1s1wi4fSJhGgab7It/zX0LeI9YN9zgo +8UcLuGYL0ZLqjsDF70owmOmqN0FUVmSiQ5sgDfgGO4ajiaMPLSSC9oZgb4NcwXG9UiT Jm2laPbCLAKeUNt33V8l3XuWaYIsv/dZCP5Uu7uXja1ypcYt8UCfNydK85oYgjt1qK/R HSkY4lzbNMzfuUZTBluOK/8jeSxzuRRbo9phO7obh/WoUhWCeyjcdzGSZB/0tEA96JAX cVig== X-Gm-Message-State: AODbwcA8YR7GU+qBSDXdmqCKM8cOpPGvdXD7mr2BNvZcUpvtu+Am+hbG RVXRwedFFyxnuzWz X-Received: by 10.98.37.68 with SMTP id l65mr10116025pfl.175.1495926850549; Sat, 27 May 2017 16:14:10 -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 c67sm10070255pfe.37.2017.05.27.16.14.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 May 2017 16:14:09 -0700 (PDT) From: Bjorn Andersson To: Jassi Brar Cc: Rob Herring , Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v7 2/3] dt-bindings: mailbox: Introduce Qualcomm APCS global binding Date: Sat, 27 May 2017 16:14:03 -0700 Message-Id: <20170527231404.7632-2-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170527231404.7632-1-bjorn.andersson@linaro.org> References: <20170527231404.7632-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. Acked-by: Rob Herring Signed-off-by: Bjorn Andersson --- Changes since v6: - 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..fb961c310f44 --- /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: mailbox@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"; + }; +