diff options
author | Richard Cochran <richardcochran@gmail.com> | 2011-04-22 06:03:08 -0400 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2011-05-23 16:01:00 -0400 |
commit | d94ba80ebbea17f036cecb104398fbcd788aa742 (patch) | |
tree | 7fe40228c5ea2bb77f2892b722d27155df8c1157 /drivers/ptp/Kconfig | |
parent | caebc160ce3f76761cc62ad96ef6d6f30f54e3dd (diff) |
ptp: Added a brand new class driver for ptp clocks.
This patch adds an infrastructure for hardware clocks that implement
IEEE 1588, the Precision Time Protocol (PTP). A class driver offers a
registration method to particular hardware clock drivers. Each clock is
presented as a standard POSIX clock.
The ancillary clock features are exposed in two different ways, via
the sysfs and by a character device.
Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'drivers/ptp/Kconfig')
-rw-r--r-- | drivers/ptp/Kconfig | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/drivers/ptp/Kconfig b/drivers/ptp/Kconfig new file mode 100644 index 000000000000..70d4bb1cbdab --- /dev/null +++ b/drivers/ptp/Kconfig | |||
@@ -0,0 +1,30 @@ | |||
1 | # | ||
2 | # PTP clock support configuration | ||
3 | # | ||
4 | |||
5 | menu "PTP clock support" | ||
6 | |||
7 | comment "Enable Device Drivers -> PPS to see the PTP clock options." | ||
8 | depends on PPS=n | ||
9 | |||
10 | config PTP_1588_CLOCK | ||
11 | tristate "PTP clock support" | ||
12 | depends on EXPERIMENTAL | ||
13 | depends on PPS | ||
14 | help | ||
15 | The IEEE 1588 standard defines a method to precisely | ||
16 | synchronize distributed clocks over Ethernet networks. The | ||
17 | standard defines a Precision Time Protocol (PTP), which can | ||
18 | be used to achieve synchronization within a few dozen | ||
19 | microseconds. In addition, with the help of special hardware | ||
20 | time stamping units, it can be possible to achieve | ||
21 | synchronization to within a few hundred nanoseconds. | ||
22 | |||
23 | This driver adds support for PTP clocks as character | ||
24 | devices. If you want to use a PTP clock, then you should | ||
25 | also enable at least one clock driver as well. | ||
26 | |||
27 | To compile this driver as a module, choose M here: the module | ||
28 | will be called ptp. | ||
29 | |||
30 | endmenu | ||