Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp616844pxb; Wed, 18 Nov 2020 12:39:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJwfUyOlJrkkR6ncdnR+zAQi6NYQQXim5YR0OSQsiUCwJQ0z/VxmzC1MaaC2esXiOH05gukR X-Received: by 2002:a05:6402:1b19:: with SMTP id by25mr27544935edb.108.1605731984779; Wed, 18 Nov 2020 12:39:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605731984; cv=none; d=google.com; s=arc-20160816; b=aJ6vlTlysS7ywucU3xoU6jFJGZJeQUrY9nZY/GYQJEeVi4yL90SrtzbijvQyjHR+RW XST4EDIVP2YEtsBJfqnoHca221sN/XUK6LdPj2h44eU0tuy67CLCAZqwy6eE5vSv50/f 2H+STfplO/AUkrRUH/IqC+p4kfDYIZuCF6MZU5UO4LSwpNlt7mGZCa19dMRRJCAxEUbL Gluhh3zMNxZ038UJWwsY+xPunRr5okzcITC0xIt16kD/vWkb22+KsYGU3BieoVEgSLk0 NdrgkSURjqppX2hFzbY7nNiiUxAj20bbxOOE4di+gzpT7TN4LSQbCw9NLYZYzP7geWTg 4T1A== 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=EmV+3/p2fXqVc+nhstULjE3msvPFXWFrQS2/tDMJlSQ=; b=lrviWN1AbHJKnK9UoTw84ZCiuNI4TgH0OWoLQ/hG0U36l97yjQsaKSY/esSmD9yO+i Ek50wyPi7dL6hpHLdA4AewpIQQq+dixMEp7gTg8tiIPMMMvL2Xobg8rcgxVYtUyUb/qZ 4FE7d2dnKb+5iBmPDhUFukd+5WOo2F3klsL1XwOt77e0++atACyKO49JyAyglX17wAgI idyowdZeSvik9ITZJgL2RN7R9I1qrBUmHV7slL3PunRK+mgOKzRGRJowvyfYmW8Vg776 XdADDq2eCrV+vMSvESqUQmiRCKQjedHlxjjDOtMlW5BTNGZqgkUPzhPXl2zmw4iaVk7G 1JQg== 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 v21si5564083ejh.106.2020.11.18.12.39.22; Wed, 18 Nov 2020 12:39:44 -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 S1727251AbgKRUhN (ORCPT + 99 others); Wed, 18 Nov 2020 15:37:13 -0500 Received: from mailout12.rmx.de ([94.199.88.78]:43175 "EHLO mailout12.rmx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726184AbgKRUhM (ORCPT ); Wed, 18 Nov 2020 15:37:12 -0500 Received: from kdin01.retarus.com (kdin01.dmz1.retloc [172.19.17.48]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout12.rmx.de (Postfix) with ESMTPS id 4CbvkC0bFWzRpHq; Wed, 18 Nov 2020 21:37:07 +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 kdin01.retarus.com (Postfix) with ESMTPS id 4Cbvhf1M2cz2xZs; Wed, 18 Nov 2020 21:35:46 +0100 (CET) Received: from N95HX1G2.wgnetz.xx (192.168.54.25) by mta.arri.de (192.168.100.104) with Microsoft SMTP Server (TLS) id 14.3.487.0; Wed, 18 Nov 2020 21:32:42 +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 v3 04/12] dt-bindings: net: dsa: microchip,ksz: add interrupt property Date: Wed, 18 Nov 2020 21:30:05 +0100 Message-ID: <20201118203013.5077-5-ceggers@arri.de> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201118203013.5077-1-ceggers@arri.de> References: <20201118203013.5077-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.25] X-RMX-ID: 20201118-213546-4Cbvhf1M2cz2xZs-0@kdin01 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 010adb09a68f..74d42dee310f 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 @@ additionalProperties: 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>; spi-cpha; -- 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