ath25: switch default kernel to 5.15
[openwrt/staging/wigyori.git] / target / linux / mvebu / patches-5.10 / 906-Documentation-hwmon-Add-iei-wt61p803-puzzle-hwmon-dr.patch
1 From 0aff3e5923fecc6842473ad07a688d6e2f2c2d55 Mon Sep 17 00:00:00 2001
2 From: Luka Kovacic <luka.kovacic () sartura ! hr>
3 Date: Tue, 24 Aug 2021 12:44:37 +0000
4 Subject: [PATCH 6/7] Documentation/hwmon: Add iei-wt61p803-puzzle hwmon driver
5 documentation
6
7 Add the iei-wt61p803-puzzle driver hwmon driver interface documentation.
8
9 Signed-off-by: Luka Kovacic <luka.kovacic@sartura.hr>
10 Signed-off-by: Pavo Banicevic <pavo.banicevic@sartura.hr>
11 Cc: Luka Perkov <luka.perkov@sartura.hr>
12 Cc: Robert Marko <robert.marko@sartura.hr>
13 ---
14 .../hwmon/iei-wt61p803-puzzle-hwmon.rst | 43 +++++++++++++++++++
15 Documentation/hwmon/index.rst | 1 +
16 2 files changed, 44 insertions(+)
17 create mode 100644 Documentation/hwmon/iei-wt61p803-puzzle-hwmon.rst
18
19 --- /dev/null
20 +++ b/Documentation/hwmon/iei-wt61p803-puzzle-hwmon.rst
21 @@ -0,0 +1,43 @@
22 +.. SPDX-License-Identifier: GPL-2.0-only
23 +
24 +Kernel driver iei-wt61p803-puzzle-hwmon
25 +=======================================
26 +
27 +Supported chips:
28 + * IEI WT61P803 PUZZLE for IEI Puzzle M801
29 +
30 + Prefix: 'iei-wt61p803-puzzle-hwmon'
31 +
32 +Author: Luka Kovacic <luka.kovacic@sartura.hr>
33 +
34 +
35 +Description
36 +-----------
37 +
38 +This driver adds fan and temperature sensor reading for some IEI Puzzle
39 +series boards.
40 +
41 +Sysfs attributes
42 +----------------
43 +
44 +The following attributes are supported:
45 +
46 +- IEI WT61P803 PUZZLE for IEI Puzzle M801
47 +
48 +/sys files in hwmon subsystem
49 +-----------------------------
50 +
51 +================= == =====================================================
52 +fan[1-5]_input RO files for fan speed (in RPM)
53 +pwm[1-2] RW files for fan[1-2] target duty cycle (0..255)
54 +temp[1-2]_input RO files for temperature sensors, in millidegree Celsius
55 +================= == =====================================================
56 +
57 +/sys files in thermal subsystem
58 +-------------------------------
59 +
60 +================= == =====================================================
61 +cur_state RW file for current cooling state of the cooling device
62 + (0..max_state)
63 +max_state RO file for maximum cooling state of the cooling device
64 +================= == =====================================================
65 --- a/Documentation/hwmon/index.rst
66 +++ b/Documentation/hwmon/index.rst
67 @@ -71,6 +71,7 @@ Hardware Monitoring Kernel Drivers
68 ibmaem
69 ibm-cffps
70 ibmpowernv
71 + iei-wt61p803-puzzle-hwmon
72 ina209
73 ina2xx
74 ina3221