Kconfig 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. #
  2. # PTP clock support configuration
  3. #
  4. menu "PTP clock support"
  5. config PTP_1588_CLOCK
  6. tristate "PTP clock support"
  7. select PPS
  8. help
  9. The IEEE 1588 standard defines a method to precisely
  10. synchronize distributed clocks over Ethernet networks. The
  11. standard defines a Precision Time Protocol (PTP), which can
  12. be used to achieve synchronization within a few dozen
  13. microseconds. In addition, with the help of special hardware
  14. time stamping units, it can be possible to achieve
  15. synchronization to within a few hundred nanoseconds.
  16. This driver adds support for PTP clocks as character
  17. devices. If you want to use a PTP clock, then you should
  18. also enable at least one clock driver as well.
  19. To compile this driver as a module, choose M here: the module
  20. will be called ptp.
  21. config PTP_1588_CLOCK_GIANFAR
  22. tristate "Freescale eTSEC as PTP clock"
  23. depends on GIANFAR
  24. select PTP_1588_CLOCK
  25. default y
  26. help
  27. This driver adds support for using the eTSEC as a PTP
  28. clock. This clock is only useful if your PTP programs are
  29. getting hardware time stamps on the PTP Ethernet packets
  30. using the SO_TIMESTAMPING API.
  31. To compile this driver as a module, choose M here: the module
  32. will be called gianfar_ptp.
  33. config PTP_1588_CLOCK_IXP46X
  34. tristate "Intel IXP46x as PTP clock"
  35. depends on IXP4XX_ETH
  36. select PTP_1588_CLOCK
  37. default y
  38. help
  39. This driver adds support for using the IXP46X as a PTP
  40. clock. This clock is only useful if your PTP programs are
  41. getting hardware time stamps on the PTP Ethernet packets
  42. using the SO_TIMESTAMPING API.
  43. To compile this driver as a module, choose M here: the module
  44. will be called ptp_ixp46x.
  45. comment "Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks."
  46. depends on PHYLIB=n || NETWORK_PHY_TIMESTAMPING=n
  47. config DP83640_PHY
  48. tristate "Driver for the National Semiconductor DP83640 PHYTER"
  49. depends on NETWORK_PHY_TIMESTAMPING
  50. depends on PHYLIB
  51. select PTP_1588_CLOCK
  52. ---help---
  53. Supports the DP83640 PHYTER with IEEE 1588 features.
  54. This driver adds support for using the DP83640 as a PTP
  55. clock. This clock is only useful if your PTP programs are
  56. getting hardware time stamps on the PTP Ethernet packets
  57. using the SO_TIMESTAMPING API.
  58. In order for this to work, your MAC driver must also
  59. implement the skb_tx_timestamp() function.
  60. config PTP_1588_CLOCK_PCH
  61. tristate "Intel PCH EG20T as PTP clock"
  62. select PTP_1588_CLOCK
  63. help
  64. This driver adds support for using the PCH EG20T as a PTP
  65. clock. The hardware supports time stamping of PTP packets
  66. when using the end-to-end delay (E2E) mechansim. The peer
  67. delay mechansim (P2P) is not supported.
  68. This clock is only useful if your PTP programs are getting
  69. hardware time stamps on the PTP Ethernet packets using the
  70. SO_TIMESTAMPING API.
  71. To compile this driver as a module, choose M here: the module
  72. will be called ptp_pch.
  73. endmenu