Re: [PATCH v2] arm64: dts: imx8mp: use correct clock for eqos timestamping counter

From: Johannes Zink
Date: Mon Jul 24 2023 - 08:43:12 EST


Hi everyone,

On 7/22/23 03:49, Fabio Estevam wrote:
On Fri, Jul 21, 2023 at 12:51 AM Johannes Zink <j.zink@xxxxxxxxxxxxxx> 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 <j.zink@xxxxxxxxxxxxxx>

Reviewed-by: Fabio Estevam <festevam@xxxxxxxxx>



please scratch this patch, the PTP Timestamping clock cannot be supplied with a 125MHz clock, there is no 125MHz source in the MUX input and I misinterpreted the clocksummary when testing this patch.

Sorry for the noise,
Johannes


--
Pengutronix e.K. | Johannes Zink |
Steuerwalder Str. 21 | https://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686| Fax: +49-5121-206917-5555 |