Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3945012pxb; Mon, 8 Feb 2021 04:17:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJweru+4lgswfszetPbIgWBgTVAMAe32aO9HS4LHRKFLDsxkMTkor1K5W5aiQGOGRGJBzNK9 X-Received: by 2002:a17:907:11c7:: with SMTP id va7mr16586014ejb.351.1612786620156; Mon, 08 Feb 2021 04:17:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612786620; cv=none; d=google.com; s=arc-20160816; b=I3lvJ1OV5IRljE5wn8a9yqBVlI8nkiui2UxyFRhSdbTSZ5W2FUJWg6Fp2DOOOz+Emu N63c7KQyfX3Wu4kcQZiCyBPRBRsTNKZhXsAUYT1Jlu/23+WYE0US6C53HHTan2oFUhn1 jokCaqL2QL6lNWeo63TfSCIf1qmR/fWFzu6zIQV2OFtKFuKtOff42wyFNtK+ZMXSC9t2 m9pkqh5PEg9uWAlXyysxvOXrfVy96/QXxCzxQa049UEc+znjolTNIEiX4DEj/NyufWlr yz1ls2izwon1XAUOHuph94P7Srqw6epSL7xNek66g6xu0pLHysyVpV6aurZAPtomqE5g HeOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=li63n/VAZtM2nG+NNvpp/FSX+mYLuMQuNa5PbgMs78g=; b=iwv6TqGhj2DHNTqIH3Q2r0SZBI9CPa/x00hMrBB5vaEdEkqS4Z8V4E60K44lcOboqB TaMCeifBqqc+7bsKvmA8zmkXZl1OH7yCHGkroO/eEIS0F1s0AeRZitcNrFEIDIlA0e74 gk/osdl0raAMCYYEM64mFsN47Qm9c2oKtJNvVrkuXM84er5HcKM9+CYdI23DjxY0kVeM ahkvUXM9Q8Xn7NbtfpbTOTqfpseoFZqQ/OP4Mkz873FqUytGWvBudCrcd/Jrxw798t5Q OcEsNhDR10sDEyJCQHIZF2luTJQbfPASCNwooyLYunXKaMt8Z3hDOQC5ax5l9uHxb+bv bP9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ONCyIo3L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r12si2905344edp.601.2021.02.08.04.16.37; Mon, 08 Feb 2021 04:17:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ONCyIo3L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231184AbhBHMOq (ORCPT + 99 others); Mon, 8 Feb 2021 07:14:46 -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-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: linux-kernel@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"; }; ... -- 2.7.4