From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-186.mta1.migadu.com (out-186.mta1.migadu.com [95.215.58.186]) (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 11504481644 for ; Tue, 21 Jul 2026 14:36:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.186 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784644592; cv=none; b=ZCGdZm6m80HeG6nYFJmt38hZp4d+svrrwExeehdC0aESK/qjiZ1a5FqVHoSc3A0CjcS9GxVfgO+EJKe9P6hfj/lVsMvV4ZOwC9TLWCgDgvSi4CZWSdISMO0EObol9ByE+K+CJdsGiG3kNry94d7/Az8MZFIC0fDfO2yFG/AIjXQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784644592; c=relaxed/simple; bh=ZcfPBsI8IBMNJnG/sqGin98jCO/aJb7mbPWM552l6qM=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=HwHc0afXN1tJGIdjDphQ60Q5IxIbNZ7QStZcFDjCMMxvUa+m3imLNjE9Qn9N8k6juUon7JGEbzxZ+pv6x0M3UNw1cDRjh2Gq664BlniJa0bbAeSE+zX/Dg50NKUgM5VUvd0onyPZQOUDn/I4XtG9zBe/qPF2lxYr82nzb1fTcKE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=PQJkGAO8; arc=none smtp.client-ip=95.215.58.186 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="PQJkGAO8" Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1784644585; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PyoTeLlBH3Olo1iRv1nlEFIv/HUSi7OqYr6amr496lE=; b=PQJkGAO8E29bP9vySKZrwKia6J/UQUCNN07xT3QaI2gZ3DRqUWSKqLKxhd4M8tyxxYmrSZ 58jlpkSD+vqI4UsPa2GzlXjJ7/OPSkG0RD0jFoB+jvkYCiRukbqUoMjtOYQgzCyo3UKhHe cKQRV+S20XhdW8dAPGO9ZQksFhI1hkY= Date: Tue, 21 Jul 2026 15:36:09 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH net-next v5 2/3] ptp: Add driver for R-Car Gen4 To: =?UTF-8?Q?Niklas_S=C3=B6derlund?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Magnus Damm , Richard Cochran , Andrew Lunn , "DavidS. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org References: <20260721132936.1331318-1-niklas.soderlund+renesas@ragnatech.se> <20260721132936.1331318-3-niklas.soderlund+renesas@ragnatech.se> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Vadim Fedorenko In-Reply-To: <20260721132936.1331318-3-niklas.soderlund+renesas@ragnatech.se> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT On 21/07/2026 14:29, Niklas Söderlund wrote: > Add driver for the gPTP timer found on R-Car Gen4 devices. The timer is > system-wide and shared by different Ethernet devices on each Gen4 > platform. The operation of the timer is however not completely in > depended of the systems Ethernet devices. > > - On R-Car S4 is gated by the RSWITCH Ethernet module clock. > > - On R-Car V4H is gated by the RTSN Ethernet module clock. > > - On R-Car V4M is gated by its own module clock, the system have > neither RTSN or RSWITCH device. But the module clock is the same as > RTSN on V4H and the documentation referees to it as tsn (EtherTSN). > > The gPTP device do have its own register space on all three platforms. > But on S4 and V4H it will share its clock and reset property with > RSWITCH or RTSN, respectively. > > Signed-off-by: Niklas Söderlund > --- > * Changes since v4 > - Drop mod_devicetable.h include. > - Remove clap of register value as .max_adj prevents any overflow. Hi Niklas! Sorry for being silent for a while, was traveling a bit. Your explanation about addend in v3 is good enough and proofs that there will be no overflow for the values provided. Reviewed-by: Vadim Fedorenko