[v2,5/8] dt-bindings: net: dsa: microchip: add interrupts property for ksz switches
Message ID | 20230614123222.4167460-6-l.goehrs@pengutronix.de |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1238733vqr; Wed, 14 Jun 2023 06:10:36 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6zrk0W3vq2hWv6p+RimV5aKsO9sX8/Ux+kcABcoC8BuNRPpeu0+hgfQ/Z/Q3o74VD3CyCQ X-Received: by 2002:a17:906:ee86:b0:978:9223:6630 with SMTP id wt6-20020a170906ee8600b0097892236630mr14852698ejb.37.1686748236515; Wed, 14 Jun 2023 06:10:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686748236; cv=none; d=google.com; s=arc-20160816; b=K4O3dmvzbo198kp5V9D/0cmnLnFZqoymFl8aSI8jaWYFbFHX+KCSucLX/OG3z4VEG6 7JbIACRpsGBOI9taMk4eDBT+1/PWVRIy4EeJHofpUkDymTNegpeQNBiCp+9SxOSZBIaZ rfGXx26m1RliAPZkg7BINhFqieczLrpTQFPQ8fRoAzVH6syA1kY/nbylNt/xRAoCNyXa SWfnj7R4TV2QEKsclw3dEm2YxNaKAQeQg3orCnnWPX5oiZGFgle2IjXTyjRL+O6E75gz Uvrlimu+A/4dpLQXiZdb/Ia9l1TnGHpFq9VmWr+bjNTBAErmb6BJaqUZggLVyCkRSnPx FEgA== 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; bh=KX1bTumbHRTAROMCySz61UnSNtwdnXIDtvvBNX35gSo=; b=PRD2XH/K/Ir9FlUuRRqwemaQdCh6viK5n+dXF2/RpPYsRXZ+Ye13E04CVOFnLoxdYw DM/K0RZrmNEvKPPY8/w9Gc8ywKBZC/NB9BHFC84ZKpIxaNAQf2AvFio8KW1cBdkhSSlW vM+1WlP6vROvGNR8YtDiN9svHG0qd2GRdlq4DoiC/fLCbOxmguvztnkONu6iZTbS4q+q 20wk47+0h3I8pWNGOmxUQd7m600+93Fbj1p9XrJw0EqC4zjFNjuR7NEhES4Z4KQXdXtb PRNBv8k1UQ60YJ1dUB90Zxf7A/5wlRiZCqpwq1Tbc7iOrxwfspWDR8phMWBpQ4b1W8r2 aJTQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ov17-20020a170906fc1100b0096f69a2f32asi8562025ejb.657.2023.06.14.06.09.40; Wed, 14 Jun 2023 06:10:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236572AbjFNMeN (ORCPT <rfc822;n2h9z4@gmail.com> + 99 others); Wed, 14 Jun 2023 08:34:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244673AbjFNMdz (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 14 Jun 2023 08:33:55 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D61026A2 for <linux-kernel@vger.kernel.org>; Wed, 14 Jun 2023 05:33:30 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <lgo@pengutronix.de>) id 1q9Pg9-00017o-6Y; Wed, 14 Jun 2023 14:32:49 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from <lgo@pengutronix.de>) id 1q9Pg7-007Lpc-Jg; Wed, 14 Jun 2023 14:32:47 +0200 Received: from lgo by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from <lgo@pengutronix.de>) id 1q9Pg6-00HUKh-QN; Wed, 14 Jun 2023 14:32:46 +0200 From: =?utf-8?q?Leonard_G=C3=B6hrs?= <l.goehrs@pengutronix.de> To: Conor Dooley <conor@kernel.org>, Rob Herring <robh@kernel.org>, Alexandre TORGUE <alexandre.torgue@foss.st.com>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Woojung Huh <woojung.huh@microchip.com>, UNGLinuxDriver@microchip.com, Andrew Lunn <andrew@lunn.ch>, Florian Fainelli <f.fainelli@gmail.com>, Vladimir Oltean <olteanv@gmail.com>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Marek Vasut <marex@denx.de> Cc: kernel@pengutronix.de, =?utf-8?q?Leonard_G=C3=B6hrs?= <l.goehrs@pengutronix.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 5/8] dt-bindings: net: dsa: microchip: add interrupts property for ksz switches Date: Wed, 14 Jun 2023 14:32:19 +0200 Message-Id: <20230614123222.4167460-6-l.goehrs@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230614123222.4167460-1-l.goehrs@pengutronix.de> References: <20230614123222.4167460-1-l.goehrs@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: lgo@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768683718721189012?= X-GMAIL-MSGID: =?utf-8?q?1768683718721189012?= |
Series |
ARM: dts: stm32: lxa-tac: add Linux Automation GmbH TAC
|
|
Commit Message
Leonard Göhrs
June 14, 2023, 12:32 p.m. UTC
The ksz switch driver allows specifying an interrupt line to prevent
having to periodically poll the switch for link ups/downs and other
asynchronous events.
Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
---
Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml | 3 +++
1 file changed, 3 insertions(+)
Comments
On Wed, Jun 14, 2023 at 02:32:19PM +0200, Leonard Göhrs wrote: > The ksz switch driver allows specifying an interrupt line to prevent > having to periodically poll the switch for link ups/downs and other > asynchronous events. > > Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de> Acked-by: Conor Dooley <conor.dooley@microchip.com>
diff --git a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml index e51be1ac03623..03b5567be3897 100644 --- a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml +++ b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml @@ -49,6 +49,9 @@ properties: Set if the output SYNCLKO clock should be disabled. Do not mix with microchip,synclko-125. + interrupts: + maxItems: 1 + required: - compatible - reg