Skip to content

Commit 11d3562

Browse files
nxpfrankligroeck
authored andcommitted
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 <[email protected]> Message-ID: <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
1 parent 4585580 commit 11d3562

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

Documentation/hwmon/tmp108.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ Kernel driver tmp108
33

44
Supported chips:
55

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+
614
* Texas Instruments TMP108
715

816
Prefix: 'tmp108'

drivers/hwmon/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2300,7 +2300,7 @@ config SENSORS_TMP108
23002300
select REGMAP_I2C
23012301
help
23022302
If you say yes here you get support for Texas Instruments TMP108
2303-
sensor chips.
2303+
sensor chips and NXP P3T1085.
23042304

23052305
This driver can also be built as a module. If so, the module
23062306
will be called tmp108.

drivers/hwmon/tmp108.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,7 @@ MODULE_DEVICE_TABLE(i2c, tmp108_i2c_ids);
420420

421421
#ifdef CONFIG_OF
422422
static const struct of_device_id tmp108_of_ids[] = {
423+
{ .compatible = "nxp,p3t1085", },
423424
{ .compatible = "ti,tmp108", },
424425
{}
425426
};

0 commit comments

Comments
 (0)