Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3380136pxu; Mon, 19 Oct 2020 10:34:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxiRImEFa57Soi93md/MoHnZBFkcIL1azCXoX5lgEitemVFcAc6QtirgjhJQeXmtypJeJH X-Received: by 2002:a05:6402:943:: with SMTP id h3mr950438edz.88.1603128854230; Mon, 19 Oct 2020 10:34:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603128854; cv=none; d=google.com; s=arc-20160816; b=dTKH4OW7uVd3lh3eUcOQaC3TaU0yGM+UKSagmyUFg3hxoRQLkS07KEfkAJtFnn845s QdCqTgaTtFeIGyHyYmmft0Jwl/n4kglecJHYhShq9X5Rs1zSMaScLV3I/oTYfUWCW1kx m5EbRAyWopBqSMcSRvsRb7XIENKm9ML4m6CcK+v859z9Fo7bZT90PuIg5a93vaincUB2 EVP9pPzYKviKa0rDbrS60AcLXwln+294j6nGLjx4HKsILvJbRCeNl9md0YERMR6/MXEy QKWoqKFmf5RPWG/xz1Qg1KTsfDQGsNem1eh6zV8j8dms2LwxV02tS/cD7CobhGPQi5At inVg== 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=nN2r/vzsC8nBI/n9S5zPad4lvC/l5tUYSPgd53XUipo=; b=vuzk3KDOcOMVN6iR0ORMaln60tAF7eNesYyDo30CfQU2K8hB6nEtNaPI7xDXowXVNo 0TKJyRw+gwX9Xv6tfEOWs6IsnkSXwn0vjcy4+k/QpdGf7KGq0VMU4vU/BCgnWGZh0FOD lNpQrz/VjNSkARJ0yM4X6FwzevtrxRtybHm6u53pPsPPhdzTCHZSVB/cBmZS9GeSM4rQ PNOGVgmEwpUvvl62+PynCe3SuzKTBrqZ6SwnGoffAzKh+rC0wHExHvDgCCt+RIUwszXQ 9HItlWFldl9A9B3Iljf9BsjheXdzSK3hP7hjZKjtDbKNL1NAC2uh69b/yi7pCPal7rL5 foVg== 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 ay25si211199edb.398.2020.10.19.10.33.52; Mon, 19 Oct 2020 10:34:14 -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; 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 S1727623AbgJSRb1 (ORCPT + 99 others); Mon, 19 Oct 2020 13:31:27 -0400 Received: from mailout06.rmx.de ([94.199.90.92]:34599 "EHLO mailout06.rmx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726354AbgJSRb1 (ORCPT ); Mon, 19 Oct 2020 13:31:27 -0400 X-Greylist: delayed 315 seconds by postgrey-1.27 at vger.kernel.org; Mon, 19 Oct 2020 13:31:25 EDT 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 mailout06.rmx.de (Postfix) with ESMTPS id 4CFP1k0xchz9tny; Mon, 19 Oct 2020 19:31:22 +0200 (CEST) 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 4CFP0B75hxz2xKS; Mon, 19 Oct 2020 19:30:02 +0200 (CEST) Received: from N95HX1G2.wgnetz.xx (192.168.54.91) by mta.arri.de (192.168.100.104) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 19 Oct 2020 19:27:03 +0200 From: Christian Eggers To: Vladimir Oltean , Florian Fainelli , Andrew Lunn , Vivien Didelot , Jakub Kicinski , Rob Herring CC: Helmut Grohne , Paul Barker , Codrin Ciubotariu , George McCollister , Marek Vasut , Tristram Ha , "David S . Miller" , Woojung Huh , "Microchip Linux Driver Support" , Christian Eggers , , , Subject: [RFC PATCH net-next 4/9] dt-bindings: net: dsa: microchip,ksz: add interrupt property Date: Mon, 19 Oct 2020 19:24:30 +0200 Message-ID: <20201019172435.4416-5-ceggers@arri.de> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201019172435.4416-1-ceggers@arri.de> References: <20201019172435.4416-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.91] X-RMX-ID: 20201019-193007-4CFP0B75hxz2xKS-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 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml index f93c3bdd0b83..be927a3a370b 100644 --- a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml +++ b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml @@ -32,6 +32,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: @@ -44,6 +49,7 @@ required: examples: - | #include + #include // Ethernet switch connected via SPI to the host, CPU port wired to eth0: eth0 { @@ -65,6 +71,8 @@ examples: compatible = "microchip,ksz9477"; reg = <0>; reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>; + interrupt-parent = <&gpio5>; + interrupts = <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