Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp3164939rdb; Tue, 6 Feb 2024 08:56:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IHHO6CHmMAhqmymFIiUaRuyn7sWEu0nuexGpR8RzDUWuhC/n2W0kPiZW5JLdJn5P0jLhvSn X-Received: by 2002:a17:906:568b:b0:a37:c159:60a8 with SMTP id am11-20020a170906568b00b00a37c15960a8mr2272697ejc.29.1707238592015; Tue, 06 Feb 2024 08:56:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707238592; cv=pass; d=google.com; s=arc-20160816; b=srfErLQDp9OrfPPxi+qagnK2hGvQM5KnCU5V4RmehyjYNjoLiEbb6rboi6vlvkpfxw 1t5R2+t9+WfDOhOXST1MlFZGMAmNZOzXP4QWEcb72U7INXlL01DZnlICwJIw8rG7qaga O0xqhXaVzZm2AjZaRr9G+2Kmb7f/ZXXKJpelngVMkEOi42CEizkC7DznngudXWlxH4/5 RxUeqCqZM+CFCf8WHFGTjJl8ktTB/UjdilJJwD8scEvM+VtGt4yi/ebVh/dMsCDNIcEP TGn9C1EQtlrG/1gHBaUEBbMxC9RInL2ionITie6cJuDiUqd3FAUjeQ7U72OlVN7DdwPi PClw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:subject:cc:to:from :date:message-id:dkim-signature; bh=DQYvS2Nd94lvkvJ5h7uQC8LM8aPq2LsaJJg/9Gdvc2I=; fh=rC36WvnHEK52ouRF1SmhHO5sspDMeeIne2lDno2FHG8=; b=mq9ZVQfQZ0Ea9i2m3EkvX81NMYbzWfdIsnp0DeAXDFN2r2A4XEGSqv26jiMi1l6+Sa NrHTTu6iZ56MhrUwEDl30lx9ap1eSs/hSyp1GL2nLoPCOx2H/hvhvLJMqKx4DGULt3qs lUpGChwOBQYScjQBnmUJOaCcO4x3P47zWhtpDsQjrZi172ogOD5Z3cU6pQ7E2kGL0I4K peMWxqKCBH+TooVeA/rT4bGBdyrHdbQVdx4UZOaM9R+8kLFyisUdJPJnAChiCnGNha8f SgQ+WCPGqJQi+ky92bWw4StLvfM/8BF4+8CJfO2qVQ4cFd+i1NAXXlkDgLLZXRUy4Q+M pNEw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BQGbIz22; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-55343-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55343-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=1; AJvYcCWnc61yg0Fb0I888JtTai0HxR87GATDYUjf+aF066GbOkAn6PtrUDktJoep9qwonIe5RfPn3y+LO9o7bbQ6kLPgd+r+xoG6vnnLoye8Jw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id jo10-20020a170906f6ca00b00a384857f32asi347574ejb.69.2024.02.06.08.56.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 08:56:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-55343-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BQGbIz22; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-55343-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55343-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 7CE881F20585 for ; Tue, 6 Feb 2024 16:56:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 89FC76FD9; Tue, 6 Feb 2024 16:56:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BQGbIz22" Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0F0C44A3C; Tue, 6 Feb 2024 16:55:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707238560; cv=none; b=SHlHuexPUsLPO2hcn8eVTU1/3qnP7HM4uiTU/Nu6bTMWXkdGDWO2TRBSPja7SU8gd0GynQ6GXUSWpe4o1P6yFjhUTpvAmtaQVZVJBN78+wsfKPG8UQ3di55TBZHrAgLHANpt1ZmO7EyDRYn5yypsR6crTjVHc8uzsAGTgZ/N1xw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707238560; c=relaxed/simple; bh=0DzQTz3e7duXjAdDGG2HxGhv1OSVoCiUZ8ZzzpuxZLY=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LVvWXghvFYDJZgl9wfYqDo4lUMb4KFEf5uR0iRTzl3O+LT6JYdbE1kXNKbOX8wc13N9w4fVId5pBkNtI5HA8CDoZueJSc10opeJeWPvCpeC/yTe3R5qYxNAZW/FNQYe8ba63iJ1Umavhr23n3y0g44N88EQMgff9BQlY5XczOuk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=BQGbIz22; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-40fe03cd1caso11653275e9.0; Tue, 06 Feb 2024 08:55:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707238556; x=1707843356; 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=DQYvS2Nd94lvkvJ5h7uQC8LM8aPq2LsaJJg/9Gdvc2I=; b=BQGbIz22UGh572OC2HLAsucmz77YDcpwdfMcN7UR8a1L5dFHVF8vxBlduHyNnCUlUu 6+GQGHeaAYrg1oIzMlDI8GpBNEGPCwbgbtrRE+CKdp+mrSUyibcdf/vbMOoCPVQs2wPy SAKJ87l1cT98d9gDwKu31cKPcfTCV9RR1B/DlcNRjjs1WJ9wpwC0ecA0yqg4Fv3rV8WY Hi84IBHugrPNmIOdhZkIMxQiIuL7sFz+ygNes6e2CwJ32WQB2Bko/mIQP6HbXhvcnzIh QEmoVyL/epMllOljK6nUDyIn2r0W2EXx7qwqR/u8xHs/qsk8SfhvRbKnqRzVwVVYFOKq pP9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707238556; x=1707843356; 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=DQYvS2Nd94lvkvJ5h7uQC8LM8aPq2LsaJJg/9Gdvc2I=; b=ejNPXSghEHJ8SojJ0cQCE7pTfmXm3tFh9fBq4+Cdn02OEauKe/hx/yqyD4v9KU2i3a e/N2ELausuSXDZa1xQZDRz5FlP9T7j4/ca6dfrcogG8GqIIppj/2omI+q0a9ZmqCjjZW 39V5VAWyRc6Xq86pGraYDlC9xwygt2lWe3LrgnxtJKPjAM4j+bfu2Ic/z/gzPyGQTm8b KBviT9X1SZFtrpGhiLz0OmxugaRKh/HVuNuhMqYUgHf4mBuHmNG0yPluJg8JQgcZmYZ3 DlL6c3roGznMOTxajnW+q9RYktUOaWi2mpQERXR0ebijc+7zTweHOBr9uMy2i2JRB57q 0Asw== X-Gm-Message-State: AOJu0Yw7pHst92ymvshOot+ulL1S6fQjvQw4+AVPCjD4l6uE145rSUpW SsTf9zIA+ORKNl2z06iu8t82YY1xLaYxhd3M9W4XIBUQoPVXmOwP X-Received: by 2002:a05:600c:138c:b0:40e:e25c:41cf with SMTP id u12-20020a05600c138c00b0040ee25c41cfmr2498046wmf.12.1707238555647; Tue, 06 Feb 2024 08:55:55 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCWDCewoDdshbLkNDODTr84UP83nCrRLXABxPAlbqM+t6esdx9VWGB+QzPbH8bK0l4x0Vay8RcCwsGBh/qJekO95e0iAZ8CaK1FvfP8C+tW1L/2sdafTIABL+3TtYf6tJCEDNF8BSTrCeYfFlco6Kj+RDWyVXLGEZkwd6Gt89p35AGWs3b23LUs3bW3H+DEPVHhsEalI96bbL7anvABvfgVQLCcPtq3F8/S5RKJsnm+I5EyZSfN+mN8YzDwlI4dAjIfI3ZoSOmx0/2kL/RshNCDKCG1Wkxz1aOX88fdY91SjLCtxgptHp+msRLqbwkSPX8RQQFItKLPWURWGtGl6i0vpQUiQU/JHpeagkvZvuSskVxR44vGCOHtonjVLnzaNX1ey3kTZqqdFKFt34lVmI7yx9itY36gzihAxV9S+VTURG+XXZsSydnOKqYIoYe6HrQYxG3w2hg/6l0P6ybNgy6GgPJkClUoeTGPNu9d9DjA6rDvhh3ruCsJwWGy0SemXYLaYNte/qjdyICauE+m8eo1JWQqz3SlkhuOaCTkLId4CKzoYOujTi+JCsyALaFhxh7zsGg2Fj3WeNARWhxKMcJz2IyZ7048nH5fxRu9h1Kf5QQ024MJVZD76VJyE Received: from Ansuel-xps. (93-34-89-13.ip49.fastwebnet.it. [93.34.89.13]) by smtp.gmail.com with ESMTPSA id l9-20020a1c7909000000b0040fc2f07ed5sm2456846wme.27.2024.02.06.08.55.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 08:55:54 -0800 (PST) Message-ID: <65c2649a.1c0a0220.ca891.c8da@mx.google.com> X-Google-Original-Message-ID: Date: Tue, 6 Feb 2024 17:55:49 +0100 From: Christian Marangi To: Conor Dooley Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Andrew Lunn , Heiner Kallweit , Russell King , Florian Fainelli , Broadcom internal kernel review list , Robert Marko , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [net-next PATCH v6 05/10] dt-bindings: net: Document Qcom QCA807x PHY package References: <20240205164851.1351-1-ansuelsmth@gmail.com> <20240205164851.1351-6-ansuelsmth@gmail.com> <20240206-correct-viscous-1f8c163f4d0c@spud> 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-Disposition: inline In-Reply-To: <20240206-correct-viscous-1f8c163f4d0c@spud> On Tue, Feb 06, 2024 at 04:32:29PM +0000, Conor Dooley wrote: > Hey Christian, > > On Mon, Feb 05, 2024 at 05:48:37PM +0100, Christian Marangi wrote: > > Document Qcom QCA807x PHY package. > > > > Qualcomm QCA807X Ethernet PHY is PHY package of 2 or 5 > > IEEE 802.3 clause 22 compliant 10BASE-Te, 100BASE-TX and > > 1000BASE-T PHY-s. > > > > Document the required property to make the PHY package correctly > > configure and work. > > > > Signed-off-by: Christian Marangi > > I think this looks pretty decent, some minor comments. > > > + qcom,package-mode: > > + description: | > > + PHY package can be configured in 3 mode following this table: > > + > > + First Serdes mode Second Serdes mode > > + Option 1 PSGMII for copper Disabled > > + ports 0-4 > > + Option 2 PSGMII for copper 1000BASE-X / 100BASE-FX > > + ports 0-4 > > + Option 3 QSGMII for copper SGMII for > > + ports 0-3 copper port 4 > > + > > + PSGMII mode (option 1 or 2) is configured dynamically by the driver > > I'd drop mention of the driver here, with s/by the driver//. > Sure. > > + based on the presence of a connected SFP device. > > + $ref: /schemas/types.yaml#/definitions/string > > + enum: > > + - qsgmii > > + - psgmii > > + default: psgmii > > + > > + qcom,tx-driver-strength-milliwatt: > > Is this a typo? Should not it be "drive-strength"? There's 39 mentions > in tree of "driver-strength" and 3500 for "drive-strength". In the PHY datasheet the reg is called TX_DRIVER and the description say TX driver amplitude adjustment. But the section is PSGMII/QSGMII drive control 1 register... Guess it's a typo in the datasheet. Will change to drive. > > Otherwise I think the review comments have been resolved: > Reviewed-by: Conor Dooley > Thanks! -- Ansuel