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.
Dear E2E support team
This question is about linux device driver for TMP75C temperature sensor.
I'm considering implementation the TMP75C temperature sensor on the Linux system which is target Intel agilex board.
I have two questions.
1. Is the following linux device driver compatible with TMP75C?
drivers/hwmon/lm75.c
Refer to https://github.com/altera-opensource/linux-socfpga/blob/socfpga-5.10.100-lts/drivers/hwmon/lm75.c
Additionally, I think that "ti,tmp75c" is described at the linux device tree 'DTS' Is it correct?
2. About difference between "TMP75C" and "TMP75" I2C read format for timing diagram.
TMP75 was referred following URL of 図 7.4.
TMP75C was referred following URL of Figer 10
Specifically, it seem that the STOP condition shown in red in the following figure is required for the TMP75C, however, the STOP condition was not required for the TMP75.
If 1'st question is YES,
Is the same driver 'lm75.c' controlling STOP condition transmission? or is the TMP75C STOP condition unneccessary?
This is a question because I think that general I2C read was a timing diagram of TMP75.
Thanks,
kurihara
Dear Kurihara -
The kernel driver shows here that TMP75, TMP75 and TMP75C are supported:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/hwmon/lm75.c
I believe you have found an error in the TMP75/TMP175 diagram (Figure 7-4), where the stop is omitted from the diagram for the read operation, after the pointer register byte. We will get that updated.
Hi Wyatt-san
Thank you for checking my question.
I understood that linux driver lm75.c is correct as TMP75C.
I also understood about Figure 7-4.
Close this issue.
thanks,
kurihara.