linux/Documentation
Akira Shimahara e2c94d6f57 w1_therm: adding alarm sysfs entry
Adding device alarms settings by a dedicated sysfs entry alarms (RW):
read or write TH and TL in the device RAM. Checking devices in alarm
state could be performed using the master search command.

As alarms temperature level are store in a 8 bit register on the device
and are signed values, a safe cast shall be performed using the min and
max temperature that device are able to measure. This is done by
int_to_short inline function.

A 'write_data' field is added in the device structure, to bind the
correct writing function, as some devices may have 2 or 3 bytes RAM.

Updating Documentation/ABI/testing/sysfs-driver-w1_therm accordingly.

Signed-off-by: Akira Shimahara <akira215corp@gmail.com>
Link: https://lore.kernel.org/r/20200511203801.411253-1-akira215corp@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-05-15 16:29:00 +02:00
..
2020-05-15 16:29:00 +02:00
2020-02-19 02:42:21 -07:00
2020-03-30 01:35:12 +02:00
2020-04-01 16:11:40 -07:00
2020-05-15 16:09:24 +02:00
2020-03-19 10:40:27 +10:00
2019-12-11 09:12:38 +01:00
2020-03-30 13:42:05 -07:00
2020-03-19 07:41:04 +01:00
2020-04-03 14:25:02 -07:00
2020-04-05 11:12:59 -07:00
2020-04-02 17:03:53 -07:00
2020-04-05 10:36:18 -07:00
2020-03-30 13:42:05 -07:00
2020-03-15 11:34:48 +02:00
2019-12-30 11:58:02 -07:00
2019-09-27 11:17:38 -07:00
2020-04-03 13:22:40 -07:00
2020-03-31 16:03:39 -07:00