linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V13 0/4] ptp: IEEE 1588 hardware clock support
@ 2011-03-27  6:37 Richard Cochran
       [not found] ` <cover.1301206090.git.richard.cochran-3mrvs1K0uXizZXS1Dc/lvw@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Richard Cochran @ 2011-03-27  6:37 UTC (permalink / raw)
  To: linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: Thomas Gleixner, Rodolfo Giometti, Peter Zijlstra,
	linux-api-u79uwXL29TY76Z2rM5mHXA,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ, Russell King,
	John Stultz, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	netdev-u79uwXL29TY76Z2rM5mHXA, Mike Frysinger, Christoph Lameter,
	linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ, David Miller, Alan Cox,
	Krzysztof Halasa

* Introduction

  The aim of this patch set is to add support for PTP Hardware Clocks
  (PHCs) into the Linux kernel. The patch series builds upon the
  dynamic posix clock work appearing in kernel version 2.6.39.

  Support for obtaining timestamps from a PHC already exists via the
  SO_TIMESTAMPING socket option, integrated in kernel version 2.6.30.
  This patch set completes the picture by allow user space programs to
  adjust the PHC and to control its ancillary features.

* Why all the CCs?
  - One driver is for PowerPC, and adds device tree stuff.
  - One driver is for the ARM Xscale IXP465.

* PHC Patch ChangeLog
** v13
*** Incorporate v12 review from Andrew Morton
    - external timestamp read: mutex was held unnecessarily long
    - external timestamp read: require size to be multiple of sizeof(extts)
    - replaced 'uint' with 'unsigned int' in poll function
    - replaced empty release function with NULL function pointer
*** Incorporate v12 review from John Stultz
    - added comment to explain the ppm to ppb conversion
    - commented the locking rules for the queue_cnt() function
    - commented the ppb to ppm conversion in the example program
    - fixed incomplete locking of external timestamp queue
    - gianfar, dp83640: comment on the locking rules
    - gianfar: fixed unlikely unprotected register access in probe()
    - ixp4xx: gave some private functions more unique names

* Previous Discussions
  - [V12] http://lkml.org/lkml/2011/2/28/53
  - [V11] http://lkml.org/lkml/2011/2/23/107
  - [V10] http://lkml.org/lkml/2011/1/27/71


Richard Cochran (4):
  ptp: Added a brand new class driver for ptp clocks.
  ptp: Added a clock that uses the eTSEC found on the MPC85xx.
  ptp: Added a clock driver for the IXP46x.
  ptp: Added a clock driver for the National Semiconductor PHYTER.

 Documentation/ABI/testing/sysfs-ptp                |   98 ++
 .../devicetree/bindings/net/fsl-tsec-phy.txt       |   54 +
 Documentation/ptp/ptp.txt                          |   89 ++
 Documentation/ptp/testptp.c                        |  368 +++++++
 Documentation/ptp/testptp.mk                       |   33 +
 arch/arm/mach-ixp4xx/include/mach/ixp46x_ts.h      |   78 ++
 arch/powerpc/boot/dts/mpc8313erdb.dts              |   13 +
 arch/powerpc/boot/dts/mpc8572ds.dts                |   13 +
 arch/powerpc/boot/dts/p2020ds.dts                  |   13 +
 arch/powerpc/boot/dts/p2020rdb.dts                 |   13 +
 drivers/Kconfig                                    |    2 +
 drivers/Makefile                                   |    1 +
 drivers/net/Makefile                               |    1 +
 drivers/net/arm/ixp4xx_eth.c                       |  192 ++++-
 drivers/net/gianfar_ptp.c                          |  588 +++++++++++
 drivers/net/phy/Makefile                           |    1 +
 drivers/net/phy/dp83640.c                          | 1015 ++++++++++++++++++++
 drivers/net/phy/dp83640_reg.h                      |  267 +++++
 drivers/ptp/Kconfig                                |   75 ++
 drivers/ptp/Makefile                               |    7 +
 drivers/ptp/ptp_chardev.c                          |  155 +++
 drivers/ptp/ptp_clock.c                            |  339 +++++++
 drivers/ptp/ptp_ixp46x.c                           |  332 +++++++
 drivers/ptp/ptp_private.h                          |   91 ++
 drivers/ptp/ptp_sysfs.c                            |  230 +++++
 include/linux/Kbuild                               |    1 +
 include/linux/ptp_clock.h                          |   84 ++
 include/linux/ptp_clock_kernel.h                   |  139 +++
 28 files changed, 4289 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-ptp
 create mode 100644 Documentation/ptp/ptp.txt
 create mode 100644 Documentation/ptp/testptp.c
 create mode 100644 Documentation/ptp/testptp.mk
 create mode 100644 arch/arm/mach-ixp4xx/include/mach/ixp46x_ts.h
 create mode 100644 drivers/net/gianfar_ptp.c
 create mode 100644 drivers/net/phy/dp83640.c
 create mode 100644 drivers/net/phy/dp83640_reg.h
 create mode 100644 drivers/ptp/Kconfig
 create mode 100644 drivers/ptp/Makefile
 create mode 100644 drivers/ptp/ptp_chardev.c
 create mode 100644 drivers/ptp/ptp_clock.c
 create mode 100644 drivers/ptp/ptp_ixp46x.c
 create mode 100644 drivers/ptp/ptp_private.h
 create mode 100644 drivers/ptp/ptp_sysfs.c
 create mode 100644 include/linux/ptp_clock.h
 create mode 100644 include/linux/ptp_clock_kernel.h

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-03-28 18:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-27  6:37 [PATCH V13 0/4] ptp: IEEE 1588 hardware clock support Richard Cochran
     [not found] ` <cover.1301206090.git.richard.cochran-3mrvs1K0uXizZXS1Dc/lvw@public.gmane.org>
2011-03-27  6:38   ` [PATCH V13 1/4] ptp: Added a brand new class driver for ptp clocks Richard Cochran
     [not found]     ` <86641738e4c84fbdb105d6f2eb6141d5d13c3190.1301206090.git.richard.cochran-3mrvs1K0uXizZXS1Dc/lvw@public.gmane.org>
2011-03-28 18:06       ` John Stultz
2011-03-27  6:38   ` [PATCH V13 2/4] ptp: Added a clock that uses the eTSEC found on the MPC85xx Richard Cochran
2011-03-28 18:07     ` John Stultz
2011-03-27  6:39   ` [PATCH V13 3/4] ptp: Added a clock driver for the IXP46x Richard Cochran
2011-03-28 18:07     ` John Stultz
2011-03-27  6:39   ` [PATCH V13 4/4] ptp: Added a clock driver for the National Semiconductor PHYTER Richard Cochran
2011-03-28 18:08     ` John Stultz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).