×

AD7091R-5 Linux驱动程序

消耗积分:3 | 格式:pdf | 大小:134.16KB | 2021-04-24

五斤麻辣油

分享资料个

This version (19 Jan 2015 10:32) was approved by Paul Cercueil.

AD7091R5 ADC Linux Driver

Supported Devices

Evaluation Boards

Description

The AD7091R-5 is a 12-bit, multichannel, ultralow power, successive approximation analog-to-digital converter (ADC).

Hardware configuration

Adding Linux driver support

Enabling the driver

Configure kernel with “make menuconfig” (alternatively use “make xconfig” or “make qconfig”)

The AD7091R5 Driver depends on CONFIG_I2C

Linux Kernel Configuration
    Device Drivers  --->
        ...
        <*>     Industrial I/O support --->
            --- Industrial I/O support
            ...
            Analog to digital converters  ---> 
                ...
                <*>   Analog Devices AD7091R5 ADC driver
                ...
            ...
        ...

Adding a device tree entry

Required properties

  • compatible: Must be “adi,ad7091r5”.
  • reg: I2C address for the device.

Optional properties

  • vref-supply: phandle + specifier to a regulator for the external VREF supply. If no external VREF is supplied this attribute should be omitted.
    see: Documentation/devicetree/bindings/regulator/regulator.txt

Device tree example

adc@0 {
	compatible: "adi,ad7091r5";
	reg = <0x2F>;
};

声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉

评论(0)
发评论

下载排行榜

全部0条评论

快来发表一下你的评论吧 !