Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6481568rdb; Tue, 2 Jan 2024 03:37:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IHJcHBmh7kUGgXpeh2q6owsSK0iLJ9U63D52nlbdlUEeZiZFEYZ3osGOhlBHHa/1M0Fhq7x X-Received: by 2002:a17:907:904d:b0:a26:9e17:16b4 with SMTP id az13-20020a170907904d00b00a269e1716b4mr6365778ejc.122.1704195425229; Tue, 02 Jan 2024 03:37:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704195425; cv=none; d=google.com; s=arc-20160816; b=mU5t0gH9HGbq0n+0Z6Lp+aGruR2W/ZSJ41Z9l1TTtD9kREkxLHOPDx9dAmfb0uMuCm 6aIsUhrOsgL7zHzueckorv4oHlhQhFaoeDOnzW4EzWekL1lSq1ZX3VZ8UnI2ZiBWJ3+1 2CCpZoy4yUXpFvmofeKI/OS4WItVBk3B3XMgqktQdJltVkaJ7rGZIC50VklYcnoZgCED 9l9D4wwVb6RHA0iBbNBHz6UUhftepONNDn09pXgP4UO7R/HSzXh+Va6G10g8VRhll+H5 brYmIs7K3oN0ThmVG6ipmvW3lQe6FR7t8ck5w1NMvMRMoOPEuvAmiX1iE3CRMMb2SfZH ff2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender: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=0zuMAw5hy4EWFGm1n9NKAOVIvTy+R2ps+YCTy6ULtmI=; fh=hRNdrosP12nn0io2GGI4Mj2m65pBiqr5pQVQcJC40p8=; b=PQEDc9nYSOKNQeCK9FvsJ/mNIAtBAJ+VQ79HaFjNhstidCa7tq2INvGjUAk3KiWn85 pLDW9+IorWXTY47HUp6aVbk7fp8+D08t5XDuIzIiON/tMW+s1xuZnADqXaex7V57AxDQ NHfAHGxoft//Es8iLzzNfB4y3fSwDIbeOeX/D/bke0oihUN1BJYxUk4+h05rk9poZj79 Zeot092mPhRDyfdsGEEgDPSxRbE2fXa/Y/nEIRn2m1I7HpD3zT1x9asDlwMetbu4q/lm /0nzDRru/LjfkUoHonR56ImevvcMUPVcBhxywfE7l4aPCOFty5fAEca2MxnXB5b6u+7w UjYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=Nyt5iZ81; spf=pass (google.com: domain of linux-kernel+bounces-14300-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14300-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id fr20-20020a170906891400b00a27abacc97csi3030499ejc.371.2024.01.02.03.37.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 03:37:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14300-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=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=Nyt5iZ81; spf=pass (google.com: domain of linux-kernel+bounces-14300-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14300-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk 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 F28231F227F1 for ; Tue, 2 Jan 2024 11:37:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C8C76EADD; Tue, 2 Jan 2024 11:36:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="Nyt5iZ81" X-Original-To: linux-kernel@vger.kernel.org Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [78.32.30.218]) (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 1C8A1EAC0; Tue, 2 Jan 2024 11:36:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=armlinux.org.uk DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=0zuMAw5hy4EWFGm1n9NKAOVIvTy+R2ps+YCTy6ULtmI=; b=Nyt5iZ81xR1esYL/XWDhQdufVm St+PtX31GbwLgODgDQyUaTDhGzIHZl+ZnWl+MXC8de9F315zJcjH5is1I/ESXbSIayGWLewny0Qj8 EbneUncfP6AyTxeO7raA6d6kBVLcrU6JDrHTW2MVdfRdWBr76nJ+sfZzRTizfHH0xxo5IViSiTLB9 MWXYgeGiD0zomDMrNjQalDmMTgjscMBPvI/OqfDHZD1OD92fxbHcteDDZSHGWdAyzgxUnhm1FvQls FSNDgPMLNPyKm+Ln8nSCAv8UpMJsF/zg2tAoZmm8qoh2sTPT2mA85PiOoGkf2o/CqeCAlEFbzUAqz LJfO3z6A==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:54808) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rKd4e-0006Tt-2U; Tue, 02 Jan 2024 11:36:44 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1rKd4h-0005Ez-6w; Tue, 02 Jan 2024 11:36:47 +0000 Date: Tue, 2 Jan 2024 11:36:47 +0000 From: "Russell King (Oracle)" To: Andrew Lunn Cc: Dimitri Fedrau , Stefan Eichenberger , Heiner Kallweit , "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: References: <20231219093554.GA6393@debian> <20231221072853.107678-1-dima.fedrau@gmail.com> <20231221072853.107678-5-dima.fedrau@gmail.com> <20231221141636.GA122124@debian> <59fed161-6c08-4537-b02d-19e67e342dd8@lunn.ch> 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: <59fed161-6c08-4537-b02d-19e67e342dd8@lunn.ch> Sender: Russell King (Oracle) On Thu, Dec 21, 2023 at 03:25:56PM +0100, Andrew Lunn wrote: > > 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. However, master/slave needs autoneg, and if autoneg is disabled, then that may not be resolvable, and it may need manual configuration. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!