Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hwmon: (tmp108) Add NXP p3t1085 support

Add compatible string 'nxp,p3t1085' since p3t1085's register layout is the
same as tmp108.

The p3t1085 supports I3C interface.

Update document tmp108.rst and Kconfig's help context.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Message-ID: <20241111-p3t1085-v3-2-bff511550aad@nxp.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

Frank Li and committed by
Guenter Roeck
11d35624 45855807

+10 -1
+8
Documentation/hwmon/tmp108.rst
··· 3 3 4 4 Supported chips: 5 5 6 + * NXP P3T1085 7 + 8 + Prefix: 'p3t1085' 9 + 10 + Addresses scanned: none 11 + 12 + Datasheet: https://www.nxp.com/docs/en/data-sheet/P3T1085UK.pdf 13 + 6 14 * Texas Instruments TMP108 7 15 8 16 Prefix: 'tmp108'
+1 -1
drivers/hwmon/Kconfig
··· 2300 2300 select REGMAP_I2C 2301 2301 help 2302 2302 If you say yes here you get support for Texas Instruments TMP108 2303 - sensor chips. 2303 + sensor chips and NXP P3T1085. 2304 2304 2305 2305 This driver can also be built as a module. If so, the module 2306 2306 will be called tmp108.
+1
drivers/hwmon/tmp108.c
··· 420 420 421 421 #ifdef CONFIG_OF 422 422 static const struct of_device_id tmp108_of_ids[] = { 423 + { .compatible = "nxp,p3t1085", }, 423 424 { .compatible = "ti,tmp108", }, 424 425 {} 425 426 };