Richard Cochran | d94ba80 | 2011-04-22 12:03:08 +0200 | [diff] [blame] | 1 | # |
| 2 | # PTP clock support configuration |
| 3 | # |
| 4 | |
| 5 | menu "PTP clock support" |
| 6 | |
Richard Cochran | d94ba80 | 2011-04-22 12:03:08 +0200 | [diff] [blame] | 7 | config PTP_1588_CLOCK |
| 8 | tristate "PTP clock support" |
Ben Hutchings | 42a7cce | 2012-10-31 15:32:44 +0000 | [diff] [blame] | 9 | select PPS |
Richard Cochran | d94ba80 | 2011-04-22 12:03:08 +0200 | [diff] [blame] | 10 | help |
| 11 | The IEEE 1588 standard defines a method to precisely |
| 12 | synchronize distributed clocks over Ethernet networks. The |
| 13 | standard defines a Precision Time Protocol (PTP), which can |
| 14 | be used to achieve synchronization within a few dozen |
| 15 | microseconds. In addition, with the help of special hardware |
| 16 | time stamping units, it can be possible to achieve |
| 17 | synchronization to within a few hundred nanoseconds. |
| 18 | |
| 19 | This driver adds support for PTP clocks as character |
| 20 | devices. If you want to use a PTP clock, then you should |
| 21 | also enable at least one clock driver as well. |
| 22 | |
| 23 | To compile this driver as a module, choose M here: the module |
| 24 | will be called ptp. |
| 25 | |
Richard Cochran | c78275f | 2011-04-22 12:03:54 +0200 | [diff] [blame] | 26 | config PTP_1588_CLOCK_GIANFAR |
| 27 | tristate "Freescale eTSEC as PTP clock" |
Richard Cochran | c78275f | 2011-04-22 12:03:54 +0200 | [diff] [blame] | 28 | depends on GIANFAR |
Ben Hutchings | a24006e | 2012-10-31 15:33:52 +0000 | [diff] [blame] | 29 | select PTP_1588_CLOCK |
| 30 | default y |
Richard Cochran | c78275f | 2011-04-22 12:03:54 +0200 | [diff] [blame] | 31 | help |
| 32 | This driver adds support for using the eTSEC as a PTP |
| 33 | clock. This clock is only useful if your PTP programs are |
| 34 | getting hardware time stamps on the PTP Ethernet packets |
| 35 | using the SO_TIMESTAMPING API. |
| 36 | |
| 37 | To compile this driver as a module, choose M here: the module |
| 38 | will be called gianfar_ptp. |
| 39 | |
Richard Cochran | 32bd93e | 2011-04-22 12:04:31 +0200 | [diff] [blame] | 40 | config PTP_1588_CLOCK_IXP46X |
| 41 | tristate "Intel IXP46x as PTP clock" |
Richard Cochran | 32bd93e | 2011-04-22 12:04:31 +0200 | [diff] [blame] | 42 | depends on IXP4XX_ETH |
Ben Hutchings | a24006e | 2012-10-31 15:33:52 +0000 | [diff] [blame] | 43 | select PTP_1588_CLOCK |
| 44 | default y |
Richard Cochran | 32bd93e | 2011-04-22 12:04:31 +0200 | [diff] [blame] | 45 | help |
| 46 | This driver adds support for using the IXP46X as a PTP |
| 47 | clock. This clock is only useful if your PTP programs are |
| 48 | getting hardware time stamps on the PTP Ethernet packets |
| 49 | using the SO_TIMESTAMPING API. |
| 50 | |
| 51 | To compile this driver as a module, choose M here: the module |
| 52 | will be called ptp_ixp46x. |
| 53 | |
Richard Cochran | cb646e2 | 2011-04-22 12:04:55 +0200 | [diff] [blame] | 54 | comment "Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks." |
Ben Hutchings | a24006e | 2012-10-31 15:33:52 +0000 | [diff] [blame] | 55 | depends on PHYLIB=n || NETWORK_PHY_TIMESTAMPING=n |
Richard Cochran | cb646e2 | 2011-04-22 12:04:55 +0200 | [diff] [blame] | 56 | |
| 57 | config DP83640_PHY |
| 58 | tristate "Driver for the National Semiconductor DP83640 PHYTER" |
Richard Cochran | cb646e2 | 2011-04-22 12:04:55 +0200 | [diff] [blame] | 59 | depends on NETWORK_PHY_TIMESTAMPING |
| 60 | depends on PHYLIB |
Ben Hutchings | a24006e | 2012-10-31 15:33:52 +0000 | [diff] [blame] | 61 | select PTP_1588_CLOCK |
Richard Cochran | cb646e2 | 2011-04-22 12:04:55 +0200 | [diff] [blame] | 62 | ---help--- |
| 63 | Supports the DP83640 PHYTER with IEEE 1588 features. |
| 64 | |
| 65 | This driver adds support for using the DP83640 as a PTP |
| 66 | clock. This clock is only useful if your PTP programs are |
| 67 | getting hardware time stamps on the PTP Ethernet packets |
| 68 | using the SO_TIMESTAMPING API. |
| 69 | |
| 70 | In order for this to work, your MAC driver must also |
Masanari Iida | 6b2aac4 | 2012-04-14 00:14:11 +0900 | [diff] [blame] | 71 | implement the skb_tx_timestamp() function. |
Richard Cochran | cb646e2 | 2011-04-22 12:04:55 +0200 | [diff] [blame] | 72 | |
Takahiro Shimizu | 863d08e | 2012-03-07 22:16:26 +0000 | [diff] [blame] | 73 | config PTP_1588_CLOCK_PCH |
| 74 | tristate "Intel PCH EG20T as PTP clock" |
Jiri Slaby | 4bb1667 | 2013-05-22 10:56:24 +0200 | [diff] [blame] | 75 | depends on X86 || COMPILE_TEST |
Richard Weinberger | c361f1a | 2014-01-14 16:45:39 +0100 | [diff] [blame^] | 76 | depends on HAS_IOMEM |
Ben Hutchings | a24006e | 2012-10-31 15:33:52 +0000 | [diff] [blame] | 77 | select PTP_1588_CLOCK |
Takahiro Shimizu | 863d08e | 2012-03-07 22:16:26 +0000 | [diff] [blame] | 78 | help |
| 79 | This driver adds support for using the PCH EG20T as a PTP |
Takahiro Shimizu | 358dfb6 | 2012-04-20 18:50:34 +0000 | [diff] [blame] | 80 | clock. The hardware supports time stamping of PTP packets |
| 81 | when using the end-to-end delay (E2E) mechansim. The peer |
| 82 | delay mechansim (P2P) is not supported. |
| 83 | |
| 84 | This clock is only useful if your PTP programs are getting |
| 85 | hardware time stamps on the PTP Ethernet packets using the |
| 86 | SO_TIMESTAMPING API. |
Takahiro Shimizu | 863d08e | 2012-03-07 22:16:26 +0000 | [diff] [blame] | 87 | |
| 88 | To compile this driver as a module, choose M here: the module |
| 89 | will be called ptp_pch. |
| 90 | |
Richard Cochran | d94ba80 | 2011-04-22 12:03:08 +0200 | [diff] [blame] | 91 | endmenu |