From patchwork Tue Sep 15 19:31:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Quinlan X-Patchwork-Id: 11777635 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4E804139F for ; Tue, 15 Sep 2020 19:33:08 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0F8C62078E for ; Tue, 15 Sep 2020 19:33:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="iMBPgnoo"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="cDu5dfCC" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0F8C62078E Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:MIME-Version: Cc:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Message-Id:Date:Subject:To:From:Reply-To:Content-Transfer-Encoding:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Gj0ZYgMp7biMQ5d3DTyM0uYtWdxFEbo/C54R18YhVVo=; b=iMBPgnooI/FReInOHOc9AssHKe lcSy15rhs7Gay6tMF4tqtIL+77xv7KqJiLLQ5y3dVswO24uknG7CNoUaYSOdhk5rz7aeaNvkuAzz4 e91v7nBE5n4f9MFJ2Qi80IgSOMNQizBjWwjOUmzcT+X82Gg8nQumgHSWh65DefnmjzcumKvEcwmHu ISEPu2/vH1TMJfxkysrCuK9o+v3o0Gq/QpAmLwCWgUnCWKOMiQ/jpEKSSiJGl4De8eQruQRStbqFb pHiwn3eOmJju47LLDzYm8Q9+vvELKeiuJXpqoqn8l5+DfDBKHHJJOhrUReJZQVfcQLYBl6hosxS2r 8F243jLw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIGfi-0008WS-12; Tue, 15 Sep 2020 19:31:22 +0000 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIGff-0008VI-0Q for linux-arm-kernel@lists.infradead.org; Tue, 15 Sep 2020 19:31:20 +0000 Received: by mail-pf1-x442.google.com with SMTP id d9so2552010pfd.3 for ; Tue, 15 Sep 2020 12:31:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=AXCDGN+1Tcl6WRD40LGXW+bPvfZ/4arCSc8xG/ZdIME=; b=cDu5dfCCEs6Ecyxf6hZivBvSY/gUaR4UE3oeWlxqG3wiWS7eU5smKGVdfd4VykAZnX vdNMeFAWvlgtmR8F8WVOn6zgGqSI3YEgVnrDuD/0/CUSPTNe7fLf/0/kgiaR57gfTIOM Sk6gla/8Qw77IUqbFCH0AfNRHj1DXcFf4IDTQ= 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; bh=AXCDGN+1Tcl6WRD40LGXW+bPvfZ/4arCSc8xG/ZdIME=; b=P/H5W0GSrKLFUjnfNI4YO/IZgcnrkTiSzvRdcKPNMruUOufRH16TSZQmZxEHzKSE62 RC3EE+jZDBVmRP3oKtyTDTPLcXhYtBAo16rE7WjMb9i9sLDAKQnscyE0G8qodSxKJG1T SFb/F09XmwA007R6hMWeqenWg8yHuWQHGgyrw4xpAZ2Q4ZaA+5OmKT7rWFdKSGW/4PuB 5uDpBrAepQaMgOVzl+U/3tmKBBsTgvGR/SJW/RVu9iliu/Bv+xdSjaCoeuEkZTfzN4RD s2kCUV/u7gq1U04eTf5fdOf0WNX9HNOlIaigcYvjjubRbs6a++ZS3XQuJAm9m0gC6Eyc 5R8g== X-Gm-Message-State: AOAM530i2dJb+GFztoMNz3zPQPE799+qNmvVhMH30OVHpkmO9GA1dHFi 2BeHYWAVnrWXt6pCNCSjwryU3g== X-Google-Smtp-Source: ABdhPJxp8R4xvNxx3UgS8KoKcioLOfv4I7XiM8AYlY4psPhYkWAfWBm0vTD43vO9ch4mDmWpqeiMAg== X-Received: by 2002:a05:6a00:1343:b029:142:2501:35e6 with SMTP id k3-20020a056a001343b0290142250135e6mr3264759pfu.70.1600198275626; Tue, 15 Sep 2020 12:31:15 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.231.250]) by smtp.gmail.com with ESMTPSA id q10sm272546pja.48.2020.09.15.12.31.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Sep 2020 12:31:14 -0700 (PDT) From: Jim Quinlan To: bcm-kernel-feedback-list@broadcom.com, james.quinlan@broadcom.com Subject: [PATCH v1 1/2] dt-bindings: Add bindings for BrcmSTB SCMI mailbox driver Date: Tue, 15 Sep 2020 15:31:04 -0400 Message-Id: <20200915193109.16034-1-james.quinlan@broadcom.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200915_153119_326651_59199DBE X-CRM114-Status: GOOD ( 10.79 ) X-Spam-Score: -2.8 (--) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-2.8 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:442 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 T_TVD_MIME_NO_HEADERS BODY: No description available. 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 MIME_HEADER_CTYPE_ONLY 'Content-Type' found without required MIME headers 0.3 MIME_NO_TEXT No (properly identified) text body parts -3.0 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Florian Fainelli , Rob Herring , open list , "moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Bindings are added. Only one interrupt is needed because we do not yet employ the SCMI p2a channel. Signed-off-by: Jim Quinlan --- .../bindings/mailbox/brcm,brcmstb-mbox.yaml | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/mailbox/brcm,brcmstb-mbox.yaml diff --git a/Documentation/devicetree/bindings/mailbox/brcm,brcmstb-mbox.yaml b/Documentation/devicetree/bindings/mailbox/brcm,brcmstb-mbox.yaml new file mode 100644 index 000000000000..c2359f3a2b13 --- /dev/null +++ b/Documentation/devicetree/bindings/mailbox/brcm,brcmstb-mbox.yaml @@ -0,0 +1,39 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$schema: "http://devicetree.org/meta-schemas/core.yaml#" +$id: http://devicetree.org/schemas/mailbox/brcm,brcmstb-mbox.yaml# + +title: Broadcom STB SCMI mailbox driver bindings + +maintainers: + - Jim Quinlan + +properties: + compatible: + enum: + - brcm,brcmstb-mbox + + interrupts: + items: + - description: SCMI a2p return interrupt + + "#mbox-cells": + const: 1 + +required: + - compatible + - interrupts + - "#mbox-cells" + +additionalProperties: false + +examples: + - | + #include + mailbox0: mailbox@0 { + compatible = "brcm,brcmstb-mailbox"; + #mbox-cells = <1>; + interrupts = ; + }; +...