Skip to content

Commit f3643e5

Browse files
committed
doc: net: Add information about gPTP
Add gPTP information to documentation. Signed-off-by: Jukka Rissanen <[email protected]> Signed-off-by: Julien Chevrier <[email protected]>
1 parent d6971b4 commit f3643e5

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
gPTP stack for Zephyr
2+
#####################
3+
4+
Overview
5+
********
6+
7+
This gPTP stack supports the protocol and procedures as defined in
8+
the IEEE 802.1AS-2011 standard (Timing and Syncronization for
9+
Time-Sensitive Applications in Bridged Local Area Networks).
10+
11+
Supported features
12+
*******************
13+
14+
The stack handles communications and state machines defined in the standard
15+
IEEE802.1AS-2011. Mandatory requirements, for a full-duplex point-to-point link
16+
endpoint, as defined in Annex A of the standard are supported.
17+
18+
The stack is in principle capable of handling communications on multiple network
19+
interfaces (also defined as "ports" in the standard) and thus act as
20+
a 802.1AS bridge. However, this mode of operation has not been validated.
21+
22+
Supported hardware
23+
******************
24+
25+
Although the stack itself is hardware independent, ethernet frame timestamping
26+
support must be enabled in ethernet drivers.
27+
28+
Boards supported:
29+
30+
- NXP FRDM-K64F
31+
- QEMU (emulated, limited capabilities due to lack of hardware clock)
32+
33+
Enabling the stack
34+
******************
35+
36+
In menuconfig, the following configuration must me enabled:
37+
38+
- CONFIG_NET_GPTP (Networking -> Link layer and IP networking support -> IP stack -> Link layer options -> Enable IEEE802.1AS support)
39+
40+
Application interfaces
41+
**********************
42+
43+
Only two Application Interfaces as defined in section 9 of the standard
44+
are available:
45+
46+
- ClockTargetPhaseDiscontinuity interface (gptp_event_capture)
47+
- ClockTargetEventCapture interface (gptp_register_phase_dis_cb)
48+
49+
Function prototypes can be found in "include/net/gptp.h".
50+
51+
Testing
52+
*******
53+
54+
The stack has been informally tested using the OpenAVB gPTP and
55+
Linux ptp4l daemons.

0 commit comments

Comments
 (0)