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.

[参考译文] 有关 ina226的 hwmon 内核模块的查询

Guru**** 1828310 points
Other Parts Discussed in Thread: INA226, TMP468
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/amplifiers-group/amplifiers/f/amplifiers-forum/1169869/query-regarding-hwmon-kernel-module-for-ina226

器件型号:INA226
主题中讨论的其他器件: TMP468

我们将对项目使用 petalinux 2020.2和内核版本5.4。 我们尝试集成了 tmp468和 ina226的 hwmon 驱动程序模块。 但是、在目录中/sys/class/hwmon/、仅列出了 tmp468。 Ina226正被列为目录下的 IIO 器件 /sys/bus/i2c/devices/0-0041/iio:device1/. For ina226, we had included the hwmon driver for ina2xx, and have listed in the dtsi file also. Attaching the screenshots for reference. For our project, we have a requirement to list both the modules as hwmon.So hoping to get support to list both the modules as hwmon.