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.
Hi team,
I help the customer ask a question.
"In order to read TMP112 data in Linux, I have configured the LM75sw-Linux driver in Linux kernel according to the official website TMP112 page:
Device Drivers --->
<*> Hardware Monitoring support --->
<*> National Semiconductor LM75 and compatibles
Add the following content to the device tree:
&i2c1 {
clock-frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c1>;
status = "okay";
tmp112@48{
compatible = "ti,tmp112";
reg = <0x48>;
status = "okay";
};
};
TMP112 ADD0 was grounded. According to the data table, its device address should be 0x48, which is consistent with the device tree.
After setting up the experimental environment, I want to read the contents temperature data of /sys/bus/ i2C /devices/0-0048/ temp1_INPUT .
Quention:
There is no temp1_input in /sys/bus/i2c/devices/0-0048/. Is the path of the data interface wrong?
If there are other configurations required to find the TMP112 data interface on Linux?"
Thank you very much for your help.
Best regards,
Hi Zhonghui,
The TMP112 should start measuring temperature at a regular interval once it powers on. However, the Linux driver is created by the open source community and is not supported by TI.
Best regards,
Nicole