From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 90F54301701; Wed, 11 Mar 2026 07:02:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773212543; cv=none; b=bmrchYf2K0nTlnY5suQ67okNuIVDf+cGneeS6ujHemjTX2TllXJT/XcejnY9bA3UxDtPc5nrPlk1vccsbQZQi4+JCb1iuQFHgABujllkWF9fPHN64kyyTlTzHEaypShpj3mkg2lcjbX3D7WNxQAoCm27RIBChdUsAUSUXOpaFWY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773212543; c=relaxed/simple; bh=oEp0zagVz/EKP3oxg1isMpE3fIGisB1T3dXsWTVrdpo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Pq8suxz2FULl4tHXwTdRvRb5ZoilemO3v27H+V0GoCjNwFyHR7czNXDP0stUHKnRtISEErX3ZQjtflxNbkYn457b8xJyJSlmg2O+ePJazr2idUsTdOsHKb5VxJ+lm34puxKfEyGh2giyyDl4M9G/etPHXBu38cx3xEmEwvEHiTc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=icwXk+JQ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="icwXk+JQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B533EC4CEF7; Wed, 11 Mar 2026 07:02:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773212543; bh=oEp0zagVz/EKP3oxg1isMpE3fIGisB1T3dXsWTVrdpo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=icwXk+JQMwQUrKJOn6jtJCSJkbG/Y3cGfZTlZJh6uzdoYw+WWSE6ZeMJd3UamP8uc JK4WOJw+3i4pNSkCcTB6L1EujwAhmvMQQC58vuR9aCiDvdbCB5buitTXA90WICPnQw WaA0O5VLCtPRTWDPgfIbzzXXNWLl73U7KMeBfrPnr8QbYhSaMCwpcSkKsj427MkKGb TUDvITYa28rpmTrWEvAS8dCT2P73+87rEPHBhr3xhgymWDSn3azdTsJWR4gd/HVCwD g3Qm78MEyXKPvUA/QLL1T1ojsKTzydSe8rILiD4zGRUolu819EmLdeAGMJFa1EIBjG PqURs1aPe9B4A== Date: Wed, 11 Mar 2026 08:02:20 +0100 From: Krzysztof Kozlowski To: Conor Dooley Cc: netdev@vger.kernel.org, Conor Dooley , Valentina.FernandezAlanis@microchip.com, Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Daire McNamara , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Nicolas Ferre , Claudiu Beznea , Richard Cochran , Samuel Holland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Dave Stevenson , Sean Anderson , Vineeth Karumanchi , Abin Joseph , =?utf-8?B?VGjDqW8=?= Lebrun , Ryan.Wanner@microchip.com Subject: Re: [PATCH net-next v3 09/10] dt-bindings: net: macb: add property indicating timer adjust mode Message-ID: <20260311-uncovered-paper-hog-e32fcb@quoll> References: <20260310-moneyless-dispense-7bce14b16388@spud> <20260310-aviator-upswing-80e8543a2300@spud> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20260310-aviator-upswing-80e8543a2300@spud> On Tue, Mar 10, 2026 at 05:17:16PM +0000, Conor Dooley wrote: > From: Conor Dooley > > The GEM IP has two methods for modifying the ptp timer. The first of > these, named "increment mode", relies on software controlling the timer > by setting tsu_timer_incr and tsu_timer_incr_sub_nsec and performing > once-off adjustments via the tsu_timer_adjust register. This is what the > macb driver uses. The second mechanism, "timer adjust mode" uses the > gem_tsu_inc_ctrl and gem_tsu_ms signals to control the timer. These > modes are not intended to be used in parallel, but both can be possible > on the same device and which mode is used cannot be determined from the > compatible on all devices, because some users of the GEM IP are SoC > FPGAs that permit configuring how the IP is wired up. > > Add a property to indicate that gem_tsu_inc_ctrl and gem_tsu_ms are wired > up for timer adjust mode. > > Signed-off-by: Conor Dooley > --- > .../devicetree/bindings/net/cdns,macb.yaml | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof