Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp79876ybz; Tue, 21 Apr 2020 15:42:31 -0700 (PDT) X-Google-Smtp-Source: APiQypIRYpNgfyXzbbxOLfDe6yMtd9ezDJy/0y9MvLr/HR1xhvqNpqW05V/xDMiWjnwadTXzBC9u X-Received: by 2002:a50:d308:: with SMTP id g8mr20920383edh.88.1587508951611; Tue, 21 Apr 2020 15:42:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587508951; cv=none; d=google.com; s=arc-20160816; b=qSxnJVnLtJ35L5yisQEY41PbZZLoxrwY1oiuoW15yUW3zNqDB6k6GcDLupu7SZ0+ti TKRaSzEP9OqdxdO+7mKCC/1vbe1++HgGxLrTfbcHfS8rIeaJsTt4PArBv8MGvihxjagJ V4/jmmmejLlas7WV/O3eY6EkpISZFKq4F3Gbs1S/jHhh6MwAQNbx7FIX/Hs3S50ZhmaH GY4Ik9ky/cbmzQUgGaf6oL5SdAzoaaZirq39xKbGGAapjUiZP6AnTtiYjHPv7pYl/OwP FKYTNNZ4XCzDwW1+LwuYw33dmWkrvrz56tljLxthNmliuVtxh2/DWHxCruuNq8mq2blq ksKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=2WmkLeThYbuJOfeqs/cxrQaIpmf+H3u9mdNRWft9s4c=; b=wStZUOR7kI2/uFVmBTduNuliuAI5fr1cb8/MAkm/oSAc4HAOuJs+mF7wRv2VcsB2+g RGzItsO64FTUccYq/eqWnV5PP2dn5GfBNVZpyQDFGkDsm6Aks9G9VpxOjcLOG2DGSM+D yisDeYEBPB8VibbHDovgDsnCRQmKQz0i1tSz3jDpczQntWCd2fV7AuDhKUAeOvMwuDMa 7WhSZ+DpNyX2JOJdJtKbB22P0gmkBGioQwdKO/cr6to3TL1slQmm67V2dAzA6gqjceZ5 G5eDbT5gB7OkTmFX8PKITXfQBxtGZ6kq5hmbv11CgXFuWklYbtby8ErVW7Bk354xFwGh sNjw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o19si2420660edz.588.2020.04.21.15.41.53; Tue, 21 Apr 2020 15:42:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726228AbgDUWj2 (ORCPT + 99 others); Tue, 21 Apr 2020 18:39:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726061AbgDUWj2 (ORCPT ); Tue, 21 Apr 2020 18:39:28 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D628C0610D5; Tue, 21 Apr 2020 15:39:28 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 9BBD8128E6F50; Tue, 21 Apr 2020 15:39:27 -0700 (PDT) Date: Tue, 21 Apr 2020 15:39:26 -0700 (PDT) Message-Id: <20200421.153926.2019141615844261499.davem@davemloft.net> To: yangbo.lu@nxp.com Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, richardcochran@gmail.com, vladimir.oltean@nxp.com, claudiu.manoil@nxp.com, andrew@lunn.ch, vivien.didelot@gmail.com, f.fainelli@gmail.com, alexandre.belloni@bootlin.com, UNGLinuxDriver@microchip.com Subject: Re: [v3, 0/7] Support programmable pins for Ocelot PTP driver From: David Miller In-Reply-To: <20200420024651.47353-1-yangbo.lu@nxp.com> References: <20200420024651.47353-1-yangbo.lu@nxp.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 21 Apr 2020 15:39:28 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yangbo Lu Date: Mon, 20 Apr 2020 10:46:44 +0800 > The Ocelot PTP clock driver had been embedded into ocelot.c driver. > It had supported basic gettime64/settime64/adjtime/adjfine functions > by now which were used by both Ocelot switch and Felix switch. > > This patch-set is to move current ptp clock code out of ocelot.c driver > maintaining as a single ocelot_ptp.c driver, and to implement 4 > programmable pins with only PTP_PF_PEROUT function for now. > The PTP_PF_EXTTS function will be supported in the future, and it should > be implemented separately for Felix and Ocelot, because of different > hardware interrupt implementation in them. > --- > Changes for v2: > - Put PTP driver under drivers/net/ethernet/mscc/. > - Dropped MAINTAINERS patch. Kept original maintaining. > - Initialized PTP separately in ocelot/felix platforms. > - Supported PPS case in programmable pin. > - Supported disabling pin function since deadlock is fixed by Richard. > - Returned -EBUSY if not finding pin available. > Changes for v3: > - Re-sent. Series applied to net-next, thanks.