Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp3460432rwo; Mon, 24 Jul 2023 11:18:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlGH4NQa3qIoAIlpvMeDPUDSt813WqlMR7gfi5QQPYZAUB0KhARTFOKomb/TUza3ARaVNrvx X-Received: by 2002:a05:6a00:b51:b0:65e:ec60:b019 with SMTP id p17-20020a056a000b5100b0065eec60b019mr7242080pfo.25.1690222722104; Mon, 24 Jul 2023 11:18:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690222722; cv=none; d=google.com; s=arc-20160816; b=Mk5WEg2UUfu9YB71kbKO365XKf2QIxqs/NDboH37uvtAaj0Q7XQ917KBbvBEDmKMST /aTi/pu0+3IW2o7T0R49uMQ1UJhVFby6k8oeFPZg1gmRaW1GVWJ6fbOVuveUW2Eekhec LVRAxs+IbAj1OIjtv8UqCIgMeYLLZqgXvdEl8OtqqzStjyzOvJ//yDT4ET9v8Wya0+L/ sGVsVl7/dBr8UIlNCTg8NmqVJP7fouh/ngd/QWqhKYMuO296NaC+jSYa1lr9frnT4zsT CJchS9DglVo+QlNVKO7YXV4oI6x2nGFYxAORZe2AMVBb3mYE+J14j0d7hX1IJeCUAmCH u5sw== 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=0tSjLVFM7jH+JocT0pgR5VVoGU1VXJ6xRheZqs0EmJA=; fh=Jym2PZuUqz887QdhdQOhdPXe7Z4Xy89+1b4dTtbRHl0=; b=yqWIS9Q8QeUSxurJZl2lzgC9mp8pjP8qarGHQ/UQ8j7oO3cGCsm4Xg8oZhLqvwmo+P leUUyAd5M5niqt27Za1Vhb3zl6QgVFv/4Do7QVPUFwbncwm5jWZ05WbD0XoYj49tbh15 5LP3qBqm/tZHXbIH7OoNg6/c0x+T2101fQfGVtlCBA6zs7KYcvltS+pAProEcOUGB63G YwqwRKELiEwhpmqda9RJsTIS3yfWu5bjGXqtE/GvREnfYOV6m1cYZH6YD1WQxo2qVJD4 xHWSdEIelRtrbXRnn5YIZgtWid+CVw5fQg07n5v/mE81LiKMT2BiqWLO6sadpt/YVe4t 9U9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FG+W6428; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p21-20020a056a000b5500b0068664d7f3f2si7756349pfo.88.2023.07.24.11.18.29; Mon, 24 Jul 2023 11:18:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FG+W6428; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230294AbjGXRdu (ORCPT + 99 others); Mon, 24 Jul 2023 13:33:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229567AbjGXRds (ORCPT ); Mon, 24 Jul 2023 13:33:48 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 843C9188; Mon, 24 Jul 2023 10:33:47 -0700 (PDT) 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 025C6612EE; Mon, 24 Jul 2023 17:33:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EAB20C433C8; Mon, 24 Jul 2023 17:33:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690220026; bh=C1kIKtLvD2fSSuDBUdV4Cvt/EP+eROsYIbuJMlryYOI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FG+W6428sBf3W01KAkqIHUbc3/Yd86j+flK1Wp5sBRGtLSvPu28CefvMEXFfQC9pX TvAKx1TGhyecq/RNkiSEIdn5wPic4kTBQvaiRL6dGPfe4fHJT2mqm26gEbUX1IfqxB 4wRD0qCxmYN58aZhTvHAju6H0LpQgRMxZrwqMmgdlJQIsmzqJm0ow2AvZ77GCG5CFx 8n0gyBkWEKOmwgZ7Wsq1hX0+9eQo+RKw9aXBnCnhCcKUASoyt+SK6JmGR+7vg2FCOT rciF2US5mfBIANhCxd8KvVfIBOLTEbn2vNEL5z8GmiZHGGw1/am7rDXPwbWj7b0LCR Q6oAhmCig3nCQ== Date: Mon, 24 Jul 2023 18:33:41 +0100 From: Conor Dooley To: nick.hawkins@hpe.com Cc: verdun@hpe.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 1/5] dt-bindings: net: Add HPE GXP UMAC MDIO Message-ID: <20230724-tragedy-mute-3d165bf7fdf6@spud> References: <20230721212044.59666-1-nick.hawkins@hpe.com> <20230721212044.59666-2-nick.hawkins@hpe.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="D31npTHFewmiLuNr" Content-Disposition: inline In-Reply-To: <20230721212044.59666-2-nick.hawkins@hpe.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --D31npTHFewmiLuNr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 21, 2023 at 04:20:40PM -0500, nick.hawkins@hpe.com wrote: > From: Nick Hawkins >=20 > Provide access to the register regions and interrupt for Universal > MAC(UMAC). The driver under the hpe,gxp-umac-mdio will provide an > interface for managing both the internal and external PHYs. >=20 > Signed-off-by: Nick Hawkins > --- > .../bindings/net/hpe,gxp-umac-mdio.yaml | 51 +++++++++++++++++++ > 1 file changed, 51 insertions(+) > create mode 100644 Documentation/devicetree/bindings/net/hpe,gxp-umac-md= io.yaml >=20 > diff --git a/Documentation/devicetree/bindings/net/hpe,gxp-umac-mdio.yaml= b/Documentation/devicetree/bindings/net/hpe,gxp-umac-mdio.yaml > new file mode 100644 > index 000000000000..bb0db1bb67b1 > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/hpe,gxp-umac-mdio.yaml > @@ -0,0 +1,51 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/net/hpe,gxp-umac-mdio.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: HPE GXP UMAC MDIO Controller > + > +maintainers: > + - Nicholas Hawkins > + > +description: |+ You've got no formatting to preserve, so even | on its own would be wasted here. > + The HPE GXP Unversal MAC (UMAC) MDIO controller provides a configurati= on > + path for both external PHY's and SERDES connected PHY's. > + > +allOf: > + - $ref: mdio.yaml# > + > +properties: > + compatible: > + const: hpe,gxp-umac-mdio > + > + reg: > + maxItems: 1 > + description: The register range of the MDIO controller instance This is a statement of the obvious, no? Otherwise, looks okay to me. Reviewed-by: Conor Dooley Thanks, Conor. > + resets: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - "#address-cells" > + - "#size-cells" > + > +unevaluatedProperties: false > + > +examples: > + - | > + mdio0: mdio@4080 { > + compatible =3D "hpe,gxp-umac-mdio"; > + reg =3D <0x4080 0x10>; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + ethphy0: ethernet-phy@0 { > + compatible =3D "ethernet-phy-ieee802.3-c22"; > + phy-mode =3D "sgmii"; > + reg =3D <0>; > + }; > + }; > --=20 > 2.17.1 >=20 --D31npTHFewmiLuNr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZL619QAKCRB4tDGHoIJi 0kGcAPwLhCiqKYUlAkeinOfunOtHjod1LqGxUusqBN+4m3xU3QEA0tG96pn7achg Hldzm760/YP66jfNd/ze33o5h9E4awE= =aG+M -----END PGP SIGNATURE----- --D31npTHFewmiLuNr--