Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp371853pxu; Thu, 3 Dec 2020 02:27:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJxapPH0rgdpMaaWuEt2YDtOkGZC2xJOGdl7Fl8RQitH78EOlcCpqr0aFBAEVW/IWVovysA6 X-Received: by 2002:a50:bc02:: with SMTP id j2mr2165885edh.317.1606991227894; Thu, 03 Dec 2020 02:27:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606991227; cv=none; d=google.com; s=arc-20160816; b=Yk1Id8QKH3geB73t07N7Qfv/v9aTetZMY60WPjnu7sZiauJ191oZrM9YK9LqMm9/5F ntg1LtOSvdYDNaBPjDJCpWO0mNVGnxNQpbQamBHNQrENVxkTYr+HnJTyHYPgILtUE6hi ffDRlZlNsEoi9GRipRiZAW9JBQOhKgaJ403pml6tTGlscOj1QfmGtiOe6/+yEUq1a8s5 LxRHN+grpngWVlgGDzeKhcFAP0nqSU0nM1qoo5wxUfwcxw4uadRY2LqgTxm+JhKLsJsX HHvlnlPiEeupOh93mzbXOAqCuGiq5Djqz1rQhAAqhu5JUQuD42jBrZ1U6Qr9BESzXI23 zu5w== 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=QdT8Gypklf14+YNR905iJ2rkNpZKVJ6LK7k3x+g172M=; b=GhuJNevtMNT2ncLkFnoLulHTbzaJsxbPg4oMRdCiIlG3Jrfagp4qnI+hUebdX3+E2x vPQS2hitTc1PBWHe4bDHWHG6NCX9YkgoXZv3j7Fg1L1qsCfdDGu7rMkNYUNb+2nfLyNr tWC/Lxls4ycS3Z5uFavqi6gfzYH2xPkt2HD25csqQAnsLaetagC4cMKIZ2lXwSWA20tH JoFGvsFttxgVwceImWS5ws63l4wqprArhFxfBkFIcD5xGF5NO8X8+nkFBNQHWq5/n5VG eWAn+vp9GmvtlG6V2+Re3MsLU/0rxcGRR8JoF5VWL9g4nV+WUDu0wrDhAkhOKdV4V7si vVVw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bl4si963232ejb.79.2020.12.03.02.26.44; Thu, 03 Dec 2020 02:27:07 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387620AbgLCKYF (ORCPT + 99 others); Thu, 3 Dec 2020 05:24:05 -0500 Received: from mailout09.rmx.de ([94.199.88.74]:37432 "EHLO mailout09.rmx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726080AbgLCKYE (ORCPT ); Thu, 3 Dec 2020 05:24:04 -0500 Received: from kdin02.retarus.com (kdin02.dmz1.retloc [172.19.17.49]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout09.rmx.de (Postfix) with ESMTPS id 4CmsP34rnyzbksd; Thu, 3 Dec 2020 11:23:19 +0100 (CET) Received: from mta.arri.de (unknown [217.111.95.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by kdin02.retarus.com (Postfix) with ESMTPS id 4CmsNM4h7Wz2TRlF; Thu, 3 Dec 2020 11:22:43 +0100 (CET) Received: from N95HX1G2.wgnetz.xx (192.168.54.174) by mta.arri.de (192.168.100.104) with Microsoft SMTP Server (TLS) id 14.3.487.0; Thu, 3 Dec 2020 11:22:34 +0100 From: Christian Eggers To: Vladimir Oltean , Jakub Kicinski , Andrew Lunn , Richard Cochran , "Rob Herring" CC: Vivien Didelot , "David S . Miller" , Kurt Kanzenbach , George McCollister , Marek Vasut , Helmut Grohne , Paul Barker , Codrin Ciubotariu , Tristram Ha , Woojung Huh , Microchip Linux Driver Support , Christian Eggers , , , Subject: [PATCH net-next v5 2/9] dt-bindings: net: dsa: microchip,ksz: add interrupt property Date: Thu, 3 Dec 2020 11:21:10 +0100 Message-ID: <20201203102117.8995-3-ceggers@arri.de> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201203102117.8995-1-ceggers@arri.de> References: <20201203102117.8995-1-ceggers@arri.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [192.168.54.174] X-RMX-ID: 20201203-112243-dHdwvPqQMJkq-0@out02.hq X-RMX-SOURCE: 217.111.95.66 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The devices have an optional interrupt line. Signed-off-by: Christian Eggers --- .../devicetree/bindings/net/dsa/microchip,ksz.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml index 9f7d131bbcef..c3235110156a 100644 --- a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml +++ b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml @@ -35,6 +35,11 @@ properties: Should be a gpio specifier for a reset line. maxItems: 1 + interrupts: + description: + Interrupt specifier for the INTRP_N line from the device. + maxItems: 1 + microchip,synclko-125: $ref: /schemas/types.yaml#/definitions/flag description: @@ -49,6 +54,7 @@ unevaluatedProperties: false examples: - | #include + #include // Ethernet switch connected via SPI to the host, CPU port wired to eth0: eth0 { @@ -70,6 +76,7 @@ examples: compatible = "microchip,ksz9477"; reg = <0>; reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>; + interrupts-extended = <&gpio5 1 IRQ_TYPE_LEVEL_LOW>; /* INTRP_N line */ spi-max-frequency = <44000000>; -- Christian Eggers Embedded software developer Arnold & Richter Cine Technik GmbH & Co. Betriebs KG Sitz: Muenchen - Registergericht: Amtsgericht Muenchen - Handelsregisternummer: HRA 57918 Persoenlich haftender Gesellschafter: Arnold & Richter Cine Technik GmbH Sitz: Muenchen - Registergericht: Amtsgericht Muenchen - Handelsregisternummer: HRB 54477 Geschaeftsfuehrer: Dr. Michael Neuhaeuser; Stephan Schenk; Walter Trauninger; Markus Zeiler