This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
resources:tools-software:linux-drivers:iio-gyroscope:adis16080 [30 Aug 2011 10:27] Michael Hennerich created |
resources:tools-software:linux-drivers:iio-gyroscope:adis16080 [11 Feb 2016 21:01] (current) Lars-Peter Clausen [Status] |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Supported Devices ===== | ===== Supported Devices ===== | ||
- | This driver supports the\\ | + | * [[adi>ADIS16080]] |
- | [[adi>ADIS16080]]\\ | + | * [[adi>ADIS16100]] |
- | [[adi>ADIS16100]] | + | |
+ | ===== Evaluation Boards ===== | ||
+ | |||
+ | * [[adi>EVAL-ADIS16080|ADIS16080/PCBZ]] | ||
===== Description ===== | ===== Description ===== | ||
Line 17: | Line 20: | ||
===== Status ===== | ===== Status ===== | ||
- | ^ Source ^ Mainlined? ^ | + | ^ Source ^ Mainlined? ^ |
- | | [[bfgit>linux-kernel?drivers/staging/iio/accel/adis16080_core.c|git]] | [[git.linux.org>drivers/staging/iio/accel/adis16080_core.c|Yes]] | | + | | [[git.linux.org>drivers/iio/gyro/adis16080.c|git]] | [[git.linux.org>drivers/iio/gyro/adis16080.c|Yes]] | |
===== Files ===== | ===== Files ===== | ||
^ Function ^ File ^ | ^ Function ^ File ^ | ||
- | | driver | [[staging.kernel.org>drivers/staging/iio/accel/adis16080_core.c]] | | + | | driver | [[git.linux.org>drivers/iio/gyro/adis16080.c]] | |
{{page>software/linux/docs/platform_and_bus_model#Declaring SPI slave devices&firstseconly&noeditbtn}} | {{page>software/linux/docs/platform_and_bus_model#Declaring SPI slave devices&firstseconly&noeditbtn}} | ||
Line 64: | Line 67: | ||
"make qconfig") | "make qconfig") | ||
- | <note> | + | <WRAP round help> |
The ADIS16080 Driver depends on **CONFIG_SPI** | The ADIS16080 Driver depends on **CONFIG_SPI** | ||
- | </note> | + | </WRAP> |
<code> | <code> | ||
Linux Kernel Configuration | Linux Kernel Configuration | ||
Device Drivers ---> | Device Drivers ---> | ||
- | [*] Staging drivers ---> | + | <*> Industrial I/O support ---> |
- | <*> Industrial I/O support ---> | + | --- Industrial I/O support |
- | --- Industrial I/O support | + | -*- Enable ring buffer support within IIO |
- | -*- Enable ring buffer support within IIO | + | *** Digital gyroscope sensors *** |
- | -*- Industrial I/O lock free software ring | + | [--snip--] |
- | -*- Enable triggered sampling support | + | |
- | + | ||
- | *** Digital gyroscope sensors *** | + | |
- | [--snip--] | + | |
- | <*> Analog Devices ADIS16080/100 Yaw Rate Gyroscope with SPI driver | + | <*> Analog Devices ADIS16080/100 Yaw Rate Gyroscope with SPI driver |
- | [--snip--] | + | [--snip--] |
</code> | </code> | ||
Line 94: | Line 93: | ||
{{page>software:linux:docs:iio:iio_snippets#iio device files&noheader&firstseconly&noeditbtn}} | {{page>software:linux:docs:iio:iio_snippets#iio device files&noheader&firstseconly&noeditbtn}} | ||
- | <box 100% green|shell prompt running on the target> | + | <WRAP box bggreen><wrap info>This specifies any shell prompt running on the target</wrap> |
<xterm> | <xterm> | ||
root:/> **cd /sys/bus/iio/devices/** | root:/> **cd /sys/bus/iio/devices/** | ||
Line 113: | Line 112: | ||
-rw-r--r-- 1 root root 4096 Jan 3 20:35 uevent | -rw-r--r-- 1 root root 4096 Jan 3 20:35 uevent | ||
root:/sys/devices/platform/bfin-spi.0/spi0.1/iio:device0> | root:/sys/devices/platform/bfin-spi.0/spi0.1/iio:device0> | ||
- | </xterm></box> | + | </xterm></WRAP> |
=== Show device name === | === Show device name === | ||
- | <box 100% green|shell prompt running on the target> | + | <WRAP box bggreen><wrap info>This specifies any shell prompt running on the target</wrap> |
<xterm> | <xterm> | ||
- | root:/sys/devices/platform/bfin-spi.0/spi0.5/iio:device0> **cat name** | + | root:/sys/devices/platform/bfin-spi.0/spi0.1/iio:device0> **cat name** |
adis16080 | adis16080 | ||
- | </xterm></box> | + | </xterm></WRAP> |
=== ADIS16080 device attributes === | === ADIS16080 device attributes === |