Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2884636rwd; Fri, 26 May 2023 12:48:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6RlIxCM/zpnpnvF99SGYZ48xC4KnvatkRd0Eq6SlYgmoKo03LcGbJmISTvfaGsvzamGlw+ X-Received: by 2002:a05:6a20:7d94:b0:10c:6dbc:2810 with SMTP id v20-20020a056a207d9400b0010c6dbc2810mr448200pzj.62.1685130507623; Fri, 26 May 2023 12:48:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685130507; cv=none; d=google.com; s=arc-20160816; b=niq1YMCO7vCU9qgRlIyvDqvjjIT9H9WVNc2Ws3BGWZs7GgkVAGpWiry5Mna4AjZd81 7B/SO8tF3GhT3MUrFZMy1u0zlIWT+le4HnRyo9A+aZ7ATyWidpTGkUk2Hpvdz1PEkxCq XmEpWokeM/HdOA4u0yy5L6xQZTjh5uHet2/kWWa7s8yyjPwQfuNAwP2wWpT7Enn5xkXg Zs1BI+Y/TAfjdTrwa38EZVWSlmxdtdK00slOXsNI1lAGuHn7EYLOT34g/TQALw1L/enY S4BulrQGhYHOnccuHK5uGcwv8GNKdtG/P+BqzEXJ9dTPI3DUu2tHBHRWw3OwB4hXl0Jq 1hmQ== 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=yGMSlh66pOZFEg0lr2DGhcGrScf6Ng52/FYeHfKJlXQ=; b=V7rZn47KrlUJUoggwOVecHlJaBerDtiO75nf1eV2iYS+eKrjqlc9JnPBsYY/kkQgFS BaUxfMNKjgqSb+Lwyj5Fib4oY2tXZN98R7j5j7bRE1fXlEn+e4uUSaHbld2hyu6AhDmS Vw2NtXVtJUn8RRLSAEFwx7uh1JIVXJZoFUQlIbJ4TLgwaZvMn+q+sg2rWMXm+iHTM9Zh gbQh9A9lWvdaSpqnGVtOPplypBxj0degxfuBAzOFcMJERRc87dAZv42iAMRkLMNz4aJq o78D+1O3oGLh4TCIoDWVLASsPcB2qrh1p9jtcy3EWvBdoA97WfA8Xg7fg3vp8vIYDBO9 QwuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MB+hILdt; 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 l4-20020a637004000000b0053f24deef14si4256185pgc.319.2023.05.26.12.47.49; Fri, 26 May 2023 12:48:27 -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=MB+hILdt; 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 S229935AbjEZTlv (ORCPT + 99 others); Fri, 26 May 2023 15:41:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229891AbjEZTlu (ORCPT ); Fri, 26 May 2023 15:41:50 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2664A3; Fri, 26 May 2023 12:41:48 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7B4B4615D8; Fri, 26 May 2023 19:41:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C1A6FC433D2; Fri, 26 May 2023 19:41:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685130107; bh=A14wYRd6bd3k17uq6bZSud2jdXo9S6kL3opZr6tnAVM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MB+hILdtM6md541XzDe7RBrwh40QGaXBDxZSD4EJTfzBv5grj2tywoPa7Ocfo0vHz gTzc2aGc9ytleWo+UzhtXz4/vw70KQcT+ptYx/94dQ39T/NZZSuTpa718jCjfnMmkL Iza5uhIxRfRMHG9AYjrT1JUH9KK/ONoZZcEeRUvcVxYAv4KrosHwDVr+dmcFsLSkRC /jWe9cRHDrUvchYl61UcHTmqrEZtWeFVeoho7MhNrqmfWy6dJ8qJYAbsAfPlIHyJxl c68BVcuU66iDC19URkpayCQ1w+ngllXCz88FUEmOFniMgN+1vUxLPwJteyl8tWZfSN pzarNOl5zG9wQ== Date: Fri, 26 May 2023 20:41:42 +0100 From: Conor Dooley To: Samin Guo Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, Peter Geis , Frank , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Andrew Lunn , Heiner Kallweit , Russell King , Yanhong Wang Subject: Re: [PATCH v3 1/2] dt-bindings: net: motorcomm: Add pad driver strength cfg Message-ID: <20230526-glutinous-pristine-fed571235b80@spud> References: <20230526090502.29835-1-samin.guo@starfivetech.com> <20230526090502.29835-2-samin.guo@starfivetech.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="LKgeoOkBxI+igG/k" Content-Disposition: inline In-Reply-To: <20230526090502.29835-2-samin.guo@starfivetech.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 --LKgeoOkBxI+igG/k Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 26, 2023 at 05:05:01PM +0800, Samin Guo wrote: > The motorcomm phy (YT8531) supports the ability to adjust the drive > strength of the rx_clk/rx_data, the value range of pad driver > strength is 0 to 7. >=20 > Signed-off-by: Samin Guo > --- > .../devicetree/bindings/net/motorcomm,yt8xxx.yaml | 12 ++++++++++++ > 1 file changed, 12 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/net/motorcomm,yt8xxx.yaml = b/Documentation/devicetree/bindings/net/motorcomm,yt8xxx.yaml > index 157e3bbcaf6f..29a1997a1577 100644 > --- a/Documentation/devicetree/bindings/net/motorcomm,yt8xxx.yaml > +++ b/Documentation/devicetree/bindings/net/motorcomm,yt8xxx.yaml > @@ -52,6 +52,18 @@ properties: > for a timer. > type: boolean > =20 > + motorcomm,rx-clk-driver-strength: > + description: drive strength of rx_clk pad. > + $ref: /schemas/types.yaml#/definitions/uint32 > + enum: [ 0, 1, 2, 3, 4, 5, 6, 7 ] I think you should use minimum & maximum instead of these listed out enums. You have also had this comment since v1 & were reminded of it on v2 by Krzysztof: "What do the numbers mean? What are the units? mA?" This information should go into the binding, not sit in a thread on a mailing list that noone will look at when trying to write a DT :( Thanks, Conor. > + default: 3 > + > + motorcomm,rx-data-driver-strength: > + description: drive strength of rx_data/rx_ctl rgmii pad. > + $ref: /schemas/types.yaml#/definitions/uint32 > + enum: [ 0, 1, 2, 3, 4, 5, 6, 7 ] > + default: 3 > + > motorcomm,tx-clk-adj-enabled: > description: | > This configuration is mainly to adapt to VF2 with JH7110 SoC. > --=20 > 2.17.1 >=20 --LKgeoOkBxI+igG/k Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZHELdgAKCRB4tDGHoIJi 0hbCAQDvuvTSWPRNxoXFvIBvoNjD4hQVJI4ztANnrP+SfIKHSQEA5AVSZPpJUEdS a3v4ifW/rEkkCs/0+vamGkR5ULUIowQ= =4puj -----END PGP SIGNATURE----- --LKgeoOkBxI+igG/k--