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: 759250 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3wKWV50kC6z9s7h for ; Sat, 6 May 2017 11:32:45 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="hDjy5VW2"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752343AbdEFBcP (ORCPT ); Fri, 5 May 2017 21:32:15 -0400 Received: from mail-pf0-f180.google.com ([209.85.192.180]:33521 "EHLO mail-pf0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751615AbdEFBbu (ORCPT ); Fri, 5 May 2017 21:31:50 -0400 Received: by mail-pf0-f180.google.com with SMTP id q20so9758886pfg.0 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=g/qneNjexuyQyhecCfkfuDVHOA8VRHvSoBAJ6spy6ZwPh3Sw7LEFN2+bFd/lyxv/jV Pbu7YOnzBfD1TKrmjsPuyNqVWYmYU1eEPS6R0liOXSAVfKYrpi+b1S3tk+L78dWbamLq zylxIofulOT/rUEBtoj8s93adK/EoVTEIgAZnfVpQWyeg12CBLMZ1uQX4qCJnPFNkr4H Azk3rGpghlbJQPqJ33GCHnfA9KTkFOEB6rIzJF6IUGDXEyojCw9R7N9YCg0KuBN2pAo3 u6WjAGljPhW7mZEjt0pyIsHjEQ+HugAT25Z1ZFhkA9AeZJHRQuZbC5VY8wtuVCXXPD8x FKow== X-Gm-Message-State: AN3rC/5zmh21jSbf3vaj+S3XWzbNU2q36nAwQZbK27OD/giCHEPBN5Sm YeO0G7GQVogqFFJ1 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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 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"; + }; +