Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1627854imm; Wed, 6 Jun 2018 20:29:15 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKsrMGQaVF4ZHiEP9pvhvazEs1Cas4Zm4si6A6dWsDNjNex/0gsvPh+s0fnhIHY6m1q44Kv X-Received: by 2002:a63:3201:: with SMTP id y1-v6mr131738pgy.419.1528342155021; Wed, 06 Jun 2018 20:29:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528342154; cv=none; d=google.com; s=arc-20160816; b=cXJVwrESzeFVl5zpygpXrkuvfoxjfKxPvWMf01elPpO1wlaSG0m1w57YVW8q2dm7Vr strEH3nSgtUbJsP1/qFUDruSloYPyHYDUw4TEcURiPhLQj5OTXZaloGktocYxvLTTR+w XGfefXUVeDvAbmTOmJdWMqvm3Vw6hThXBA8U7DwmuUHv38VGtHFhDDEhCSBFb4e49CSa Pus7ZcxfK33A9kPITErGvR4xd+c1rx4P6+1cSWjYIIZUGwkx8BmTOaP6ThudO2iZpwHA mCawUn+EO+r78tbFtEciq3/dZ2/rj6V4Fdjd5crMm9Qk6jV0EBAYaQ980Ow6UgogJPpQ mjWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=2Qa2+UzvyQYzqY765Xtjh67qpfIgRVAWcPipAWAcoj4=; b=MDvy/MuSURgmVyAvMkJk6YglzjAdplFLO1+d/5vOIelqI4wCSAjByd594LlCOhageo 8V1WOwtAEKCo0w99nAjuTK1FDgjLyycJPJnYrW/PQfMr8pkHdeYtTbXZI9/O/kAXCQXY qp1t/N19dfC2ZQNqYVO/DiZYk+rP9eVKOtn5BROlLN/c2ILbUyzDFx/OP7Q+FkjrgXvv wVx7yK6kDoanJi5dq8jkcype0VMohooUSlJ9pM5bhcTMqNPBcdhY9DAtdtuenvUtuJmT pDZ7M43rKZpbR/rgN9WEoUzuhjVZFCSIyPIEYLzpbthfvpmUeKpgvMQpotlcX2F3zoPa 3YTg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c5-v6si16914660pll.529.2018.06.06.20.29.00; Wed, 06 Jun 2018 20:29:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753517AbeFGDYg (ORCPT + 99 others); Wed, 6 Jun 2018 23:24:36 -0400 Received: from inva021.nxp.com ([92.121.34.21]:33467 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753142AbeFGDYe (ORCPT ); Wed, 6 Jun 2018 23:24:34 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id DB4C92001CE; Thu, 7 Jun 2018 05:24:32 +0200 (CEST) Received: from smtp.na-rdc02.nxp.com (inv1260.us-phx01.nxp.com [134.27.49.11]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 9BD042000F7; Thu, 7 Jun 2018 05:24:32 +0200 (CEST) Received: from az84smr01.freescale.net (az84smr01.freescale.net [10.64.34.197]) by inv1260.na-rdc02.nxp.com (Postfix) with ESMTP id 50B1240A56; Wed, 6 Jun 2018 20:24:32 -0700 (MST) Received: from titan.ap.freescale.net ([10.192.208.233]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id w573OSwN023286; Wed, 6 Jun 2018 20:24:29 -0700 From: Yangbo Lu To: netdev@vger.kernel.org, madalin.bucur@nxp.com, Richard Cochran , Rob Herring , Shawn Guo , "David S . Miller" Cc: devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Yangbo Lu Subject: [v2, 00/10] Support DPAA PTP clock and timestamping Date: Thu, 7 Jun 2018 11:22:46 +0800 Message-Id: <20180607032256.39802-1-yangbo.lu@nxp.com> X-Mailer: git-send-email 2.14.1 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset is to support DPAA FMAN PTP clock and HW timestamping. - The patch #1 to patch #5 are to support DPAA FMAN 1588 timer in ptp_qoriq driver. - The patch #6 to patch #10 are to add HW timestamping support in DPAA ethernet driver. Yangbo Lu (10): fsl/fman: share the event interrupt ptp: support DPAA FMan 1588 timer in ptp_qoriq dt-binding: ptp_qoriq: add DPAA FMan support powerpc/mpc85xx: move ptp timer out of fman in dts arm64: dts: fsl: move ptp timer out of fman fsl/fman: add set_tstamp interface fsl/fman_port: support getting timestamp field fsl/fman: define frame description command UPD dpaa_eth: add support for hardware timestamping dpaa_eth: add the get_ts_info interface for ethtool Documentation/devicetree/bindings/net/fsl-fman.txt | 25 +----- .../devicetree/bindings/ptp/ptp-qoriq.txt | 15 +++- arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi | 14 ++- arch/powerpc/boot/dts/fsl/qoriq-fman-0.dtsi | 14 ++- arch/powerpc/boot/dts/fsl/qoriq-fman-1.dtsi | 14 ++- arch/powerpc/boot/dts/fsl/qoriq-fman3-0.dtsi | 14 ++- arch/powerpc/boot/dts/fsl/qoriq-fman3-1.dtsi | 14 ++- arch/powerpc/boot/dts/fsl/qoriq-fman3l-0.dtsi | 14 ++- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 101 ++++++++++++++++++- drivers/net/ethernet/freescale/dpaa/dpaa_eth.h | 3 + drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c | 39 ++++++++ drivers/net/ethernet/freescale/fman/fman.c | 3 +- drivers/net/ethernet/freescale/fman/fman.h | 1 + drivers/net/ethernet/freescale/fman/fman_dtsec.c | 27 +++++ drivers/net/ethernet/freescale/fman/fman_dtsec.h | 1 + drivers/net/ethernet/freescale/fman/fman_memac.c | 5 + drivers/net/ethernet/freescale/fman/fman_memac.h | 1 + drivers/net/ethernet/freescale/fman/fman_port.c | 12 +++ drivers/net/ethernet/freescale/fman/fman_port.h | 3 + drivers/net/ethernet/freescale/fman/fman_tgec.c | 21 ++++ drivers/net/ethernet/freescale/fman/fman_tgec.h | 1 + drivers/net/ethernet/freescale/fman/mac.c | 3 + drivers/net/ethernet/freescale/fman/mac.h | 1 + drivers/ptp/Kconfig | 2 +- drivers/ptp/ptp_qoriq.c | 104 ++++++++++++------- include/linux/fsl/ptp_qoriq.h | 38 ++++++-- 26 files changed, 375 insertions(+), 115 deletions(-)