netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Shmuel Hazan <shmuel.h@siklu.com>
To: Russell King <linux@armlinux.org.uk>
Cc: Marcin Wojtas <mw@semihalf.com>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Richard Cochran <richardcochran@gmail.com>,
	horatiu.vultur@microchip.com, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	devicetree@vger.kernel.org, Shmuel Hazan <shmuel.h@siklu.com>
Subject: [PATCH v4 0/3] net: mvpp2: tai: add extts support
Date: Sun, 30 Apr 2023 20:06:53 +0300	[thread overview]
Message-ID: <20230430170656.137549-1-shmuel.h@siklu.com> (raw)

This patch series adds support for PTP event capture on the Aramda
80x0/70x0. This feature is mainly used by tools linux ts2phc(3) in order
to synchronize a timestamping unit (like the mvpp2's TAI) and a system
DPLL on the same PCB. 

The patch series includes 3 patches: the second one implements the
actual extts function.

Changes in v2:
	* Fixed a deadlock in the poll worker.
	* Removed tabs from comments.

Changes in v3:
	* Added more explanation about the change in behavior in mvpp22_tai_start.
	* Explain the reason for choosing 95ms as a polling rate.

Changes in v4:
	* Add additional lock for the polling worker reference count. 

Shmuel Hazan (3):
  net: mvpp2: tai: add refcount for ptp worker
  net: mvpp2: tai: add extts support
  dt-bindings: net: marvell,pp2: add extts docs

 .../devicetree/bindings/net/marvell,pp2.yaml  |  18 +
 .../net/ethernet/marvell/mvpp2/mvpp2_tai.c    | 332 ++++++++++++++++--
 2 files changed, 316 insertions(+), 34 deletions(-)


base-commit: 3e7bb4f2461710b70887704af7f175383251088e
-- 
2.40.1


             reply	other threads:[~2023-04-30 17:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-30 17:06 Shmuel Hazan [this message]
2023-04-30 17:06 ` [PATCH v4 1/3] net: mvpp2: tai: add refcount for ptp worker Shmuel Hazan
2023-05-01 15:04   ` Alexander H Duyck
2023-04-30 17:06 ` [PATCH v4 2/3] net: mvpp2: tai: add extts support Shmuel Hazan
2023-04-30 17:06 ` [PATCH v4 3/3] dt-bindings: net: marvell,pp2: add extts docs Shmuel Hazan
2023-05-01 19:45 ` [PATCH v4 0/3] net: mvpp2: tai: add extts support Russell King (Oracle)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230430170656.137549-1-shmuel.h@siklu.com \
    --to=shmuel.h@siklu.com \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=edumazet@google.com \
    --cc=horatiu.vultur@microchip.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=mw@semihalf.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=richardcochran@gmail.com \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).