From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752677Ab1B1H5J (ORCPT ); Mon, 28 Feb 2011 02:57:09 -0500 Received: from mail-fx0-f46.google.com ([209.85.161.46]:42373 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751179Ab1B1H5H (ORCPT ); Mon, 28 Feb 2011 02:57:07 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=P3Pimf6UJbO4hJ8X5IvOiuAyoEMmCsrndxGRFZeqb2o/ZNHXy7waKO+w+Wyy5r8ktH 6yAYW1jFFkaMCHKvAClMB5R9VdGu3NyLHqT0TRivgkyxFNzHgqSxaWsfOgMwiN+tM6Qo m3xgIJHZHRUGC0PbMQ4LyhklTvNMAWdhQMzXg= Date: Mon, 28 Feb 2011 08:57:03 +0100 From: Richard Cochran To: linux-kernel@vger.kernel.org Cc: linux-api@vger.kernel.org, netdev@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, Alan Cox , Arnd Bergmann , Christoph Lameter , David Miller , John Stultz , Krzysztof Halasa , Peter Zijlstra , Rodolfo Giometti , Thomas Gleixner , Benjamin Herrenschmidt , Mike Frysinger , Paul Mackerras , Russell King Subject: [PATCH V12 0/4] ptp: IEEE 1588 hardware clock support Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This really might be the last review of the PTP hardware clock patch series. These patches apply on top of the timers/core branch in the tip tree. * 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 ** v12 *** gianfar_ptp - fixed up device tree - inlined the header file - use platform_ calls instead of deprecated of_ calls - removed static global single instance - removed John Stultz's ack from this patch * Previous Discussions - [V11] http://lkml.org/lkml/2011/2/23/107 - [V10] http://lkml.org/lkml/2011/1/27/71 - [V9] http://lkml.org/lkml/2011/1/13/65 - [V8] http://lkml.org/lkml/2010/12/31/128 - [V7] http://lkml.org/lkml/2010/12/16/195 - [V6] http://lkml.org/lkml/2010/9/23/310 - [V5] http://lkml.org/lkml/2010/8/16/90 - Thomas Gleixner: Rework of the PTP support series core code http://lkml.org/lkml/2011/2/1/137 - Dynamic clock devices [RFC] http://lkml.org/lkml/2010/11/4/290 - POSIX clock tuning syscall with dynamic clock ids http://lkml.org/lkml/2010/9/3/119 - POSIX clock tuning syscall with static clock ids http://lkml.org/lkml/2010/8/23/49 - Versions 1-4 appeared on the netdev list. 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 | 352 +++++++ 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 | 579 +++++++++++ drivers/net/phy/Makefile | 1 + drivers/net/phy/dp83640.c | 1012 ++++++++++++++++++++ drivers/net/phy/dp83640_reg.h | 267 +++++ drivers/ptp/Kconfig | 75 ++ drivers/ptp/Makefile | 7 + drivers/ptp/ptp_chardev.c | 156 +++ drivers/ptp/ptp_clock.c | 320 ++++++ drivers/ptp/ptp_ixp46x.c | 332 +++++++ drivers/ptp/ptp_private.h | 86 ++ 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, 4238 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