summaryrefslogtreecommitdiffstats
path: root/drivers/ptp/ptp_sysfs.c
Commit message (Collapse)AuthorAgeFilesLines
* ptp: expose the programmable pins via sysfsRichard Cochran2014-03-211-0/+115
| | | | | | | | This patch adds the sysfs hooks needed in order to get and set the programmable pin settings. Signed-off-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* PTP: convert class code to use dev_groupsGreg Kroah-Hartman2013-07-261-22/+29
| | | | | | | | | The dev_attrs field of struct class is going away soon, dev_groups should be used instead. This converts the ptp class code to use the correct field. Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* 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>
OpenPOWER on IntegriCloud