[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20211124164852.46784f83@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Wed, 24 Nov 2021 16:48:52 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Shijith Thotton <sthotton@...vell.com>
Cc: <davem@...emloft.net>, <sgoutham@...vell.com>,
<jerinj@...vell.com>, <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next] octeontx2-af: cn10k: devlink params to
configure TIM
On Wed, 24 Nov 2021 10:38:41 +0530 Shijith Thotton wrote:
> Added devlink parameters to configure the source clock of TIM block.
> Supported clocks are TENNS, GPIOS, GTI, PTP, SYNC, BTS, EXT_MIO and
> EXT_GTI.
>
> To adjust a given clock, the required delta can be written to the
> corresponding tim_adjust_<clock> parameter and tim_adjust_timers
> parameter can be used to trigger the adjustment. tim_capture_<clock>
> parameter can be used to verify the adjusted values for a clock.
>
> Example using tenns clock source:
> To adjust a clock source
> # devlink dev param set pci/0002:01:00.0 name tim_adjust_tenns \
> value "1000" cmode runtime
>
> To trigger adjustment
> # devlink dev param set pci/0002:01:00.0 name tim_adjust_timers \
> value 1 cmode runtime
PTP subsystem exists.
Powered by blists - more mailing lists