Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp227997rwr; Wed, 26 Apr 2023 23:56:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4YuM/5pwim8bQ4SRKQte6sdw1M6ZzzVAHowtcNOZJ8hDcrkU41D2RaBPg73o+NE7tzNC6z X-Received: by 2002:a05:6a20:8e19:b0:f5:7e36:486d with SMTP id y25-20020a056a208e1900b000f57e36486dmr642662pzj.3.1682578582569; Wed, 26 Apr 2023 23:56:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682578582; cv=none; d=google.com; s=arc-20160816; b=x+lybOm/1pJzL/UAHBDaVB6pUOTMMltC2JUtPmpufTj2FFxhNfhg1l3wsopkFrr0kY S+Wr62BVROzzUqKCLTSMvYR1M4VMGUReqwfcsc1J2FDt942j0GUHXUV7acqd9+H6I7X9 cK4Gm4MKh7d39SZRcz7zDWx0hwJqm6CLRJNOSwKQZ/7YlHkubm3PD8kkOGxg2QzmgXeb jHnH7MsQ05L/EE9YRUDPm0GaNUV/sZzrf+XwYUky2e9hsgySXDkoYIU9grlLzd0+weWo QvoEA2XQuyrpUYKRKe7oQmNI5+NXd70HO8uGhvxTbQHvj0km/ecDt66LETV8bOzGS0U5 sLzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=BULJVjVNxp29jFZw/ipre3E2tLEgBmZ2UOlu6x9a0to=; b=vJeY20+c9GA5dczruq6nmpaPhy/XdGafodFraUSIkFEegv3RdKMqeAZy4DP9cBVT4f O2Qu84pIGosyZRnB/Uixdk2qJWnpVCY7IIfmCbGw7oQWiHUuwmKrY4nwGH+gA2uBTivL CbptMs+EHckb2Tgv/0dRg133PBdyfCrw0yQWRzoShNatkwa4zZ+H8o3VcD+AeU99QwAj gSVyO3U/SwY1xWYarABAPTj4xA5+JEPLLGRlvfJRpUK0m3KePNAFzCuvEWbZP+gr57DH iJgbow+AeQ1BNuYwwY5PaQe55mAaOw8Q+omPLOy1pWUhupZvam8KsnFkNFTYrtgICGGg gSqg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n13-20020a6546cd000000b0051b31338860si17741836pgr.542.2023.04.26.23.56.11; Wed, 26 Apr 2023 23:56:22 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243053AbjD0GnZ (ORCPT + 99 others); Thu, 27 Apr 2023 02:43:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229601AbjD0GnY (ORCPT ); Thu, 27 Apr 2023 02:43:24 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E6C319AB; Wed, 26 Apr 2023 23:43:22 -0700 (PDT) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 4301F24E246; Thu, 27 Apr 2023 14:43:20 +0800 (CST) Received: from EXMBX162.cuchost.com (172.16.6.72) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 27 Apr 2023 14:43:19 +0800 Received: from [192.168.120.42] (171.223.208.138) by EXMBX162.cuchost.com (172.16.6.72) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 27 Apr 2023 14:43:19 +0800 Message-ID: <2c43c2e3-afdb-6bee-37bc-655c0a1b0762@starfivetech.com> Date: Thu, 27 Apr 2023 14:43:17 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v1 1/2] dt-bindings: net: motorcomm: Add pad driver strength cfg Content-Language: en-US To: Andrew Lunn CC: , , , Peter Geis , Frank , "David S . Miller" , "Eric Dumazet" , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Heiner Kallweit , Russell King , Yanhong Wang References: <20230426063541.15378-1-samin.guo@starfivetech.com> <20230426063541.15378-2-samin.guo@starfivetech.com> From: Guo Samin In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [171.223.208.138] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX162.cuchost.com (172.16.6.72) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 Re: [PATCH v1 1/2] dt-bindings: net: motorcomm: Add pad driver strength cfg From: Andrew Lunn to: Samin Guo data: 2023/4/26 > On Wed, Apr 26, 2023 at 02:35:40PM +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. >> >> Signed-off-by: Samin Guo >> --- >> .../devicetree/bindings/net/motorcomm,yt8xxx.yaml | 10 ++++++++++ >> 1 file changed, 10 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/net/motorcomm,yt8xxx.yaml b/Documentation/devicetree/bindings/net/motorcomm,yt8xxx.yaml >> index 157e3bbcaf6f..e648e486b6d8 100644 >> --- a/Documentation/devicetree/bindings/net/motorcomm,yt8xxx.yaml >> +++ b/Documentation/devicetree/bindings/net/motorcomm,yt8xxx.yaml >> @@ -18,6 +18,16 @@ properties: >> - ethernet-phy-id4f51.e91a >> - ethernet-phy-id4f51.e91b >> >> + rx-clk-driver-strength: >> + description: drive strength of rx_clk pad. >> + enum: [ 0, 1, 2, 3, 4, 5, 6, 7 ] >> + default: 3 > > What do the numbers mean? What are the units? mA? > > Andrew Hi Andrew, They represent the gradient of the current, which should be the higher the value, the greater the current. However, there is no exact current value to determine from YT8531 datasheet. Probably Motorcomm @Frank.sea knows what it means. Description: Drive strenght of rx_clk pad. 3'b111: strongest; 3'b000: weakest. Default: 0x3 Best regards, Samin