This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

INA266 Linux驱动问题

Other Parts Discussed in Thread: AM3352

ti的工程师:

      你好!我目前的系统是AM3352,Linux内核时基于:linux-am335x-AM335XPSP_04.06.00.08开发的,现在系统上用了4个INA266检测对外输出电源端子的电流电压,在00.08内核中没有INA266的驱动,我按照“www.ti.com.cn/.../ina2xx.c:166:2: error: implicit declaration of function ‘find_closest’ ,drivers/hwmon/ina2xx.c:431:16: error: implicit declaration of function ‘of_device_get_match_data’等,然后我源码中搜索‘find_closest’ 和 ‘of_device_get_match_data’函数,也没有找到,不知道文档中的驱动是基于Linux那个版本的,我要加在3.2.0(linux-am335x-AM335XPSP_04.06.00.08)的驱动中还要修改那些内容呢?