Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp920948rdb; Fri, 9 Feb 2024 05:23:51 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWfX9T6UYoc4YQ8ee7is47wDVr8grY2GrkLQe4trFX6x1m2WbMLgh9IiIR2V7jdqr/+eyOO8THwj8xM6N5KB5tWfgVW1IxnsK/RyNn1lg== X-Google-Smtp-Source: AGHT+IFGLYrXKfo9lIQotOOaJX8dHb9h+OdWJbjmihv8NVyXO0MQ/jSkK2raNnSArG3wo7uJD20I X-Received: by 2002:a2e:a988:0:b0:2cf:2781:8735 with SMTP id x8-20020a2ea988000000b002cf27818735mr1255068ljq.23.1707485030858; Fri, 09 Feb 2024 05:23:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707485030; cv=pass; d=google.com; s=arc-20160816; b=uJ1Xpalij/D7eCmxQjzujAAXXMmoj3xkYCxwSVvpo5Rc+qcfPZOzaSrntrD6Eq2GPe 1IjIuARwIymdoHMeQf+N/iGgpVqANH2TZqIurk9a0Eqor452neNaC4ppVO119iCpTM53 irt5WlM1a5Bii95snxhEd4L25jpTkCPWw+RpGK3W/YCxCHg1giByK60bPrIRI6i0qnWl iNRKqKWy9Uz5S9BTZWQwdAOpyewv9uKFKu3dTOSm9WSlPdZhWp7C2+iws8oSjFzVftc1 7GtBya49roKP9bapNZ12RHb+PrFg911BStbhIA3Woa9acgXl+u91d4Hyl/+Dy74WC/nl utlQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=pV/czTdtZUlf2axchXtZeUtL5E+/aI+Dq0Gj1xXUuPg=; fh=balx/RrstT95uKSlyq2iZRTUFdFCJnlY3XkeYbCrEXY=; b=dydLct13MkvO++bBeT6YOsIqqzyziEolGwlD/K15LxGbcMgeFttvLMkJhkj0wDczhp BUIOcdyxhrSMKTATMNn1GxXnIrFyIPo+5yaz019V0IXZe9NsLfRR3vsUGBLEas6uBApn Vw/TAahSKOzMzTfrpqsJHVLVVkZiY9q9LrfGKDQkB74Bhdi6uGKP9llUSVNLMy2PrflS ydBJw05xV2khbUQH4FzEU0hnGKLf70Tof99aep7oI5OoPAZWDsbjoyu5SAkkaWx68m2w plmksMc6cVpIZTL6tQtVAzxSoutLnBrqBI4KlQ/j/wcYl+gcHn9Jrmr8o5Um3rmSSGSW KYvw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GYJEfSwL; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-59356-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59356-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCUPhGt1+19lF+xndeRHSfm0xBFlzTSMcmsanz0+HSzQQMi6ecLlyRYFWv+FCqUs+v0uRJbYbto06stNRVECQ1qGqWHNl1kku2pajOp5iQ== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id x11-20020a170906710b00b00a3c00b1fd6dsi302559ejj.771.2024.02.09.05.23.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 05:23:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59356-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=@linaro.org header.s=google header.b=GYJEfSwL; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-59356-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59356-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 9479D1F2131E for ; Fri, 9 Feb 2024 13:23:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1EB703838B; Fri, 9 Feb 2024 13:23:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="GYJEfSwL" Received: from mail-yw1-f170.google.com (mail-yw1-f170.google.com [209.85.128.170]) (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 E076E2E652 for ; Fri, 9 Feb 2024 13:23:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707485020; cv=none; b=dsAsUA6MQ1/IXaj1MyPZc/F5084lLdpspRyHen7bDO8ZixUr9I9aA1pBiOCLp8wReJ0R6uSLj/BxlRt8o4BpPaqIe9m6W3kI6fzHRUvS8BuqKNezelrATwD+Ylt4bPDYy74Jf90mgOOM57LjEKJ9TGyTZ5FY3UKCdl+KJTQW5b8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707485020; c=relaxed/simple; bh=pV/czTdtZUlf2axchXtZeUtL5E+/aI+Dq0Gj1xXUuPg=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=js6I4dtWUDt5Q2ogeCotW6SLDgBw9xmuhk+SN5oG4yTdWzGKOfGpWnCgXfkkez/LVR1Xsj8FehIVcsGmrACsrd0mW0xxtG+UR+bJOlx8koVSf2tssuA0VGSO4JcXlsqmXNCqWZsJ4IxaJlhBk8V/NuMzoppzaBYhvCHNi6vPeds= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=GYJEfSwL; arc=none smtp.client-ip=209.85.128.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f170.google.com with SMTP id 00721157ae682-6049fc02a19so8698127b3.0 for ; Fri, 09 Feb 2024 05:23:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707485018; x=1708089818; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=pV/czTdtZUlf2axchXtZeUtL5E+/aI+Dq0Gj1xXUuPg=; b=GYJEfSwL6mPP5J2oS0PRQMAvX5ph0E4yzU3lUIeQNMd0ezprK9ijK4y0gLi6tx1C3E ydGGpSDyIM+NsDd1rMeeAycQe3HlxCf8WGhakQs9WS/ZadoLhctg/bPm5DlgxmgRxkQq quFMpdOGNNT8gt6a//Wb24jhu3LUAM0QhBNJ2Dv/0yT0O7FUwPLox9nUwhi9Vg4UOAq9 Il13yK07KB9X8j6ofalo9oJDgQWmqYMOYfXOO0MuM4+IT9a3CqS2aRv3l5sLCwv4jU+c nAJnKULWrwfCNePiot6PIkHovqPh7iEMcMpMh8exNHwQPSBKJyzSMqKQ0eJrU0E10Ram Q33w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707485018; x=1708089818; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pV/czTdtZUlf2axchXtZeUtL5E+/aI+Dq0Gj1xXUuPg=; b=VbkSV3estoStRLa6EmCck9JrvQR3GTqPa6qNz6DMMR4CRg1nu2GsRUMurJC9oDalUH 9jmhHrq0CpVMvuwz/8Yg24hs/YjAHgcEMajALUESJO393MYl2FhPuZJvTd6SP+0c54aZ t3zi4LbtNn5QRw0scBlHlT1wj/YQdfK502m3ZuasinwF4QjYCHZZMUf0g2isumdL6x37 SjxY8WYElkjw8baIMFQxr7cvmA7l1zjaaG+z5JA7JUSzwg0fHCqAmzdkWyMggiMGHz8l CGkfwHgDBAqWR0Nr603WVu2F+erih8FdFB3rGylNd2gNPf8t95v7cAcxKC8jW9J11FVj mGPQ== X-Forwarded-Encrypted: i=1; AJvYcCXcXJak7vvuEl6xmB0VDs5YWc6O+pKBWIR5BSL6qiLB7nNG6autc5w2z2zN7uQajQrL/5Wh4u4pOyN6LnY7Nq48gwBSinvPa1n3zoIx X-Gm-Message-State: AOJu0Yzix09pHapzcGZGBXnPoaCVL1ax95UOpQwU36edwDPqawMePUFL J4yMHMr1bFGWyl3xm2EzyQWvjuT7TXv/R898/Tahpof86yA8MzJfrL2Ro98yqnkUI0ApjDm+l+x /rmHMMGCJl+TbCn2XO2jNgSnHL8xzQNq7kmbiHw== X-Received: by 2002:a81:9108:0:b0:604:11f9:5bfb with SMTP id i8-20020a819108000000b0060411f95bfbmr1604557ywg.18.1707485017812; Fri, 09 Feb 2024 05:23:37 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240209-realtek_reverse-v6-0-0662f8cbc7b5@gmail.com> <20240209-realtek_reverse-v6-10-0662f8cbc7b5@gmail.com> In-Reply-To: <20240209-realtek_reverse-v6-10-0662f8cbc7b5@gmail.com> From: Linus Walleij Date: Fri, 9 Feb 2024 14:23:27 +0100 Message-ID: Subject: Re: [PATCH net-next v6 10/11] net: dsa: realtek: use the same mii bus driver for both interfaces To: Luiz Angelo Daros de Luca Cc: =?UTF-8?Q?Alvin_=C5=A0ipraga?= , Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Russell King , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Feb 9, 2024 at 6:05=E2=80=AFAM Luiz Angelo Daros de Luca wrote: > The realtek-mdio will now use this driver instead of the generic DSA > driver ("dsa user smi"), which should not be used with OF[1]. > > With a single ds_ops for both interfaces, the ds_ops in realtek_priv is > no longer necessary. Now, the realtek_variant.ds_ops can be used > directly. > > The realtek_priv.setup_interface() has been removed as we can directly > call the new common function. > > [1] https://lkml.kernel.org/netdev/20220630200423.tieprdu5fpabflj7@bang-o= lufsen.dk/T/ > > Signed-off-by: Luiz Angelo Daros de Luca > Reviewed-by: Vladimir Oltean Reviewed-by: Linus Walleij Yours, Linus Walleij