Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2767491yba; Mon, 15 Apr 2019 20:01:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqzugcOH9vSn1rLrQ0kT67+eYOr1M512u11YTgZ+1h739Al4h1eKVuLu3H7GMdfiDjEb6lN2 X-Received: by 2002:a17:902:f81:: with SMTP id 1mr80520799plz.216.1555383692517; Mon, 15 Apr 2019 20:01:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555383692; cv=none; d=google.com; s=arc-20160816; b=CYCDFCbF0zt4+1yBJ3eo1MPsCyWgNPvEV7H3c4SjGJQLBIWaOGUxObSCskkNbSrkZ6 2Sg/uOafUo4KAr599neeHkkQYFredt8BDnowPlOuzU34Tq6GT6G1A1YKSxR9sFkOWy12 YgP3Nkh6GhyvgJn7mlHiXvL0C+exjOu5hPOmq4jcIuFD6ebJkB9mQXexUYjd52iHyJGz Aww+mcGwm13G+E5AJnwWDa8oyX+v3zcaWNzEyIJ9uCOmaEJhVswdynHMlWSNfaSpOkLj AjK5s/TFdggl3/FZYZQ/6tyQrQp1SQOJ4d2HwdjDmxfhCrP1GzWNB+Z2JUsdtgYWBWsF Yo7g== 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=nGs5gkOE+bnvarrQ0OR5mRuVe5KnlhEDeZqfsm3VpwE=; b=E3TcVP6iQ23My3xNfWql4tKA1hiQhSO21pO5ZTmyQiiRTxSdlt7T6Im/7xnRdpn7+6 nw5MTKXV+UZ+k1jXPP7z05o4UnzDIJTkHserXZxj3Xu8LvPgi31td78kr6c0Vj79UsLy sNStNz778IgS1pgjfrdGliwCSYYqXwzWEgQRLwaMn2bgORit2L+37kpS6XKLeH5//ih6 PUTvAz6e+HJhIIsrCfmRwfl9612+EX6f7ZX00tDEoyqqjfcxInXHxM6H4ffsDYcsP8g3 pEgljlgbd7W4mQGAG2z6pQoAlf1ZgbNBwocwVAXlBOst+LtfnOR/KXGPmwFP1vxWFtY5 eDsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="omx/Ot+c"; 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 w17si47077047pll.30.2019.04.15.20.01.16; Mon, 15 Apr 2019 20:01:32 -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="omx/Ot+c"; 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 S1728360AbfDPDAJ (ORCPT + 99 others); Mon, 15 Apr 2019 23:00:09 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:44332 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726827AbfDPC4d (ORCPT ); Mon, 15 Apr 2019 22:56:33 -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=nGs5gkOE+bnvarrQ0OR5mRuVe5KnlhEDeZqfsm3VpwE=; b=omx/Ot+cpvJ2JgTZBYJlDtB0UJ OZ9EeWqMsJQr+xaO4vGqJHPmy+INAKB7pzNzByzTF0u4DiDsjv84psY6AhmoZBtpeVcQVHwLTITq3 zy/xv4loIAZIX7+xMJQnJGCADchSQiXiA4FLF4UgnvPU1m7kohs5CXqbQ9LhyiH32BPqEGbZvFFp4 kAj7BUGIarW4K0Jp3AekyJ/Z2a53XWA5EZ1vFZXIbxFT9velu6Ic07djK/Ayr53vyq6dxjZiprmee nVYd1sUwBqP/oxCXp0NReDGW8GAtuE+3JdZBZfBRJOq68U2ht59pu/s0v/5gL2vaFaAcvrpSTd7gC rCeuuL+g==; Received: from 177.205.118.176.dynamic.adsl.gvt.net.br ([177.205.118.176] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hGEGu-0007aj-Q6; Tue, 16 Apr 2019 02:56:32 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hGEGn-0001o1-LG; Mon, 15 Apr 2019 23:56:25 -0300 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet Subject: [PATCH 28/57] docs: ptp.txt: convert to ReST and move to driver-api Date: Mon, 15 Apr 2019 23:55:53 -0300 Message-Id: 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. Signed-off-by: Mauro Carvalho Chehab --- Documentation/ptp/ptp.txt | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/Documentation/ptp/ptp.txt b/Documentation/ptp/ptp.txt index 11e904ee073f..65c84a72e9fc 100644 --- a/Documentation/ptp/ptp.txt +++ b/Documentation/ptp/ptp.txt @@ -1,5 +1,6 @@ - -* 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 +23,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 +38,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 +52,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 +70,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 +88,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) -- 2.20.1