Other Parts Discussed in Thread: TMP112
Hello,
Our customer has questioned if LM75 Linux driver is able to support TMP102.
Could you please help us his question on above.
If not, please share TMP102 Linux driver with us.
Best regards,
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.
The lm75 hwmon driver supports TMP112. The TMP102 should be initialized as a TMP112 in this driver.
https://docs.kernel.org/hwmon/lm75.html
https://github.com/torvalds/linux/blob/master/drivers/hwmon/lm75.c
ren
Thank you for your feedback.
Do we understand that LM75 Linux driver is able to use as LM102 Linux driver.
Please correct me if my understanding is incorrect.
Best regards,
Yes, lm75 driver supports TMP102 when configured for TMP112. TMP102 and TMP112 are P2P replacement.
ren
The customer still has some question regarding to your answer.
- lm75 driver supports TMP102 when configured for TMP112.
Could you tell him the reason of you suggested "when configured for TMP112" ?
- TMP112 are P2P replacement.
Does P2P replacement mean Pin to Pin compatible ?
I also understand that TMP112 and TMP102 are software compatible. Is my understanding correct ?
Best regards,
If you review the documentation I linked, the lm75 linux driver has several devices it supports. The device name is passed as an argument to the driver when initialized. The driver supports the name 'tmp112' but does not support the name 'tmp102.' Since TMP102/TMP112 are 100% pin compatible and software compatible, the drier should be initialized with the name 'tmp112' when using TMP102.
Please note that this driver was created by the linux community. TI does not contribute to, or have any control over, the linux kernel driver.
ren