From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 22D45C35274 for ; Sat, 16 Dec 2023 01:17:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ccPxKVNkKXd73ONIF9NX76aHmmf4NpSTg73FfHI6HQg=; b=sSl/Vk0r/5aybw vAMKYK+xTiccnZb+SLgNUJonrWhrLiV99pchPqiQyZEi8lhxtXytG7HE3Pt2Kny6br8BCKXxefopb vTq9R3fhSVLUlsRAKcilEzSSDFWmRJiYeeNHsLkQuut7gOQ8G13MDF1fBJ4nC/OEMWdQZ63dPCACk FCl35+p9OeXPhSxccwmPmZl/A21j94UMvGhgMEmQCl+uR6RNUQoNsEG7G8tfZDeL2kZf6HFEEIV6u 0t1iP+1+zyoZGUcI12hDkL61RBQLZ4wYP+bYC/ltMWOBF2vbaQbCahnPdP4gtN+NyNNG3WcG0+x5P Rv8DOycJpcn1STbIhp4A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rEJIp-0054os-36; Sat, 16 Dec 2023 01:17:15 +0000 Received: from pidgin.makrotopia.org ([185.142.180.65]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rEJIn-0054nh-16; Sat, 16 Dec 2023 01:17:14 +0000 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> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231215_171713_375766_55B98416 X-CRM114-Status: UNSURE ( 9.97 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel