Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp919517rdb; Fri, 9 Feb 2024 05:21:45 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV+upEpPmLG6SnlHwxajWwKuiYH+x0e8gUrvNMzQ5lqYrADaYyxQLT1SQy7nUagRoskcDqd4Ok9Ba0y6kYT519ejHxoriHf8X4dUgSlGw== X-Google-Smtp-Source: AGHT+IEM5hgxPwqq3fCO4K1x67j/vttnEHl4odYUKc2Z5QlYs/bUZ7yTH/+ppKYUcYBhMttGJBWL X-Received: by 2002:a0c:aad4:0:b0:68c:9eb4:b250 with SMTP id g20-20020a0caad4000000b0068c9eb4b250mr1305673qvb.56.1707484904944; Fri, 09 Feb 2024 05:21:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707484904; cv=pass; d=google.com; s=arc-20160816; b=aKmPoQHzZEjfoYV0emT65mmAWAW6Vb8gkjQ8Gk1YDFdDv62VoFg3hfIqzOsaS/YGSy PLE0FAZxobkk5S+fB+7UufdElvN2hcpvHq4zi5cuw/XalKZHDw1PJetBd8qDRZ9sEWeQ QRq3EvY81e8SjQCxDK77r6uWJusaeGqbEl/yYwJ+F9DvgniZCHW83RCKovD8vj8tTSBE QT/I/MOCdQOHgC44G/d9oVjJXg2yNrAldwSD2S8QnUbGpwWQ1zb46PbMiw7MPY6vr4G1 WWzV9aV1ssGq2T6zWs0A9JqtaRNLHYCp5rAzkpvQ1ZBM6NNMuXOu8IFxw9umD2iGqFi5 5V3w== 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=ZtD+/WHeA1U9jv7rkjFYm3MAbEKfaDxtr89VERessTA=; fh=jYizOY+wz7xbgndxWmO4HJ9KlsatGy7MnJ9i7hAnCEE=; b=N7pw/mFOm4jqHhX0eKGWsqWoHFrDbxJ5CAqHWA/BNtJoiyEiuPLjYT7/XGI8ei0sxe WxHI3fDufcyclR3xb5y2PrZzacnSiuHMm/5cV7IB+PuXNjeeJxPR/Pf5ni09A5iePNsy gApu/7tdrWgv6ywyDt0lhD+925SPDlQbATTWRHG5H6GouLqC6txXi5FSPRyRr/ENNGqe uIdY1pxIk806boHKsh0glz9pCxkn1PJet7fyZl9VK9pkNqnjHeN2q1TPvaCNgqghoSrP AjFkNZgMWXwBEtYweFwPwd606XU3u5BnG3Gvi/dhC50IN5SO5qwNmPutE+E/Ycc0NTHv JEoA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YYrILTYn; 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-59353-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59353-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; AJvYcCWkhRAoPcqoG+PYjiglOQgH5kEV6WhCbYHhUzFsQ6AUuIdNwloTv9FknYDhKUAvIgxkjDAmUo4ghTXnetMDJaujc1s31FSfI/Pz5/iKyA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id f7-20020a0562141d2700b0068cb44c372asi1900381qvd.555.2024.02.09.05.21.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 05:21:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59353-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YYrILTYn; 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-59353-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59353-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id AB3DA1C22802 for ; Fri, 9 Feb 2024 13:21:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BC59A381DE; Fri, 9 Feb 2024 13:21:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="YYrILTYn" 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 6817C37716 for ; Fri, 9 Feb 2024 13:21:33 +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=1707484894; cv=none; b=Wq4Rw4YE0N4TU41oy2/iBO5jpvkWBBKlsLhYl7YYm7qXwhDh0e0DkAiLIfTa817pstGnCcZVdWEMWdWLeNqrwouGH7BKHjENAo5OCCB+SAenO5V+iLNazX6XZKpndR9tlBTqUm9Hz4Gyuj7luM6wP4TYalbnpWfbXkGVstTMmnc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707484894; c=relaxed/simple; bh=ZtD+/WHeA1U9jv7rkjFYm3MAbEKfaDxtr89VERessTA=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=tUqr0USF0rB8fqwmJ/n8TSiE/e2tmyye0aroehqk515hpdVJmyl10Fk9lKEiCH9JjWit7urvShjZ97pKQklDbMq5nUhBUWZheUB6F2R4J0Baxzjjl8sAaVcEB1TrSFJokqWcCc3oM2sWkAuVb5a+C8+I/+4WF1y6PnCwM2smVZc= 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=YYrILTYn; 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-6049ffb9cedso11423497b3.0 for ; Fri, 09 Feb 2024 05:21:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707484892; x=1708089692; 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=ZtD+/WHeA1U9jv7rkjFYm3MAbEKfaDxtr89VERessTA=; b=YYrILTYnNPPEdJktOaghG+/wxvnh9wSr3H8objV4TzNhlfz8FcorBb0g3xXQmBcWxX iaR57LqWXJcJ+OITtUCslKs4x/tU+RCHapaJmEkl4Ovc/ytnBRBn1vv1lT9aUiGYx1jI Sh/YwGb2lDb33gkBUC/2Gxc+TI3e0+zLJri500f2OztF2NZaL2ssPfo5AgLT1fmsKtUz +ZNlB6poXU5Nep1/w+DoI+rHX+9xheSVHfAiQB6oYf8fy+x5t9Pfc3IDsjYsaziYgEAI P9IpcNWUYcYGw35QLJ4vHbQTPb9br50qOMLrGYCUs+HIGQguW1bpcg3H7UCYugQGgUGg YQXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707484892; x=1708089692; 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=ZtD+/WHeA1U9jv7rkjFYm3MAbEKfaDxtr89VERessTA=; b=Gavj443YJt4J6TsfejQm77+MSx5yGbT/IudX8CGYzLOJXbZzTXSOH41sJqBmpKU8eI utjeT7yyS2vIy/De7KM/s+WK3FvgcjkIFiifCkE9uCKUpOWaq2CybSVzvouzhSOWSlIc yXPWFvQRgJPxEKfbcmvxfcFSo2gxAnXqyiFY1mPvdfB82E1stTpxVfyq19d9PZD7rQHo +Av/CfpunJjWmW499oig5wQkWf4AzsFBQ0cICEtAxJDMJoZ7OaDOhRpoxeDHDzj0NFqq LoS7qBcDMMzu2Z6ORljcwjJF7q9aqpwiqiqqQtJH+x67UQFiuJO58m8c27T2AoQ94C5B SwlA== X-Forwarded-Encrypted: i=1; AJvYcCUS70LGb7dwMgoaimsQkiJ7IIcLL4JQBXmwTfAs8fBxN0JSv7DigvgyJY8CLM5MGBGafw+pfPs1dRAPYr3M/qJCD0j2FEbOoZ2w/a9W X-Gm-Message-State: AOJu0Yw1QyVZSrG6Uvem0+lKGlFVQc2nvp3GQgkbhddxK8MH8csj3l3G 1r5izgbGk5JoS0QTnKwyflOn5CrGIZ5LV68QXP58HCgzMSelqNudtgvNbykJ4NgROrkAl0GyoWI GvoNLsXtT7MM620F0mYver6dpW+nMBJ1JExMioA== X-Received: by 2002:a81:c250:0:b0:5ff:981a:2aa5 with SMTP id t16-20020a81c250000000b005ff981a2aa5mr1481737ywg.46.1707484892357; Fri, 09 Feb 2024 05:21:32 -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-7-0662f8cbc7b5@gmail.com> In-Reply-To: <20240209-realtek_reverse-v6-7-0662f8cbc7b5@gmail.com> From: Linus Walleij Date: Fri, 9 Feb 2024 14:21:21 +0100 Message-ID: Subject: Re: [PATCH net-next v6 07/11] net: dsa: realtek: get internal MDIO node by name 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, Florian Fainelli Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Feb 9, 2024 at 6:04=E2=80=AFAM Luiz Angelo Daros de Luca wrote: > The binding docs requires for SMI-connected devices that the switch > must have a child node named "mdio" and with a compatible string of > "realtek,smi-mdio". Meanwile, for MDIO-connected switches, the binding > docs only requires a child node named "mdio". > > This patch changes the driver to use the common denominator for both > interfaces, looking for the MDIO node by name, ignoring the compatible > string. > > Signed-off-by: Luiz Angelo Daros de Luca > Reviewed-by: Vladimir Oltean > Reviewed-by: Florian Fainelli Reviewed-by: Linus Walleij Yours, Linus Walleij