1 /* SPDX-License-Identifier: GPL-2.0 */
3 * arch/arm/include/asm/therm.h: Definitions for Dallas Semiconductor
4 * DS1620 thermometer driver (as used in the Rebel.com NetWinder)
9 /* ioctl numbers for /dev/therm */
10 #define CMD_SET_THERMOSTATE 0x53
11 #define CMD_GET_THERMOSTATE 0x54
12 #define CMD_GET_STATUS 0x56
13 #define CMD_GET_TEMPERATURE 0x57
14 #define CMD_SET_THERMOSTATE2 0x58
15 #define CMD_GET_THERMOSTATE2 0x59
16 #define CMD_GET_TEMPERATURE2 0x5a
17 #define CMD_GET_FAN 0x5b
18 #define CMD_SET_FAN 0x5c
22 #define FAN_ALWAYS_ON 2