Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2148335ybz; Sat, 2 May 2020 16:35:46 -0700 (PDT) X-Google-Smtp-Source: APiQypKO0fMvkAr+qGFddMgl+T0noqt4K75LV4J1Yz3grpOHFnBEbbKKxCdBSqJPu5o8Wher08y1 X-Received: by 2002:a17:906:9494:: with SMTP id t20mr8867831ejx.51.1588462546070; Sat, 02 May 2020 16:35:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588462546; cv=none; d=google.com; s=arc-20160816; b=0jAi5U7qJ6QLrOBsvFmabJCivNZ6YZPq5kx1+Fyk7loaaxiPXeY367FyNxRZ9rV1n8 qB/nATlZTcydreU1+5gn1Tx87VBvqsNVrDaW9QI5f1nsdIKeempB1N2AF5T5RP+zDlfG tP6f4Mclul5S+02mxZ0xJX3ciNEf9nLahX9RVUjFlKSNRPc5o82MC73k40XUPggly1Yv Hq0khQFcrbB+vg6dBohZ04nuMC/t26OlcU/j23GoOMQ36gowQvN+Zv5hTMDdpGgN2fzx Hn9LOW7Gnb9FsSo1E53v4ED1ksSXYPmIHCkCS/36mh3+h9VHqCW72LkFwKXd1VqX2ezS z/CA== 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=KkSuGvJWbL/nI+J1MtrYV6nJagi5J/5VZyufhn6V7v8=; b=s8Z+DVcB1lmyGwWpQRlKWxGmqalxK3uEUtFA1g2TLXHPeSjd882ax62uIDUp+wXq0g zUo/b40QDf/4R8soIUx3sQHEOHXPmSbGkEBEV3DoIX+4Bv5fvJBlA8pqCq4NGsY17CDp 1ymqV4vAv1AlyzFZKLiHGLW0n0C+tPeYd5EJQ8rUEcIMQ7GxRMIvk1zVIWBRZHmGm4T9 UIGJQpM5OHCaVLJ6xUqE37j+wvwvB8bIn001kwqeiV1A1df58AcfhbGQ1ZVaHxfrujpV VHVrbp+gnX7CZpHJs5GqoqliF2t3zb21+QQYf2ydUXPfqq9p5QtAyHU94FRcYVnzWiZc Q9fg== 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 lu44si4227020ejb.394.2020.05.02.16.35.21; Sat, 02 May 2020 16:35:46 -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 S1726570AbgEBXcF (ORCPT + 99 others); Sat, 2 May 2020 19:32:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726375AbgEBXcF (ORCPT ); Sat, 2 May 2020 19:32:05 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA571C061A0C; Sat, 2 May 2020 16:32:04 -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 0DD051513DD3F; Sat, 2 May 2020 16:32:02 -0700 (PDT) Date: Sat, 02 May 2020 16:31:59 -0700 (PDT) Message-Id: <20200502.163159.1994318394817516336.davem@davemloft.net> To: vincent.cheng.xh@renesas.com Cc: richardcochran@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v2 net-next 0/3] ptp: Add adjust phase to support phase offset. From: David Miller In-Reply-To: <1588390538-24589-1-git-send-email-vincent.cheng.xh@renesas.com> References: <1588390538-24589-1-git-send-email-vincent.cheng.xh@renesas.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]); Sat, 02 May 2020 16:32:02 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Date: Fri, 1 May 2020 23:35:35 -0400 > From: Vincent Cheng > > This series adds adjust phase to the PTP Hardware Clock device interface. > > Some PTP hardware clocks have a write phase mode that has > a built-in hardware filtering capability. The write phase mode > utilizes a phase offset control word instead of a frequency offset > control word. Add adjust phase function to take advantage of this > capability. > > Changes since v1: > - As suggested by Richard Cochran: > 1. ops->adjphase is new so need to check for non-null function pointer. > 2. Kernel coding style uses lower_case_underscores. > 3. Use existing PTP clock API for delayed worker. Series applied.