dt-bindings: hwmon: tmp102: Document TMP113
Subsystems (2)
PATCH 1/2 dt-bindings: hwmon: tmp102: Document TMP113
The TMP113 temperature sensor part is register compatible with TMP102, document it using a fallback compatible. Unlike TMP102 and TMP110, the TMP113 does have additional unique ID registers, it is up to the driver to handle those.
---
Cc: Conor Dooley <[email protected]>
Cc: Flaviu Nistor <[email protected]>
Cc: Guenter Roeck <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
--- Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml +4 -2
@@ -4,7 +4,7 @@ $id: http://devicetree.org/schemas/hwmon/ti,tmp102.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: TMP102 and TMP110 temperature sensor +title: TMP102, TMP110 and TMP113 temperature sensor maintainers: - Krzysztof Kozlowski <[email protected]>
@@ -13,7 +13,9 @@ properties: compatible: oneOf: - items: - - const: ti,tmp110 + - enum: + - ti,tmp110 + - ti,tmp113 - const: ti,tmp102 - enum: - ti,tmp102
Signature · 1 line
2.53.0
PATCH 2/2 hwmon: (tmp102) Add TMP113 device ID
The TMP113 temperature sensor part is register compatible with TMP102, add non-DT I2C device ID. Unlike TMP102 and TMP110, the TMP113 does have additional unique ID registers, those are currently unused.
---
Cc: Conor Dooley <[email protected]>
Cc: Flaviu Nistor <[email protected]>
Cc: Guenter Roeck <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
--- drivers/hwmon/tmp102.c | 1 + 1 file changed, 1 insertion(+)
drivers/hwmon/tmp102.c +1 -0
@@ -397,6 +397,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(tmp102_dev_pm_ops, tmp102_suspend, tmp102_resumestatic const struct i2c_device_id tmp102_id[] = { { .name ="tmp102" }, { .name ="tmp110" }, + { .name ="tmp113" }, { } };MODULE_DEVICE_TABLE (i2c, tmp102_id);
Signature · 1 line
2.53.0
Re: [PATCH 2/2] hwmon: (tmp102) Add TMP113 device ID
Quoted 5 lines · Marek Vasut
The TMP113 temperature sensor part is register compatible with TMP102, add non-DT I2C device ID. Unlike TMP102 and TMP110, the TMP113 does have additional unique ID registers, those are currently unused.
Signed-off-by Marek Vasut <[email protected]>
Applied.
Thanks,
Guenter
Quoted 25 lines
---
Cc: Conor Dooley <[email protected]>
Cc: Flaviu Nistor <[email protected]>
Cc: Guenter Roeck <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]--- drivers/hwmon/tmp102.c | 1 + 1 file changed, 1 insertion(+)drivers/hwmon/tmp102.c +1
-0@@ -397,6 +397,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(tmp102_dev_pm_ops, tmp102_suspend, tmp102_resumestatic const struct i2c_device_id tmp102_id[] = { { .name ="tmp102" }, { .name ="tmp110" }, + { .name ="tmp113" }, { } };MODULE_DEVICE_TABLE (i2c, tmp102_id);
Re: [PATCH 2/2] hwmon: (tmp102) Add TMP113 device ID
Quoted 8 lines · Guenter Roeck
Quoted 5 lines · Marek Vasut
The TMP113 temperature sensor part is register compatible with TMP102, add non-DT I2C device ID. Unlike TMP102 and TMP110, the TMP113 does have additional unique ID registers, those are currently unused.
Signed-off-by Marek Vasut <[email protected]>Applied.
Thank you. I think this solves the TMP110 and TMP113 documentation concerns too.