Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2757329ybi; Sun, 9 Jun 2019 20:21:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqz+XZ4bMRml1IpShMG5U7DSIo4Qd1qcMCZllRCWhlAQJ6g+v0Zun9swHiv3ZmFR1nGwblMn X-Received: by 2002:a62:5253:: with SMTP id g80mr24301311pfb.179.1560136891023; Sun, 09 Jun 2019 20:21:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560136891; cv=none; d=google.com; s=arc-20160816; b=uDVzGDUwlliaxagZeDmDeGiF4atKTFSA1VBe1qYv5bi954m7vaj8BVEBGVISs79QVT Z1rodhXmw/i1TrW3C1m5w2qgc4cJeGlzHmGP9ZAG0ISecn2Qon1NBQB3mVbBIw49Sl9T 9qF35uQyxuaRLzbOIaB/6yH6pcKuuOABE220Z6ZHd5riKRLLBV0ift06Rh0EWIFa1meH 350HAMfBL+azVdjNc/ObPs7kP1mUnV4ypvMWA8/2IqjwQ9irgcGnCGj7o6AdYsrwq87u Tvn4OfomYgk+ZA2A2/mjL7TJEEeGNdmFcwlpaL5F2j8yMzGU3gBFW7v/cpLN/oP2YN0p TJiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=1p97bMy8VT166Fw/54odHGPurJ6h1rGDUuW3Z59hLfE=; b=D3mdni/sXGmxfSNJZBQizdBD3eDIerLkANt7NPWQWsiif6XXqtxIFVqsKNOeuGVNS8 Og/xAe0EUlI7XlZsHd+m2kWQ8Bmwd1zM+x6H1HBB40gaX09zlk4Ct0FX0Fz1Gzlkl71t 9BTJtwfY7xLj1866dDSX+rE0zrDjbCWJvUu/BMltcfOlje3AP+GvHPa9aVm08E4lKvja TeRw6PeosvfH70W+KbP0O0wUk67ttznaTQWce9r6sc7s1pJB821iAoOG6tiP8+uiz0BP wuVmGhpjIcnUWOVcwxzHDUV4xJaHm13d6TOVO/U+B1N0Yrv1VG51VUFxVAYv1Qrwbcmw +Y7g== 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 m1si8721404pld.352.2019.06.09.20.21.16; Sun, 09 Jun 2019 20:21:31 -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 S2387705AbfFJDUM (ORCPT + 99 others); Sun, 9 Jun 2019 23:20:12 -0400 Received: from inva020.nxp.com ([92.121.34.13]:43254 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387420AbfFJDTd (ORCPT ); Sun, 9 Jun 2019 23:19:33 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 9142C1A0746; Mon, 10 Jun 2019 05:19:31 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 729861A001F; Mon, 10 Jun 2019 05:19:27 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 0D8AE402FB; Mon, 10 Jun 2019 11:19:21 +0800 (SGT) From: Yangbo Lu To: netdev@vger.kernel.org, "David S . Miller" , Richard Cochran , Rob Herring , Shawn Guo Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Yangbo Lu Subject: [PATCH 1/6] ptp: add QorIQ PTP support for DPAA2 Date: Mon, 10 Jun 2019 11:21:03 +0800 Message-Id: <20190610032108.5791-2-yangbo.lu@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190610032108.5791-1-yangbo.lu@nxp.com> References: <20190610032108.5791-1-yangbo.lu@nxp.com> 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 patch is to add QorIQ PTP support for DPAA2. Although dpaa2-ptp.c driver is a fsl_mc_driver which is using MC APIs for register accessing, it's same IP block with eTSEC/DPAA/ENETC 1588 timer. We will convert to reuse ptp_qoriq driver by using register ioremap and dropping related MC APIs. Signed-off-by: Yangbo Lu --- drivers/ptp/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ptp/Kconfig b/drivers/ptp/Kconfig index 9b8fee5..b1b454f 100644 --- a/drivers/ptp/Kconfig +++ b/drivers/ptp/Kconfig @@ -44,7 +44,7 @@ config PTP_1588_CLOCK_DTE config PTP_1588_CLOCK_QORIQ tristate "Freescale QorIQ 1588 timer as PTP clock" - depends on GIANFAR || FSL_DPAA_ETH || FSL_ENETC || FSL_ENETC_VF + depends on GIANFAR || FSL_DPAA_ETH || FSL_DPAA2_ETH || FSL_ENETC || FSL_ENETC_VF depends on PTP_1588_CLOCK default y help -- 2.7.4