This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
resources:tools-software:linux-drivers:iio-gyroscope:adis16080 [16 Nov 2012 12:43] Lars-Peter Clausen [Evaluation Boards] Fix link |
resources:tools-software:linux-drivers:iio-gyroscope:adis16080 [11 Feb 2016 21:01] (current) Lars-Peter Clausen [Status] |
||
---|---|---|---|
Line 20: | Line 20: | ||
===== Status ===== | ===== Status ===== | ||
- | ^ Source ^ Mainlined? ^ | + | ^ Source ^ Mainlined? ^ |
- | | [[git.linux.org>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 67: | 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 *** | + | <*> Analog Devices ADIS16080/100 Yaw Rate Gyroscope with SPI driver |
- | [--snip--] | + | |
- | <*> Analog Devices ADIS16080/100 Yaw Rate Gyroscope with SPI driver | + | [--snip--] |
- | + | ||
- | [--snip--] | + | |
</code> | </code> | ||
Line 97: | 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 116: | 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.1/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 === |