Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp131153rdb; Sun, 21 Jan 2024 21:35:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IH+tLbAoyFokJSNtgE8Ci15QLrOWq3fq9ihIOMGw0qbt/nQD8AtQmoVd3YOUCcsNi/W6obJ X-Received: by 2002:a05:620a:f06:b0:783:24ec:a2c3 with SMTP id v6-20020a05620a0f0600b0078324eca2c3mr5231088qkl.81.1705901725096; Sun, 21 Jan 2024 21:35:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705901725; cv=pass; d=google.com; s=arc-20160816; b=QKUOov2Lubp9dOPMsQrikqk7ZhIaJXbNlu3mXmx/OminDk5fk5RIvD2BJpE8ne9KBt mUSkBwxI9cYgjkaZyQeEC9Z6MocFxJqllBAZcpm4YuiFhJD1+4F/85SKu7AhSF9zkTHG hCOp0hTjMUV5K/RhzdbDrLHzT7CbCJH6edvaSM4Axn+b/aKWYANV05/MBbH2YhsY10tw AXcbW0YQXg/h7JPubiJR2rvbHBoFZQND2ZeUhKS0NUQfgdS1RC/CrP79F/KXaXhhwJVY 8LQHN72wtie4Hqioga8xhWMWuRndq2FPyDC3X4Mj1VuR/xwLMABB54EU5+/FXDHTMLlM wdUQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=wVryOrXzPY580622zM/GGPFMmmCK42LZWFJnOO2aqMo=; fh=8ZipCKUTnEKPOYjF+ZiZzHm5Vh+NHP0cYUvVrL3HKpE=; b=dXPYxdF1BunLiKfvvHQgo1KYSvRqeLBRAfhETx4p/evsujufxxye68f22Y1BsWc0e9 rC5KEUh+hwHkgmzMRVJWzqi2GhKiw4ppd+3FCU7osq9nYbGCx+7HlB6oM+CCzKjHNGl7 SISKBtror2DEL7zYp2QQmK2qHz8FYkcjsG036vdtaRXPUSmDzDv1FLl5YyKGGHrwyM6R t6XZ/+o0hQrD9RMNyzH5JfGPpfbEc9l4HmQnBoJbKo0Bx6oO1T6RYfwkYsMv2oo0050f ZkyWTxB9uMGlNMTgou6UYHGl8ul/0FJCVpEq04/l1l97THJ1TiwPw5RGQmSNVBXm8CwW Brxw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arinc9.com header.s=gm1 header.b=mCcnkNQX; arc=pass (i=1 spf=pass spfdomain=arinc9.com dkim=pass dkdomain=arinc9.com dmarc=pass fromdomain=arinc9.com); spf=pass (google.com: domain of linux-kernel+bounces-32329-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32329-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arinc9.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c27-20020a05620a269b00b007835770698dsi5221732qkp.778.2024.01.21.21.35.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 21:35:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32329-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@arinc9.com header.s=gm1 header.b=mCcnkNQX; arc=pass (i=1 spf=pass spfdomain=arinc9.com dkim=pass dkdomain=arinc9.com dmarc=pass fromdomain=arinc9.com); spf=pass (google.com: domain of linux-kernel+bounces-32329-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32329-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arinc9.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 94B241C219E5 for ; Mon, 22 Jan 2024 05:35:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E11515226; Mon, 22 Jan 2024 05:35:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arinc9.com header.i=@arinc9.com header.b="mCcnkNQX" Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) (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 EF523610D; Mon, 22 Jan 2024 05:35:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.196 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705901714; cv=none; b=a26A/4Km21Ulls0F7OH3gLgt+C760/PD5rjPEGOfV4Od+zkZRTUiUH38Ab3WZ2TeWslD8/MA7qZKr1kMUxWbn3XDwALhcny5RbSBlTwODyDMJqGoSXVjepu49c1gnEBS6NO9QFXTHeiuqAhWo21PBfu3JElK/WoOVXb8frSY040= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705901714; c=relaxed/simple; bh=hRF0aPYrIl+rj+n+zPviTduuqOvCrIt4LkBgLxiF1yc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=N40J8wq9I/tVCZ+iCYC4p7+Zt/mvOzfb/D+SwibvZ5qiLVyKDTZDBl24I8mm1QMofeuo/flO1BGe3y5MYs30l3jB7xGQQHJj65GGA5DLQYr88VN5vVJHk3MKVMzdedzX56O7+6ttAQnFx9tz3ic+5Bf6Abp61ylrCdSZlYLigKc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arinc9.com; spf=pass smtp.mailfrom=arinc9.com; dkim=pass (2048-bit key) header.d=arinc9.com header.i=@arinc9.com header.b=mCcnkNQX; arc=none smtp.client-ip=217.70.183.196 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arinc9.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arinc9.com Received: by mail.gandi.net (Postfix) with ESMTPSA id CA6ADE0003; Mon, 22 Jan 2024 05:35:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arinc9.com; s=gm1; t=1705901704; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wVryOrXzPY580622zM/GGPFMmmCK42LZWFJnOO2aqMo=; b=mCcnkNQXmoIhmIPt+q0Fw6YDW+BaCkMLbG5wq34zevtavUwCGKT03Q6t3mAkAVj/yZOvEt EGHDIFqygMikyutqvGnQpLWStv4JJUDjjkH5rduAwCamUDsG/gP2Hd88lnMq5/o2ol8R93 x9/jS0ttDpY6AplTh51jI1DKX9PVMW/FJ9rM+mS3HvhT5tXzyCw3yDn1uyqjd0eXc8rtb7 MZg0qcMpZ3e8HxN66IbNSbQID1QcKBvXQotrZT+PZZlxXZrtUHknpUqeTCLTKpfSzz4NVC q980fL/PjRqQMw0H84D7V+L0iZ4QUv9vLF26NuHml+6nlJNHwP4MPtPt18bZBg== From: =?UTF-8?q?Ar=C4=B1n=C3=A7=20=C3=9CNAL?= To: Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: =?UTF-8?q?Ar=C4=B1n=C3=A7=20=C3=9CNAL?= , mithat.guner@xeront.com, erkin.bozoglu@xeront.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next] net: dsa: mt7530: select MEDIATEK_GE_PHY for NET_DSA_MT7530_MDIO Date: Mon, 22 Jan 2024 08:34:51 +0300 Message-Id: <20240122053451.8004-1-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.40.1 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=UTF-8 Content-Transfer-Encoding: 8bit X-GND-Sasl: arinc.unal@arinc9.com Quoting from commit 4223f8651287 ("net: dsa: mt7530: make NET_DSA_MT7530 select MEDIATEK_GE_PHY"): Make MediaTek MT753x DSA driver enable MediaTek Gigabit PHYs driver to properly control MT7530 and MT7531 switch PHYs. A noticeable change is that the behaviour of switchport interfaces going up-down-up-down is no longer there. Now, the switch can be used without the PHYs but, at the moment, every hardware design out there that I have seen uses them. For that, it would make the most sense to force the selection of MEDIATEK_GE_PHY for the MDIO interface which currently controls the MT7530 and MT7531 switches. Signed-off-by: Arınç ÜNAL --- drivers/net/dsa/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/dsa/Kconfig b/drivers/net/dsa/Kconfig index f8c1d73b251d..3092b391031a 100644 --- a/drivers/net/dsa/Kconfig +++ b/drivers/net/dsa/Kconfig @@ -48,7 +48,7 @@ config NET_DSA_MT7530 config NET_DSA_MT7530_MDIO tristate "MediaTek MT7530 MDIO interface driver" depends on NET_DSA_MT7530 - imply MEDIATEK_GE_PHY + select MEDIATEK_GE_PHY select PCS_MTK_LYNXI help This enables support for the MediaTek MT7530 and MT7531 switch -- 2.40.1