LM90 driver and ti tmp461 detection

From: Andreas Werner
Date: Thu Dec 10 2015 - 07:11:28 EST


Hi,
i have a temperature sensor device named "TI TMP461" which is quite the
same than the tmp451 which is already included in the lm90 driver.

I just want to add the tmp461 to the driver but currently i have no way
to differ between the tmp461 and tmp451.

The main different is that the tmp461 address can be configured by to Pins
whereas the tmp451 has a fixed address.

The register layout is quite the same except that the tmp461 has one
register more (0x16 Channel Enable Register).

Every zero bit is the same for both bits, so we cannot use these bits for
identification.

Does anybody of you have a tmp451 to read out the register 0x16 (which is
not implement but i expect a value). May be we can use this to
identify the tmp461.

Regards
Andy


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/