23 Sep, 2012

3 commits

  • PTP Hardware Clock devices appear as class devices in sysfs. This patch
    changes the registration API to use the parent device, clarifying the
    clock's relationship to the underlying device.

    Signed-off-by: Richard Cochran
    Acked-by: Ben Hutchings
    Acked-by: Jeff Kirsher
    Signed-off-by: David S. Miller

    Richard Cochran
     
  • If the timex.mode field indicates a query, then we provide the value of
    the current frequency adjustment.

    [ Get rid of extraneous empty lines -DaveM ]

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

    Richard Cochran
     
  • This patch adds a field to the representation of a PTP hardware clock in
    order to remember the frequency adjustment value dialed by the user.

    Adding this field will let us answer queries in the manner of adjtimex
    in a follow on patch.

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

    Richard Cochran
     

08 Sep, 2012

1 commit

  • Initial version by Stuart Hodgson

    Some PHC device drivers may deliver PPS events with a significant
    and variable delay, but still be able to measure precisely what
    that delay is.

    Add a pps_sub_ts() function for subtracting a delay from the
    timestamp(s) in a PPS event, and a PTP event type (PTP_CLOCK_PPSUSR)
    for which the caller provides a complete PPS event.

    Signed-off-by: Ben Hutchings

    Ben Hutchings
     

23 May, 2012

1 commit

  • Pull trivial updates from Jiri Kosina:
    "As usual, it's mostly typo fixes, redundant code elimination and some
    documentation updates."

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (57 commits)
    edac, mips: don't change code that has been removed in edac/mips tree
    xtensa: Change mail addresses of Hannes Weiner and Oskar Schirmer
    lib: Change mail address of Oskar Schirmer
    net: Change mail address of Oskar Schirmer
    arm/m68k: Change mail address of Sebastian Hess
    i2c: Change mail address of Oskar Schirmer
    net: Fix tcp_build_and_update_options comment in struct tcp_sock
    atomic64_32.h: fix parameter naming mismatch
    Kconfig: replace "--- help ---" with "---help---"
    c2port: fix bogus Kconfig "default no"
    edac: Fix spelling errors.
    qla1280: Remove redundant NULL check before release_firmware() call
    remoteproc: remove redundant NULL check before release_firmware()
    qla2xxx: Remove redundant NULL check before release_firmware() call.
    aic94xx: Get rid of redundant NULL check before release_firmware() call
    tehuti: delete redundant NULL check before release_firmware()
    qlogic: get rid of a redundant test for NULL before call to release_firmware()
    bna: remove redundant NULL test before release_firmware()
    tg3: remove redundant NULL test before release_firmware() call
    typhoon: get rid of redundant conditional before all to release_firmware()
    ...

    Linus Torvalds
     

17 May, 2012

2 commits


22 Apr, 2012

4 commits

  • This patch fixes the driver so that multicast PTP event messages can
    be recognized by the hardware time stamping unit. The station address
    register must be set according to the desired transport type.

    [ RC - Rebased Takahiro's changes and wrote a commit message
    explaining the changes. ]

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

    Takahiro Shimizu
     
  • We will let the pch_gbe code do that according to the receive time stamp
    filter.

    [ RC - Rebased Takahiro's changes and wrote a commit message
    explaining the changes. ]

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

    Takahiro Shimizu
     
  • The code in phc_gbe_main will need to call this method in order to set the
    station address register according to the receive time stamping filter.

    [ RC - Rebased Takahiro's changes and wrote a commit message
    explaining the changes. ]

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

    Takahiro Shimizu
     
  • This patch fixes the helper functions that give the transmit and
    receive time stamps to return nanoseconds, instead of arbitrary clock
    ticks.

    [ RC - Rebased Takahiro's changes and wrote a commit message
    explaining the changes. ]

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

    Takahiro Shimizu
     

16 Apr, 2012

1 commit


13 Apr, 2012

1 commit

  • Commit e77bd1ec121ee4163a6b42a44e87b2e382c39e04 added support for a
    new ethtool function, but that cannot compile due to a misnamed global
    variable. Not that it really matters (since the IXP4xx does compile
    either, as of about Linux 3.1) but just in case, this patch fixes the
    misnamed variable in the PHC driver.

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

    Richard Cochran
     

04 Apr, 2012

2 commits


17 Mar, 2012

1 commit


10 Mar, 2012

2 commits


06 Dec, 2011

1 commit


02 Jun, 2011

2 commits


24 May, 2011

4 commits

  • This patch adds support for the PTP clock found on the DP83640.
    The basic clock operations and one external time stamp have
    been implemented.

    Signed-off-by: Richard Cochran
    Signed-off-by: John Stultz

    Richard Cochran
     
  • This patch adds a driver for the hardware time stamping unit found on the
    IXP465. The basic clock operations and an external trigger are implemented.

    Signed-off-by: Richard Cochran
    Acked-by: Arnd Bergmann
    Acked-by: David S. Miller
    Acked-by: John Stultz
    Acked-by: Krzysztof Halasa
    Signed-off-by: John Stultz

    Richard Cochran
     
  • The eTSEC includes a PTP clock with quite a few features. This patch adds
    support for the basic clock adjustment functions, plus two external time
    stamps, one alarm, and the PPS callback.

    Signed-off-by: Richard Cochran
    Acked-by: David S. Miller
    Acked-by: John Stultz
    Signed-off-by: John Stultz

    Richard Cochran
     
  • 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