Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp79453lqt; Thu, 18 Apr 2024 08:55:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWcXgT3iHu0eZZIeA3f204/kCdQC1DJTpWK22lL8Aa5dHruCKj6pjWo6w7p9hOZg+6fc+sImEjlLV3U0P3rloeS+aUTCuA7RrFcPfFU9g== X-Google-Smtp-Source: AGHT+IHe+PDqLKcRuKQcdLAFuuwX9CUfHK3U8bx1oeRHm93FXEi54O+p1wkZoCZU/seCkcr0Luh/ X-Received: by 2002:a17:90a:17e8:b0:2a5:ba4f:cb6b with SMTP id q95-20020a17090a17e800b002a5ba4fcb6bmr3028931pja.28.1713455723221; Thu, 18 Apr 2024 08:55:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713455723; cv=pass; d=google.com; s=arc-20160816; b=Foszgc5ztnZRijsaZ3R2Vo6VFE0w3rDb6tVScocT+g94K6Q/l7bMtFHBqdMXJ30OSM cLx1UmKch8/AhBzhYqrZFMn4N6jrChjw7gLjRw334OVUUTkPW458HIL5lV8rRW++mPne RCF40n97gZe6AnV/LKyTHG1EfsfLbMQqUeseRE9N4S9uGhCEL0cehHLMhwLShNfA7XK0 KlJ4xEhmdLZvv+N6fRb+Oeidn1InJRLGLEdEB3F+M/bGHT9pO99m22Zed2VBmWnM72TG N4nzCLhxo+cuAnhvgY1oaKC7InbKdVtiz3/W1HuQv4traVhgQhs7F7Px1og5ES39BNnE Ipog== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=OFC+qGqyEoxE0oUsrgppNB8XB6HKIYfz/pv8L0Ff1Yc=; fh=+j3EAvqKa1WMvnYQJMd3vLk5JDeFJ4yTBbOjsXceJv0=; b=rI92A03Fzl6flvJjpq2dg0s4mxOZ1KKO3wCfMon8a0z1nGsBDRmbf5InPGsSClK7qk b9As+t2HNuMP2dxCtaeoPCbkC/bMiH8F/M6e7UF9kr8k8OUWr2UGV0W2UcozFLAoKAl6 Ef6/Iqbg3iYF76hRqXvSMU55BIXhc6Gn+g7+bho6/Pld98+luQrOLnIuGtFCTEy+n/JY 8j9Hj/ZYDKTU8aaEba/lMOBxLK+x47xf9JcoF3tvGulmxw2pnVplsRrtPfzxLXGv/Lcb QY53d8pvVathb0X1FKonJLexF71fDVZLoNJCa9XPmR9pySj3idsR8IWUXAdu24jGYg+Z ktKg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BYdA9rPg; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-150412-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150412-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id mh16-20020a17090b4ad000b002ac340400basi295602pjb.123.2024.04.18.08.55.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 08:55:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-150412-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BYdA9rPg; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-150412-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150412-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 6C496B24D82 for ; Thu, 18 Apr 2024 15:40:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AF7E816EBEB; Thu, 18 Apr 2024 15:40:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="BYdA9rPg" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AA76D3B18D; Thu, 18 Apr 2024 15:39:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713454799; cv=none; b=Qmjioeyurkww2TqgWZ++rZrqw7HpHWDoslUKmsecGcnGGFl5KMRNp+T5CUolXqpk4RDSCrMCsH+XdKQ0WZF3jsN7s4NCpQ+1DvDVgAgMCMpAgHL5rTPGbb/lAdMcXzMb7K7g+T3dtqQ5lxXmD83j3nexcAXZnQ50FgcVbeZcriY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713454799; c=relaxed/simple; bh=eZMo4P2E3CI3NQ6VH6HqGAvDmu58DfAbXNVuH3h7jwE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gPe3xYsaUgnn6Wktkp+DML8ssB4YDCCMOh6jGpXhOpwK3ob6nbw3DVDOxlrZkhP8jtKeBZjEBYv4WdL9rhaRoxUNEDzgxqI0R6fw30Scj2iRGVYLkkpnpJTqbOKAUmJMweLd9hb3euL9FpKPnGHa6lgQQZ53S4uvknxoU622TrI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=BYdA9rPg; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 353BCC113CC; Thu, 18 Apr 2024 15:39:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713454799; bh=eZMo4P2E3CI3NQ6VH6HqGAvDmu58DfAbXNVuH3h7jwE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BYdA9rPgLqH9mQrFMhFCJ0IxNEI1EPG1KW8IjdO8N34qYNd0IW7o+DhVI0Qvqo0/O nvZFc+kcsRtbdHHv3NpSVBq2Mbm3hBoEcVQoCOtxs8Feosp5VMtSHzD+ObJJDE+yVh GiQELdSH/N9ITBo1vWmCE2Kb3Yr+xPzzd5CFKaK3n0bAJYIVHLlDZmrX/WeQdtpbCy hAhQFdzzZJPdpNRUwKgew/X6ZJ/ImN2r2DmcfmTf9ztDXj7zVS9+yAtD/UWeex7Eru Mpb8W6ZEcLbI6mlxAiMFQRM2jJOxJc4BUNTw02oYt6d5ZV/cz3GkEtdwj9HIgFGGw3 JgSE8/YIRYMMw== Date: Thu, 18 Apr 2024 16:39:52 +0100 From: Conor Dooley To: Parthiban Veerasooran Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, saeedm@nvidia.com, anthony.l.nguyen@intel.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, andrew@lunn.ch, corbet@lwn.net, linux-doc@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, devicetree@vger.kernel.org, horatiu.vultur@microchip.com, ruanjinjie@huawei.com, steen.hegelund@microchip.com, vladimir.oltean@nxp.com, UNGLinuxDriver@microchip.com, Thorsten.Kummermehr@microchip.com, Pier.Beruto@onsemi.com, Selvamani.Rajagopal@onsemi.com, Nicolas.Ferre@microchip.com, benjamin.bigler@bernformulastudent.ch Subject: Re: [PATCH net-next v4 12/12] dt-bindings: net: add Microchip's LAN865X 10BASE-T1S MACPHY Message-ID: <20240418-hypnosis-oblong-028c107e6c3f@spud> References: <20240418125648.372526-1-Parthiban.Veerasooran@microchip.com> <20240418125648.372526-13-Parthiban.Veerasooran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="OMoF28WElBeQfUgK" Content-Disposition: inline In-Reply-To: <20240418125648.372526-13-Parthiban.Veerasooran@microchip.com> --OMoF28WElBeQfUgK Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 18, 2024 at 06:26:48PM +0530, Parthiban Veerasooran wrote: > The LAN8650/1 combines a Media Access Controller (MAC) and an Ethernet > PHY to enable 10BASE-T1S networks. The Ethernet Media Access Controller > (MAC) module implements a 10 Mbps half duplex Ethernet MAC, compatible > with the IEEE 802.3 standard and a 10BASE-T1S physical layer transceiver > integrated into the LAN8650/1. The communication between the Host and the > MAC-PHY is specified in the OPEN Alliance 10BASE-T1x MACPHY Serial > Interface (TC6). >=20 > Signed-off-by: Parthiban Veerasooran > --- > .../bindings/net/microchip,lan865x.yaml | 80 +++++++++++++++++++ > MAINTAINERS | 1 + > 2 files changed, 81 insertions(+) > create mode 100644 Documentation/devicetree/bindings/net/microchip,lan86= 5x.yaml >=20 > diff --git a/Documentation/devicetree/bindings/net/microchip,lan865x.yaml= b/Documentation/devicetree/bindings/net/microchip,lan865x.yaml > new file mode 100644 > index 000000000000..4fdec0ba3532 > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/microchip,lan865x.yaml Filename matching a compatible please. > @@ -0,0 +1,80 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/net/microchip,lan865x.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Microchip LAN8650/1 10BASE-T1S MACPHY Ethernet Controllers > + > +maintainers: > + - Parthiban Veerasooran > + > +description: > + The LAN8650/1 combines a Media Access Controller (MAC) and an Ethernet > + PHY to enable 10BASE=E2=80=91T1S networks. The Ethernet Media Access C= ontroller > + (MAC) module implements a 10 Mbps half duplex Ethernet MAC, compatible > + with the IEEE 802.3 standard and a 10BASE-T1S physical layer transceiv= er > + integrated into the LAN8650/1. The communication between the Host and > + the MAC-PHY is specified in the OPEN Alliance 10BASE-T1x MACPHY Serial > + Interface (TC6). > + > +allOf: > + - $ref: ethernet-controller.yaml# > + - $ref: /schemas/spi/spi-peripheral-props.yaml# Can you use the same referencing style for both elements here please? Otherwise, looks aight to me, so with those fixed: Reviewed-by: Conor Dooley Thanks, Conor. > + > +properties: > + compatible: > + oneOf: > + - const: microchip,lan8650 > + - items: > + - const: microchip,lan8651 > + - const: microchip,lan8650 > + > + reg: > + maxItems: 1 > + > + interrupts: > + description: > + Interrupt from MAC-PHY asserted in the event of Receive Chunks > + Available, Transmit Chunk Credits Available and Extended Status > + Event. > + maxItems: 1 > + > + spi-max-frequency: > + minimum: 15000000 > + maximum: 25000000 > + > + "#address-cells": > + const: 1 > + > + "#size-cells": > + const: 0 > + > +required: > + - compatible > + - reg > + - interrupts > + - spi-max-frequency > + > +unevaluatedProperties: false > + > +examples: > + - | > + #include > + #include > + > + spi { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + ethernet@0 { > + compatible =3D "microchip,lan8651", "microchip,lan8650"; > + reg =3D <0>; > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <ð0_pins>; > + interrupt-parent =3D <&gpio>; > + interrupts =3D <6 IRQ_TYPE_EDGE_FALLING>; > + local-mac-address =3D [04 05 06 01 02 03]; > + spi-max-frequency =3D <15000000>; > + }; > + }; > diff --git a/MAINTAINERS b/MAINTAINERS > index f41b7f2257d2..2172431a1935 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -14378,6 +14378,7 @@ MICROCHIP LAN8650/1 10BASE-T1S MACPHY ETHERNET DR= IVER > M: Parthiban Veerasooran > L: netdev@vger.kernel.org > S: Maintained > +F: Documentation/devicetree/bindings/net/microchip,lan865x.yaml > F: drivers/net/ethernet/microchip/lan865x/lan865x.c > =20 > MICROCHIP LAN87xx/LAN937x T1 PHY DRIVER > --=20 > 2.34.1 >=20 --OMoF28WElBeQfUgK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZiE+yAAKCRB4tDGHoIJi 0p0YAQCAdG43pmde0U/WZ/1qUZLp+G75xP7+MuDgEJBmYJK+ZQD+LbWbLS+rfHQD 5Lbz0TgMasyOgD4o28CfPhXnnRx9hQc= =TRKB -----END PGP SIGNATURE----- --OMoF28WElBeQfUgK--