Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2812470rdb; Tue, 12 Sep 2023 12:52:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHkf+M6f5H7QS8OJpFhxPeb7Ty+CVsbG5vkKANcXITV0/CKRcV2fx+WaRf9/cjABeNG9zEj X-Received: by 2002:a17:90b:113:b0:273:735e:6e06 with SMTP id p19-20020a17090b011300b00273735e6e06mr290798pjz.9.1694548352352; Tue, 12 Sep 2023 12:52:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694548352; cv=none; d=google.com; s=arc-20160816; b=w0A+5Z7cSBV939XxAsd0ci1ZbbsDtdGqt/MhLuzydhWVfP3igKtEZlVI5bV8Hv9071 6Xs3d8ZXmM4i0sAjHWXvXaVX+iMmu5w2E9u8T+o7eF3TgVBRP3mKDsEHY1B38HVWx3QP iBMA9sWyHTaDEYIAg2nRfUimYrjXVHGXWebX/6x01TR2MnINZc91mxyzPzhfTxMo/KW6 IjXGIY3a9LipO/f9C8zTdG3e8IdsmmBnbCRDhG5gNiq6HIMRSxwtMLcpKE9b5qF5WVgc xoHPbloKcg2x1fK/MoxRfU8b2NjdUB+epI8CnvcXGmpm/yCZSg7IKDVA73YEXcJu8ybz khNw== 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:dkim-signature; bh=gJjWjCvzjTWsQueLFBTaq3Sqnmya67aAWoGNbP8Czo4=; fh=JifZmPSh9I8i1HOBu/IZKpColUp+gv3umt9cIBgaPR8=; b=jUUsziZ1Ayqs/KpSVJMk2LxmfHMCHxqS0kaLG4egzWtGlMBIWBhZid/s6p0QSgAXge zKQMctbNTmqkJh2KkuM2gBWdQPeSvxUeZDl1lEHZsI5Q/O4igvQWu+OoDzdDxzGNdp5A 0ckTSWgZ0fel30yRZfvSxGIUwMU3gq8LL4LOfGPEPT1Ser6ki++O7/SIRzO6HsUUnSj/ 0DbTbYJ/FR+3voL2wM6w4SVL0HfAX2odHmmbt8rg0ukjUeDxCZcTqPnDih1Y9bx3ynCa ooP6rb9Yhc6gFefOZR3Kxk4PEK7hmvaD4yOULwmfWVgZQTHB6BORgYHp184HX0teHAZP +J1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=fXyzuGJL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wanadoo.fr Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id z3-20020a170902d54300b001bbdd44bbd4si8719001plf.74.2023.09.12.12.52.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 12:52:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=fXyzuGJL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wanadoo.fr Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 5C2FB830F56D; Tue, 12 Sep 2023 11:38:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237399AbjILSiU (ORCPT + 99 others); Tue, 12 Sep 2023 14:38:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232470AbjILSiS (ORCPT ); Tue, 12 Sep 2023 14:38:18 -0400 Received: from smtp.smtpout.orange.fr (smtp-16.smtpout.orange.fr [80.12.242.16]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C85D710EF for ; Tue, 12 Sep 2023 11:38:14 -0700 (PDT) Received: from [192.168.1.18] ([86.243.2.178]) by smtp.orange.fr with ESMTPA id g8GzqaTAidUSag8GzqmwHQ; Tue, 12 Sep 2023 20:38:13 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1694543893; bh=gJjWjCvzjTWsQueLFBTaq3Sqnmya67aAWoGNbP8Czo4=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=fXyzuGJL535OOgG/gUoUYvhGpJSjMxj5+Ed+yyVpThO6lTRpKH7k1KKANGGSHVZA/ imnCaeFq7So19OjQawTGRRm8vjh6/mf4sqM6TqCHj5V/RrBIw1QxaTYHycwXsY5Akz sbsmOPjfAMI54vFSppT7Y0lSuG1z4VazGb/t2VKy6XZF7DsFW2qiguOeZgbz/9r6kc Z2OpymZVceBmy1ZHBtqUbR6m32LOnMggNcY97/ClnvD67ABlYqMlO7Nzjyv96DyWDt Xrz0FPgG+7GKlNqUxo9AzNvxujyD0DZusSH8r815NVZ4X/UCbHl5tMNFoR/w/ChjM2 wcRrvSqhCkDPw== X-ME-Helo: [192.168.1.18] X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Tue, 12 Sep 2023 20:38:13 +0200 X-ME-IP: 86.243.2.178 Message-ID: <35c1c9ee-357f-4ba5-dd47-95d4c064e69b@wanadoo.fr> Date: Tue, 12 Sep 2023 20:38:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: [PATCH net-next v4 2/2] net: dsa: microchip: Add drive strength configuration Content-Language: fr To: Vladimir Oltean , Oleksij Rempel Cc: "David S. Miller" , Andrew Lunn , Eric Dumazet , Florian Fainelli , Jakub Kicinski , Paolo Abeni , Woojung Huh , Arun Ramadoss , Conor Dooley , Krzysztof Kozlowski , Rob Herring , kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, UNGLinuxDriver@microchip.com, "Russell King (Oracle)" , devicetree@vger.kernel.org References: <20230912045459.1864085-1-o.rempel@pengutronix.de> <20230912045459.1864085-1-o.rempel@pengutronix.de> <20230912045459.1864085-3-o.rempel@pengutronix.de> <20230912045459.1864085-3-o.rempel@pengutronix.de> <20230912113553.fselyj2v5ynddme2@skbuf> From: Christophe JAILLET In-Reply-To: <20230912113553.fselyj2v5ynddme2@skbuf> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 12 Sep 2023 11:38:26 -0700 (PDT) X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Le 12/09/2023 à 13:35, Vladimir Oltean a écrit : > On Tue, Sep 12, 2023 at 06:54:59AM +0200, Oleksij Rempel wrote: >> Add device tree based drive strength configuration support. It is needed to >> pass EMI validation on our hardware. >> >> Configuration values are based on the vendor's reference driver. >> >> Tested on KSZ9563R. >> >> Signed-off-by: Oleksij Rempel >> Reviewed-by: Andrew Lunn >> --- >> + if (!found) >> + return 0; > > Maybe "have_any_prop" would be a better name to avoid Christophe's confusion? Not sure it worth it. Christophe should learn to read code or avoid some quick feed-back before morning coffee :) 'found' looks good enough. CJ