Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp182450rdb; Thu, 21 Dec 2023 06:26:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IFc6Yhx41dus4dTouEr3lHNwBQ2kqbqTNrDJ/eDe4YMI9VoTshE4J4yAaIPlIYzjg7xOc83 X-Received: by 2002:a17:90a:788a:b0:28b:ad00:e25c with SMTP id x10-20020a17090a788a00b0028bad00e25cmr3479662pjk.21.1703168779171; Thu, 21 Dec 2023 06:26:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703168779; cv=none; d=google.com; s=arc-20160816; b=Bn8kY7yf6OmnGWtWyCmNRWgsn7Xthx77Ymmj5DAVS8mtznexcPlNCrMtmTubuATe2W akYBeEg93bANBAIltC5+dJ3G0hY4Byu6KltZLKv5GwONkjvjDkHgTrq4jpnJjKf1eL8D LRGp8aMlCs/UEDzEatAfgvoYuUFmdKO4ttXG0qb27DJ8aeRKBMGcX9qXlUg5GrSxnCjf mC/cMQ6qFdW0RrCJeRKRRyWrgnPWTgRis/t3g0sAHM+l4qBDl7cZOu54++aHSO2fi0LS hts6aBYSBnp55bfmlxCtGEVolwc3EmUlQXUdSTQl4oMfdqrGnTqlo7JmIMniFrl2VKkK kftA== 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=83/j5i4zu7kqHHtpPzIPW+ZpoOyRgtDx/AwjGXsP4d0=; fh=+tfY9hoYeOf5R5yRubUtKcE7T+sumh8XCVBBomo8Lfk=; b=OLSNoHFtlfF422634HEbTmZdMllnsNIy+AMsVJF+dKuUZLWbg9ABMaGIWjZHcLmD3l btm3M6R/4tZPreR5UuXdbd/TJpT3RmkPmzVvrOAkgw24wsS6GnQbtZwrpVzxJmdb33sh ZoD4L8De5MyWp7bWyNZX7Yluj0vdTXdrcpDt4MD1QuAJbOEdTXBToPj8PyksVR9+0jcg GZEQCeJfrfyhB4wBXW6NMafvQ9blf4Sh8XrNoQImDfUjcO7b/R5mYCV6DzKxXQMp34C3 XCWRopIZguX+reEWWyRpX9dFrGkUgBpQUVmn1sMoIH1jHxOtpq9qugqlgdep9NgjROC9 RAew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=cwJcp4RE; spf=pass (google.com: domain of linux-kernel+bounces-8568-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8568-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id w1-20020a17090aad4100b0028b3d5a8c4asi1756354pjv.95.2023.12.21.06.26.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 06:26:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8568-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=cwJcp4RE; spf=pass (google.com: domain of linux-kernel+bounces-8568-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8568-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D49F028335A for ; Thu, 21 Dec 2023 14:26:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E83A63608E; Thu, 21 Dec 2023 14:26:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="cwJcp4RE" X-Original-To: linux-kernel@vger.kernel.org Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 AF42E6D6F6; Thu, 21 Dec 2023 14:26:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch 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=83/j5i4zu7kqHHtpPzIPW+ZpoOyRgtDx/AwjGXsP4d0=; b=cwJcp4REq06xDi2EuWB7Mu15O+ SIru0EgHZgeOqPQGhSGuE9UYDynRzuTUYT63EuotMXZDPHkR983oGZPVzE1Sv8Mb0ep7wgin1C4lf sZN2cZdXb7AH8orVwquiluVXqHpj6eBE6gPPV3RJZpOdSsQubor8CA5p5dPtEyL9YKjo=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rGJzo-003WBO-5E; Thu, 21 Dec 2023 15:25:56 +0100 Date: Thu, 21 Dec 2023 15:25:56 +0100 From: Andrew Lunn To: Dimitri Fedrau Cc: Stefan Eichenberger , 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 v3 4/4] net: phy: marvell-88q2xxx: add driver for the Marvell 88Q2220 PHY Message-ID: <59fed161-6c08-4537-b02d-19e67e342dd8@lunn.ch> References: <20231219093554.GA6393@debian> <20231221072853.107678-1-dima.fedrau@gmail.com> <20231221072853.107678-5-dima.fedrau@gmail.com> <20231221141636.GA122124@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: <20231221141636.GA122124@debian> > Without setting the master-slave option it didn't work. I think its > mandatory. I don't think it is. The PHY should have a default setting for master-slave. Often its based on the typical use case. If its typically inside a switch, then it should default to prefer-master. If its typically in an end system, then it should be prefer-slave. Andrew