Add tids driver documentation
Signed-off-by: Thomas Marangoni <Thomas.Marangoni@becom-group.com>
---
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..254c4a90e6f8
--- /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@becom-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. Supported values are
+ 5, 10, 20 or 40.
+temp1_max The temperature in millidegrees Celsius, that
+ is triggering the temp1_max_alarm. Writable.
+ The lowest supported value is -39680 and the
+ highest supported value is 122880. Values are
+ saved in steps of 640.
+temp1_min The temperature in millidegrees Celsius, that
+ is triggering the temp1_min_alarm. Writable.
+ The lowest supported value is -39680 and the
+ highest supported 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. 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. It will reset automatically
+ once it has been read.
+=============== ============================================
--
2.51.1
On 11/19/25 04:51, Thomas Marangoni wrote: > Add tids driver documentation > > Signed-off-by: Thomas Marangoni <Thomas.Marangoni@becom-group.com> > --- > Documentation/hwmon/tids.rst | 61 ++++++++++++++++++++++++++++++++++++ Needs to be added to Documentation/hwmon/index.rst. I'd suggest to combine patches 2, 3, and 4 into a single patch. > 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..254c4a90e6f8 > --- /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@becom-group.com> > + > + > +Description > +----------- > + > +This driver implements support for the WSEN TIDS chip, a temperature This driver implements support -> This driver supports > +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. > + This is per ABI and does not need to be mentioned. If you want to mention any details, the operating temperature and range and the current consumption (from the introduction in the datasheet) would be acceptable. > +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. Supported values are > + 5, 10, 20 or 40. > +temp1_max The temperature in millidegrees Celsius, that > + is triggering the temp1_max_alarm. Writable. > + The lowest supported value is -39680 and the > + highest supported value is 122880. Values are > + saved in steps of 640. > +temp1_min The temperature in millidegrees Celsius, that > + is triggering the temp1_min_alarm. Writable. > + The lowest supported value is -39680 and the > + highest supported 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. It will reset automatically > + once it has been read. The datasheet suggests that it should be "exceeds", not "reaches". I'd suggest to use "temperature", not "level". > +temp1_min_alarm The alarm will be triggered when the level > + reaches the value specified in Same here. Per datasheet: "Temperature is lower than low limit". The datasheet says "exceeds the low limit", but that isn't technically correct, because that means "higher than". "when the temperature is lower than" should work. > + temp1_min. It will reset automatically > + once it has been read. > +=============== ============================================
© 2016 - 2025 Red Hat, Inc.