Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1382318imm; Tue, 22 May 2018 03:13:50 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoeIJp2crdgyOK4H0J/NifGcitvKoZk/vCpoiEvKKgGenQDDCMHo1repRgZFBda5Qzie4PT X-Received: by 2002:a63:2547:: with SMTP id l68-v6mr19185227pgl.40.1526984029947; Tue, 22 May 2018 03:13:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526984029; cv=none; d=google.com; s=arc-20160816; b=REORXNVY+bvGOXliAPb8sb78fRgVmcMXY7EIQG650XB8BZb9OA4NjG07huY7PG9ZkL fFc2wiEZ7QviD1I/yKFwt9+yHAXaV1W8yJBsog+5QFSBFhxBVviRPswK1nFn/Xwhb2/g +npeBib7tWQT+Y7woU1wVCAhcufMlOVAmKqGkTC3xWP6IsrwK86s10y4XWqqHcUZ+29N 0QbnoHybcLCV8swFHVIAYV52dwvGlprMU02BCc4LvusgM8Tcqah9F+HwcyEQpx+jQDpO 5mDggM1sgkbrcTnjhrfvcZ0SUQZvXEzHtDCuP2wYFX49u+r4x7jh9phQWelpzeqQSPcp p5+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:message-id:date:thread-index:thread-topic:subject :cc:to:from:dkim-signature:arc-authentication-results; bh=qpx6QKPGx0BymYMhaOxrqMauh5ECMWGQykM0P3s17gI=; b=RcnLtedy4fY5Lhd4bHbWaJS97gQ6hl4bu4HJWoNm9oXCXGtlDe/SYLLogKiUqAW5qf ObXtoGCe0tm3XSgHKjpKEUfa+mejH9lNKJe1ua9UXNPUPAmj+9fVkjiZBip0+F8BwmNx c206SHmmHhsVya9VtQuk2MfqQKrC+ZrxDSm6ZSQH1QDtM2cuh+U+SyI/J81QtzwcFLgS QiIcjlbGR0ZLDPPP6t84g5cSCdVT5KyJdI7h5seBfalL4e15N7bzuyTC2TC4nPW3l6wQ PrheYxnWQJaUVBUQDXqARBGkUmIzaotBhBAqy4unT6WfT5JnU3AKpCZJGPFAcRSrjipF VHGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=Hh76+Jdo; 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=pass (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 a2-v6si12757487pgq.278.2018.05.22.03.13.35; Tue, 22 May 2018 03:13:49 -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; dkim=pass header.i=@nxp.com header.s=selector1 header.b=Hh76+Jdo; 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=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752542AbeEVKNP (ORCPT + 99 others); Tue, 22 May 2018 06:13:15 -0400 Received: from mail-ve1eur01on0050.outbound.protection.outlook.com ([104.47.1.50]:20988 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751421AbeEVKNL (ORCPT ); Tue, 22 May 2018 06:13:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qpx6QKPGx0BymYMhaOxrqMauh5ECMWGQykM0P3s17gI=; b=Hh76+Jdoo63OlYo0h2Gv3g7h7hS9z4IX11gNZDjo5xqAxMaaZozEsC1cH52gZte6TVdU+XPPNopSGLFjyeOqsdLcSN/X3UvFY0y4wSqQAHHME6w0oK3PodaFpbHwrbfHC9c5m6+LW6YJN8VZvOohdEhzBJekAw8iP6q0nu766Ts= Received: from DB6PR0401MB2536.eurprd04.prod.outlook.com (10.169.224.151) by DB6PR0401MB2261.eurprd04.prod.outlook.com (10.168.54.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.776.16; Tue, 22 May 2018 10:13:09 +0000 Received: from DB6PR0401MB2536.eurprd04.prod.outlook.com ([fe80::f003:37bc:ef03:2c5e]) by DB6PR0401MB2536.eurprd04.prod.outlook.com ([fe80::f003:37bc:ef03:2c5e%17]) with mapi id 15.20.0776.015; Tue, 22 May 2018 10:13:09 +0000 From: "Y.b. Lu" To: Richard Cochran CC: Madalin-cristian Bucur , Claudiu Manoil , Xiaobo Xie , "linux-kernel@vger.kernel.org" Subject: PTP clock driver for FSL DPAA Thread-Topic: PTP clock driver for FSL DPAA Thread-Index: AdPxtVYsdP5f4YQ3SI+1DIE7yAR8qQ== Date: Tue, 22 May 2018 10:13:09 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=yangbo.lu@nxp.com; x-originating-ip: [119.31.174.73] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DB6PR0401MB2261;7:j7UZxiT4xLmaS3yppR22VM46bVDgq2AC4u270+OI5XUz3UxqsvCaDEog4hSX6oB0KR92+PxzLkkLSWzJqdvi4EboEXGdUzeidYkGdQ6mpCayDlLT1sBf7OaCuNJoxp4KM/NlmjReAq9fZeTgKKKVK5TBc4ILapvOu2O+zaay1ySqmF1bCKNMuxcnM3FV43ZdYoFrpiM+9K2sHU6G/s0IW0QY1JUQG/h2XIcALZd0kudWOY2KNG3FUmjM515CjsKn x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(2017052603328)(7153060)(7193020);SRVR:DB6PR0401MB2261; x-ms-traffictypediagnostic: DB6PR0401MB2261: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231254)(944501410)(52105095)(93006095)(93001095)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123562045)(20161123560045)(6072148)(201708071742011)(7699016);SRVR:DB6PR0401MB2261;BCL:0;PCL:0;RULEID:;SRVR:DB6PR0401MB2261; x-forefront-prvs: 0680FADD48 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(396003)(39380400002)(346002)(39860400002)(376002)(189003)(199004)(305945005)(81166006)(14454004)(74316002)(6436002)(68736007)(97736004)(478600001)(99286004)(186003)(2900100001)(7736002)(7696005)(316002)(55016002)(81156014)(8936002)(8676002)(5250100002)(25786009)(1411001)(66066001)(86362001)(4326008)(5660300001)(3280700002)(6506007)(9686003)(486006)(102836004)(6916009)(53936002)(6116002)(54906003)(3660700001)(33656002)(26005)(2906002)(106356001)(105586002)(476003)(39060400002)(3846002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB6PR0401MB2261;H:DB6PR0401MB2536.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: Fbriy45+dMzMFoRdlgi0hd2PRG5HpoJRlQDEHTPj2dmQZ7fLTc5KhepRGxhXv1WnO9aWzxzXDs5LD8GawFPWtbYi9xwJ3SqHw1DQ4ocMfHC51qunl/J/mkAfaPv6mABJflqAM3D6PMcWMdL+eR6nZ6xGCW8R4uw06opnkntk7wg4kAYHkdVC42v++A6QBEZd spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 2af0585b-81aa-4ce7-b53e-08d5bfcc9e8e X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2af0585b-81aa-4ce7-b53e-08d5bfcc9e8e X-MS-Exchange-CrossTenant-originalarrivaltime: 22 May 2018 10:13:09.6085 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0401MB2261 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Richard, I'm going to make a PTP clock driver patch for FSL DPAA ethernet controller= . (drivers/net/ethernet/freescale/dpaa/) Actually the 1588 timer module on FSL DPAA is same with the one on FSL eTSE= C in hardware.(whose PTP clock driver is drivers/net/ethernet/freescale/gia= nfar_ptp.c) So there are two options for me I think. Option #1, just make a dpaa_ptp.c driver which will be almost same with gia= nfar_ptp.c. Option #2, try to reuse gianfar_ptp.c driver by reworking it as a common dr= iver, renaming it, and putting it to a common place (drivers/ptp/ or still = drivers/net/ethernet/freescale/). I'd like to ask your suggestion. Thanks a lot. Best regards, Yangbo Lu