Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5409520rdb; Wed, 13 Dec 2023 07:56:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IGw0h6y8Auzg4tL0AAG6TfgLJq4AoU/chRvzOD+17H2H4pQOlaKCoXraMk8Ys0l3CKYwYmT X-Received: by 2002:a17:90a:9c0a:b0:288:966b:9f49 with SMTP id h10-20020a17090a9c0a00b00288966b9f49mr3833459pjp.1.1702482989433; Wed, 13 Dec 2023 07:56:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702482989; cv=none; d=google.com; s=arc-20160816; b=jrX+mbAm8ZIkcRG9mf/MfbDBPtkEF5Rpzr0ry4ro1yF2+fjagBYAezeHniWLC9LpXX DX0BTdMX55rq7/Zj86TNIdZdpB/xFXdg/aAVY0MW8God4Q77xZBSLrTJP1qVPZhz6A/j aOqbwrzUskTDsf42khedD8jIRrsjkKwC/XrijVddDFKEBNEsfzOmv2svcCAqmR8QrnfI 0A0Y1uXS38REyRrOp3BzmhL/h0cVVEElNA1ZvlKxgAmJ4WpdhM3WHxh9HL8JTWLXzONp rCy0c4gR7AC74AkmqCA+hYkAgTNEMtqDHW5LkwNGIP6p2ZkRz6CIN2im6oRp+vklWeIS eh5Q== 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:subject:cc:to:from:date:message-id:dkim-signature; bh=1e68y3FE2MWFKMLTP5Kx3EY4iyEbW3G10jBWGdPzM7s=; fh=KSnBNzz6CO+h7tzGMj9lgb1e+5CZD95KyIXuWnaEN2s=; b=E6a7WxpGw++LdutXWZRnUC3hLPjDWpGyhrA8Ft9aQAIgR+Ba7x3a2ayavKlY50XOSG CjVTdG1+OOsc/lnq0U0EgaM6+oY0ewNdne49WHLYflM2Xb0BaD2UlMwb8hSkUww2f58w mkUisxXpu7mnrHrkUC1tY6qWWpkVJ1yvFB96WdsXz/pT7ExwF3Sf6qg5tsoVRYmIPYqd 5rOvSwdJGK9bxCQUx4947Od2mbGV18vnd1q4Oa60q4GGC8T2UkuTEeyMpplxbxkQuFKf bCCwNGsP8mc7odWx+8rbcOZ3eyivO3+/qr63oh0tVRFPu17So2iGNbCwFt2gpNngqGvY Ldcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CmLnoCAT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id l3-20020a17090a72c300b0028868ea872esi9867322pjk.43.2023.12.13.07.56.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 07:56:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CmLnoCAT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 750F4807D3D9; Wed, 13 Dec 2023 07:55:23 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442385AbjLMPzI (ORCPT + 99 others); Wed, 13 Dec 2023 10:55:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442349AbjLMPzH (ORCPT ); Wed, 13 Dec 2023 10:55:07 -0500 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FFB1B9; Wed, 13 Dec 2023 07:55:13 -0800 (PST) Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-40c2308faedso72634285e9.1; Wed, 13 Dec 2023 07:55:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702482912; x=1703087712; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:subject:cc :to:from:date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=1e68y3FE2MWFKMLTP5Kx3EY4iyEbW3G10jBWGdPzM7s=; b=CmLnoCATwRVs9GWg9e4KkhWWTEFdxIDwhdZI8Ar8CYv8BcTUUzEYbNw5i9Q5OAVoUq G9L7TFXKGY9OZ7rTbiaUy6FItRgIkQLlcAda0njviGWMkSZMrPShdEf2S4o9OakNsh0v /H08wHWVhKLQuJHlOTJCMqg4WYXtdXFtTwre8DAokAgRb/6D6PacGR5zVmvhPCTRLq12 bz687sKt3AcUOfjQaoFmugU4wlb1X/xQPIzqNmoTot76iHbacznTsl28PFCcUSDbwt2y LSXHZYs8HyA74+n7I9ytCIv0u/aRXYDJjwIfXXDFXufxzGK+HlbDdaCG63zINwPVPHaG NpdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702482912; x=1703087712; h=in-reply-to:content-disposition:mime-version:references:subject:cc :to:from:date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=1e68y3FE2MWFKMLTP5Kx3EY4iyEbW3G10jBWGdPzM7s=; b=J7CxrbhOPLEZJYNIL9jC68SCjYYYT/sR1/z8elqCzBdMjcZd/muA6HvIEwm9Pme9Gv +WVN8/KXlPwASUysWWSeLjJ/gNHJAr+XNnSVLg3WOPtydY5qCmjPiw/13DnfbBM1gwT8 6ycRq1r4GPMRYJf3GOWaTP8Vmo4YU+WwwS0jg0uOHxUgXg3W/Axc/Va8FuqjomGDA6tn TDBLNPCCU6cvK+bnqmR6bUqKvUV3yVWoSg9nN13xNARppO8ldOoQ8bcwyquQJCLpCPAR KWiYOhSYOA6xV85zBXv582qdZ7lgM/VAby9O49OX3TnAaBCma9Oa/cayssasGEUniUht pjKg== X-Gm-Message-State: AOJu0Yw2++QIfqkjFhSPHyFafVbfu54pMBE7gMw4G5EOnz5qM0YpC7vy PbLZ9Aqf0PVnbVscits6iX8= X-Received: by 2002:a05:600c:246:b0:40c:c00:dfdb with SMTP id 6-20020a05600c024600b0040c0c00dfdbmr4352524wmj.11.1702482911494; Wed, 13 Dec 2023 07:55:11 -0800 (PST) Received: from Ansuel-xps. (93-34-89-13.ip49.fastwebnet.it. [93.34.89.13]) by smtp.gmail.com with ESMTPSA id t9-20020a05600c198900b0040c490db950sm10760654wmq.47.2023.12.13.07.55.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 07:55:11 -0800 (PST) Message-ID: <6579d3df.050a0220.41f9b.a309@mx.google.com> X-Google-Original-Message-ID: Date: Wed, 13 Dec 2023 16:55:08 +0100 From: Christian Marangi To: "Russell King (Oracle)" Cc: Florian Fainelli , Broadcom internal kernel review list , Andrew Lunn , Heiner Kallweit , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Vladimir Oltean , David Epping , Harini Katakam , Simon Horman , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [net-next PATCH v6 3/3] net: phy: add support for PHY package MMD read/write References: <20231213105730.1731-1-ansuelsmth@gmail.com> <20231213105730.1731-3-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email 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]); Wed, 13 Dec 2023 07:55:23 -0800 (PST) On Wed, Dec 13, 2023 at 03:47:19PM +0000, Russell King (Oracle) wrote: > On Wed, Dec 13, 2023 at 11:57:30AM +0100, Christian Marangi wrote: > > Some PHY in PHY package may require to read/write MMD regs to correctly > > configure the PHY package. > > > > Add support for these additional required function in both lock and no > > lock variant. > > > > It's assumed that the entire PHY package is either C22 or C45. We use > > C22 or C45 way of writing/reading to mmd regs based on the passed phydev > > whether it's C22 or C45. > > > > Signed-off-by: Christian Marangi > > I don't recall what has been said in previous postings of this, but > introducing new helpers without an example user is normally frowned > upon. The lack of cover message for this three patch series also > doesn't help (the cover message could explain why there's no users > being proposed with this addition of helpers.) > These are prereq for the qca803x PHY driver and the PHY package series. I can move this single patch in those series, but it was suggested to move these simple change to a separate patch to lower the patch number since they were orthogonal to the PHY package series proposal. -- Ansuel