Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp377139rdh; Tue, 19 Dec 2023 01:21:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IGNutZVepFWmvHIkTazMjMeicDZ3eskY46GbmjbOT+8QAd7FDyXOjg0VUdDhiVJyFGfEooV X-Received: by 2002:a05:6a20:1303:b0:18d:c72:63b3 with SMTP id g3-20020a056a20130300b0018d0c7263b3mr18402994pzh.16.1702977695988; Tue, 19 Dec 2023 01:21:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702977695; cv=none; d=google.com; s=arc-20160816; b=SHSgj8Kb/DlYy5I/hYYyqc+MwvofFI0XB1X4h5A+x6pxJ67lgRhSIJNoNmyVAFy16v fNJOB9HKQ8riR6cWsiAY8mn7L628TOdalZW9YlLNi7TlFiOzhjl0W7aAyWh0VVT2DWRp bFZS/gtOTBecDuTAmGCayfNJzJ1ryC8+gRQJZsDI28E89VFBa73VEx3H2Rmv0+T23siE FLknIBq59OM4aEWKRTY3J78EbSwUsYA9snttYrJCm4TzmQgJPnTspnUxjLPmBvnQrVFq mdE0nuOT9BqAC0p58sLP8Kc871RAGqj4hgVwCM5DbxVXwDPbFo5HrCjHo/FiFxOgylky Jjfw== ARC-Message-Signature: i=1; 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:message-id:subject:cc :to:from:date:dkim-signature; bh=NJNp9yeNZ97nM/HUHnMmpgjxWu53eT5NeGP30O/0tLM=; fh=jOWN13MAyf2wkLE/JyKEy7F8Iusape3SDXn0r64H+U0=; b=HK+P0JkOS/8aipQkrCu8piOrMrEXeqaJr4tINmn6X7n7B1AibTVgd0eeD4IDZ+cgXo n43VAWbpW/0EYwoJe0bF2hDj215kHne5dR1GJDeuuCeReAWWaDgMkrSIWHyoXMJbD/Vd wQ7lvdc8TVx6wwQGHU5lwgbUxm8ul3McKFA87skDmH+3RPbOgixDox4uNsik0/7ziwOM pu9w2uduq5WXDyI1kJcqVw7KA1+jHoNfAdHIjUsDQm9ofqIfs4L/9XA80wuq2KF3cTIL Q/XD6SVkbF24Yhj1NTGtnfm2QVKi/1BviqlvA+b/eWRD4QZXhxDtAYh8GdkTjoxb12iP NCDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="A/J0LlmT"; spf=pass (google.com: domain of linux-kernel+bounces-4950-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4950-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id v18-20020a631512000000b005c65aafd65fsi19288958pgl.93.2023.12.19.01.21.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 01:21:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4950-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=@gmail.com header.s=20230601 header.b="A/J0LlmT"; spf=pass (google.com: domain of linux-kernel+bounces-4950-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4950-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 11F30B2434F for ; Tue, 19 Dec 2023 09:20:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A2AAE13AFB; Tue, 19 Dec 2023 09:19:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="A/J0LlmT" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (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 5FC87134B3; Tue, 19 Dec 2023 09:19:45 +0000 (UTC) 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-wr1-f44.google.com with SMTP id ffacd0b85a97d-33666946422so1808165f8f.1; Tue, 19 Dec 2023 01:19:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702977584; x=1703582384; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=NJNp9yeNZ97nM/HUHnMmpgjxWu53eT5NeGP30O/0tLM=; b=A/J0LlmTFkhR+QXs9M3Epf5Clexxg9nkiTXJyiX7jfsTPebW1SNTFV3d97T9d3wqLk pSYINeTrkPlfOnwD8YoUrrg3yp+++pP9CFcjIkXIq4A1j/U/u08hAVjrwAIDNyokvk9L 4AOQFq8++stLQdrD+XPyTvl5w07IacpqLyblnkCeQJ4wqAa0zZTr8ge/6Rdewuh2i+g4 QYYaBFT1Un8He+G0wXHeHfaqPa65ArwS64qzr9+fykqIE6P5cbW8Uyik2K7oYM2toiS/ YAO4imnLxJt5+Wxh/z3O8YVnOpz8ldOFFPdnpFf4JfZGX1oJexlcEmjyL62nHBdPpR8C koEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702977584; x=1703582384; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=NJNp9yeNZ97nM/HUHnMmpgjxWu53eT5NeGP30O/0tLM=; b=AL9MaaiNWPhSyP6VxTyzfoJDeWxFuBifEOT6S5zr9TPxEm8AGW+kllyrZ/0urRE6tm 75qUkf95iIRhsnsUwJJjVF8rixUIkXosN/Cgz0d/aAbFLKK8PIlQII8NsNdzUyvEpBQZ s8xOiSy1r6H0SZtPx9/c1Qa5Hl+kGw3yjiAvUUnPUJCU/qYIjR9pBdcd7qS827gI6Lsb NGabX7+Sjvc4IrSuyclNLaaEl/UHK0RkvBpibivLOSwW0/94m36Z59lMQHAprjLh5a96 vVeIgXQo+HFM2E5Dg8EtZc9502Zr3L2tLi2amkX4EbX5Brr5VDiu/cbMil4S4JtCK5gp Snbg== X-Gm-Message-State: AOJu0Yw3ezSfahGGNbpiW+/K5beYtF/LCC/99N45Z2RoccmFygJSYXbn iN0LiB+MXZ3a9zuJENdAd94= X-Received: by 2002:adf:e4d0:0:b0:336:5c87:16ba with SMTP id v16-20020adfe4d0000000b003365c8716bamr2910116wrm.93.1702977584082; Tue, 19 Dec 2023 01:19:44 -0800 (PST) Received: from eichest-laptop ([178.197.203.28]) by smtp.gmail.com with ESMTPSA id q18-20020a05600000d200b0033671314440sm1418779wrx.3.2023.12.19.01.19.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 01:19:43 -0800 (PST) Date: Tue, 19 Dec 2023 10:19:41 +0100 From: Stefan Eichenberger To: Dimitri Fedrau Cc: Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: phy: marvell-88q2xxx: add driver for the Marvell 88Q2220 PHY Message-ID: References: <20231215213102.35994-1-dima.fedrau@gmail.com> <74d4b8f9-700e-45bc-af59-95a40a777b00@lunn.ch> <20231216221151.GA143483@debian> <28cc73bf-ed6d-49d8-b80b-4fbf5fa0442f@lunn.ch> <20231217111538.GA3591@debian> <20231218090932.GA4319@debian> <20231219081117.GA3479@debian> 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: <20231219081117.GA3479@debian> On Tue, Dec 19, 2023 at 09:11:17AM +0100, Dimitri Fedrau wrote: > I could add the init sequence for the 88Q2221 PHY. Then you could test > it on your side. Would this be helpful to you ? Did you already have the > chance to test the patch ? Unfortunately I haven't had time to test it yet. I will try to do it on Thursday, otherwise sadly it will be next year. > You are right, but I would propose to stick to the reference init > sequence and make sure the PHYs works with our code and then work on > optimizing the code. We still can remove and/or document parts of it. I am not sure that it will be accepted by the maintainers if you use a lot of registers that are not documented. For this reason, keeping it to a minimum might increase the chances of it being accepted. > Are you trying with the patch I provided or your own code ? If you use > my patch you should wait until V3, because I found some problems with > it. Switching from 1000Mbit/s to 100Mbit/s in autonegotiation mode doesn't > work. I could fix it but the fix touches some code already upstreamed. So > I tried to push parts of it yesterday. I forgot to cc you, just used the > get_maintainer script. I will add you to the cc list. Until then you can > look it up here: 20231218221814.69304-2-dima.fedrau@gmail.com I used my own code so far but I will try again with your patches. Maybe send this and the other patches as a whole series so that it gets clear why you need the changes as Andrew wrote. Regards, Stefan