Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2426307yba; Mon, 22 Apr 2019 06:40:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqwYatvQ6OjLhOay0LEdjItXwa91zoW8XIaHcoZd/lyN+c9kejHhjpUhciSpgsztaH5p4tFS X-Received: by 2002:a17:902:b28:: with SMTP id 37mr19862539plq.322.1555940404880; Mon, 22 Apr 2019 06:40:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555940404; cv=none; d=google.com; s=arc-20160816; b=e28WAf2LeoEAffBYMdkDflRf0FjI8bauopvS5hYTLSQm0htf0OOndmtBqcbRttOSPa e1E4nBYmBvakUObrceGRXnR7NYNy4SUup0aldtDvlm2Arvh966e6R4I1/GhuWTtZnTrg Yfmr6GbiHtdCOtriOo92WiVy0qxvO6GLyWSsVUFBdJeH+SJgeedkqS3XgfxIV/lL9d/J UHcbrvzWER31g+/pyW4ASwG1gnGtSajVESqFtr6Jdi5cG2RjnBkDsp5oZuydE8LM2mM/ qzkZkaMloXuGPozqeGh6FOoAIzhBU4vKn17Ugy+rfmmm8vDjuvUhs2Iri+k4238C7lZU hNkw== 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:message-id:date:subject:cc:to:from :dkim-signature; bh=l3+QQr+EjFlRAldxJVDW4gRFR5sdBmKFqWAZkocg8xs=; b=SMTNChjFNsR/CZzNzUtfVkxFpGsaLRj/RZ6tPsTmhGiJIb6QSF1Ox1DaIl9uJb3YB4 7L+/+kTKoEU23b6WxoczlT9fDh+ukfuHqJAqym9YqPbzfCT1nYWtOsWN2vISg/Ea2RRp I+jEaKgtAn8UYDknLmlSW+kXhORFoSTx3Qp7PPgdwxqVwXq8NNK/uR9QZ/2spY4JA/Dq buVMQ6MrpQtu3EggsqrjgKt7F4mqPKR91RXt/YLIrblXb9/jLmZI1T52N0w1uF9jk19e yxo2NIuiXkH87a7eOfXm3swcgRkbKco1lhrsYLiPb8dBs+DRBbHxkP5DG6CHU3mAvGvv MXLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=lJRg2Ey9; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j4si13206736pfr.272.2019.04.22.06.39.49; Mon, 22 Apr 2019 06:40:04 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=lJRg2Ey9; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728300AbfDVNhI (ORCPT + 99 others); Mon, 22 Apr 2019 09:37:08 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:36852 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727394AbfDVN2N (ORCPT ); Mon, 22 Apr 2019 09:28:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=l3+QQr+EjFlRAldxJVDW4gRFR5sdBmKFqWAZkocg8xs=; b=lJRg2Ey9VuJMHDaM95xWfOK/VU 71Rtswr9/BcKtNlDG/1nIC+at1I73jkD+OE4VKlWeU6WuZdCyBmny4z5C8Rxg0ahm6H7fsZv2lUgB dey61wRY7BUWGiLkgkGWYyk82i/3IYCrf1Jn4ni92tlCpYYFxgg6Eev1gk0mQTvXozK5CI3rTLfqU Ow3d9kyVRTf1Y4q6qQtyRAZkq1UcZgEF0/Mh/HnuH6+nxKu9MyNWm51dCQ0Bk1sHqfTM47U1NAZD6 0n/Jd7CP6OZiduAoQnwbueXUEPM0M18Mj+MFgo+RrLhZ+BAgT/3BFOENapFPQ8yhdDYskrPh+cnF2 5lcNAN7w==; Received: from 179.176.125.229.dynamic.adsl.gvt.net.br ([179.176.125.229] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hIYzV-0005Hs-BR; Mon, 22 Apr 2019 13:28:13 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hIYzT-0005lg-38; Mon, 22 Apr 2019 10:28:11 -0300 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , Richard Cochran , "David S. Miller" , netdev@vger.kernel.org Subject: [PATCH v2 28/79] docs: ptp.txt: convert to ReST and move to driver-api Date: Mon, 22 Apr 2019 10:27:17 -0300 Message-Id: <21d7862dfaaa7a587469aacf7b8a2e55cf705bfd.1555938376.git.mchehab+samsung@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The conversion is trivial: just adjust title markups. In order to avoid conflicts, let's add an :orphan: tag to it, to be removed when this file gets added to the driver-api book. Signed-off-by: Mauro Carvalho Chehab --- .../{ptp/ptp.txt => driver-api/ptp.rst} | 26 +++++++++++++------ Documentation/networking/timestamping.txt | 2 +- MAINTAINERS | 2 +- 3 files changed, 20 insertions(+), 10 deletions(-) rename Documentation/{ptp/ptp.txt => driver-api/ptp.rst} (88%) diff --git a/Documentation/ptp/ptp.txt b/Documentation/driver-api/ptp.rst similarity index 88% rename from Documentation/ptp/ptp.txt rename to Documentation/driver-api/ptp.rst index 11e904ee073f..b6e65d66d37a 100644 --- a/Documentation/ptp/ptp.txt +++ b/Documentation/driver-api/ptp.rst @@ -1,5 +1,8 @@ +:orphan: -* PTP hardware clock infrastructure for Linux +=========================================== +PTP hardware clock infrastructure for Linux +=========================================== This patch set introduces support for IEEE 1588 PTP clocks in Linux. Together with the SO_TIMESTAMPING socket options, this @@ -22,7 +25,8 @@ - Period output signals configurable from user space - Synchronization of the Linux system time via the PPS subsystem -** PTP hardware clock kernel API +PTP hardware clock kernel API +============================= A PTP clock driver registers itself with the class driver. The class driver handles all of the dealings with user space. The @@ -36,7 +40,8 @@ development, it can be useful to have more than one clock in a single system, in order to allow performance comparisons. -** PTP hardware clock user space API +PTP hardware clock user space API +================================= The class driver also creates a character device for each registered clock. User space can use an open file descriptor from @@ -49,7 +54,8 @@ ancillary clock features. User space can receive time stamped events via blocking read() and poll(). -** Writing clock drivers +Writing clock drivers +===================== Clock drivers include include/linux/ptp_clock_kernel.h and register themselves by presenting a 'struct ptp_clock_info' to the @@ -66,14 +72,17 @@ class driver, since the lock may also be needed by the clock driver's interrupt service routine. -** Supported hardware +Supported hardware +================== + + * Freescale eTSEC gianfar - + Freescale eTSEC gianfar - 2 Time stamp external triggers, programmable polarity (opt. interrupt) - 2 Alarm registers (optional interrupt) - 3 Periodic signals (optional interrupt) - + National DP83640 + * National DP83640 + - 6 GPIOs programmable as inputs or outputs - 6 GPIOs with dedicated functions (LED/JTAG/clock) can also be used as general inputs or outputs @@ -81,6 +90,7 @@ - GPIO outputs can produce periodic signals - 1 interrupt pin - + Intel IXP465 + * Intel IXP465 + - Auxiliary Slave/Master Mode Snapshot (optional interrupt) - Target Time (optional interrupt) diff --git a/Documentation/networking/timestamping.txt b/Documentation/networking/timestamping.txt index bbdaf8990031..8dd6333c3270 100644 --- a/Documentation/networking/timestamping.txt +++ b/Documentation/networking/timestamping.txt @@ -368,7 +368,7 @@ ts[1] used to hold hardware timestamps converted to system time. Instead, expose the hardware clock device on the NIC directly as a HW PTP clock source, to allow time conversion in userspace and optionally synchronize system time with a userspace PTP stack such -as linuxptp. For the PTP clock API, see Documentation/ptp/ptp.txt. +as linuxptp. For the PTP clock API, see Documentation/driver-api/ptp.rst. Note that if the SO_TIMESTAMP or SO_TIMESTAMPNS option is enabled together with SO_TIMESTAMPING using SOF_TIMESTAMPING_SOFTWARE, a false diff --git a/MAINTAINERS b/MAINTAINERS index be3d80397956..e4c26dc67668 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12649,7 +12649,7 @@ L: netdev@vger.kernel.org S: Maintained W: http://linuxptp.sourceforge.net/ F: Documentation/ABI/testing/sysfs-ptp -F: Documentation/ptp/* +F: Documentation/driver-api/ptp.rst F: drivers/net/phy/dp83640* F: drivers/ptp/* F: include/linux/ptp_cl* -- 2.20.1