内核驱动 tmp464

支持的芯片

作者

Agathe Porte <agathe.porte@nokia.com> Guenter Roeck <linux@roeck-us.net>

描述

该驱动程序实现了对德州仪器 TMP464 和 TMP468 温度传感器芯片的支持。TMP464 提供一个本地传感器和四个远程传感器。TMP468 提供一个本地传感器和八个远程传感器。温度以摄氏度测量。这些芯片通过 I2C/SMBus 连接,工作温度范围为 -40 到 +125 摄氏度。本地和远程通道的分辨率均为 0.0625 摄氏度。

这些芯片仅支持温度测量。驱动程序通过以下 sysfs 文件导出温度值、限制和警报

temp[1-9]_input

temp[1-9]_max

temp[1-9]_max_hyst

temp[1-9]_max_alarm

temp[1-9]_crit

temp[1-9]_crit_alarm

temp[1-9]_crit_hyst

temp[2-9]_offset

temp[2-9]_fault

每个传感器可以通过设备树或通过 sysfs 单独禁用

temp[1-9]_enable

如果在设备树中指定了标签,则会存在额外的 sysfs 文件

temp[1-9]_label

更新间隔可以通过以下 sysfs 属性进行配置。

update_interval