From nobody Fri Oct 3 12:16:41 2025 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 43B953009FD; Mon, 1 Sep 2025 09:19:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.132.182.106 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756718376; cv=none; b=Hgvhy3Kt8sqUmMT/LYZ8QWNZNLLHTCt8wHYu7ghREd9feP3KaUXFahYzEifUORti0UdGFGdQN17YzAzfShLVc1X3zsQ6G8ecCLeVteCEEus7OyomZX/zhkdSwVFf0ow0pQ4SiOGVUKy5dVbn6DoYfHmVvG0GzFJEa2YKpxN0PUI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756718376; c=relaxed/simple; bh=x9+qStFH3vhT6vgaL7AtTnwgZk8Tdmt87ijVQfufUtM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=rheALd4IEO56pk1qharP4tOI9hLxMCLcOztAj5gGvY2pr5NkJ3mU1WXwCn5DdHt2Nnl3z14SydWal6UE2ZM62Xb9Y7VUG8mVhLEIbVIGC14cf59FwlN2pjxFCtX1zMc8k9JQfNso2uifMpePXtf+U2TNDTF7ycWVO02fHbmv/nc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=EtZkLnMT; arc=none smtp.client-ip=185.132.182.106 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="EtZkLnMT" Received: from pps.filterd (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5818RZ5O025349; Mon, 1 Sep 2025 11:18:50 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=selector1; bh= ZOIIyAi/+GlYEL6Pahn/kWUROmPQ14HPEuftxMS5fFg=; b=EtZkLnMTGcZVaH/F 7lMVN1cMkh4fc3S0pg0tlGW5h42V8oK+o3GJGFGzYbMGNyX+G1NdqD70kbIWkYVR 8qHunwkZDuwtBXdXJ5XxRP2g45dET0liMaq0iuWeH9ZbSVf7a6t/Abdp+o/IhbP+ TSe9/kqh65CZkMLJMUxSPzl01CL1LM2HbNOPyRdnFhEJAZibOdD+gC6yrcEwECw5 9teqcU3aa0mI6zLqc4mHFV8oKIwJumDxnRFtYG5pZiN69ODC8Wl194sp43kGkE4v BmxziaJkv0L2D8oL0Gh+oF/eP7aQCW6hcnwHqDC4vsvrw2z3O70y22BOivJnvIUG va5qrA== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 48upqk6jtd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 01 Sep 2025 11:18:50 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id EB4EC4004F; Mon, 1 Sep 2025 11:17:29 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 43BAB765CFA; Mon, 1 Sep 2025 11:16:37 +0200 (CEST) Received: from localhost (10.48.87.141) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.57; Mon, 1 Sep 2025 11:16:36 +0200 From: Gatien Chevallier Date: Mon, 1 Sep 2025 11:16:27 +0200 Subject: [PATCH net-next v4 1/3] time: export timespec64_add_safe() symbol Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-ID: <20250901-relative_flex_pps-v4-1-b874971dfe85@foss.st.com> References: <20250901-relative_flex_pps-v4-0-b874971dfe85@foss.st.com> In-Reply-To: <20250901-relative_flex_pps-v4-0-b874971dfe85@foss.st.com> To: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , Alexandre Torgue , Richard Cochran , Rob Herring , Krzysztof Kozlowski , Conor Dooley , John Stultz , Thomas Gleixner , Stephen Boyd CC: , , , , , Gatien Chevallier X-Mailer: b4 0.14.2 X-ClientProxiedBy: SHFCAS1NODE1.st.com (10.75.129.72) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-09-01_04,2025-08-28_01,2025-03-28_01 Export the timespec64_add_safe() symbol so that this function can be used in modules where computation of time related is done. Signed-off-by: Gatien Chevallier Acked-by: Thomas Gleixner --- kernel/time/time.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/time/time.c b/kernel/time/time.c index 1b69caa87480e7615d44ef409b96c081f2d15395..0ba8e3c50d62570d7248dd02a80= 395cb0c51c42e 100644 --- a/kernel/time/time.c +++ b/kernel/time/time.c @@ -858,6 +858,7 @@ struct timespec64 timespec64_add_safe(const struct time= spec64 lhs, =20 return res; } +EXPORT_SYMBOL_GPL(timespec64_add_safe); =20 /** * get_timespec64 - get user's time value into kernel space --=20 2.25.1 From nobody Fri Oct 3 12:16:41 2025 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 43B1130DD35; Mon, 1 Sep 2025 09:19:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.132.182.106 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756718376; cv=none; b=QU2Mn/DEchw4bOVSoaTLV/MvIpGeOmRdRej5d5ySCKCpM1RfhwaIs83Yq0CGlIZhap/Hu8+TySCpLPRtBljGJVe2Uzo4cOLwgOWHM76iD203b2VY+Qq3L357oFijkCIvp3Z90NBUIjZX0Gts2oRwsJU7eS46Td2PeHYxvEcL5OU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756718376; c=relaxed/simple; bh=seAwFb1pRSmeCrbvQb9oUa6u3MvmgtF4/2so/uIwfac=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=ngikMNQmAspZ5tJliRXiH+nD6Gsg8nRd2pjDtHnRS3qOpc8D0wUs742EoFo9qBCg7DDWL4RTbbSUOy96duc0XeWOGWwjPnVezLdT9PRj0A+O9xNVjLq4CAfIWd0dUdoDcFy8xAeQr4HyzFaAV+mLQBPM2jjPYt78x0PVdEAdxrw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=sna/2XrI; arc=none smtp.client-ip=185.132.182.106 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="sna/2XrI" Received: from pps.filterd (m0369458.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5818pONx025374; Mon, 1 Sep 2025 11:18:50 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=selector1; bh= dei44I0hfhVVUg9MgxJwwosNqNNi8XOiFSG509rDLXg=; b=sna/2XrIhy6V1SRw AmSKTHZy+MK7eyUgmlFdrihWgRHVH8zqmBg9MwHQVGDzotGtyIaJYbmsyXpsgMHB rlaSXRwhwrEabTMNywBMTa4EZOxkHgABRoLctN10wMQ3tuzJYmgO55rH0/isHRhx e6QF5TdOHY8L88JItN7iiCEypPVWlN9Bq15gG62S5mvPy7Tp8ZpyTUK6GlyFDBZ/ QKXGx9pKp8/vC0ybVgJQmcf7mfBQG1ABGI4PRnZglrOncJ6aVoOPPP5nLOSVhV+A DFsDOC10bRzPy4CansReLnOWlFTPD5QDpdYZRxWPmcrRCjUWgvAchhitdlkoghJV iJFbaw== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 48vav2c021-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 01 Sep 2025 11:18:50 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id D15D14004B; Mon, 1 Sep 2025 11:17:41 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 0339276652B; Mon, 1 Sep 2025 11:16:38 +0200 (CEST) Received: from localhost (10.48.87.141) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.57; Mon, 1 Sep 2025 11:16:37 +0200 From: Gatien Chevallier Date: Mon, 1 Sep 2025 11:16:28 +0200 Subject: [PATCH net-next v4 2/3] drivers: net: stmmac: handle start time set in the past for flexible PPS Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-ID: <20250901-relative_flex_pps-v4-2-b874971dfe85@foss.st.com> References: <20250901-relative_flex_pps-v4-0-b874971dfe85@foss.st.com> In-Reply-To: <20250901-relative_flex_pps-v4-0-b874971dfe85@foss.st.com> To: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , Alexandre Torgue , Richard Cochran , Rob Herring , Krzysztof Kozlowski , Conor Dooley , John Stultz , Thomas Gleixner , Stephen Boyd CC: , , , , , Gatien Chevallier X-Mailer: b4 0.14.2 X-ClientProxiedBy: SHFCAS1NODE1.st.com (10.75.129.72) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-09-01_04,2025-08-28_01,2025-03-28_01 In case the time arguments used for flexible PPS signal generation are in the past, consider the arguments to be a time offset relative to the MAC system time. This way, past time use case is handled and it avoids the tedious work of passing an absolute time value for the flexible PPS signal generation while not breaking existing scripts that may rely on this behavior. Signed-off-by: Gatien Chevallier --- drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c | 34 ++++++++++++++++++++= +++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c b/drivers/net= /ethernet/stmicro/stmmac/stmmac_ptp.c index 3767ba495e78d210b0529ee1754e5331f2dd0a47..ecbff20771f4ecd50b34ab3f84a= 279ba6a7939c5 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c @@ -10,6 +10,8 @@ #include "stmmac.h" #include "stmmac_ptp.h" =20 +#define PTP_SAFE_TIME_OFFSET_NS 500000 + /** * stmmac_adjust_freq * @@ -171,7 +173,11 @@ static int stmmac_enable(struct ptp_clock_info *ptp, u32 acr_value; =20 switch (rq->type) { - case PTP_CLK_REQ_PEROUT: + case PTP_CLK_REQ_PEROUT: { + struct timespec64 curr_time; + u64 target_ns =3D 0; + u64 ns =3D 0; + /* Reject requests with unsupported flags */ if (rq->perout.flags) return -EOPNOTSUPP; @@ -180,6 +186,31 @@ static int stmmac_enable(struct ptp_clock_info *ptp, =20 cfg->start.tv_sec =3D rq->perout.start.sec; cfg->start.tv_nsec =3D rq->perout.start.nsec; + + /* A time set in the past won't trigger the start of the flexible PPS ge= neration for + * the GMAC5. For some reason it does for the GMAC4 but setting a time i= n the past + * should be addressed anyway. Therefore, any value set it the past is c= onsidered as + * an offset compared to the current MAC system time. + * Be aware that an offset too low may not trigger flexible PPS generati= on + * if time spent in this configuration makes the targeted time already o= utdated. + * To address this, add a safe time offset. + */ + if (!cfg->start.tv_sec && cfg->start.tv_nsec < PTP_SAFE_TIME_OFFSET_NS) + cfg->start.tv_nsec +=3D PTP_SAFE_TIME_OFFSET_NS; + + target_ns =3D cfg->start.tv_nsec + ((u64)cfg->start.tv_sec * NSEC_PER_SE= C); + + stmmac_get_systime(priv, priv->ptpaddr, &ns); + if (ns > TIME64_MAX - PTP_SAFE_TIME_OFFSET_NS) + return -EINVAL; + + curr_time =3D ns_to_timespec64(ns); + if (target_ns < ns + PTP_SAFE_TIME_OFFSET_NS) { + cfg->start =3D timespec64_add_safe(cfg->start, curr_time); + if (cfg->start.tv_sec =3D=3D TIME64_MAX) + return -EINVAL; + } + cfg->period.tv_sec =3D rq->perout.period.sec; cfg->period.tv_nsec =3D rq->perout.period.nsec; =20 @@ -190,6 +221,7 @@ static int stmmac_enable(struct ptp_clock_info *ptp, priv->systime_flags); write_unlock_irqrestore(&priv->ptp_lock, flags); break; + } case PTP_CLK_REQ_EXTTS: { u8 channel; =20 --=20 2.25.1 From nobody Fri Oct 3 12:16:41 2025 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6003F30DEDA; Mon, 1 Sep 2025 09:19:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.132.182.106 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756718378; cv=none; b=p83l5iBa3GJyepNbMo2nOk21LJ7sRz6n9H4J/Tn3319CIK4E493QsWtOZLaE2kVvZN3P6Qsp91tj2FfDrrRhr5EU7Y5QzWSPdaGcsjNusTctQEyOXODvd9cDvbYjEakDvJjAmwKf8g8Lt2ZpF7BH6I4MyOYLdDlpDOzRa+UdI7s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756718378; c=relaxed/simple; bh=2BFwwk6Oa0P/ezRqVcFlJunKKCnXQeE1OIsUdA4NEXs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=IT6/XiRnzX9MIDJcBewi6qMj3Dr47hDjMtiwwfoV8qeHnfdDli4brfEMPvErm4/27ecAY5RkVDNKhZRXGSbMOrX/PKqvmqwSZ7NTlEkbS5qAKT/az0/KJzXmvRyaivaHRHT0cyQK6WZRJOZQF4ctoLe6eoVBzZ9ThxTnLq+GIGM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=EaMPdb3l; arc=none smtp.client-ip=185.132.182.106 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="EaMPdb3l" Received: from pps.filterd (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5819DFH8011686; Mon, 1 Sep 2025 11:19:03 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=selector1; bh= x/3NINU/K2c7qUKU5f+2zWn2uCGFvhWDC/0NFKmcgbI=; b=EaMPdb3lCCkKG2UB jSzdf6y2qBntKiC4SSKRveSHleQDcxgb3YN8y4K5M6OYGHtYDGtGLWnhr4QgyamM Et5Gmr1LcT+bGml3+g9ygx0pLWC/dVuWU5fR1hUfvG+ieWTqtjFDS7M4SE/CTLLC jpAYHTZeVqtX2FjPlF4v9p6RIQxBAy+T0C7MGqx7y08RYxrcRJzcZz2NZfF0URPM KyKTDVeLc2hKpW4FlZozHN/fbYazLrTvKciLlUcUE2PMHtwevQGni2xJlozmtO6e dSzA++PldFFbcvVdFLnT9NCxtWv0eQJTaxkrx+kKOppUYdy/v8HTeKMiZGHBZN+l TASunw== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 48upqk6ju4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 01 Sep 2025 11:19:03 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 1CC4140050; Mon, 1 Sep 2025 11:17:44 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id B142976B316; Mon, 1 Sep 2025 11:16:38 +0200 (CEST) Received: from localhost (10.48.87.141) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.57; Mon, 1 Sep 2025 11:16:38 +0200 From: Gatien Chevallier Date: Mon, 1 Sep 2025 11:16:29 +0200 Subject: [PATCH net-next v4 3/3] ARM: dts: stm32: add missing PTP reference clocks on stm32mp13x SoCs Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-ID: <20250901-relative_flex_pps-v4-3-b874971dfe85@foss.st.com> References: <20250901-relative_flex_pps-v4-0-b874971dfe85@foss.st.com> In-Reply-To: <20250901-relative_flex_pps-v4-0-b874971dfe85@foss.st.com> To: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , Alexandre Torgue , Richard Cochran , Rob Herring , Krzysztof Kozlowski , Conor Dooley , John Stultz , Thomas Gleixner , Stephen Boyd CC: , , , , , Gatien Chevallier X-Mailer: b4 0.14.2 X-ClientProxiedBy: SHFCAS1NODE1.st.com (10.75.129.72) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-09-01_04,2025-08-28_01,2025-03-28_01 ETH1/2 miss their PTP reference clock in the SoC device tree. Add them as the fallback is not correctly handled for PPS generation and it seems there's no reason to not add them. Signed-off-by: Gatien Chevallier --- arch/arm/boot/dts/st/stm32mp131.dtsi | 2 ++ arch/arm/boot/dts/st/stm32mp133.dtsi | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32mp131.dtsi b/arch/arm/boot/dts/st/st= m32mp131.dtsi index ace9495b9b062e9f96437681cc526fed7f9eac5e..b88953485e597dc89c48ea2e3ff= d382d1de5de92 100644 --- a/arch/arm/boot/dts/st/stm32mp131.dtsi +++ b/arch/arm/boot/dts/st/stm32mp131.dtsi @@ -1602,11 +1602,13 @@ ethernet1: ethernet@5800a000 { "mac-clk-tx", "mac-clk-rx", "ethstp", + "ptp_ref", "eth-ck"; clocks =3D <&rcc ETH1MAC>, <&rcc ETH1TX>, <&rcc ETH1RX>, <&rcc ETH1STP>, + <&rcc ETH1PTP_K>, <&rcc ETH1CK_K>; st,syscon =3D <&syscfg 0x4 0xff0000>; snps,mixed-burst; diff --git a/arch/arm/boot/dts/st/stm32mp133.dtsi b/arch/arm/boot/dts/st/st= m32mp133.dtsi index 49583137b5972572d1feaa699c0c3a822a1b6f6d..053fc669120513c7d2812a0aabe= 8186fe1f4fe58 100644 --- a/arch/arm/boot/dts/st/stm32mp133.dtsi +++ b/arch/arm/boot/dts/st/stm32mp133.dtsi @@ -81,11 +81,13 @@ ethernet2: ethernet@5800e000 { "mac-clk-tx", "mac-clk-rx", "ethstp", + "ptp_ref", "eth-ck"; clocks =3D <&rcc ETH2MAC>, <&rcc ETH2TX>, <&rcc ETH2RX>, <&rcc ETH2STP>, + <&rcc ETH2PTP_K>, <&rcc ETH2CK_K>; st,syscon =3D <&syscfg 0x4 0xff000000>; snps,mixed-burst; --=20 2.25.1