jan Posted October 5, 2016 Share Posted October 5, 2016 Dear all, Is there some kind of tuttorial how to use the linux driver for the PMODAD5 4-channel 4.8 kHz 24-bit A/D Converter? More specifically how it can be activated in the device tree Thanks Jan Link to comment Share on other sites More sharing options...
sbobrowicz Posted October 13, 2016 Share Posted October 13, 2016 The driver you want is found in the linux kernel at /drivers/staging/iio/adc/ad7192.c . You will need to build this driver into the kernel you are using (or use it as a loadable module I suppose). the device tree node will need to be a child node of your SPI controller node, and look something like: &spi0 { ad7193: ad7193@0{ compatible = "adi,ad7193"; spi-max-frequency = <5000000>; reg = <0>; }; }; Link to comment Share on other sites More sharing options...
jpeyron Posted October 5, 2016 Share Posted October 5, 2016 Hi Jan, I have moved you question to the Embedded sub-section where your question will be viewed by more of our experienced embedded community. cheers, Jon Link to comment Share on other sites More sharing options...
Question
jan
Dear all,
Is there some kind of tuttorial how to use the linux driver for the PMODAD5 4-channel 4.8 kHz 24-bit A/D Converter? More specifically how it can be activated in the device tree
Thanks
Jan
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.