summaryrefslogtreecommitdiff
path: root/static/freebsd/man4/man4.arm/am335x_dmtpps.4 3.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/freebsd/man4/man4.arm/am335x_dmtpps.4 3.html')
-rw-r--r--static/freebsd/man4/man4.arm/am335x_dmtpps.4 3.html133
1 files changed, 0 insertions, 133 deletions
diff --git a/static/freebsd/man4/man4.arm/am335x_dmtpps.4 3.html b/static/freebsd/man4/man4.arm/am335x_dmtpps.4 3.html
deleted file mode 100644
index 3873fce7..00000000
--- a/static/freebsd/man4/man4.arm/am335x_dmtpps.4 3.html
+++ /dev/null
@@ -1,133 +0,0 @@
-<table class="head">
- <tr>
- <td class="head-ltitle">AM335X_DMTPPS(4)</td>
- <td class="head-vol">Device Drivers Manual (arm)</td>
- <td class="head-rtitle">AM335X_DMTPPS(4)</td>
- </tr>
-</table>
-<div class="manual-text">
-<section class="Sh">
-<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
-<p class="Pp"><code class="Nm">am335x_dmtpps</code> &#x2014;
- <span class="Nd">RFC 2783 Pulse Per Second API driver for AM335x
- systems</span></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<p class="Pp"><code class="Cd">device am335x_dmtpps</code></p>
-<p class="Pp">Optional in <span class="Pa">/boot/loader.conf</span>:
- <br/>
- <code class="Cd">hw.am335x_dmtpps.input=&quot;pin name&quot;</code></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-<p class="Pp">The <code class="Nm">am335x_dmtpps</code> device driver provides a
- system time counter that includes precise capture of Pulse Per Second (PPS)
- signals emitted by GPS receivers and other timing devices. The
- <code class="Nm">am335x_dmtpps</code> driver may be compiled into the kernel
- or loaded as a module.</p>
-<p class="Pp">The AM335x timer hardware captures the value of the system time
- counter on the leading edge of the PPS pulse. Because the capture is done by
- the hardware there is no interrupt latency in the measurement. The time
- counter runs at 24Mhz, providing a measurement resolution of 42
- nanoseconds.</p>
-<p class="Pp">To use the PPS timing information provided by this driver with
- <a class="Xr">ntpd(8)</a>, symlink the <span class="Pa">/dev/dmtpps</span>
- device to <span class="Pa">/dev/pps0</span> and configure server
- <var class="Va">127.127.22.0</var> in <a class="Xr">ntp.conf(5)</a> to
- configure a type 22 (ATOM) refclock.</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="DRIVER_CONFIGURATION"><a class="permalink" href="#DRIVER_CONFIGURATION">DRIVER
- CONFIGURATION</a></h1>
-<p class="Pp">The AM335x hardware provides four timer devices with a capture
- input pin, DMTimer4 through DMTimer7. Because it also provides the active
- system time counter, only one instance of the
- <code class="Nm">am335x_dmtpps</code> driver can be active at a time. The
- driver uses system pin configuration to determine which hardware timer
- device to use. Configure the timer input pin in the system's FDT data, or by
- supplying the pin name using a tunable variable in
- <a class="Xr">loader.conf(5)</a>.</p>
-<p class="Pp">To use a standard kernel and FDT data, use
- <a class="Xr">loader.conf(5)</a> to load the
- <code class="Nm">am335x_dmtpps</code> module and set the
- <var class="Va">hw.am335x_dmtpps.input</var> tunable variable to the name of
- the input pin, one of the following:</p>
-<p class="Pp"></p>
-<div class="Bd-indent">
-<dl class="Bl-tag Bl-compact">
- <dt id="Name"><a class="permalink" href="#Name"><i class="Em">Name</i></a></dt>
- <dd><a class="permalink" href="#Hardware"><i class="Em" id="Hardware">Hardware</i></a></dd>
- <dt>P8-7</dt>
- <dd>DMTimer4; Beaglebone P8 header pin 7.</dd>
- <dt>P8-8</dt>
- <dd>DMTimer7; Beaglebone P8 header pin 8.</dd>
- <dt>P8-9</dt>
- <dd>DMTimer5; Beaglebone P8 header pin 9.</dd>
- <dt>P8-10</dt>
- <dd>DMTimer6; Beaglebone P8 header pin 10.</dd>
- <dt>GPMC_ADVn_ALE</dt>
- <dd>DMTimer4.</dd>
- <dt>GPMC_BEn0_CLE</dt>
- <dd>DMTimer5.</dd>
- <dt>GPMC_WEn</dt>
- <dd>DMTimer6.</dd>
- <dt>GPMC_OEn_REn</dt>
- <dd>DMTimer7.</dd>
-</dl>
-</div>
-<p class="Pp">To configure the <code class="Nm">am335x_dmtpps</code> driver
- using FDT data, create a new pinctrl node by referencing the standard
- <var class="Va">am33xx_pinmux</var> driver node (which is defined in
- am33xx.dtsi) in your dts file. For example:</p>
-<div class="Bd Pp Li">
-<pre> &amp;am33xx_pinmux {
- timer4_pins: timer4_pins {
- pinctrl-single,pins = &lt;0x90 (PIN_INPUT | MUX_MODE2)&gt;;
- };
- };</pre>
-</div>
-<p class="Pp">Add pinctrl properties referencing
- <var class="Va">timer4_pins</var> to the standard
- <var class="Va">timer4</var> device node (also defined in am33xx.dtsi) by
- referencing it in your dts file as follows:</p>
-<div class="Bd Pp Li">
-<pre> &amp;timer4 {
- pinctrl-names = &quot;default&quot;;
- pinctrl-0 = &lt;&amp;timer4_pins&gt;;
- };</pre>
-</div>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="FILES"><a class="permalink" href="#FILES">FILES</a></h1>
-<dl class="Bl-tag Bl-compact">
- <dt><span class="Pa">/dev/dmtpps</span></dt>
- <dd>The device providing <a class="Xr">ioctl(2)</a> access to the RFC 2783
- API.</dd>
-</dl>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
- ALSO</a></h1>
-<p class="Pp"><a class="Xr">timecounters(4)</a>,
- <a class="Xr">loader.conf(5)</a>, <a class="Xr">ntp.conf(5)</a>,
- <a class="Xr">ntpd(8)</a></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
-<p class="Pp">The <code class="Nm">am335x_dmtpps</code> device driver first
- appeared in <span class="Ux">FreeBSD 11.0</span>.</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
-<p class="Pp">The <code class="Nm">am335x_dmtpps</code> device driver and this
- manual page were written by <span class="An">Ian Lepore</span>
- &lt;<a class="Mt" href="mailto:ian@FreeBSD.org">ian@FreeBSD.org</a>&gt;.</p>
-</section>
-</div>
-<table class="foot">
- <tr>
- <td class="foot-date">August 12, 2015</td>
- <td class="foot-os">FreeBSD 15.0</td>
- </tr>
-</table>