summaryrefslogtreecommitdiff
path: root/static/freebsd/man4/man4.arm/imx_spi.4 3.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/freebsd/man4/man4.arm/imx_spi.4 3.html')
-rw-r--r--static/freebsd/man4/man4.arm/imx_spi.4 3.html69
1 files changed, 69 insertions, 0 deletions
diff --git a/static/freebsd/man4/man4.arm/imx_spi.4 3.html b/static/freebsd/man4/man4.arm/imx_spi.4 3.html
new file mode 100644
index 00000000..308f2fdc
--- /dev/null
+++ b/static/freebsd/man4/man4.arm/imx_spi.4 3.html
@@ -0,0 +1,69 @@
+<table class="head">
+ <tr>
+ <td class="head-ltitle">IMX_SPI(4)</td>
+ <td class="head-vol">Device Drivers Manual (arm)</td>
+ <td class="head-rtitle">IMX_SPI(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">imx_spi</code> &#x2014; <span class="Nd">device
+ driver for the NXP i.MX family Serial Peripheral Interface (SPI)</span></p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<p class="Pp">To compile this driver into the kernel, place the following line
+ in your kernel configuration file:</p>
+<div class="Bd Pp Bd-indent"><code class="Cd">device imx_spi</code></div>
+<p class="Pp">Alternatively, to load the driver as a module at boot time, place
+ the following line in <a class="Xr">loader.conf(5)</a>:</p>
+<div class="Bd Pp Bd-indent Li">
+<pre>imx_spi_load=&quot;YES&quot;</pre>
+</div>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<p class="Pp">The <code class="Nm">imx_spi</code> driver provides support for
+ the &#x2018;ECSPI&#x2019; (Enhanced Configurable SPI) hardware present on
+ the NXP i.MX family of processors. While the ECSPI hardware supports both
+ master and slave mode, this driver currently operates only in master
+ mode.</p>
+<p class="Pp">Due to hardware quirks, the <code class="Nm">imx_spi</code> driver
+ requires that all chip select pins be configured as GPIO pins. Use the FDT
+ property &#x2018;cs-gpios&#x2019; to specify which pins to use as chip
+ selects. You may use any GPIO pins, including the ones that the hardware
+ would normally use as SPI select pins; just configure them as GPIO in the
+ <a class="Xr">fdt_pinctrl(4)</a> data.</p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="SYSCTL_VARIABLES"><a class="permalink" href="#SYSCTL_VARIABLES">SYSCTL
+ VARIABLES</a></h1>
+<p class="Pp">The following variables are available via
+ <a class="Xr">sysctl(8)</a>, and as <a class="Xr">loader(8)</a>
+ tunables:</p>
+<dl class="Bl-tag">
+ <dt id="dev.imx_spi._d.debug"><var class="Va">dev.imx_spi.%d.debug</var></dt>
+ <dd>Output debugging info when non-zero. A value of 1 displays information
+ about bus transfers, 2 adds information about bus clock frequency and chip
+ select activity, and 3 adds information about interrupt handling.</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">fdt(4)</a>, <a class="Xr">fdt_pinctrl(4)</a>,
+ <a class="Xr">sysctl(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">imx_spi</code> driver first appeared in
+ <span class="Ux">FreeBSD 12.0</span>.</p>
+</section>
+</div>
+<table class="foot">
+ <tr>
+ <td class="foot-date">July 9, 2018</td>
+ <td class="foot-os">FreeBSD 15.0</td>
+ </tr>
+</table>