From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 500EAEE4993 for ; Mon, 21 Aug 2023 16:01:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=sJ0rng5DCUraIN4UbT9C4y59xZ/Kd7pkGhRr0Hy+eqc=; b=F7mNNchbOfMryJ 1rjlzZ0Z09TyhV62O7E80SjyUdBT1az+YxkbRei1I3tAiEUW/6Qh5zaDwArwPt4GguFRXvS6Qasx1 7LJAtk/q5izd4/1eUpDhfvCMewzyLK/zRo5BwrZyNb7aktEDSwKxcP1UNbwsQrq3+EbrAXzKszm5r 8qJZco508/xQOdv+ZnU2DLw1OAtdFnDhXLblz2kknMHUZ4jQfyLLOPZpqh7AVXE3eXu2h8U/C98FA P4m4GjXavKavVA6JM5RlnTBziiVZsuzP4mKp2HI/e7cm3bdU9yHdKTWqn0vBDF9Wtfmro8RkHCPXZ D/47keUq7co/3oRQ7qoA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qY7LL-00EKWe-1M; Mon, 21 Aug 2023 16:01:27 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qY7LI-00EKVg-0v for linux-arm-kernel@lists.infradead.org; Mon, 21 Aug 2023 16:01:25 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 973C163C8A; Mon, 21 Aug 2023 16:01:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 46C7DC433C8; Mon, 21 Aug 2023 16:01:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692633683; bh=aX4uOZqx4fuKGR4vLazYSCKmLEo9pLv6Ch7nrty5dEs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZYKpyWrsAwMxX28B1d1pdBPaZQ2kJZQGINDkwdh1aUmJj0Trs/jhyB6SlUfbeGwq6 X9Ivl9Pj+IC/EEMghk/YeV6VC7xygOyYqcEwkVSYXZLRbMm74ARf7SOYKeXuKavTlU qI3JW9qOa3Vm3kecdy2KaIskEVhHGBi3uu+TUH5bkRXX3RdAHNysR4ZRhFvXhyTFOe BC2LjPM4VspI3JCz9U4Ro8M7StLxXxEH6bIKLUV386YUQotI2x5/5ZG80pV8uYETOd q0fZFSJXpJUcdfXkBCK2vX7SNrOdn/QewNx9spqsQ7xoeX2VlWndtpnnxmLJsOa/4e TZ0s/b51DPXAw== Received: (nullmailer pid 1743429 invoked by uid 1000); Mon, 21 Aug 2023 16:01:20 -0000 Date: Mon, 21 Aug 2023 11:01:20 -0500 From: Rob Herring To: MD Danish Anwar Cc: Randy Dunlap , Roger Quadros , Simon Horman , Vignesh Raghavendra , Andrew Lunn , Richard Cochran , Conor Dooley , Krzysztof Kozlowski , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , nm@ti.com, srk@ti.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 2/5] dt-bindings: net: Add iep property in ICSSG dt binding Message-ID: <20230821160120.GA1734560-robh@kernel.org> References: <20230807110048.2611456-1-danishanwar@ti.com> <20230807110048.2611456-3-danishanwar@ti.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230807110048.2611456-3-danishanwar@ti.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230821_090124_373147_B83E8D7C X-CRM114-Status: GOOD ( 19.01 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Aug 07, 2023 at 04:30:45PM +0530, MD Danish Anwar wrote: > Add iep node in ICSSG driver dt binding document. Why? Bindings are for h/w, not drivers. You are adding a property, not a node. Would be nice to know what 'iep' is without having to look at the diff (e.g. when running 'git log'). > > Signed-off-by: MD Danish Anwar > --- > Documentation/devicetree/bindings/net/ti,icssg-prueth.yaml | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/ti,icssg-prueth.yaml b/Documentation/devicetree/bindings/net/ti,icssg-prueth.yaml > index 8ec30b3eb760..36870238f92f 100644 > --- a/Documentation/devicetree/bindings/net/ti,icssg-prueth.yaml > +++ b/Documentation/devicetree/bindings/net/ti,icssg-prueth.yaml > @@ -52,6 +52,12 @@ properties: > description: > phandle to MII_RT module's syscon regmap > > + ti,iep: > + $ref: /schemas/types.yaml#/definitions/phandle-array phandle-array really means matrix, so you need to fully describe the items constraints. > + maxItems: 2 2 phandles or 1 phandle and 1 arg? Looks like the former from the example, so: maxItems: 2 items: maxItems: 1 > + description: > + phandle to IEP (Industrial Ethernet Peripheral) for ICSSG driver > + > interrupts: > maxItems: 2 > description: > @@ -155,6 +161,7 @@ examples: > "tx1-0", "tx1-1", "tx1-2", "tx1-3", > "rx0", "rx1"; > ti,mii-g-rt = <&icssg2_mii_g_rt>; > + ti,iep = <&icssg2_iep0>, <&icssg2_iep1>; > interrupt-parent = <&icssg2_intc>; > interrupts = <24 0 2>, <25 1 3>; > interrupt-names = "tx_ts0", "tx_ts1"; > -- > 2.34.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel