Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp215633rdb; Thu, 21 Dec 2023 07:17:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IFawOTIqU0UB8dk8gCpOCWnHchlx8Er7Qj6v205YhBO+YN9GnfFDnDtEwxdb+xfDx9r7p0m X-Received: by 2002:aa7:8701:0:b0:6d8:d345:3824 with SMTP id b1-20020aa78701000000b006d8d3453824mr5076483pfo.1.1703171843490; Thu, 21 Dec 2023 07:17:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703171843; cv=none; d=google.com; s=arc-20160816; b=iLq33OHDSG6N0/nNNOrzWaeaQiSjkQTM3g4g+C4+OS8bFo/xywnbezTSVYuEPf7tKB JuEWA7/q7owB2jCl7QGVqQUMoYKsE9O+UtEzbkTaA6TS5yTo/f6KZIYrlEzDuxCl1D8T l42b1A8+EDXX/B/Zs+3MKtHqwfacuVH5QsZkEKkkDeSPfMuQACoIF7PRd3YruZP5iSvf K6k8WCJsPEsKufqhlTKH8HnPEQsnf1FBu2i/6ewiw32AVMB3VqpobfjSLx4IwuZcXHWi jBHHFffiJlydgxMMpl2w7zx/+uygLld4mmfU6KVmcIxs+PZcfuTSsi/6/ZiddVz1lPFA UCcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=TqbYPdC+pzdSRXmHEIhagjUyGTTzN7gMcr6zGrguEvA=; fh=BWdA4uV5B4wM3akyTQlpsk6cq7H5cyUO371RsL20Uys=; b=eLt/qPevzXQAwNmxwzgKKJhkbm1aQXiIraLk2vES4Wkxl38L/iPX/aJo2gGSzDSZZC nFbaNK/JGTlNwh1CCKWRQ5tx/lB/dmuBeHnqFY6l1D4dMylU0PEAUWNbQ2+bn+FmAuUp QvZx5zKybc+QRu6xnDYfJU9uxaaUdG4unD+RxQA+Bawh4aiPGb+uJpT6yT4fBKldbNxa GNHfkL/uP08G3qHb1VtKfQsLPrZiOzuIE7XT+JR3npnnPh+1frAW/hrcutA3O9Enu+5M 7Yw61IdzLEJQ3CHRdVIrSlaIG+imNEucwAIBX9EoxIfYnABDpZy5zAh7RwyCxQ2YaksQ tpPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=LI1zAhr8; spf=pass (google.com: domain of linux-kernel+bounces-8629-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8629-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id x21-20020aa784d5000000b006d793703843si1627372pfn.400.2023.12.21.07.17.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 07:17:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8629-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=LI1zAhr8; spf=pass (google.com: domain of linux-kernel+bounces-8629-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8629-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id F27B9B25CFE for ; Thu, 21 Dec 2023 15:16:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EDECD4EB4F; Thu, 21 Dec 2023 15:16:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="LI1zAhr8" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (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 B159B52F60; Thu, 21 Dec 2023 15:16:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-54c79968ffbso991371a12.3; Thu, 21 Dec 2023 07:16:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703171773; x=1703776573; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=TqbYPdC+pzdSRXmHEIhagjUyGTTzN7gMcr6zGrguEvA=; b=LI1zAhr8VGz2Vn3/49osDKl/ZycprmJFaqEfF5QZOFI8mfOZPnX4WspxID/24bwMgZ kX46tVh0ztM+78kdV3Uw/Mev+8EaFCbTT9RKk0mgsRKW5YfAcgx0cH2/rseg3rqeQWa+ 9mT9/2S3BN7CEdNw8XMuigfKxcV/1Y3538bZvpCbsYt6hjC4tn9w924ooAt5kqcd8/MZ RwTi96RgB0FYrrFLFBBWLt5dV9/5fcSWYXyJFiX6g5tqRcmz2wGcVOIiqlFLqEN/9dgT TeWNLk91HnFXDxCxcp5scKAe8iaV2R206hS/wV9yRmkQrYN3UOyLS/5G1hxeO8SPsh7D Qc9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703171773; x=1703776573; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TqbYPdC+pzdSRXmHEIhagjUyGTTzN7gMcr6zGrguEvA=; b=AwNcWYJn/iQnW4k5guMXgEmUmNxwlbap6pRuKRBTwhUHTnQAAuH2z9MifwL84ojSOD 8KoXPmLFGYEFReeYjPchBZ7QvBxEcDSOcUwfSk/eX07mSlwSG2JMAPLF/2cDs3XYzLbC aLlKQcyTKpDkoqKrepN3LhSCp9rtuBKtp6CZIcDHaJ0FCrYKY8AEB/HZ3YuC4i4bW4gV 0F4SznGQst1x+CA6dz3kMs+fpo9k7jkY+si44SNBG8TzN4GtGWFPktgsj9ctnqRkO3mg jfoxlSC/JlBmsDOJWiT+MAX0Ahagaky7cPgydNpP7mvs5kwMM6lRDomCMabdu+qOewic Ltyw== X-Gm-Message-State: AOJu0Yw8fZfE9dyvZphzuv4qH5xLfP8rXwRki5vVj9JP94UOtKa+Peac FJddze2ilRu2aj28tgEtd48= X-Received: by 2002:a50:cdcf:0:b0:553:d641:a662 with SMTP id h15-20020a50cdcf000000b00553d641a662mr1897345edj.16.1703171772730; Thu, 21 Dec 2023 07:16:12 -0800 (PST) Received: from skbuf ([188.27.185.68]) by smtp.gmail.com with ESMTPSA id o15-20020aa7d3cf000000b00553a094dd5csm1273484edr.32.2023.12.21.07.16.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 07:16:10 -0800 (PST) Date: Thu, 21 Dec 2023 17:16:07 +0200 From: Vladimir Oltean To: =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= Cc: Daniel Golle , Landen Chao , DENG Qingfang , Sean Wang , Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , David Bauer , mithat.guner@xeront.com, erkin.bozoglu@xeront.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH net-next] net: dsa: mt7530: register OF node for internal MDIO bus Message-ID: <20231221151607.ujobhh4aet4obxdz@skbuf> References: <20231220173539.59071-1-arinc.unal@arinc9.com> <20231220173539.59071-1-arinc.unal@arinc9.com> 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231220173539.59071-1-arinc.unal@arinc9.com> <20231220173539.59071-1-arinc.unal@arinc9.com> On Wed, Dec 20, 2023 at 07:35:39PM +0200, Arınç ÜNAL wrote: > From: David Bauer > > The MT753x switches provide a switch-internal MDIO bus for the embedded > PHYs. > > Register a OF sub-node on the switch OF-node for this internal MDIO bus. > This allows to configure the embedded PHYs using device-tree. > > Signed-off-by: David Bauer > Signed-off-by: Daniel Golle > Signed-off-by: Arınç ÜNAL > --- Can you please not assign "bus" to ds->user_mii_bus unless there is no "mdio" OF node? We don't need ds->user_mii_bus populated when it is described in device tree.