Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1793394lqa; Mon, 29 Apr 2024 21:58:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU4rHSs4iTV0tMDk/WjzQSuQLdjeG7q9/80v+kPFTLtLX008UsbrrtlSqTXuNNOZxPqBrwfggiixF5SG+nWheLSB0jUevyzTCLMTFzkPA== X-Google-Smtp-Source: AGHT+IE8MFj46OTdoG7wWTGMuQ4yP9C+8IXcEa7aTk3tthJee3cAIgavBwCGmoXXVipK7nPgDE/o X-Received: by 2002:a05:6a00:9392:b0:6f3:ecdc:220e with SMTP id ka18-20020a056a00939200b006f3ecdc220emr9677815pfb.24.1714453110114; Mon, 29 Apr 2024 21:58:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714453110; cv=pass; d=google.com; s=arc-20160816; b=brHWWAUKkDZmEhMRrdxdwsgIIqPh3nS0Esad26U9hoVn5M3qhvRIHtWiRskQffFoS3 3BaL14dDu/4EkaRpOOZjirtK9yfujzk4uWVa/6W/YU36cfFOgowO4+X5csmbZYwh+gRe I2QjvasUEjTV0HXJS7mwr4gLWOZZWD22PyvfwZSQicYGEuOcEpma81BDEyYn7KGeVuxm Th/gSZBPT7Uvx0FYofWHycN3MMk42gqSeSKhOVFYd/SFMc6Qevdv5RfhSpRD8C6tlXTB HdHPXWOpEjv8LTEKjx+/j+7jPCXVzqIiowgVDB2DOWJSQJQsLpH44zppU+YoLUuGyS7C O5JQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=FxARK+Ac1zGzaPGYkJ1m/SwB3s0XeVwOgtFDsG9w8NQ=; fh=qCprWxmlduZXP7VxPbv6vh8wiFpvpBEOR9hGmYUuC4c=; b=muujEulblro/P9gYIGOpZlV2XZHIjj9el0vJlBU9n1juCURNtdze77TDtXCR1yvY/A A9JGLqPDSyFe6egTks8g5ehzamHdbALUF5rcWoEyaz25ri015oqsFA3GchazGSaUqfWh SlrD8vIepAiTxcBz654saELAo41RT/sLZsulE3R8VBUArwefjLGJuwJmWrCk1FFUaN/T vniha8V418wMsJ/N4HIc+7kTz6XRtODdRCdjunn4CDVPNX+I5KWLW6gkocn8Rzl/R3M6 FoW4RYS9YiYSkD4EHzFGiBtjFGatexGQMb97Qt6JiHzpcg26AT/mdNFVuoZtRHU0YzwY 9nrg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arinc9.com header.s=gm1 header.b=GvqvmYBT; 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-163340-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163340-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arinc9.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q30-20020a638c5e000000b005f7bdc723c2si19859432pgn.859.2024.04.29.21.58.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 21:58:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-163340-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@arinc9.com header.s=gm1 header.b=GvqvmYBT; 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-163340-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163340-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id BA29728347A for ; Tue, 30 Apr 2024 04:58:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D573168A9; Tue, 30 Apr 2024 04:58:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arinc9.com header.i=@arinc9.com header.b="GvqvmYBT" Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) (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 06AD6125BA; Tue, 30 Apr 2024 04:58:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.193 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714453100; cv=none; b=o4x05HsiZTx0XEVq654DZUi6CMVfkmhO6DTHT/FbZF07zrkVPoFHpl73tCGOTnRfbznhBz9AZ1vwr/yX687UBedI5Rp060SElw4+MtAFFjfUR5ekzFjZlugQ5fuiuH7MNykmk/JdEPym57mwUpnUwvywWLGZIml8pP2iFvnOmpY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714453100; c=relaxed/simple; bh=FxARK+Ac1zGzaPGYkJ1m/SwB3s0XeVwOgtFDsG9w8NQ=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=JdBkZslRQVF8E2k1NQJ9Xrl/tLpaub5jNBgHkNfogsOQChMfxxJnLgM7nzP5t7HEoKqjsrAFSfyg5Qom4y86+cE3lIkgZ2WP/Lhqbf8yChlJwYHfEYmQtHYwfo8TzhZvgy7RHNx1ohGISJuOdmcR18HRHIACa9Ywp7CkrDUzC5k= 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=GvqvmYBT; arc=none smtp.client-ip=217.70.183.193 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 0C189240002; Tue, 30 Apr 2024 04:58:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arinc9.com; s=gm1; t=1714453095; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FxARK+Ac1zGzaPGYkJ1m/SwB3s0XeVwOgtFDsG9w8NQ=; b=GvqvmYBTMir6yilmStEchowgXWLuj9LMkK0Iegexk6xEuqA/fTZrDaF9sc6ox/iy88ofS1 VeiY3TWT7VwSe0yIpNZrAryXpqBSGu4LpGjYjKjWi5e92jReF5OWMflTn0GMF0I2yVJ0pV hWyxbhqP7Qte/5DmFp3NPvMwBe24f4Vx4JrMEKPxO2n3vPgwHn63UnmaY511Q3OV7T/990 K6VXaKbbpeOMUNnGjfuuooSaLfFfV68W62qT+7An4iCTrkL1vDAPMfl3NgUgzH8xj7dC+5 ARtBmgiKmlgl229n0IU8wHbfyBSxqTvH9A27v7E861JDg+wNAzkw5viozmMN/Q== Message-ID: Date: Tue, 30 Apr 2024 07:58:08 +0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net] net: dsa: mt7530: fix impossible MDIO address and issue warning To: Daniel Golle , Felix Fietkau , Rob Herring , Krzysztof Kozlowski , Conor Dooley , DENG Qingfang , Sean Wang , Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Landen Chao , devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org References: Content-Language: en-US From: =?UTF-8?B?QXLEsW7DpyDDnE5BTA==?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-GND-Sasl: arinc.unal@arinc9.com On 4/30/24 02:45, Daniel Golle wrote: > The MDIO address of the MT7530 and MT7531 switch ICs can be configured > using bootstrap pins. However, there are only 4 possible options for the > switch itself: 7, 15, 23 and 31 (ie. only 3 and 4 can be configured, bit > 0~2 are always 111). Practically all boards known as of today use the > default setting which is to have the switch respond to address 31, while > the built-in switch PHYs respond to address 0~4 in this case. I'm not aware of the MT7531 switch having bootstrap pins to configure the PHY address. Are you sure this is the case? Arınç