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 C22D1C52D73 for ; Wed, 7 Aug 2024 17:52:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=IgJHKpRaj1V7B1t0wb04bvKsKafQiNRW06ITclpickc=; b=Fvyox9vL363EZy/Q2wWqXGP6zh T3CG99QOyKJ2/dUg+DfOa9HDVr3rDeW/L+4/dfdXrMshvnGcNd7+qmiBd1TLiOAw/A+QRcxZ+a5dB wSPImUsCcBNMw2OR/eszHwuLt5R6JkOGFGuxcNBbQezHMzNWt8MLJbuhQx1Kb/Wzi6chfn6SyPOqR ow2pHcgEgDDqOzT0h4manFBnjKtYRIQ7YnPn3jRm8faUZ7Jq4hkbdAJLjnjyYsft7kvX6RWwE0kdp OgmX077o8deeVJmxAt1bVLhPOsa7h6bX5e1z7uusxkYbyPtiIxanVW3TTdXR53P7Zgcx2XGXvV9/S HqfrG4gQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbkps-00000005sHS-18xP; Wed, 07 Aug 2024 17:52:32 +0000 Received: from mail11.truemail.it ([2001:4b7e:0:8::81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbkpI-00000005sB7-10D8 for linux-arm-kernel@lists.infradead.org; Wed, 07 Aug 2024 17:51:57 +0000 Received: from francesco-nb (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id C1B1021356; Wed, 7 Aug 2024 19:51:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1723053113; bh=IgJHKpRaj1V7B1t0wb04bvKsKafQiNRW06ITclpickc=; h=From:To:Subject; b=U5Q2k14iGALDwMSVpovpFXi3fT/nJ1yXasaFcCiURQ6pJ40vLo6OCcV6k5550AR5e JMqPkeCrAzAEF5BeUz+0OP6VvUxLxSVRef0t8RKtSgMRdMpLCMhRp2NxdfLc7sQDXe xS01WljEFvjwFW9kJ9D2pVMqw41+YJpPBxMIUE8tsA9COTz+dC/wKs8ys234+DK6/L PWM2USLynSG5qUSBge2HaDlV6maXqCOEZJ6/e6oHTgtPgB5CyDv+MzgP7J2QW6QzY7 OvU4Is5kPueO8irwC80o+4V9VMRxWyrPxNGMscps6BrJrIMxrvAInhiNW7JrPmBepf 9IdSHuKfwrRDA== Date: Wed, 7 Aug 2024 19:51:48 +0200 From: Francesco Dolcini To: Frank Li , rafael.beims@toradex.com Cc: Francesco Dolcini , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Francesco Dolcini , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 4/4] arm64: dts: imx8-ss-conn: add PPS channel to the FEC nodes Message-ID: <20240807175148.GA299582@francesco-nb> References: <20240807144349.297342-1-francesco@dolcini.it> <20240807144349.297342-5-francesco@dolcini.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240807_105156_460213_10FA057F X-CRM114-Status: GOOD ( 11.70 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello Frank, +Rafael On Wed, Aug 07, 2024 at 11:34:48AM -0400, Frank Li wrote: > On Wed, Aug 07, 2024 at 04:43:49PM +0200, Francesco Dolcini wrote: > > From: Francesco Dolcini > > > > On i.MX8 the FEC PPS channel is routed to the instance 1, not to the > > default 0. > > According to my understand, it should be board level configuration. FEC > support output pps to any one. choose which one by board design. This seems different from the information we got from NXP some time ago, unfortunately this was happening over some private email exchange and not documented anywhere public. But the message was about SoC internal routing, not something at the board level, at least for i.MX8 SoCs that is what this patch is changing. For example to use PPS on i.MX8QXP we need to have this IMX8QM_ENET0_REFCLK_125M_25M_CONN_ENET0_PPS 0x06000020 pinctrl configuration _and_ use PPS channel 1. Same is for i.MX8QP. Maybe Rafael can provide you some more details and the name of the person that provided this information. And maybe you can also try to double check this internally within NXP. Depending on what we find out we can decide if this patch needs to be dropped or not. Francesco