mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +00:00
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>
This commit is contained in:
parent
4585580781
commit
11d35624d7
@ -3,6 +3,14 @@ Kernel driver tmp108
|
|||||||
|
|
||||||
Supported chips:
|
Supported chips:
|
||||||
|
|
||||||
|
* NXP P3T1085
|
||||||
|
|
||||||
|
Prefix: 'p3t1085'
|
||||||
|
|
||||||
|
Addresses scanned: none
|
||||||
|
|
||||||
|
Datasheet: https://www.nxp.com/docs/en/data-sheet/P3T1085UK.pdf
|
||||||
|
|
||||||
* Texas Instruments TMP108
|
* Texas Instruments TMP108
|
||||||
|
|
||||||
Prefix: 'tmp108'
|
Prefix: 'tmp108'
|
||||||
|
@ -2300,7 +2300,7 @@ config SENSORS_TMP108
|
|||||||
select REGMAP_I2C
|
select REGMAP_I2C
|
||||||
help
|
help
|
||||||
If you say yes here you get support for Texas Instruments TMP108
|
If you say yes here you get support for Texas Instruments TMP108
|
||||||
sensor chips.
|
sensor chips and NXP P3T1085.
|
||||||
|
|
||||||
This driver can also be built as a module. If so, the module
|
This driver can also be built as a module. If so, the module
|
||||||
will be called tmp108.
|
will be called tmp108.
|
||||||
|
@ -420,6 +420,7 @@ MODULE_DEVICE_TABLE(i2c, tmp108_i2c_ids);
|
|||||||
|
|
||||||
#ifdef CONFIG_OF
|
#ifdef CONFIG_OF
|
||||||
static const struct of_device_id tmp108_of_ids[] = {
|
static const struct of_device_id tmp108_of_ids[] = {
|
||||||
|
{ .compatible = "nxp,p3t1085", },
|
||||||
{ .compatible = "ti,tmp108", },
|
{ .compatible = "ti,tmp108", },
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user