Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1375117pxb; Fri, 13 Nov 2020 11:00:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJw4FxVU+TIPRbCoa2F6Ubyseq27hvXWSIbwCymly7oB9P9FAai3I0uiyBcvoWHkClGMMgtS X-Received: by 2002:a17:906:cd0f:: with SMTP id oz15mr3420202ejb.228.1605294035313; Fri, 13 Nov 2020 11:00:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605294035; cv=none; d=google.com; s=arc-20160816; b=oFfqGYEIn014Op8BQDXMQAi2O8jF0GVfFBWcZpJ31Q+o5ozYcKxi35uEJnkQvWuUkH IABfxe2lQoadPKMyqHzEoafevygW2IfrzqIGYTpGx3n0/J/QxRDQP/il9ZVi5l++1Rsq Wbfh3CHkdKz5QcjHAWyxFKnrC7g/V5lAB/Gccp0uSoCbraeOXjFSTY/txJlNVSz4s2oC 5Kzur2i5HlfGm4p/o71qznfCyJWlfQ5Ujg4Lo/uycthpT6TlQHX/1gsHD5iOqeAo/Y7T QteCf0hQmUHLtbZ0UJ/ENCgspx7KYDJxSk68HHK1kJ63LjJr0Byzec0DjkL7pM8AcJvL vUAQ== 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:organization:message-id:date:subject:cc:to :from; bh=/GrO3FNR/OwPTNoVGZUqV8wQ4eovbgCY53eERaBJ1SE=; b=icF7rV6T08SsnDZZwXljRjJKiWVQ89y6gT8XltKuzT2n6sx3Ctsmu0HOtMPXx2MI1o yKHI3Igfv/CGwLaxF+s/ZSLY8dKPRSF5zUHO/ovOndNSskiF8LsMvf1FM61FEAmjfQaO uFnlFj/V1M2BXmRsLp1GA87fgkAfwlkfdnidQTiyR0wzmcAAfcQD0JAsxVdyQwr6ITkT 78fobIrF7SxvUGNfbcLdbETsGLoUB1Zn338GUBtZ445Bu7tm4Eo5oHwphYuApEHPKdGV 4KHqK7e3KmJASlGDo2XZPUgS6E/sr6/zU3kPNw9V5JNVNmgBGBnmrHKXhEFpz/GhsqvA /3KA== 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 f21si6806134edc.514.2020.11.13.11.00.01; Fri, 13 Nov 2020 11:00:35 -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 S1726361AbgKMS6U (ORCPT + 99 others); Fri, 13 Nov 2020 13:58:20 -0500 Received: from mailout04.rmx.de ([94.199.90.94]:36384 "EHLO mailout04.rmx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725967AbgKMS6U (ORCPT ); Fri, 13 Nov 2020 13:58:20 -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 mailout04.rmx.de (Postfix) with ESMTPS id 4CXnmR5LG2z3qy9M; Fri, 13 Nov 2020 19:58:15 +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 4CXnmC0c7wz2TRmB; Fri, 13 Nov 2020 19:58:03 +0100 (CET) Received: from n95hx1g2.localnet (192.168.54.24) by mta.arri.de (192.168.100.104) with Microsoft SMTP Server (TLS) id 14.3.487.0; Fri, 13 Nov 2020 19:57:01 +0100 From: Christian Eggers To: Vladimir Oltean CC: Jakub Kicinski , Andrew Lunn , "Richard Cochran" , Rob Herring , "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 , , , Subject: Re: [PATCH net-next v2 05/11] dt-bindings: net: dsa: microchip,ksz: add interrupt property Date: Fri, 13 Nov 2020 19:57:00 +0100 Message-ID: <13390157.M6Fu2mDLuP@n95hx1g2> Organization: Arnold & Richter Cine Technik GmbH & Co. Betriebs KG In-Reply-To: <20201112230732.5spb6qgsu3zdtq4d@skbuf> References: <20201112153537.22383-1-ceggers@arri.de> <20201112153537.22383-6-ceggers@arri.de> <20201112230732.5spb6qgsu3zdtq4d@skbuf> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Originating-IP: [192.168.54.24] X-RMX-ID: 20201113-195803-4CXnmC0c7wz2TRmB-0@kdin02 X-RMX-SOURCE: 217.111.95.66 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday, 13 November 2020, 00:07:32 CET, Vladimir Oltean wrote: > On Thu, Nov 12, 2020 at 04:35:31PM +0100, Christian Eggers wrote: > > 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 > > 431ca5c498a8..b2613d6c97cf 100644 > > --- a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml > > +++ b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml > > ... > > + interrupt-parent = <&gpio5>; > > + interrupts = <1 IRQ_TYPE_LEVEL_LOW>; /* INTRP_N line */ > > Isn't it preferable to use this syntax? > > interrupts-extended = <&gpio5 1 IRQ_TYPE_LEVEL_LOW>; /* INTRP_N line */ After reading Documentation/devicetree/bindings/interrupt-controller/interrupts.txt, I would say that "interrupts-extended" is more flexible as it allows different interrupt parents for the case there is more than one interrupt line. Although there is only one line on the KSZ, I will change this.