summaryrefslogtreecommitdiffstats
path: root/drivers/ptp/ptp_sysfs.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ptp: Added a brand new class driver for ptp clocks.Richard Cochran2011-05-231-0/+230
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>