vf610_adc modified to support adc2 and ch list

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

vf610_adc modified to support adc2 and ch list

962 次查看
juhapanula-ontt
Contributor I

Here is my mods for vf610_adc.c. It sure needed some fixing.

Now it can use both adc1 and adc2 if available w iio/trigger/buffer stuff.

Maybe NXP will publish later better docs about adc2 or a new fixed RM doc....

Also w dts can be set ch list of used adc channels. Idea got from digi.

ch number 16 and 17 are special, temp and timestamp.

No need to touch source code.

isr can be better code, maybe usage of wait_for_completion_interruptible_timeout or something else 

but it just waits there to have all ch values.

Do not use internal tsc if adc2 is used for iio!

标签 (1)
0 项奖励
回复
0 回复数