1 .. SPDX-License-Identifier: GPL-2.0 1 .. SPDX-License-Identifier: GPL-2.0 2 2 3 Kernel driver sfctemp 3 Kernel driver sfctemp 4 ===================== 4 ===================== 5 5 6 Supported chips: 6 Supported chips: 7 - StarFive JH7100 7 - StarFive JH7100 8 - StarFive JH7110 8 - StarFive JH7110 9 9 10 Authors: 10 Authors: 11 - Emil Renner Berthing <kernel@esmil.dk> 11 - Emil Renner Berthing <kernel@esmil.dk> 12 12 13 Description 13 Description 14 ----------- 14 ----------- 15 15 16 This driver adds support for reading the built 16 This driver adds support for reading the built-in temperature sensor on the 17 JH7100 and JH7110 RISC-V SoCs by StarFive Tech 17 JH7100 and JH7110 RISC-V SoCs by StarFive Technology Co. Ltd. 18 18 19 ``sysfs`` interface 19 ``sysfs`` interface 20 ------------------- 20 ------------------- 21 21 22 The temperature sensor can be enabled, disable 22 The temperature sensor can be enabled, disabled and queried via the standard 23 hwmon interface in sysfs under ``/sys/class/hw 23 hwmon interface in sysfs under ``/sys/class/hwmon/hwmonX`` for some value of 24 ``X``: 24 ``X``: 25 25 26 ================ ==== ======================== 26 ================ ==== ============================================= 27 Name Perm Description 27 Name Perm Description 28 ================ ==== ======================== 28 ================ ==== ============================================= 29 temp1_enable RW Enable or disable temper 29 temp1_enable RW Enable or disable temperature sensor. 30 Automatically enabled by 30 Automatically enabled by the driver, 31 but may be disabled to s 31 but may be disabled to save power. 32 temp1_input RO Temperature reading in m 32 temp1_input RO Temperature reading in milli-degrees Celsius. 33 ================ ==== ======================== 33 ================ ==== =============================================
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.