Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1656988rdb; Wed, 20 Sep 2023 16:03:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGyUOp2TG6NKm+UJUdXSry5QVQQp4gccBweX9sNp3PY57z8Xd1T5wrMqgfnlYB8voD6XMbk X-Received: by 2002:a05:6a21:3e05:b0:14e:b4d5:782e with SMTP id bk5-20020a056a213e0500b0014eb4d5782emr3591103pzc.29.1695251011891; Wed, 20 Sep 2023 16:03:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695251011; cv=none; d=google.com; s=arc-20160816; b=knyd45FFO3zo9WPXbAraeQIREpa3F2k9Iwi9rxzXVcfrSA9mk8dKV5iPnqqBFgnPOK INR838mOkIACpRs9QGhPcBISvzEhwo1Cyep9JM8j54vDWV3qcTjA/EON2iSFFIFpS+f2 AD7cO0gmkp/40Y1zFLQFPK1+a5Aon6iuTBnERWfSk7lHcaQpnwvicTWTZ/+rmflf+EJj 0A0Hn/+QWD76UZ8MHvqk4hXQw+8l8yk5V/QeQryVjXPs/nlL4vHJ3LG+Gs96bewlI/pc Vhf1WaC34ywJEIUxXjcFnLbkJiO76grr+XT2fH+eyShYMRxQ0r8rF4uYE/QnCjE8LPr2 lC8A== 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=NYgPqWlLR9OmoskXgzlKZX5/4oCw4XqQIUHPbq6Tcs0=; fh=h2S0AKGhjKCnbwO2DbWnUaKpkORZ0xSD1z+m3l9jhJA=; b=Larf152pFO06oHLtOir0S5UziM5qtD0GVgUtlQ7U+FveUl49Bhgpq1fBmO9zIYH+AM x5LGhpV9WEWEjBkLNcClKIGGMptmVh7ESdrv9m/hRnHREvr909YQ46ngg65rbXyH9Yrb afZ8hTevZgMBrZTAIWbjdTdM/rChBYiIX3n55k2ILlz8pnlK9OdoYGvBH1uVq20Uz1Ms 9pN1467dRwB/gsRjIHha0YDes+418ch5NUiR4j97scRHppa96NwGZpTzXaZd3H0PdPm6 TMZBdVRAGDZU7+Lj0MnFU0ElR74Qo1eTpuFv7BG/9cu91jQxzO4U+kGmGnGD4b6lMMMW PCfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=fNRPN881; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id n67-20020a632746000000b005740286f2b8si93748pgn.297.2023.09.20.16.03.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 16:03:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=fNRPN881; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id D07DC828C4BF; Wed, 20 Sep 2023 06:37:39 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234768AbjITNhe (ORCPT + 99 others); Wed, 20 Sep 2023 09:37:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233952AbjITNhd (ORCPT ); Wed, 20 Sep 2023 09:37:33 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E400AD; Wed, 20 Sep 2023 06:37:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=NYgPqWlLR9OmoskXgzlKZX5/4oCw4XqQIUHPbq6Tcs0=; b=fNRPN8813hhOtl2h7GqhhE1rLz M7f3uLQvFM+ALO1BlDF93jgOzYIKyUAHK6baOwoPHd00yiPSI17Hosp4W/E7ig21g2wyADu7otOZB /yeX9BkKYB34voDMVHNkC+D+cjSorK/NEsaVmLc5PjhaPXPYPXHVxUteWvrB+qdgiZLs=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qixO5-0070hz-Le; Wed, 20 Sep 2023 15:37:05 +0200 Date: Wed, 20 Sep 2023 15:37:05 +0200 From: Andrew Lunn To: Parthiban.Veerasooran@microchip.com Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, corbet@lwn.net, Steen.Hegelund@microchip.com, rdunlap@infradead.org, horms@kernel.org, casper.casan@gmail.com, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Horatiu.Vultur@microchip.com, Woojung.Huh@microchip.com, Nicolas.Ferre@microchip.com, UNGLinuxDriver@microchip.com, Thorsten.Kummermehr@microchip.com, Ciprian.Regus@analog.com, jtm@lopingdog.com Subject: Re: [RFC PATCH net-next 1/6] net: ethernet: implement OPEN Alliance control transaction interface Message-ID: <52685909-ec92-41b0-957f-25da8a9be9eb@lunn.ch> References: <20230908142919.14849-1-Parthiban.Veerasooran@microchip.com> <20230908142919.14849-2-Parthiban.Veerasooran@microchip.com> <14c089d7-4d34-9cd5-7f77-55c80815e003@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Wed, 20 Sep 2023 06:37:40 -0700 (PDT) > Ah ok, I think there is a misunderstanding here. This is related to OPEN > Alliance protocol. Control transactions consist of one or more control > commands. Control commands are used by the SPI host to read and write > registers within the MAC-PHY. Each control commands are composed of a > 32-bit control command header followed by register data. WNR (write not > read) bit in the control command header indicates if data is to be > written to registers (when set) or read from registers (when clear). so > basically it indicates the type of the control command on the registers. OK, so this clearly indicates the names are bad and documentation is missing if i got this completely wrong. Adding kerneldoc to these functions should help. Andrew