[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251117123809.47488-3-Thomas.Marangoni@becom-group.com>
Date: Mon, 17 Nov 2025 13:38:04 +0100
From: Thomas Marangoni <Thomas.Marangoni@...om-group.com>
To: linux-hwmon@...r.kernel.org
Cc: robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
linux@...ck-us.net,
corbet@....net,
Jonathan.Cameron@...wei.com,
Frank.Li@....com,
michal.simek@....com,
rodrigo.gobbi.7@...il.com,
chou.cosmo@...il.com,
wenswang@...h.net,
nuno.sa@...log.com,
paweldembicki@...il.com,
apokusinski01@...il.com,
eajames@...ux.ibm.com,
vassilisamir@...il.com,
heiko@...ech.de,
neil.armstrong@...aro.org,
prabhakar.mahadev-lad.rj@...renesas.com,
kever.yang@...k-chips.com,
mani@...nel.org,
dev@...l-k.io,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-doc@...r.kernel.org,
Thomas Marangoni <Thomas.Marangoni@...om-group.com>
Subject: [PATCH 2/4] hwmon: documentation: add tids
Add tids driver documentation
---
Documentation/hwmon/tids.rst | 61 ++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
create mode 100644 Documentation/hwmon/tids.rst
diff --git a/Documentation/hwmon/tids.rst b/Documentation/hwmon/tids.rst
new file mode 100644
index 000000000000..f3fea4e416ea
--- /dev/null
+++ b/Documentation/hwmon/tids.rst
@@ -0,0 +1,61 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+Kernel driver tids
+===================
+
+Supported Chips:
+
+ * WSEN TIDS
+
+ Prefix: 'tids'
+
+ Addresses scanned: None
+
+ Datasheet:
+
+ English: https://www.we-online.com/components/products/manual/Manual-um-wsen-tids-2521020222501%20(rev1.2).pdf
+
+Author: Thomas Marangoni <Thomas.Marangoni@...om-group.com>
+
+
+Description
+-----------
+
+This driver implements support for the WSEN TIDS chip, a temperature
+sensor. Temperature is measured in degree celsius. In sysfs interface,
+all values are scaled by 1000, i.e. the value for 31.5 degrees celsius is 31500.
+
+Usage Notes
+-----------
+
+The device communicates with the I2C protocol. Sensors can have the I2C
+address 0x38 or 0x3F. See Documentation/i2c/instantiating-devices.rst for methods
+to instantiate the device.
+
+Sysfs entries
+-------------
+
+=============== ============================================
+temp1_input Measured temperature in millidegrees Celsius
+update_interval The interval for polling the sensor, in
+ milliseconds. Writable. Must be 5, 10, 20
+ or 40.
+temp1_max_hyst The temperature in millidegrees Celsius, that
+ is triggering the temp1_max_alarm. Writable.
+ The lowest possible value is -39680 and the
+ highest possible value is 122880. Values are
+ saved in steps of 640.
+temp1_min_hyst The temperature in millidegrees Celsius, that
+ is triggering the temp1_min_alarm. Writable.
+ The lowest possible value is -39680 and the
+ highest possible value is 122880. Values are
+ saved in steps of 640.
+temp1_max_alarm The alarm will be triggered when the level
+ reaches the value specified in
+ temp1_max_hyst. It will reset automatically
+ once it has been read.
+temp1_min_alarm The alarm will be triggered when the level
+ reaches the value specified in
+ temp1_min_hyst. It will reset automatically
+ once it has been read.
+=============== ============================================
--
2.51.1
Powered by blists - more mailing lists