Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp8240695rwp; Wed, 19 Jul 2023 07:13:32 -0700 (PDT) X-Google-Smtp-Source: APBJJlEtSO0NTQOolSmcTmwT9A/5O08qvOuGFqyFxzUBQsvffX+UkXS1KB0LgjeVqXstMzwldQHK X-Received: by 2002:a17:90a:6fc4:b0:262:ea3e:e248 with SMTP id e62-20020a17090a6fc400b00262ea3ee248mr3244651pjk.7.1689776011944; Wed, 19 Jul 2023 07:13:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689776011; cv=none; d=google.com; s=arc-20160816; b=rN3FrpIYN4KzGMwnDwgaOHkRF+Ixav0LofR1Xnnhksd4BAKoRwEyCR/3qEDU8KRodp IPsbe1prvSYVQYVvk0MA1PhXR8lv3ii9GNhbuPXuix0gn3br/1nkaSkKqV+W+uLwfmYF HaAxsjroTifh7WjA9h8e1PaNv069dja10tfE2AgxI6Ej9EiGA47TwGmJlamWrEtn6hKg f+e00WGYMMsvfnWbHjLQwpw7KbATNFRVpBJtadkdZfGC7KM0Dme5gAYotNj6MnkxY2CU 5frEGw06gkHAGf8nyxNAgadtbZ9Z0KWugWCSbYbd54o0RH1fHfKgZLl0NxwcBmy9n9DX KRLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=3G9aCedrr+FpW0g5m8JBEVdwLj0gqKmqNTrO4zT5WCs=; fh=qWZPD4KHwuWv8ibcMwfeaY3/IjBqrvFmyFxa3goNMDw=; b=NO1aw6yIa1/7VEYhXgbQJdFhk8zZfMO682JJwTUSNibYoukHHqHvGaw0Br1CbptT3y 89dOxoSgbIl+A6ok74LFPM3LdVD52aM1R9BX8ftq0NwBvKZeWKIbfgLx4HKSugOQLzsU jjvuT/62klx5YYV00owFWgvhMBvJcIJRiIuXclVQsrq0Tpz+I1/yIGr4pYFKCRiWg3fQ 2c69kOyLtC1imBk9JxYlCFnNWmUf7vxG9VsSy7DFxyvSw7PcGUti29AWHKc2jP2RC7OJ Ydxj34D88W0UnXA4Wrzw8cAp6B/mBQ5bTSEaPd6QW4gPnorabTVKF3K/aW8JcfWemPKh VaTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=dOCyzne0; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mz11-20020a17090b378b00b0026306d2d484si1453354pjb.111.2023.07.19.07.13.18; Wed, 19 Jul 2023 07:13:31 -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; dkim=pass header.i=@gmail.com header.s=20221208 header.b=dOCyzne0; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231459AbjGSODn (ORCPT + 99 others); Wed, 19 Jul 2023 10:03:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229822AbjGSODm (ORCPT ); Wed, 19 Jul 2023 10:03:42 -0400 Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3042A8E; Wed, 19 Jul 2023 07:03:41 -0700 (PDT) Received: by mail-pg1-x52d.google.com with SMTP id 41be03b00d2f7-55b78bf0423so380598a12.0; Wed, 19 Jul 2023 07:03:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689775420; x=1692367420; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=3G9aCedrr+FpW0g5m8JBEVdwLj0gqKmqNTrO4zT5WCs=; b=dOCyzne0zRAbf9xUUnpkFEzMLMkY53DFWy0c6DSmmg1EGV7RlmECjPMNJoOlpfx3CN 7kRtsDhfKJyHGMzn17S75fE098qhWvqwGWVije+LoFqxqf2wjizLEykv0ZlDMD9rTpX9 v7O4Fam5E3RW23OpooWzkG//O6i9ydTAGYLtRhIHv9F88u24lMsMGBhttA9b30I6zIqc myJawj61oCkJCUgnWhttMuwAKIioEDfi7ttsRKp0IbUqZRcFQ1cJRVb5+dcAvNl7veJ6 l9uX5C/6kzaDOU0QThGpifNwlDJ4Ka/X5Uhujhi6sbzbwQPF3RxvcAR4upxElrxKupvp q50A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689775420; x=1692367420; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3G9aCedrr+FpW0g5m8JBEVdwLj0gqKmqNTrO4zT5WCs=; b=Myy0dgLYUqvWUHEptWqqjy4VrUlffq9rgidJvgbBEKQdME76ZyrMxTavGvZYMTOn9O qaLt+TaWp3tblGFDgvSKVnYe4oQKcA6CGTHkf3MmBQ83Uwy05fNV9USmShtBaedfqdgj ++F2ZyeT70JQlyPKpGmr659hIFBaeusRjrOsN9gGF3MKnz4tv5NU21oubanAhM0E2Hkd Qk8jUE8RmXXPziGYOx7Mlx+ti5XKuarX4zrtDDwtOaE2t5H1OATPNzGNjGWJUY80mcgv chpygzD8K3jS4L58Exx+gmA47vazWIucw+zfYB5dHWEFENbBIOxMSUxsRu7JrN2EpS0H QMaA== X-Gm-Message-State: ABy/qLY9UoSE8hYuMCUUilFYOhwD4y+HQquQw9HOHa8ZI8+0z8lISzA6 kB41NJ5DgwiUO+99xAuLQCG/NfjRtcqHFtzVE4I= X-Received: by 2002:a17:90a:17c7:b0:263:730b:f568 with SMTP id q65-20020a17090a17c700b00263730bf568mr2116751pja.3.1689775420470; Wed, 19 Jul 2023 07:03:40 -0700 (PDT) MIME-Version: 1.0 References: <20230719-imx8mp_enet_qos_use_125mhz_clock-v1-1-782c9ac6e121@pengutronix.de> In-Reply-To: <20230719-imx8mp_enet_qos_use_125mhz_clock-v1-1-782c9ac6e121@pengutronix.de> From: Fabio Estevam Date: Wed, 19 Jul 2023 11:03:28 -0300 Message-ID: Subject: Re: [PATCH] arm64: dts: imx8mp: use correct clock for eqos timestamping counter To: Johannes Zink Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , patchwork-jzi@pengutronix.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, 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 Hi Johannes, On Wed, Jul 19, 2023 at 10:59=E2=80=AFAM Johannes Zink wrote: > > 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_Q= OS_TIMER>, > <&clk IMX8MP_CLK_ENET_Q= OS>; > assigned-clock-parents =3D <&clk IMX8MP_S= YS_PLL1_266M>, > - <&clk IMX8MP_SYS= _PLL2_100M>, > + <&clk IMX8MP_SYS= _PLL2_125M>, > <&clk IMX8MP_SYS= _PLL2_125M>; > assigned-clock-rates =3D <0>, <100000000>= , <125000000>; Shouldn't this also be changed to: assigned-clock-rates =3D <0>, <125000000>, <125000000>;