/freebsd/sys/contrib/device-tree/Bindings/hwmon/ |
H A D | max6697.txt | 4 - compatible: 16 - reg: I2C address 20 - smbus-timeout-disable 23 - extended-range-enable 24 Only valid for MAX6581. Set to enable extended temperature range. 25 Extended temperature will be disabled if not specified. 26 - beta-compensation-enable 27 Only valid for MAX6693 and MX6694. Set to enable beta compensation on 28 remote temperature channel 1. 30 - alert-mask [all …]
|
H A D | national,lm90.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schema [all...] |
H A D | ti,tmp401.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TMP401, TPM411 and TMP43x temperature sensor 10 - Guenter Roeck <linux@roeck-us.net> 13 ±1°C Remote and Local temperature sensor 24 - ti,tmp401 25 - ti,tmp411 26 - ti,tmp431 27 - ti,tmp432 [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | tt.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2012-2014, 2019-2022, 2024 Intel Corporation 4 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH 5 * Copyright (C) 2015-2016 Intel Deutschland GmbH 17 struct iwl_mvm_tt_mgmt *tt = &mvm->thermal_throttl in iwl_mvm_enter_ctkill() 342 iwl_mvm_tt_tx_protection(struct iwl_mvm * mvm,bool enable) iwl_mvm_tt_tx_protection() argument 389 s32 temperature = mvm->temperature; iwl_mvm_tt_handler() local 618 iwl_mvm_tzone_get_temp(struct thermal_zone_device * device,int * temperature) iwl_mvm_tzone_get_temp() argument [all...] |
/freebsd/sys/dev/intel/ |
H A D | pchtherm.c | 77 int enable; member 96 PCI_DESCR("CannonLake-LP Thermal Subsystem")}, 98 PCI_DESCR("CannonLake-H Thermal Subsystem")}, 100 PCI_DESCR("CometLake-LP Thermal Subsystem")}, 102 PCI_DESCR("CometLake-H Thermal Subsystem")}, 116 device_set_desc(dev, tbl->descr); in pchtherm_probe() 123 struct pchtherm_softc *sc = oidp->oid_arg1; in pchtherm_tltemp_sysctl() 124 int regshift = oidp->oid_arg2; in pchtherm_tltemp_sysctl() 127 temp = bus_read_4(sc->tbar, PCHTHERM_REG_TL); in pchtherm_tltemp_sysctl() 135 struct pchtherm_softc *sc = oidp->oid_arg1; in pchtherm_temp_sysctl() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/regulator/ |
H A D | max8973-regulator.txt | 5 - compatible: must be one of following: 8 - reg: the i2c slave address of the regulator. It should be 0x1b. 15 -maxim,externally-enable: boolean, externally control the regulator output 16 enable/disable. 17 -maxim,enable-gpio: GPIO for enable control. If the valid GPIO is provided 18 then externally enable control will be considered. 19 -maxim,dvs-gpio: GPIO which is connected to DVS pin of device. 20 -maxim,dvs-default-state: Default state of GPIO during initialisation. 22 -maxim,enable-remote-sense: boolean, enable reote sense. 23 -maxim,enable-falling-slew-rate: boolean, enable falling slew rate. [all …]
|
H A D | maxim,max8973.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 13 - $ref: regulator.yaml# 18 - maxim,max8973 19 - maxim,max77621 21 junction-warn-millicelsius: 23 Junction warning temperature threshold in millicelsius. If die 24 temperature crosses this level then device generates the warning [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/power/supply/ |
H A D | summit,smb347-charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/summit,smb347-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David Heidelberg <david@ixit.cz> 11 - Dmitry Osipenko <digetx@gmail.com> 16 - summit,smb345 17 - summit,smb347 18 - summit,smb358 26 monitored-battery: [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/nuvoton/ |
H A D | nuvoton-npcm730-kudo.dts | 1 // SPDX-License-Identifier: GPL-2.0 4 /dts-v1/; 5 #include "nuvoton-npcm730.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 41 stdout-path = &serial3; 48 iio-hwmon { 49 compatible = "iio-hwmon"; 50 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, 55 compatible = "nuvoton,npcm750-jtag-master"; 56 #address-cells = <1>; [all …]
|
/freebsd/share/man/man4/ |
H A D | pchtherm.4 | 46 .Bd -literal 48 dev.pchtherm.0.temperature: 28.5C 63 .Bl -tag -width ".Va dev.pchtherm.%d.pch_hot_level" 64 .It Va dev.pchtherm.%d.temperature 65 Is the read-only value of the current temperature read by the sensor. 67 When the system reaches this temperature, it will shut down. 70 When temperature is under this value, system will be in T0 state. 72 When temperature is over 76 When temperature is over 82 This will not appear when sensor enable bit is locked down and the value is zero(which will show -5… [all …]
|
/freebsd/sys/dev/iicbus/rtc/ |
H A D | rv3032.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 76 #define RV3032_STATUS_TLF (1 << 6) /* Temperature Low Flag */ 77 #define RV3032_STATUS_THF (1 << 7) /* Temperature High Flag */ 79 /* Temperature registers */ 102 #define RV3032_CTRL1_TE (1 << 3) /* Periodic countdown timer enable bit */ 109 #define RV3032_CTRL2_EIE (1 << 2) /* External event interrupt enable bit */ 110 #define RV3032_CTRL2_AIE (1 << 3) /* Alarm interrupt enable bit */ 111 #define RV3032_CTRL2_TIE (1 << 4) /* Periodic countdown timer interrupt enable bit */ 112 #define RV3032_CTRL2_UIE (1 << 5) /* Periodic time update interrupt enable bit */ [all …]
|
/freebsd/sys/powerpc/conf/ |
H A D | GENERIC | 2 # GENERIC -- Generic kernel configuration file for FreeBSD/powerpc 7 # https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config 25 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 32 options PSERIES # PAPR-compliant systems 36 options PREEMPTION # Enable kernel thread preemption 45 options SOFTUPDATES # Enable FFS soft updates support 48 options UFS_GJOURNAL # Enable gjournal-based UFS journaling 49 options QUOTA # Enable dis [all...] |
H A D | GENERIC64 | 2 # GENERIC64 -- Generic kernel configuration file for FreeBSD/powerpc64 7 # https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config 25 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 33 options PSERIES # PAPR-compliant systems (e.g. IBM p) 34 options POWERNV # Non-virtualized OpenPOWER systems 38 options NUMA # Non-Uniform Memory Architecture support 39 options PREEMPTION # Enable kernel thread preemption 52 options SOFTUPDATES # Enable FFS soft updates support 55 options UFS_GJOURNAL # Enable gjourna [all...] |
/freebsd/sys/contrib/device-tree/Bindings/iio/temperature/ |
H A D | adi,ltc2983.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/temperature/adi,ltc2983.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices LTC2983, LTC2986, LTM2985 Multi-sensor Temperature system 10 - Nuno Sá <nuno.sa@analog.com> 13 Analog Devices LTC2983, LTC2984, LTC2986, LTM2985 Multi-Sensor Digital 14 Temperature Measurement Systems 16 https://www.analog.com/media/en/technical-documentation/data-sheets/2983fc.pdf 17 https://www.analog.com/media/en/technical-documentation/data-sheets/2984fb.pdf [all …]
|
/freebsd/sys/arm/allwinner/ |
H A D | aw_thermal.c | 1 /*- 144 /* Enable thermal throttling */ 175 return ((A83T_TEMP_BASE - (val * A83T_TEMP_MUL)) / A83T_TEMP_DIV); in a83t_to_temp() 183 .desc = "CPU cluster 0 temperature", 187 .desc = "CPU cluster 1 temperature", 191 .desc = "GPU temperature", 207 return ((A64_TEMP_BASE - (val * A64_TEMP_MUL)) / A64_TEMP_DIV); in a64_to_temp() 215 .desc = "CPU temperature", 219 .desc = "GPU temperature 1", 223 .desc = "GPU temperature 2", [all …]
|
H A D | aw_ts.c | 1 /*- 44 #define READ(_sc, _r) bus_read_4((_sc)->res[0], (_r)) 45 #define WRITE(_sc, _r, _v) bus_write_4((_sc)->res[0], (_r), (_v)) 72 /* Temperature Period Register */ 80 /* Temperature data register */ 104 { -1, 0 } 113 {"allwinner,sun4i-a10-ts", A10_TS}, 114 {"allwinner,sun5i-a13-ts", A13_TS}, 129 sc->temp_data = (READ(sc, TEMP_DATA) * sc->temp_step - sc->temp_offset) in aw_ts_intr() 143 if (ofw_bus_search_compatible(dev, compat_data)->ocd_data == 0) in aw_ts_probe() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/freescale/ |
H A D | imx8qm.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2019 NXP 7 #include <dt-bindings/clock/imx8-lpcg.h> 8 #include <dt-bindings/firmware/imx/rsrc.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/pinctrl/pads-imx8qm.h> 12 #include <dt-bindings/thermal/thermal.h> 15 interrupt-parent = <&gic>; 16 #address-cells = <2>; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/mediatek/ |
H A D | mt8395-kontron-3-5-sbc-i1200.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 /dts-v1/; 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/leds/common.h> 15 #include <dt-bindings/pinctrl/mt8195-pinfunc.h> 16 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h> 17 #include <dt-bindings/spmi/spmi.h> 20 model = "Kontron 3.5\"-SBC-i1200"; 21 compatible = "kontron,3-5-sbc-i1200", "mediatek,mt8395", "mediatek,mt8195"; [all …]
|
H A D | mt8188.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 7 /dts-v1/; 8 #include <dt-bindings/clock/mediatek,mt8188-clk.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/mailbox/mediatek,mt8188-gce.h> 12 #include <dt-bindings/phy/phy.h> 13 #include <dt-bindings/pinctrl/mediatek,mt8188-pinfunc.h> 14 #include <dt-bindings/power/mediatek,mt8188-power.h> 15 #include <dt-bindings/reset/mt8188-resets.h> [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/thermal/ |
H A D | thermal-idle.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/thermal/thermal-idle.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Daniel Lezcano <daniel.lezcano@linaro.org> 15 mitigate the temperature on the device by injecting idle cycles, 22 const: thermal-idle 24 A thermal-idle node describes the idle cooling device properties to 27 '#cooling-cells': 31 the cooling-maps reference. The first cell is the minimum cooling state [all …]
|
H A D | thermal-zones.yaml | 1 # SPDX-License-Identifier: (GPL-2.0) 4 --- 5 $id: http://devicetree.org/schemas/thermal/thermal-zones.yaml# 6 $schema: http://devicetree.org/meta-schemas/base.yaml# 11 - Daniel Lezcano <daniel.lezcano@linaro.org> 20 - thermal-sensor: device that measures temperature, has SoC-specific bindings 21 - cooling-device: device used to dissipate heat either passively or actively 22 - thermal-zones: a container of the following node types used to describe all 25 This binding describes the thermal-zones. 27 The polling-delay properties of a thermal-zone are bound to the maximum dT/dt [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/rockchip/ |
H A D | rk3288-veyron-speedy.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 9 #include "rk3288-veyron-chromebook.dtsi" 10 #include "rk3288-veyron-broadcom-bluetooth.dtsi" 11 #include "../cros-ec-sbs.dtsi" 15 compatible = "google,veyron-speedy-rev9", "google,veyron-speedy-rev8", 16 "google,veyron-speedy-rev7", "google,veyron-speedy-rev6", 17 "google,veyron-speedy-rev5", "google,veyron-speedy-rev4", 18 "google,veyron-speedy-rev3", "google,veyron-speedy-rev2", 19 "google,veyron-speedy", "google,veyron", "rockchip,rk3288"; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
H A D | sm6375.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,rpmcc.h> 7 #include <dt-bindings/clock/qcom,sm6375-gcc.h> 8 #include <dt-bindings/clock/qcom,sm6375-gpucc.h> 9 #include <dt-bindings/dma/qcom-gpi.h> 10 #include <dt-bindings/firmware/qcom,scm.h> 11 #include <dt-bindings/interconnect/qcom,osm-l3.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/mailbox/qcom-ipcc.h> 14 #include <dt-bindings/power/qcom-rpmpd.h> [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/ |
H A D | init.c | 1 // SPDX-License-Identifier: ISC 6 #include <linux/hwmon-sysfs.h> 18 switch (to_sensor_dev_attr(attr)->index) { in mt7921_thermal_temp_show() 21 struct mt792x_dev *mdev = phy->dev; in mt7921_thermal_temp_show() 22 int temperature; in mt7921_thermal_temp_show() local 25 temperature = mt7921_mcu_get_temperature(phy); in mt7921_thermal_temp_show() 28 if (temperature < 0) in mt7921_thermal_temp_show() 29 return temperature; in mt7921_thermal_temp_show() 31 return sprintf(buf, "%u\n", temperature * 1000); in mt7921_thermal_temp_show() 34 return -EINVAL; in mt7921_thermal_temp_show() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/nvidia/ |
H A D | tegra30-asus-nexus7-grouper-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/input/gpio-keys.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/power/summit,smb347-charger.h> 6 #include <dt-bindings/thermal/thermal.h> 9 #include "tegra30-cpu-opp.dtsi" 10 #include "tegra30-cpu-opp-microvolt.dtsi" 11 #include "tegra30-asus-lvds-display.dtsi" 27 * pre-existing /chosen node to be available to insert the 33 trusted-foundations { [all …]
|