Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp8246158rwp; Wed, 19 Jul 2023 07:17:27 -0700 (PDT) X-Google-Smtp-Source: APBJJlHVjWrI7v7EvZ6b5Ca+CCicXPuZ8qs6w6dg4pBJl7iJhQCGmWxsMyDBT0JXUuiqgiTw2hRd X-Received: by 2002:a17:90a:6fe1:b0:262:e0aa:bbc8 with SMTP id e88-20020a17090a6fe100b00262e0aabbc8mr17153657pjk.8.1689776247225; Wed, 19 Jul 2023 07:17:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689776247; cv=none; d=google.com; s=arc-20160816; b=Z0Pmu35x2doPFFShJZ/pgaQSfKvKUWoc57y3CGbN89WT/yd69tyhzKVS5awBocn7wz 9A1B2CG5CcJG4ySL5i4MeiKDEoUHY9A/lsoyY/YLpqudXGoTyGdb3Q5dweY42ZADSrUn LOA2xft3BNVVHARMtmQ7VKTPUCmMwsJiTVkQcAZh6t5E6TIRia74kBZNjkO6+lBbQxWe ww9ifOTCuGEILPy3gEUfXodRdNKEiKbhxms0L0v5aO2xJKb4rQjIdin6lFHUdaoyrPei vFgyxaY5dk3ZmURjEh1zqloZfIroIFG+zh5DiIGqU8dSfOKYxigT8b8DDZXwGGMH4XAJ wUUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from; bh=fE3tnlgS5OOfiZJ9ECHPKXwnJCeymJ6zfZO2p/pwk+k=; fh=IdYCjCaEOu7BDgYBjQCE2NUJYLfmITyKqY9WRLxD5s0=; b=u866TiPFCfJMKFyTunlzlJW8ydJ0FRB8uCtNzeOkgfBr8ey77J/5j7mWNnb1GoY1Rg 0fuudGfGwCu0Qog4W7wjQS9U9l5MgcAPIF+UVHOhfNMQnnoqkOoNCX8yEz4fg6BqeIb2 wkA7t3Jm852ftvMl1sW4UzPIbL7JSllUhdOwSlsoqE8soXSgNg7xMvnHD7IwYZYklHFy fm76jU6oxZuQV1qMoqCAax79wrRhPa1itxjMZfSKJVG+7YSEdb9UNVnULlVAyVZVhzv8 hQ/41xZTP+fiDYK8Oiow3wNq3S/KXZuxrBNOBKD9ijN05oROUJA7Lr7Bu5BijcUO1HtD /l7w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oj17-20020a17090b4d9100b0025359a570fesi1551129pjb.19.2023.07.19.07.17.14; Wed, 19 Jul 2023 07:17:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231467AbjGSOAF (ORCPT + 99 others); Wed, 19 Jul 2023 10:00:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231444AbjGSOAB (ORCPT ); Wed, 19 Jul 2023 10:00:01 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2428AA4 for ; Wed, 19 Jul 2023 07:00:00 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qM7iW-0001Wg-6p; Wed, 19 Jul 2023 15:59:48 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1qM7iV-000cJK-9F; Wed, 19 Jul 2023 15:59:47 +0200 Received: from localhost ([::1] helo=dude03.red.stw.pengutronix.de) by dude03.red.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1qM7iU-003C7P-6u; Wed, 19 Jul 2023 15:59:46 +0200 From: Johannes Zink Date: Wed, 19 Jul 2023 15:59:19 +0200 Subject: [PATCH] arm64: dts: imx8mp: use correct clock for eqos timestamping counter MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230719-imx8mp_enet_qos_use_125mhz_clock-v1-1-782c9ac6e121@pengutronix.de> X-B4-Tracking: v=1; b=H4sIADbst2QC/x2Nyw7CIBAAf6XZsyQFHxV/pTEEcJWNPCprTWPTf 5d4nDnMrMBYCRku3QoVP8RUcgO568AHmx8o6NYYVK/2/SC1oLSc02Qw49u8CpuZ0Uh1TOFrfCz +KaQ/nKT0etDOQss4yyhctdmHFspzjE1OFe+0/L/jddt+hBR7gIcAAAA= To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: patchwork-jzi@pengutronix.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Johannes Zink X-Mailer: b4 0.12.2 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: j.zink@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The i.MX8MP Reference Manual rev 1 06/2021, section 11.7.2.5 "Timestamp Support" indicates the PTP timestamp clock expects a typical frequency of 125MHz. As this also improves the precision of the measured timestamps: assign appropriate 125MHz Clock parent. As no one except the timestamping counter uses this clock, there are no side-effects of this change in other peripherals. Signed-off-by: Johannes Zink --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 6f2f50e1639c..7f80dff914c2 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -1334,7 +1334,7 @@ eqos: ethernet@30bf0000 { <&clk IMX8MP_CLK_ENET_QOS_TIMER>, <&clk IMX8MP_CLK_ENET_QOS>; assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_266M>, - <&clk IMX8MP_SYS_PLL2_100M>, + <&clk IMX8MP_SYS_PLL2_125M>, <&clk IMX8MP_SYS_PLL2_125M>; assigned-clock-rates = <0>, <100000000>, <125000000>; nvmem-cells = <ð_mac2>; --- base-commit: ba345b77fae7054d0cbd033283c47033e45db6d8 change-id: 20230719-imx8mp_enet_qos_use_125mhz_clock-1c4611c979ba Best regards, -- Johannes Zink