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: 314746 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,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, MIME_HEADER_CTYPE_ONLY, 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 A9BB9C2D0A3 for ; Thu, 29 Oct 2020 20:00:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 424C320838 for ; Thu, 29 Oct 2020 20:00:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="gHEg7vJ1" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726073AbgJ2UAu (ORCPT ); Thu, 29 Oct 2020 16:00:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725980AbgJ2T7e (ORCPT ); Thu, 29 Oct 2020 15:59:34 -0400 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12F84C0613D2 for ; Thu, 29 Oct 2020 12:59:34 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id f38so3252901pgm.2 for ; Thu, 29 Oct 2020 12:59:34 -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=0FG8sJngiaMtpaCgSvDtUjN4H1G2ImLDG6GcImzoKv0=; b=gHEg7vJ1g/pJvtl/vNiWoGWAEzhIQJ9U7ot0Xhdovo+aQq410ozF0+3xcl2l94T0hA oNPLpVRHXMBcC4muIGfiTCrU0Fy2Wd1XE7NgNan4dtzhn+H33cVTqOUoDINTMHAaTKal 8iCIpsD1l2a2GohBQxUtYRKn2ifn9C/jsJIrc= 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=0FG8sJngiaMtpaCgSvDtUjN4H1G2ImLDG6GcImzoKv0=; b=j1Tyir9L+bBZvylWvI1QJfkgYR6u454loCPTP7anzSSP7/qdNgTixBfNToTrpUZ3qY nu98a64DHR3rBH5fNIN84Cxk0ldqbKf+WLP7HB0O/0AiAhsCPj8gDmZEfrKpSxAIyOIb rZfhbH+TsXID+FN25yajlhP3jRRYCbHtAvF/xg7MBwZS3+DcuJoYAqwGUIEAvPiOIhoF bA/OpaA2ajp5lhC3EaKjJLGzUJeAglFDaPMxiud3q3UjOXBagOVUQjQ6nHtcwiCQAK2n zsTslTFS9JyIeV5JDTDDHXMOw0HL1AAaFv9Mss2ZQQONzld77h8FhvFokCU7JRxAjUga OlfA== X-Gm-Message-State: AOAM533CEzULBvliEVxzRKphgAf24HkltHI321tKx/IDJiQq0os57oyS KQyzfD4eA1hDp5pTDJ2YbBQKtw== 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 Cc: Rob Herring , Florian Fainelli , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) 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> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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 = ; + }; +...