01 Apr, 2015

2 commits


02 Jul, 2014

1 commit

  • The ptp pin function programming does not allow calibration pin to change
    function. This is problematic on hardware that uses the default calibration
    pin for other purposes.

    Removing this limitation does not impact calibration if userspace does not
    reprogram the calibration pin.

    Signed-off-by: Stefan Sørensen
    Signed-off-by: David S. Miller

    Stefan Sørensen
     

22 Mar, 2014

1 commit

  • This patch adds a pair of new ioctls to the PTP Hardware Clock device
    interface. Using the ioctls, user space programs can query each pin to
    find out its current function and also reprogram a different function
    if desired.

    Signed-off-by: Richard Cochran
    Signed-off-by: David S. Miller

    Richard Cochran
     

27 Nov, 2012

2 commits


01 Nov, 2012

1 commit

  • This patch adds an ioctl for PTP Hardware Clock (PHC) devices that allows
    user space to measure the time offset between the PHC and the system
    clock. Rather than hard coding any kind of estimation algorithm into the
    kernel, this patch takes the more flexible approach of just delivering
    an array of raw clock readings. In that way, the user space clock servo
    may be adapted to new and different hardware clocks.

    Signed-off-by: Richard Cochran
    Acked-by: Jacob Keller
    Signed-off-by: David S. Miller

    Richard Cochran
     

02 Jun, 2011

2 commits


24 May, 2011

1 commit

  • 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
    Acked-by: Arnd Bergmann
    Acked-by: David S. Miller
    Signed-off-by: John Stultz

    Richard Cochran