This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
resources:tools-software:linux-drivers:iio-temperature:ltc2983 [07 Jan 2020 13:45] – [Files] Nuno Sá | resources:tools-software:linux-drivers:iio-temperature:ltc2983 [15 Nov 2022 14:57] (current) – more ltc2983 parts Cosmin Tanislav | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== LTC2983 Multi-Sensor Digital Temperature Measurement System Driver ====== | + | ====== LTC2983/ |
===== Supported Devices ===== | ===== Supported Devices ===== | ||
* [[adi> | * [[adi> | ||
+ | * [[adi> | ||
+ | * [[adi> | ||
+ | * [[adi> | ||
===== Evaluation Boards ===== | ===== Evaluation Boards ===== | ||
Line 26: | Line 29: | ||
^ Function ^ File ^ | ^ Function ^ File ^ | ||
| driver | | driver | ||
+ | | Documentation | ||
====== Example SPI device initialization ====== | ====== Example SPI device initialization ====== | ||
- | The LTC2983 supports SPI interfaces. Currently, the devices can only be instantiated via device tree. All the sensors attached | + | The devices can only be instantiated via device tree, along with all the sensors attached |
- | + | ||
- | Required devicetree properties: | + | |
- | + | ||
- | * **compatible**: | + | |
- | * adi, | + | |
- | * **reg**: Must be the SPI device chip select number. | + | |
- | * **interrupts**: | + | |
- | + | ||
- | Example with thermoucouple and RTD: | + | |
- | < | + | |
- | spi0 { | + | |
- | # | + | |
- | # | + | |
- | | + | |
- | | + | |
- | reg = < | + | |
- | + | ||
- | # | + | |
- | # | + | |
- | | + | |
- | | + | |
- | + | ||
- | | + | |
- | reg = < | + | |
- | | + | |
- | }; | + | |
- | + | ||
- | | + | |
- | reg = < | + | |
- | | + | |
- | | + | |
- | | + | |
- | }; | + | |
- | + | ||
- | | + | |
- | reg = < | + | |
- | adi, | + | |
- | adi, | + | |
- | }; | + | |
- | + | ||
- | | + | |
- | reg = < | + | |
- | | + | |
- | / | + | |
- | | + | |
- | | + | |
- | | + | |
- | }; | + | |
- | }; | + | |
- | }; | + | |
- | </ | + | |
- | + | ||
- | For more details, look at [[linux.github> | + | |
====== Adding Linux driver support ====== | ====== Adding Linux driver support ====== |