From patchwork Thu Oct 29 19:59:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Quinlan X-Patchwork-Id: 11867475 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,T_TVD_MIME_NO_HEADERS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BBFE4C2D0A3 for ; Thu, 29 Oct 2020 20:00:17 +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 10F3320782 for ; Thu, 29 Oct 2020 20:00:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="eDxkEMcn"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="Wa4ydWEN" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 10F3320782 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+linux-arm-kernel=archiver.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: References:In-Reply-To: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:List-Owner; bh=yvS2mxWXwKKMlGArXYqng+9f8ERMe2BdZN0S9/Sa/+8=; b=eDxkEMcnsQxDx+Gr7xgOSO709 1lE99Mz2hPYZ5lm9kCf5UQjVJv0VS5H4Tdp7YeCUAqQ4HRi1cE/IWWasi7BpkuOEqtIPmgfj+Veqg eYzDOmMEYyJpwsRxzIhfE07U/6SNIuRcqxFI+sB8/1te6xCWg7FMrRJbYR27IQOFYl3Vk3ObOiAHs jUun5uH0Ow0clpiI1AIo+aNNtsB1sftlC7QPH/3FuI6hyULNkvY6/AfZEqpHMokLwOia/n48m2VwU 2Ky+VzdVzHyKgzYfqctr8OT9s8/AdajYrpKLX+bx47SAbAJxIEb66sU3qQ0KaAt2eg1OU10ia5C2u lM2pwul8w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kYE5D-0002G2-9W; Thu, 29 Oct 2020 19:59:39 +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 1kYE59-0002EX-Gc for linux-arm-kernel@lists.infradead.org; Thu, 29 Oct 2020 19:59:36 +0000 Received: by mail-pf1-x442.google.com with SMTP id w65so3273944pfd.3 for ; Thu, 29 Oct 2020 12:59:35 -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:in-reply-to:references; bh=I5nTrt1GKzGlv8XFXKYRnjGD/n0p2mkJFST8zCu2JMo=; b=Wa4ydWENIyXCiciQGZIh+UOYTzg0guIC0zceZePejhOMpsCcEjFoMxz5iAg/dslzhk IXodbj842lekw6CJiPjEZAgOqElI7ZGb768TVUQpGzH13KPkCT10gcheIohB0pufgsE4 uffgVOHYxUb60x6p8JIp+Wc52s1A/VNeIitkQ= 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=I5nTrt1GKzGlv8XFXKYRnjGD/n0p2mkJFST8zCu2JMo=; b=FZcfu1iFHQxqCzxOhvF51bYjT1iBW6AteVDxepTAK5B1C944KaxevZ1ILK30SCCyfK Ppvn5tbZwq2LJriQRr7klfdPRddBoCeZU9nQKZri9P/uaQFt6xnwlgU20YUp6L/U7KhB aTPL/i/O6CO7PrsWJZLAjnNPQ4mdnmXkdBzcYBfqF+mWwSnCg3VptWFVsXx2NZsa6QGi A39f63ojoYpMDBZ5N2ViRP2gckUU2Ks0KLr215SziwKsOC8hdBeseIlZUqV7RlbcSMgA lltJip66PmbgfMO0Wd0qktcBxC8UmUnrQ0SqlmFecbsY5WNqVkLoR+IdSyH0vDRyJKd7 Yl1Q== X-Gm-Message-State: AOAM533500bCj+MTL/dpuaaPbX7FAvEL5bfjrg1t8T6cGKE0UDJ5t+Bl 4Ey8DYP5LvOaCMauPr0lX97fAA== X-Google-Smtp-Source: ABdhPJzxOcdQso/+vEeFph6roiFES0zeDC2LT3HwkPeABO3brHqfSqLNa/2re5jFQCD7MrqBWAwSjg== X-Received: by 2002:a65:680c:: with SMTP id l12mr5443280pgt.118.1604001573566; Thu, 29 Oct 2020 12:59:33 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.231.250]) by smtp.gmail.com with ESMTPSA id z27sm3682662pfr.206.2020.10.29.12.59.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 12:59:32 -0700 (PDT) From: Jim Quinlan To: sudeep.holla@arm.com, bcm-kernel-feedback-list@broadcom.com, james.quinlan@broadcom.com Subject: [PATCH v4 1/2] dt-bindings: Add bindings for BrcmSTB SCMI mailbox driver Date: Thu, 29 Oct 2020 15:59:06 -0400 Message-Id: <20201029195913.5927-2-james.quinlan@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201029195913.5927-1-james.quinlan@broadcom.com> References: <20201029195913.5927-1-james.quinlan@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201029_155935_631981_21D14FAD X-CRM114-Status: GOOD ( 11.24 ) 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+linux-arm-kernel=archiver.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..797c0cc609a3 --- /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 mailbox driver bindings + +maintainers: + - Jim Quinlan + +properties: + compatible: + enum: + - brcm,brcmstb-mbox + + interrupts: + items: + - description: a2p return interrupt, indicates SCMI msg completion. + + "#mbox-cells": + const: 1 + +required: + - compatible + - interrupts + - "#mbox-cells" + +additionalProperties: false + +examples: + - | + #include + mailbox { + compatible = "brcm,brcmstb-mailbox"; + #mbox-cells = <1>; + interrupts = ; + }; +...