Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp1157664lqg; Sat, 2 Mar 2024 19:40:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV8EFibtckw/luiPBy0HRDb7SjeS7Oguq3yO1ir7SJ06qiuWrv1AYJYPvMExbrSbrW+nXyaNBQ3SglD1KVQKzOXUt2WcZRuUYoMhKGbSQ== X-Google-Smtp-Source: AGHT+IFYI8myArQByNUZ0wygv0uoBG2mb6B49wIlsgXHolzvb6y1fWBC3dWGNrtpZKNdhpeADDdC X-Received: by 2002:a17:902:e746:b0:1dc:a84b:e83c with SMTP id p6-20020a170902e74600b001dca84be83cmr9337285plf.25.1709437258612; Sat, 02 Mar 2024 19:40:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709437258; cv=pass; d=google.com; s=arc-20160816; b=k+azn5+Z9j0Ew9Zzb2SxaTBpKlJuyTvPk/YP8hYkVSocynsOx4rvDdpCuzaaGHMr2l fmIn1/p9xcdTKQ6QVs8RIwNE6XptOPtdAZQgr9ysty+55PqXSbaUFiNTgJsUJwLAMFnA KHhue6EpRhC/UpXx3P68sjrOwIEwkz+iMGbtBEulO4sLasynKsTsn/V15Jkc041ktrg+ mRomHmLMEtg4jJlp5EoPrTH8QWefPp6EI7baRMfB7baLyISe9MySmqKG6OYbdPFEE7gA p0lkCKdfqayqNZyRZEqYI1L4F3tq3iO/GVIrwCJu3FFEVb+QKp9drt6HJoscWChkZwt1 TwJg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=YJ0FeKv2dpFoIjq9MRSRJn9FGe9FPaayA/r9Y4BZp28=; fh=DBloIl1VxzEzXFeDUd8VGouEVcu9Fv+uPyqRjsJWnVo=; b=BhzYep07mq14QlHLCAjrCB8xKP1pVGXc0xRxyZRygUXdPao6OuxAmnU/leoorvH9qp oOzI6hMJ2Ry5ku2u78w8B91sKKCxF3ys+yWIOrKIkeK1Vha65qIG+rLNiPMGysqseZOg n5hqzd8OSJo5fucVjs3EzeYIAQ7NVZZYce5SeHEbYZJNNLHCbT7LjQ9Bl7ZULflRDxWo DpplNVjAsmoHf5yV7mIyRQSRhdQW1YnZ/nr8x6hV4SRW17PDMmILyDeDw7N1rgdVToas Ko9qcPtWFFFBCPLHzIip9teVy7XKb1QwJdKy71K+8mlysnlktA3RMG3hTOa75Y/tJL0a sXOA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lNBqmXuZ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-89644-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89644-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id s12-20020a170902988c00b001dccc017491si5856799plp.140.2024.03.02.19.40.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Mar 2024 19:40:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-89644-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lNBqmXuZ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-89644-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89644-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 869E0B22794 for ; Sun, 3 Mar 2024 03:40:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CBD766FBD; Sun, 3 Mar 2024 03:40:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lNBqmXuZ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE9D2469D; Sun, 3 Mar 2024 03:40:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709437244; cv=none; b=onhtSezuOPuZ0rJvqLUK9EvS4Uw+h2VyjDGJ3RtWEDYauG/SJNAFTfXBfOX8ESo+OX91F2D3JME9RakTMKrMpvrPw/1jsiW7jzH6e2BDNAZpGiItrSYhf8gmP1eYm+efKBQzXxscCrsR6qzXlFH0/4dN68BdGfQ5s9N3qepHcOE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709437244; c=relaxed/simple; bh=EwA6Ug4Nsd81EG7L93AG11bGqeuzSxQPGgSUPSBM6yU=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=nQ4ex49JDa1XuAvmuDh8yDf+5orq+cHvFCITOhNOAiDS8B9bSLphdSP5NmETLexeHQngqpnBN7oy4jxxp2xhhgi1uktqUM7s4eoCFqOdDdo1iq55twXZcO1Q2WNQNqVxOhxxpHr7aTZGPyJip23l7MSwVv2EarBVvZ8twguHX5g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lNBqmXuZ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A82ADC433F1; Sun, 3 Mar 2024 03:40:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709437243; bh=EwA6Ug4Nsd81EG7L93AG11bGqeuzSxQPGgSUPSBM6yU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=lNBqmXuZikyV+iLVF1sg/Ph1Quylm1fn95CzoDzhCspdInXE4t4WdW18CENmYiURL Vf/Oxgug8nbuef+ri8d5wjGYB6kfNtcuDBa+xmKUy4+Kkb4WH4vX7kuoasmRjWYJyK hUjS7hnIb6Q7mLIjyCVbN5KStLSAOKpEQTvSSu+rrpg0PaNgr60AmrZ5iu84jlYU0X dzjAaT+Au3vAaw0v3Y3UmDOmETCQ+88SqEhAnaiIkPwSWRos8MT0b9XZfXCe9rMGuI ZNZ8Gr40laBhDIwPQVev+FK9KOVsJW4mYPwMDJsRzkssjI8UYTqHEthIZhDdJcbSWu HP79DD3M08sRw== Date: Sat, 2 Mar 2024 19:40:41 -0800 From: Jakub Kicinski To: Horatiu Vultur - M31836 Cc: Arun Ramadoss - I17769 , "andrew@lunn.ch" , "linux@armlinux.org.uk" , "hkallweit1@gmail.com" , "wojciech.drewek@intel.com" , "davem@davemloft.net" , "pabeni@redhat.com" , "edumazet@google.com" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , UNGLinuxDriver Subject: Re: [PATCH net-next v2 2/2] net: phy: micrel: lan8814 cable improvement errata Message-ID: <20240302194041.5d8f8fad@kernel.org> In-Reply-To: <20240301072757.t36qqf47erk4jygr@DEN-DL-M31836.microchip.com> References: <20240229195220.2673049-1-horatiu.vultur@microchip.com> <20240229195220.2673049-3-horatiu.vultur@microchip.com> <80bea3ec2ec86d2e75002f849da174f50e0b846b.camel@microchip.com> <20240301072757.t36qqf47erk4jygr@DEN-DL-M31836.microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 1 Mar 2024 08:27:57 +0100 Horatiu Vultur - M31836 wrote: > > > +#define LAN8814_PD_CONTROLS 0x9d > > > +#define LAN8814_PD_CONTROLS_PD_MEAS_TIME_MASK_ GENMASK(3, 0) > > > +#define LAN8814_PD_CONTROLS_PD_MEAS_TIME_VAL_ 0xb > > > > nitpick: TIME_VAL macro is very generic if it can end with specific > > like TIME_VAL_100M or something similar will gives more readability. > > Actually I prefer to keep it like this the name if it is possible.. > Because the VAL_ represents the value and MASK_ represents the mask > value. Therefore the actual bits name of the register is > LAN8814_PD_CONTROLS_PD_MEAS_TIME. > > I am trying to have a naming convetion about how to define names in this > file: > __ Why the trailing underscores, tho?