Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp7062166rdb; Fri, 15 Dec 2023 17:17:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IG/jtohZPX0hO+2wVPjDUt3HTRQ9Lrb3uE6tagjEhA6K4Mf6DGAtffEKoF9WC5FuZDDli3Z X-Received: by 2002:a05:6808:640f:b0:3b6:d04c:d98f with SMTP id fg15-20020a056808640f00b003b6d04cd98fmr15734527oib.0.1702689456478; Fri, 15 Dec 2023 17:17:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702689456; cv=none; d=google.com; s=arc-20160816; b=A7TPe0FDSleAVGvBMb4SsDZtIKDMNFdjaH0t+j9ExrnspHbDcKzxTYX+VjcwEqdruC MzLivq14U/C5VEloaLY4nD28aRhYYfHXaVdv9uZv/x07y3epL4PumHpfGtInNdl5xoX7 DEdkc3kStZ4BSjlYUIT25U2NxqOHjMgO5MvWKqOBMq5es8HiFTPw9VX4rtzGmjToGy2E esr0+walBv2Vwo0sBkvVTgMJ23PRADpVvhlmDe1jD1XH3GxX0+lkwamAycQgEBA74HWl rgz5U/2YwzVRvxLZwnYIlWQ4Dj+d877/eW5RaTvmTRaqPOpQuBZCYWyF88rBsQCd6Udk aBqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=8iVeJGpY5RtEtx+Wh9ObkHYcijgrfrIL5uqLrHHzCik=; fh=KFT3vqqMe0fIZd1e4utkhcxa/wSgwToFQ6J7E9/TiWI=; b=0QzCFz6OTyZCSwOJIcdFR6/gDp/8MrAy04/44ansrjKCs/gfQ+lTtGsdIyN13zUluc TWaFnb9bRG1a0unmSu4AR6VAqKTEjUQtqA359DgQugkzTEXm9dhD4rh/EqOzTGeX9iDe DVtoX+eN+V1fdPq8YoxJkzXwdn4EvzmPAolJ8SfqX3JzEvfu2OOGjrMZe5UR9mw0i3mj 03M3QiRMQUvzPnZoHMfFnHiPw6hdY+bh1htbjPit0AOUyFxOKHrrDI9U84GHuk7vEJWs uNexKgQUa0cj7b8GcbMOjWNesTyODlblrUS7hAgZtfC+5qLvphcA8SKH5fIsrDgD/ldk 2kKA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-1924-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1924-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id x10-20020a05620a258a00b0077dce23fd9csi8611503qko.22.2023.12.15.17.17.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 17:17:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1924-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; spf=pass (google.com: domain of linux-kernel+bounces-1924-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1924-linux.lists.archive=gmail.com@vger.kernel.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 3E5751C23CBD for ; Sat, 16 Dec 2023 01:17:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 695A41868; Sat, 16 Dec 2023 01:17:15 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) (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 5F18B29AD; Sat, 16 Dec 2023 01:17:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=makrotopia.org Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96.2) (envelope-from ) id 1rEJIU-0001k3-0O; Sat, 16 Dec 2023 01:16:55 +0000 Date: Sat, 16 Dec 2023 01:16:51 +0000 From: Daniel Golle To: Andrew Lunn Cc: Conor Dooley , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chunfeng Yun , Vinod Koul , Kishon Vijay Abraham I , Felix Fietkau , John Crispin , Sean Wang , Mark Lee , Lorenzo Bianconi , Matthias Brugger , AngeloGioacchino Del Regno , Heiner Kallweit , Russell King , Alexander Couzens , Qingfang Deng , SkyLake Huang , Philipp Zabel , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-phy@lists.infradead.org Subject: Re: [RFC PATCH net-next v3 1/8] dt-bindings: phy: mediatek,xfi-pextp: add new bindings Message-ID: References: <20231212-renderer-strobe-2b46652cd6e7@spud> 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=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Dec 13, 2023 at 02:20:45PM +0100, Andrew Lunn wrote: > > Because it is only present in one of the two SerDes channels. > > Channel 0 needs the work-around, Channel 1 doesn't. > > Does the channel know its own number? As far as I know we can't infer the channel number by any of the registers default values. We could infer it from the base address, and that would kinda defy the purpose of having Device Tree to begin with in my feeling at least, but it would be possible, of course.