From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BF2643093CB for ; Fri, 12 Jun 2026 18:48:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781290139; cv=none; b=qA0nkq7Bsx5XC3PMGXR0Vb6F7ME76d+XsJqx/2vYi3VxFa2LHWlRh4NJjprgn/+uHZ6Ze3zBVQO+2eya09OgRi1lPoyQhJpV+PUqCYpghWM4LuRf+UU/RRWqURHVNjMO1VvG+zsfpPEDsFeBObocIDVfDBX7flsO3gAPNX4NIWQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781290139; c=relaxed/simple; bh=y+YFgf2hGWUgiLxOKrTXIYTGrKlqIDDKqbWS8HcgkYU=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=faoQm9Exg/drgsnN4aNH6tPEgJe+MVIrJ5qKELBH6OVIpAOd/MvZQv1+Ccbp8H3GaDDNpU3PwYAk0KYN7C09F1xvdXB5rL01m4Eez9f/0cflYbIEVZH1ereAJ1HmzNXetiw+vMezFF7Bq+y3tTKTMFTMepzqZMOXdPlR69SXNfc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=QtirE67P; arc=none smtp.client-ip=209.85.128.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QtirE67P" Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-4903d730b1fso15618395e9.2 for ; Fri, 12 Jun 2026 11:48:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781290137; x=1781894937; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=Jeq0BZdLYCausYeWCmY16Fj4+VhF2lVSQzlnxtNub48=; b=QtirE67PxKj4QQmYf7+NBiGK7L6s4ik45OrqtM3YTB3PrBxJpXPBa9aYNtshJcM8DY 9r+++mAmxeAvbVc0cHgZIoc6IvfGZz1yfzFRbgQJ/+idGGdxGKIdV2ANn6SLsWByuctC FlJrE8tQ/nRjw8iPXD/VQLcvXxbKGeNVsVbh0nky/A4r+yAIoTjNHQuGFDO2xg0Qfx7B IxpooTZ9c+4k3/VAcnNvM3q5Q+3yK1MVXjDBfTnRs7KyMYsO6gqUSGoIljQ+dPf5XQjL jPe4BcdSPcKqud+VVzdVLOWVqA/WU/l2/ZYml9jTTULwBe5Nnd247LcDRFQ+3d2+6TtT AZgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781290137; x=1781894937; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Jeq0BZdLYCausYeWCmY16Fj4+VhF2lVSQzlnxtNub48=; b=NwytrrVZNgSa1AlFBWFILzOCO5t9UwK4AlS5m1Lqg/iUcn0igDjipTS88W1zEtY1EV SXMruZ+SG9k1ryxRQUDwcmUjd/dUED6ZWlyBCxovhdQ9kQUJdrLXSXozISlkxgpp7UrR N+8s3KF783MzLyzt9+OVVrF0pLFXj88prJ5D+l1BFLTl3NXVfe8yWFBfwcnkqqK2lwKI YvO7WltIXKwfHkMcY7SXUxH3qFv3kHW0UTkXvlHUspCMmKB4/B7OocJ9nvsXPo5odvb4 NYftINfsJu4i0ied6n1bXrlRxD+aA0NjdcD8VW0MkCpwoSyA5myuW3nIA9bkSxYbL3Wk rXwQ== X-Forwarded-Encrypted: i=1; AFNElJ9KochkYk2hyPe/z66aQ/0A6qTUUJmIHSWt0CQ7RHInSw6UVjumexpWCpfioLtOqWdYUqrHcX77JgStT8k=@vger.kernel.org X-Gm-Message-State: AOJu0YxpoHDgs8F1ZPKlX98Fx0lsA8GgDnNob0vlkZ+HvrOx5xyE4195 LiG2gIdO4e7LFV0Zo9G7b3CrGmoo4Z8k9aa2CteF7dV3nI24T6jUsQNt X-Gm-Gg: Acq92OEJv44QOp7sD8OuFTTb4KlsFc8bc1NHfby9YTsxhW2qA1liuIO4D9YdQbkP9v0 PmMl0HwbTV0jIe3znUNdqHrTpqzGU0K6m8i3oCDa3RNt4sD8sAt1j9fr9adBKeKx1Gpe3XyBcu0 5/CZSsYYbyi7/7BOvw5/Nb4p3kz0ImMKrW4uH2g58YgzU/i5y/Z3Iv1cVBexix0dO70gIQxDcOj /VPk6JTFIA4GvoNriLHTF42wxCRk0j1odzwmwRdFSzfE7uqG28Mdt5dZUOY8P/V6wVyaYJB+Pzt ZsvD1/smo1zRauJmfjP/1XvgTEMfxp35rnzLWBSZfybU/q+P2tKz1AH7rrCdQW4eVBscONLcNEY 1rQLQUegb/KXiDI1mofYUr+iVsVP7ZVX+yGA1gk7Ny/9fFWePUj6tYsLoiZST3VuByEqBp8QSWY GnrVPN0URoUnSJKkE+Z669SqRanHf+WCrseAN+EmsbzCxnB7L/P/ImIGUlodMPzBOIIurHIYiLh Fk= X-Received: by 2002:a5d:5d83:0:b0:452:11f9:bc40 with SMTP id ffacd0b85a97d-46074a87c47mr532655f8f.2.1781290136967; Fri, 12 Jun 2026 11:48:56 -0700 (PDT) Received: from ?IPV6:2a00:1fa0:742:25a:e03e:6c9c:49d8:2fee? ([2a00:1fa0:742:25a:e03e:6c9c:49d8:2fee]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4606f2b0bbfsm8064894f8f.23.2026.06.12.11.48.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Jun 2026 11:48:56 -0700 (PDT) Message-ID: Date: Fri, 12 Jun 2026 21:48:53 +0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [net-next 6/9] net: ethernet: ravb: Add callback for gPTP probe To: =?UTF-8?Q?Niklas_S=C3=B6derlund?= , Paul Barker , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Richard Cochran , Geert Uytterhoeven , Magnus Damm , netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260610102432.3538432-1-niklas.soderlund+renesas@ragnatech.se> <20260610102432.3538432-7-niklas.soderlund+renesas@ragnatech.se> Content-Language: en-US From: Sergey Shtylyov In-Reply-To: <20260610102432.3538432-7-niklas.soderlund+renesas@ragnatech.se> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 6/10/26 1:24 PM, Niklas Söderlund wrote: > Different generations of the RAVB IP have different needs when it probes > the gPTP timer clock. Add a callback in the PTP information to allow > each generation to probe its own way. > > With this the last gPTP specific flag (gptp_ref_clk) can be removed. > However the primary motivation for the change is to prepare for Gen4 > support, which compared to other generations with gPTP support does not > have the clock as part of the IP itself. > > Gen4 will not need to compute GTI value as it have no where to write it, Nowhere. > as the gPTP clock is external. For this reason move the computation of > it into the newly gPTP probe specific callbacks for the RAVB IP's that > support it. > > Signed-off-by: Niklas Söderlund Reviewed-by: Sergey Shtylyov [...] MBR, Sergey