From patchwork Mon Feb 8 11:51:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Orson Zhai X-Patchwork-Id: 378731 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=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, 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 AF7A6C433DB for ; Mon, 8 Feb 2021 11:55:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 550A364E56 for ; Mon, 8 Feb 2021 11:55:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231756AbhBHLzZ (ORCPT ); Mon, 8 Feb 2021 06:55:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233561AbhBHLxS (ORCPT ); Mon, 8 Feb 2021 06:53:18 -0500 Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EABDC061786; Mon, 8 Feb 2021 03:52:38 -0800 (PST) Received: by mail-pf1-x432.google.com with SMTP id x136so2994343pfc.2; Mon, 08 Feb 2021 03:52:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=li63n/VAZtM2nG+NNvpp/FSX+mYLuMQuNa5PbgMs78g=; b=ONCyIo3LQY78/wjuDf4j+MAV8gqQ5Hctlihc1EljMqbxkb9kPtiO+jRWBT+AZPpIyp Z89Y7kQu9tWVhM22RZ55g9C9TrI/mmhT3Ssi1kn6W4sD4VUiFtjOkNTzFYeFGttqbtqW cgjRCDbk18+4aWp3TguQUEIzyOwsnZcUYpY7dwnrskEZNfP6zTsrktbcnuYyauOgK6nN VoCg4RR3CdTXys5hdIZTnhvWlrs0PxShV4YMAJMlBMmpbnpbTgEAUK1lQomG0NGUD4iX tzswiBUKRdwtl+5xBVOsXQENg+GgjI+SkHpG1TyNu0DJW+cUupxDHYvoIJmDhz4Lo0xk kgHQ== 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=li63n/VAZtM2nG+NNvpp/FSX+mYLuMQuNa5PbgMs78g=; b=dPsd4eVy3uog7mt7pBrQY+sqnAR5kBBRoLJ8XX9DHQwpu4dcbcWejOPBWpL4cOq9BR Wf+871tsGNtUfvtNprQK2FZs3GWu5aEJ4k8up9ouTlR5gk2HU2UfCDxRVNfCC1Q1e4PU +uynI5y3mquzHV9zBvI/RupV3vMLy9ksAaGtkDpfsQ+lLb6MoEdyJrZH9gXYLWcvCw5w N0u+Xtpg++UKSkFYYnPVWgHQlVKLzQsTMeFNekaq454C+6TxfxB38nb+toFPRYyfWmQQ gkltYmTwZeekqfdmPeRvm6W46pbeAhmynjW2TPUN7eGaYxJNa/itGIC0KO5LiyA4ZSxV FJyA== X-Gm-Message-State: AOAM532UFgLh5xC8Lm3hSBoWWqKv5NhXPslKvn+1f2qQgnkhfq/7zNrp Zu6WzRMXv8jNCQrl8dQndWk= X-Google-Smtp-Source: ABdhPJwFnmlDq/ot2AF18aA6m+LPYo0qO3qeHs+M2zEtfnCq52A+EZku+TMLmYgyll4K5EhJ0ON1kQ== X-Received: by 2002:aa7:9e08:0:b029:1c9:b30b:d971 with SMTP id y8-20020aa79e080000b02901c9b30bd971mr17692939pfq.72.1612785158086; Mon, 08 Feb 2021 03:52:38 -0800 (PST) Received: from lenovo.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id a9sm12875564pfr.204.2021.02.08.03.52.35 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Feb 2021 03:52:37 -0800 (PST) From: Orson Zhai To: Rob Herring , Baolin Wang , Jassi Brar , Chunyan Zhang Cc: Mark Brown , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, haidong.yao@unisoc.com, Orson Zhai Subject: [PATCH 3/3] dt-bindings: mailbox: Add interrupt-names to SPRD mailbox Date: Mon, 8 Feb 2021 19:51:04 +0800 Message-Id: <1612785064-3072-3-git-send-email-orsonzhai@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1612785064-3072-1-git-send-email-orsonzhai@gmail.com> References: <1612785064-3072-1-git-send-email-orsonzhai@gmail.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Orson Zhai We add an optional supp-outbox interrupt support to driver and change to describe interrupts with names for easy configuration in device tree files. Signed-off-by: Orson Zhai --- Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml b/Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml index 26a5cca..bb775a4 100644 --- a/Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml +++ b/Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml @@ -22,9 +22,15 @@ properties: - description: outbox registers' base address interrupts: + minItems: 2 + maxItems: 3 + + interrupt-names: items: - - description: inbox interrupt - - description: outbox interrupt + enum: + - inbox + - outbox + - supp-outbox clocks: maxItems: 1 @@ -40,6 +46,7 @@ required: - compatible - reg - interrupts + - interrupt-names - "#mbox-cells" - clocks - clock-names @@ -56,5 +63,6 @@ examples: clock-names = "enable"; clocks = <&aon_gate 53>; interrupts = , ; + interrupt-names = "inbox", "outbox"; }; ...