Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1116174pxy; Wed, 28 Apr 2021 23:24:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCeemRC6x8tC3T4G0ouvdZMGabFIB+hSE17ypgCLDnIg/67jKDWnnYY3odcLQ6P8ErOWdt X-Received: by 2002:a63:f608:: with SMTP id m8mr29735278pgh.54.1619677489560; Wed, 28 Apr 2021 23:24:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619677489; cv=none; d=google.com; s=arc-20160816; b=lFEb3whB18odeHaGr25CQp544cQvQ/viNal7Ehyem8/Hby5kvZE0Dy+PnOrHN46uIm 2Yjvpyn3mWJifIdjk1USdZh8KuYw5KgWBylxMPbHQom47xxONLSjozYmusZ1c1nw1fPY 3MW5ORbXb9U1PNBoDKgHYuPV/n9IsDIT7M8UgEULpahvprGNB1GlVMDC78fGUOQiT2YA 2uxJ8ZWq0KnLZa+vuPREHpFtV9Tj/hVGsaNYX2yHiodtEKKws1+99LwJBS5sdIoSpopM sjxxas+83cU0zMz1I+Bo0egwU8O4sAwznvpt+hRJTy6R+RYnl1U098aB+wUBqy0MFmdD YZug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Dl1eNVmQIqNdeNFjNl1CzKrnIruzMoK7ySTcHQEJGcM=; b=u1k2jfLeAVoH6SjPGOKvyBC48wtl7evVgzhpO+Rl+4awHwsyPmAMo4aMWCeI+pj1De 0oPC+6oMs7SqHFyAKfrlwvzP69rAFsvWjLx2uMnLx+jiCup6tpBr/tjbCYtq8Y+4gNxc kcUC4P9GdccfDLZwBaH17S43VpOSvjBACh3Oi+C1KCxjIOx0d3FtAWVQQKbDS5ZLFfPm DOFk9JEmK+rxA8KLb0v7Wm71w9LmrhDRrhOz48SHVK1es15eCFkx0YUDj7hwFz2AhRO9 74W+e0pCvUU7bGILmYKnUUvKGWPBtWD1sJWh/tXK82LR5PaAVTzQrwR45ctC92a5Qx35 MNtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Sm0Bv//i"; 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 d10si2286137pgo.529.2021.04.28.23.24.36; Wed, 28 Apr 2021 23:24:49 -0700 (PDT) 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="Sm0Bv//i"; 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 S231544AbhD2GWv (ORCPT + 99 others); Thu, 29 Apr 2021 02:22:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239050AbhD2GWu (ORCPT ); Thu, 29 Apr 2021 02:22:50 -0400 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3298C06138B; Wed, 28 Apr 2021 23:22:04 -0700 (PDT) Received: by mail-pj1-x1032.google.com with SMTP id u14-20020a17090a1f0eb029014e38011b09so10402096pja.5; Wed, 28 Apr 2021 23:22:04 -0700 (PDT) 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 :mime-version:content-transfer-encoding; bh=Dl1eNVmQIqNdeNFjNl1CzKrnIruzMoK7ySTcHQEJGcM=; b=Sm0Bv//igm4gX1nnNiHZ5xJzmlEYfBdAy25kx28ws2Xny/qTVqGaFiiMqE+EYD9UdC DLM00f4wXSr8z8STj2/Nyug7EzNlwTq7g79ztypk+9xE0F6GpfaqycwHejhQt9Uo/pIo YbYfgZkxdxWHxot602HCTCJZofgCZ+0qWaLY8rtZMjCXB/kkvga85OePVBzqMosz+2vu B7xJ5bT8cfzg0H3dQCzGBAgggrYgDH8v0LLd19v21fKY+XRx/Lhi+84Wq3qt05gL7jtj oxMdIqIvgzqYS49LTcMi9aNqZ8PYJq47lvl8C+2LLa8x7SXL9EBf/31Qko/swy63RxXY E+Hw== 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:mime-version:content-transfer-encoding; bh=Dl1eNVmQIqNdeNFjNl1CzKrnIruzMoK7ySTcHQEJGcM=; b=n/CosDXRA+ZZjkB+mAG3AtCVX57udOKAx9epuIEUazNnQkuEee6duFrXHHwAJ2+/hq sm/O+797g+0EjPtp194A73381yOiR2zeE4FNqGPmY+VBmBZQz1NcjyyNcFY439k4/FoA XomGsKMk6hQ/jd66+JBGTKszHCjUpRxrRs2sP8Yg+ryUtxCywvNfnMdIOrUFL22C/p80 gc/A/av/CBgMg6aS/HD7B7Fzab6HzxU3T3y/C5kNwGJgk4baxrGxbrR55ZWn4AO5ZS9/ odVcBw8/0fdlmO9PCGHspDZQgrYlnsSYKo90PNrbAip2qNz5jeJy0q/7gvr0y+GJs5fb Vrsw== X-Gm-Message-State: AOAM532TdEMFn42euIEtGXGiwDbqdjYRkN0VOXDNZXDzhfJfniXtxLjG tnGfVaXSbLWSVPKmdm38cOc= X-Received: by 2002:a17:902:b703:b029:eb:59c3:a9b0 with SMTP id d3-20020a170902b703b02900eb59c3a9b0mr32975053pls.45.1619677324426; Wed, 28 Apr 2021 23:22:04 -0700 (PDT) Received: from localhost.localdomain ([138.197.212.246]) by smtp.gmail.com with ESMTPSA id b7sm1431008pfi.42.2021.04.28.23.21.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Apr 2021 23:22:03 -0700 (PDT) From: DENG Qingfang To: "David S. Miller" , Andrew Lunn , Florian Fainelli , Heiner Kallweit , Jakub Kicinski , Landen Chao , Matthias Brugger , Russell King , Sean Wang , Vivien Didelot , Vladimir Oltean , Rob Herring , Linus Walleij , Greg Kroah-Hartman , Sergio Paracuellos , linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-staging@lists.linux.dev, devicetree@vger.kernel.org, netdev@vger.kernel.org Cc: Weijie Gao , Chuanhong Guo , =?UTF-8?q?Ren=C3=A9=20van=20Dorst?= , Frank Wunderlich , Thomas Gleixner , Marc Zyngier Subject: [PATCH net-next 3/4] dt-bindings: net: dsa: add MT7530 interrupt controller binding Date: Thu, 29 Apr 2021 14:21:29 +0800 Message-Id: <20210429062130.29403-4-dqfext@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210429062130.29403-1-dqfext@gmail.com> References: <20210429062130.29403-1-dqfext@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add device tree binding to support MT7530 interrupt controller. Signed-off-by: DENG Qingfang --- RFC v4 -> PATCH v1: - No changes. Documentation/devicetree/bindings/net/dsa/mt7530.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/net/dsa/mt7530.txt b/Documentation/devicetree/bindings/net/dsa/mt7530.txt index de04626a8e9d..892b1570c496 100644 --- a/Documentation/devicetree/bindings/net/dsa/mt7530.txt +++ b/Documentation/devicetree/bindings/net/dsa/mt7530.txt @@ -81,6 +81,12 @@ Optional properties: - gpio-controller: Boolean; if defined, MT7530's LED controller will run on GPIO mode. - #gpio-cells: Must be 2 if gpio-controller is defined. +- interrupt-controller: Boolean; Enables the internal interrupt controller. + +If interrupt-controller is defined, the following property is required. + +- #interrupt-cells: Must be 1. +- interrupts: Parent interrupt for the interrupt controller. See Documentation/devicetree/bindings/net/dsa/dsa.txt for a list of additional required, optional properties and how the integrated switch subnodes must -- 2.25.1