Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3635472pxb; Sat, 13 Feb 2021 04:26:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJwqP24qDeLXs5jTMj37bQ6zSqvhhIWEU+asymvcdCxktUpkJSkVoStp1/X5lDSi9WNzFsLU X-Received: by 2002:a05:6402:3508:: with SMTP id b8mr7576599edd.341.1613219160024; Sat, 13 Feb 2021 04:26:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613219160; cv=none; d=google.com; s=arc-20160816; b=raRyY51X5QSXC29GTEfLd4QO8dS7PAYmxen4LWOX5EMElqxr3mqzEPXTGDq+xPfVx3 gjLzE9WUCX2f/knI9l26JjdxO6jrdiC8K6KUs5wU0ZHG/V7d9VESQhO3QPksPxirBeo5 fqxBXAXR14rLoj/TiIa/OOGrYPprnk0mFAjpCQxaCZa878zO2iRhAiNUN0wiHmwD5DgU 0QXZ4+1AD7FWWJYbk23/pIMVF4jfyKLK7sRx8wX5VUeoevDO9UWKbtgPH7DTfMxoPt8X 0M1a3NMgpUJTgL49tg/aoYr3MZdvkhBlQm0Fu/gkxNkjdl8T5rMhMzMrcjPRnpGND7xU T2xA== 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=UwsSeUNNKvf0P+u3/VBnSdTVeBy4Lxz1fah/cTXhS24=; b=CjDxSMjdAet9Yun6EQP6TrJZg6AL0Li8KdhwZ29YRsN3TPo0zHTUXsbG+e7WMvAgXH 1U8wzhMX2/95IBFhvU/0BR+yoMd5RQNHcPWURoRPzoFebWbYEbHYuw0xxU9S1XLyD+9H WwgNKXgxuUzeofylH4GR3HFPSKus+kYi+lUJ3S+XR14s+MAnk9cKIXlBiqEpcoW4uO7D LCKRFimKdUjD44+WYzLmmYdt9ewsHXJu9u/LkV8WeZbzFGD2QpPtK3kHmlsZ4+2YXKkO /VLO59FSdWW98YUdLU/38nxEG+S6JM6BBxG/kDco98MqWx2VQR7WWacfY8fJSmrcbXCZ t7tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Z5gcsUgh; 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 f19si7971820edw.370.2021.02.13.04.25.37; Sat, 13 Feb 2021 04:26: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=Z5gcsUgh; 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 S229744AbhBMMXo (ORCPT + 99 others); Sat, 13 Feb 2021 07:23:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229608AbhBMMXm (ORCPT ); Sat, 13 Feb 2021 07:23:42 -0500 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A4ABC0613D6; Sat, 13 Feb 2021 04:23:02 -0800 (PST) Received: by mail-pf1-x42a.google.com with SMTP id j12so1258974pfj.12; Sat, 13 Feb 2021 04:23:02 -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=UwsSeUNNKvf0P+u3/VBnSdTVeBy4Lxz1fah/cTXhS24=; b=Z5gcsUgheUTqMuhUtEsRCaymVpmkzsNcxY/rSe5yPwLnlQpiBgfqmdqWyCVk9F9axU ZEiFTT6Sajy52Jg4gQ6Oc8ygLvb8a2BSyBAFZrhS8u9RN1t9yII7da62UUesRurAXl2G XvW/7e3CZUfxzGtrdCLzLVnfhL0F+lIXoYyxmtsx2aMZqDetR9j27jPkZN79jsmSb6ib D9KAPnxNF2ikGN/yHQj9fVYUJwRRUbgm9GUJxdv6kxjOAvMCkwzB7nC9TSde4O5Mrx1h oBGl/WP/q+la+qiT4/NOmOo4h/cAV32i9hL1GC1/mWbDyLjI6C4hlJAU0ZExESh6EKLG 0PdA== 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=UwsSeUNNKvf0P+u3/VBnSdTVeBy4Lxz1fah/cTXhS24=; b=kEfkifFKjDHhsvADfsyq+TTJMLRe0/7NfIT6IhYcZp0DRlL0afGrmARWNouQAVTiHc lJgaeuhD5WJmU2G9bzMw/foxFt5PVWs8UQtSk3KzhlhlHAZxYBwu0+KvyldV0LHa6fEd PwK38liK0djWKgSEqQ7a1eo+NP5OqbioknlJXwG3mRm/hYqEo7vkDYInNU5NCi813U4M 272KiAxTv0u6CLz8qZTUCH3zGkPaQpQgn4M8xKC0Yrh+A/btDrsNRVN0JHhpIK4VCfwr cV1QoX+jhMXAj2IxyLL9xsn77wMWSkX7dSWkRcctnDbbxqfB76/hLrL5V6ZAKYATTlol TKCQ== X-Gm-Message-State: AOAM531oZDMx9lFtjxd4Cg/rTDi2a3s1KMeY76aAcNTUFrckUfxCTvRN YQCVKJNFlXSZmjZ0G+WiMlY= X-Received: by 2002:a63:da4a:: with SMTP id l10mr7373851pgj.222.1613218982090; Sat, 13 Feb 2021 04:23:02 -0800 (PST) Received: from localhost (li1438-199.members.linode.com. [45.33.111.199]) by smtp.gmail.com with ESMTPSA id u3sm12897550pfm.144.2021.02.13.04.23.01 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 13 Feb 2021 04:23:01 -0800 (PST) From: Orson Zhai To: Rob Herring , Baolin Wang , Chunyan Zhang , Jassi Brar Cc: Orson Zhai , Mark Brown , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Haidong Yao , Orson Zhai Subject: [PATCH v2 2/3] dt-bindings: mailbox: Add interrupt-names to SPRD mailbox Date: Sat, 13 Feb 2021 20:21:42 +0800 Message-Id: <20210213122143.19240-3-orsonzhai@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210213122143.19240-1-orsonzhai@gmail.com> References: <20210213122143.19240-1-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 SPRD mailbox driver with newly added sc9863a support and change to configure interrupts with names in device tree files. Signed-off-by: Orson Zhai --- .../bindings/mailbox/sprd-mailbox.yaml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml b/Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml index 26a5cca3f838..67736450ee93 100644 --- a/Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml +++ b/Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml @@ -15,6 +15,7 @@ properties: compatible: enum: - sprd,sc9860-mailbox + - sprd,sc9863a-mailbox reg: items: @@ -22,9 +23,18 @@ properties: - description: outbox registers' base address interrupts: - items: - - description: inbox interrupt - - description: outbox interrupt + minItems: 2 + maxItems: 3 + + interrupt-names: + oneOf: + - items: + - const: inbox + - const: outbox + - items: + - const: inbox + - const: outbox + - const: supp-outbox clocks: maxItems: 1 @@ -40,6 +50,7 @@ required: - compatible - reg - interrupts + - interrupt-names - "#mbox-cells" - clocks - clock-names @@ -56,5 +67,6 @@ examples: clock-names = "enable"; clocks = <&aon_gate 53>; interrupts = , ; + interrupt-names = "inbox", "outbox"; }; ... -- 2.17.1