Kconfig 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. #
  2. # PTP clock support configuration
  3. #
  4. menu "PTP clock support"
  5. config PTP_1588_CLOCK
  6. tristate "PTP clock support"
  7. depends on NET && POSIX_TIMERS
  8. select PPS
  9. select NET_PTP_CLASSIFY
  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. This driver adds support for PTP clocks as character
  19. devices. If you want to use a PTP clock, then you should
  20. also enable at least one clock driver as well.
  21. To compile this driver as a module, choose M here: the module
  22. will be called ptp.
  23. config PTP_1588_CLOCK_DTE
  24. tristate "Broadcom DTE as PTP clock"
  25. depends on PTP_1588_CLOCK
  26. depends on NET && HAS_IOMEM
  27. depends on ARCH_BCM_MOBILE || (ARCH_BCM_IPROC && !(ARCH_BCM_NSP || ARCH_BCM_5301X)) || COMPILE_TEST
  28. default y
  29. help
  30. This driver adds support for using the Digital timing engine
  31. (DTE) in the Broadcom SoC's as a PTP clock.
  32. The clock can be used in both wired and wireless networks
  33. for PTP purposes.
  34. To compile this driver as a module, choose M here: the module
  35. will be called ptp_dte.
  36. config PTP_1588_CLOCK_QORIQ
  37. tristate "Freescale QorIQ 1588 timer as PTP clock"
  38. depends on GIANFAR || FSL_DPAA_ETH
  39. depends on PTP_1588_CLOCK
  40. default y
  41. help
  42. This driver adds support for using the Freescale QorIQ 1588
  43. timer as a PTP clock. This clock is only useful if your PTP
  44. programs are getting hardware time stamps on the PTP Ethernet
  45. packets using the SO_TIMESTAMPING API.
  46. To compile this driver as a module, choose M here: the module
  47. will be called ptp_qoriq.
  48. config PTP_1588_CLOCK_IXP46X
  49. tristate "Intel IXP46x as PTP clock"
  50. depends on IXP4XX_ETH
  51. depends on PTP_1588_CLOCK
  52. default y
  53. help
  54. This driver adds support for using the IXP46X 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. To compile this driver as a module, choose M here: the module
  59. will be called ptp_ixp46x.
  60. comment "Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks."
  61. depends on PHYLIB=n || NETWORK_PHY_TIMESTAMPING=n
  62. config DP83640_PHY
  63. tristate "Driver for the National Semiconductor DP83640 PHYTER"
  64. depends on NETWORK_PHY_TIMESTAMPING
  65. depends on PHYLIB
  66. depends on PTP_1588_CLOCK
  67. ---help---
  68. Supports the DP83640 PHYTER with IEEE 1588 features.
  69. This driver adds support for using the DP83640 as a PTP
  70. clock. This clock is only useful if your PTP programs are
  71. getting hardware time stamps on the PTP Ethernet packets
  72. using the SO_TIMESTAMPING API.
  73. In order for this to work, your MAC driver must also
  74. implement the skb_tx_timestamp() function.
  75. config PTP_1588_CLOCK_PCH
  76. tristate "Intel PCH EG20T as PTP clock"
  77. depends on X86_32 || COMPILE_TEST
  78. depends on HAS_IOMEM && NET
  79. imply PTP_1588_CLOCK
  80. help
  81. This driver adds support for using the PCH EG20T as a PTP
  82. clock. The hardware supports time stamping of PTP packets
  83. when using the end-to-end delay (E2E) mechansim. The peer
  84. delay mechansim (P2P) is not supported.
  85. This clock is only useful if your PTP programs are getting
  86. hardware time stamps on the PTP Ethernet packets using the
  87. SO_TIMESTAMPING API.
  88. To compile this driver as a module, choose M here: the module
  89. will be called ptp_pch.
  90. config PTP_1588_CLOCK_KVM
  91. tristate "KVM virtual PTP clock"
  92. depends on PTP_1588_CLOCK
  93. depends on KVM_GUEST && X86
  94. default y
  95. help
  96. This driver adds support for using kvm infrastructure as a PTP
  97. clock. This clock is only useful if you are using KVM guests.
  98. To compile this driver as a module, choose M here: the module
  99. will be called ptp_kvm.
  100. endmenu