Merge tag 'rtc-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux
[linux-block.git] / Documentation / hwmon / sfctemp.rst
1 .. SPDX-License-Identifier: GPL-2.0
2
3 Kernel driver sfctemp
4 =====================
5
6 Supported chips:
7  - StarFive JH7100
8  - StarFive JH7110
9
10 Authors:
11  - Emil Renner Berthing <kernel@esmil.dk>
12
13 Description
14 -----------
15
16 This driver adds support for reading the built-in temperature sensor on the
17 JH7100 and JH7110 RISC-V SoCs by StarFive Technology Co. Ltd.
18
19 ``sysfs`` interface
20 -------------------
21
22 The temperature sensor can be enabled, disabled and queried via the standard
23 hwmon interface in sysfs under ``/sys/class/hwmon/hwmonX`` for some value of
24 ``X``:
25
26 ================ ==== =============================================
27 Name             Perm Description
28 ================ ==== =============================================
29 temp1_enable     RW   Enable or disable temperature sensor.
30                       Automatically enabled by the driver,
31                       but may be disabled to save power.
32 temp1_input      RO   Temperature reading in milli-degrees Celsius.
33 ================ ==== =============================================