Kconfig 2.9 KB

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