Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp730046pxb; Thu, 12 Nov 2020 15:09:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJxeY2zMjHUdaJM1IM/vD+qRMZaUwGvX43pWSiA0VxZtWBT/C+nondM7ONVh0vKcE+Tr+lpV X-Received: by 2002:aa7:d493:: with SMTP id b19mr2279001edr.279.1605222574738; Thu, 12 Nov 2020 15:09:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605222574; cv=none; d=google.com; s=arc-20160816; b=IwEfOCYwLiZ20NT3IH9aO3SBfcz7SGQwkcBoOoU6zRloVPJSrWLkMstBN+uxRqGjsD BhYrgNFsuItjkMjUQ8L7w5dwK6zXYiUobrqRdW5oR6mSHjMp0aHIwgDDQ6W7dH9pR0dZ nPx7RaFTtV2sD/S4p3/3w4K4nPmROeFkSZJF+7yZa/QjQDoOOGV4vyuKgqjXxo8rdnau KK0aTX2iDS/VrkYFwsdpnz69cfMCJhuoWg0YMoUmp3lVpB836lwWx696JfVYNpypLchM yU84U70a490qbuUb9b/Yzf5njSN4v/1gZ7BhDiNd3GPNGoeq1s0HM6Jn+j1GEOgscC0r KaYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=e3ZgniTCA5H487G9tHsJ332rAm4rBS2NT56JLlTOViU=; b=d23p6Tx0++uIzA5CP6ELvZmp7lD+Fq25ShrzmmrvpjhWvkfWgozg5RYjs0n+h71Xep cn2Ssy3b9nTZGWLdO/qGapGdToQsmecr09Tz6rBV1u8E9qtD4Wbm6NMYtQ958UfawACK o/P1texVx9E05Ppcuinthk/XLGJrTG0xkj8M0ERIQep472v2DPBVg4WxfWrE2KegeYyT ppWqbtVp3ZlBR+5H4CwOhRBuw0OJrOlBhdok5x/Gbqq8V1Oy6BuJqW88k+usDoQhzY8S grQruPK5DmnXUDl2Ytho2lDWQTu5cWVdcBnv3lI+KOfuGGNIpl7W4MXFg+Kix9htxpqt pMyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="s/KnB+4z"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g16si4580388ejw.559.2020.11.12.15.09.11; Thu, 12 Nov 2020 15:09:34 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b="s/KnB+4z"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726611AbgKLXHg (ORCPT + 99 others); Thu, 12 Nov 2020 18:07:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725929AbgKLXHf (ORCPT ); Thu, 12 Nov 2020 18:07:35 -0500 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E7CAC0613D1; Thu, 12 Nov 2020 15:07:35 -0800 (PST) Received: by mail-ej1-x644.google.com with SMTP id 7so10531652ejm.0; Thu, 12 Nov 2020 15:07:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=e3ZgniTCA5H487G9tHsJ332rAm4rBS2NT56JLlTOViU=; b=s/KnB+4zXRgSXtc9rFY7vBedjcryRv4v/RM8f0pKwfjtMhwC6nv8exfkvdYb2rzdjg zwkJcbltgojvoJOMI5POaz63X2JCQqRJjW9mKmKmYtohlm/tdcYkpSw7f7C1WQKL1Ium Na1dQvknXlnf0416jx0UK+XRvA79bTjC1BtmsqJhr2LWVDCB9yGlISlAMbU5cHwF28sU 1Sf4ougJVhgD2a/a8oBX+GnlLJD6mVWWGKz2eu8gxyE0r6fiMIdoaOkYuMEtp6wEQMr8 /HluX23eMhf7629c3fKi9Dn+oEHP350DjdVneg+kZp+9VObFPlPaVdul+GZ8GIIMkEMg 1WeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=e3ZgniTCA5H487G9tHsJ332rAm4rBS2NT56JLlTOViU=; b=mwcvdxCcyxLkzIkevRxQErh5Px2HIRopv+vfmVn/WfpmMwJ81Hl9X7j7+kHjAiUow/ mDkaeSQ/VXNbcia62Jd7fDZvNlnh96THznL5usELOr5+hZ7kh/4k3RAZXNa+HsQwNWYC X+LqoKkBFhBtc49BTeH80NoQQu5HyV+9YeAkRZcE6ju9LZn7zs8/bw6h4wDksxw4uSTV UqEntAJ0agnGF3BU/1DIxO1nXFowH9iu9fhDYiCgvgtgHFQbOff8JfeggkRU3y0aRZdo gUG+OUSKNv7FX+arpZUrsGauox07bJsHWKegecsCfEbw/J3G5c9S92+RNpPgbMf63V56 aoeA== X-Gm-Message-State: AOAM531htnotNqOTmc9QTki1wfz6U7YTdpLmj8PWN5wyLTfpLMoWdgIv CkANTOm4SYfgEIhTjYUDlhI= X-Received: by 2002:a17:906:961a:: with SMTP id s26mr1786211ejx.211.1605222454071; Thu, 12 Nov 2020 15:07:34 -0800 (PST) Received: from skbuf ([188.25.2.177]) by smtp.gmail.com with ESMTPSA id z2sm2991535edr.47.2020.11.12.15.07.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 15:07:33 -0800 (PST) Date: Fri, 13 Nov 2020 01:07:32 +0200 From: Vladimir Oltean To: Christian Eggers 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 , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v2 05/11] dt-bindings: net: dsa: microchip,ksz: add interrupt property Message-ID: <20201112230732.5spb6qgsu3zdtq4d@skbuf> References: <20201112153537.22383-1-ceggers@arri.de> <20201112153537.22383-6-ceggers@arri.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201112153537.22383-6-ceggers@arri.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > @@ -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: > @@ -47,6 +52,7 @@ required: > examples: > - | > #include > + #include > > // Ethernet switch connected via SPI to the host, CPU port wired to eth0: > eth0 { > @@ -68,6 +74,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 */ Isn't it preferable to use this syntax? interrupts-extended = <&gpio5 1 IRQ_TYPE_LEVEL_LOW>; /* INTRP_N line */