On 11/8/24 07:28, Jonathan Cameron wrote:
On Thu, 07 Nov 2024 18:02:26 -0500
Frank Li <Frank.Li@xxxxxxx> wrote:
Add basic function support for P3T1085 temperature sensor.
- Add binding doc trivial.yaml
- Add basic read temperature driver
Hi Frank,
For a simple temperature sensor the usual question is why IIO rather
than hwmon?
From looking into the datasheet, this is a chip which will be typically
used for hardware monitoring.
Previous reasons have been:
- Very high performmance / accuracy part (i.e. expensive)
0.25 Hz ... 16 Hz sampling rate. No.
- Remote temperature so not typically hw monitoring.
Local only.
- Same silicon with a more complex sensor (typically humidity or similar).
No.
It looks like the I2C part of the chip is is compatible to TMP108, so
another question would be why to implement a new driver in the first place.
Guenter