/freebsd/sys/contrib/device-tree/Bindings/hwmon/ |
H A D | ibm,opal-sensor.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/hwmon/ibm,opal-sensor.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Javier Carrasco <javier.carrasco.cruz@gmail.com> 15 - ibm,opal-sensor-cooling-fan 16 - ibm,opal-sensor-amb-temp 17 - ibm,opal-sensor-power-supply 18 - ibm,opal-sensor-power 20 sensor-id: [all …]
|
H A D | ibmpowernv.txt | 2 ---------------------------- 5 - compatible: must be one of 6 "ibm,opal-sensor-cooling-fan" 7 "ibm,opal-sensor-amb-temp" 8 "ibm,opal-sensor-power-supply" 9 "ibm,opal-sensor-power" 10 - sensor-id: an opaque id provided by the firmware to the kernel, identifies a 11 given sensor and its attribute data 15 cooling-fan#8-data { 16 sensor-id = <0x7052107>; [all …]
|
H A D | nuvoton,nct7802.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $id: http://devicetree.org/schemas/hwmon/nuvoton,nct7802.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Guenter Roeck <linux@roeck-us.net> 14 The NCT7802Y is a hardware monitor IC which supports one on-die and up to 18 https://www.nuvoton.com/export/resource-files/Nuvoton_NCT7802Y_Datasheet_V12.pdf 25 - nuvoton,nct7802 30 "#address-cells": 33 "#size-cells": [all …]
|
/freebsd/sys/arm/nvidia/ |
H A D | tegra_soctherm.c | 1 /*- 52 #include <dt-bindings/thermal/tegra124-soctherm.h> 55 /* Per sensors registers - base is 0x0c0*/ 131 #define WR4(_sc, _r, _v) bus_write_4((_sc)->mem_res, (_r), (_v)) 132 #define RD4(_sc, _r) bus_read_4((_sc)->mem_res, (_r)) 155 int id; member 204 .id = TEGRA124_SOCTHERM_SENSOR_CPU, 208 .fuse_corr_beta = -6266900, 212 .id = -1, 216 .fuse_corr_beta = -5700700, [all …]
|
/freebsd/sys/dev/sfxge/common/ |
H A D | mcdi_mon.c | 1 /*- 2 * Copyright (c) 2009-2016 Solarflare Communications Inc. 40 /* Get port mask from one-based MCDI port number */ 41 #define MCDI_MON_PORT_MASK(_emip) (1U << ((_emip)->emi_port - 1)) 56 efx_mcdi_iface_t *emip = &(enp->en_mcdi.em_emip); in mcdi_mon_decode_stats() 58 uint16_t sensor; in mcdi_mon_decode_stats() local 73 EFSYS_ASSERT(emip->emi_port > 0); /* MCDI port number is one-based */ in mcdi_mon_decode_stats() 79 * The MCDI sensor readings in the DMA buffer are a packed array of in mcdi_mon_decode_stats() 82 * sensor readings do not include entries for the per-page NEXT_PAGE in mcdi_mon_decode_stats() 88 for (sensor = 0; sensor < sensor_max; ++sensor) { in mcdi_mon_decode_stats() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/powerpc/opal/ |
H A D | sensor-groups.txt | 1 IBM OPAL Sensor Groups Binding 2 ------------------------------- 4 Node: /ibm,opal/sensor-groups 6 Description: Contains sensor groups available in the Powernv P9 7 servers. Each child node indicates a sensor group. 9 - compatible : Should be "ibm,opal-sensor-group" 13 - type : String to indicate the type of sensor-group 15 - sensor-group-id: Abstract unique identifier provided by firmware of 16 type <u32> which is used for sensor-group 20 - ibm,chip-id : Chip ID [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/thermal/ |
H A D | thermal.txt | 15 - thermal sensors: devices which may be used to take temperature 17 - cooling devices: devices which may be used to dissipate heat. 18 - trip points: describe key temperatures at which cooling is recommended. The 20 - cooling maps: used to describe links between trip points and cooling devices; 21 - thermal zones: used to describe thermal data within the hardware; 25 * Thermal sensor devices 27 Thermal sensor devices are nodes providing temperature sensing capabilities on 29 nodes providing temperature data to thermal zones. Thermal sensor devices may 33 - #thermal-sensor-cells: Used to provide sensor device specific information 34 Type: unsigned while referring to it. Typically 0 on thermal sensor [all …]
|
H A D | sprd-thermal.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/sprd-thermal.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Spreadtrum thermal sensor controller 10 - Orson Zhai <orsonzhai@gmail.com> 11 - Baolin Wang <baolin.wang7@gmail.com> 12 - Chunyan Zhang <zhang.lyra@gmail.com> 14 $ref: thermal-sensor.yaml# 18 const: sprd,ums512-thermal [all …]
|
H A D | thermal-sensor.yaml | 1 # SPDX-License-Identifier: (GPL-2.0) 4 --- 5 $id: http://devicetree.org/schemas/thermal/thermal-sensor.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Thermal sensor 11 - Amit Kucheria <amitk@kernel.org> 14 Thermal management is achieved in devicetree by describing the sensor hardware 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 [all …]
|
H A D | generic-adc-thermal.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/thermal/generic-adc-thermal.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: General Purpose Analog To Digital Converter (ADC) based thermal sensor 10 - Laxman Dewangan <ldewangan@nvidia.com> 13 On some of platforms, thermal sensor like thermistors are connected to 14 one of ADC channel and sensor resistance is read via voltage across the 15 sensor resistor. The voltage read across the sensor is mapped to 16 temperature using voltage-temperature lookup table. [all …]
|
H A D | nvidia,tegra124-soctherm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/nvidia,tegra124-soctherm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 14 polled or interrupt-based thermal monitoring, CPU and GPU throttling based 21 - nvidia,tegra124-soctherm 22 - nvidia,tegra132-soctherm 23 - nvidia,tegra210-soctherm [all …]
|
H A D | hisilicon,tsensor.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/thermal/hisilicon,tsensor.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Temperature Sensor on HiSilicon SoCs 10 - Abdulrasaq Lawani <abdulrasaqolawani@gmail.com> 13 - $ref: thermal-sensor.yaml 18 - hisilicon,tsensor 19 - hisilicon,hi3660-tsensor 27 clock-names: [all …]
|
H A D | imx8mm-thermal.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/thermal/imx8mm-thermal.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Shawn Guo <shawnguo@kernel.org> 11 - Sascha Hauer <s.hauer@pengutronix.de> 12 - Fabio Estevam <festevam@gmail.com> 18 for i.MX8MM which has ONLY 1 sensor, v2 is for i.MX8MP which has 21 $ref: thermal-sensor.yaml# 26 - enum: [all …]
|
H A D | rzg2l-thermal.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/rzg2l-thermal.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas RZ/G2L Thermal Sensor Unit 10 On RZ/G2L SoCs, the thermal sensor unit (TSU) measures the 14 - Biju Das <biju.das.jz@bp.renesas.com> 16 $ref: thermal-sensor.yaml# 21 - enum: 22 - renesas,r9a07g043-tsu # RZ/G2UL and RZ/Five [all …]
|
H A D | allwinner,sun8i-a83t-ths.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/thermal/allwinner,sun8i-a83t-ths.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vasily Khoruzhick <anarsoul@gmail.com> 11 - Yangtao Li <tiny.windzz@gmail.com> 13 $ref: thermal-sensor.yaml# 18 - allwinner,sun8i-a83t-ths 19 - allwinner,sun8i-h3-ths 20 - allwinner,sun8i-r40-ths [all …]
|
/freebsd/sys/dev/iicbus/sensor/ |
H A D | max6690.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 52 /* Inlet, Backside, U3 Heatsink sensor: MAX6690. */ 65 int id; member 100 static MALLOC_DEFINE(M_MAX6690, "max6690", "Temp-Monitor MAX6690"); 136 return (-1); in max6690_read() 154 if (strcmp(name, "temp-monitor") != 0 || in max6690_probe() 159 sc->sc_dev = dev; in max6690_probe() 160 sc->sc_addr = iicbus_get_addr(dev); in max6690_probe() 162 device_set_desc(dev, "Temp-Monitor MAX6690"); in max6690_probe() [all …]
|
/freebsd/sys/dev/iicbus/pwm/ |
H A D | adt746x.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 75 int id; member 84 int id; member 144 static MALLOC_DEFINE(M_ADT746X, "adt746x", "ADT Sensor Information"); 169 return (-1); in adt746x_write() 198 return (-1); in adt746x_read() 222 sc->sc_dev = dev; in adt746x_probe() 223 sc->sc_addr = iicbus_get_addr(dev); in adt746x_probe() 237 sc->enum_hook.ich_func = adt746x_start; in adt746x_attach() [all …]
|
/freebsd/sys/dev/acpi_support/ |
H A D | atk0110.c | 43 * -- Constantine A. Murenin <http://cnst.su/> 137 sc->sc_dev = dev; in aibs_attach() 138 sc->sc_ah = acpi_get_handle(dev); in aibs_attach() 140 sc->sc_ggrp_method = false; in aibs_attach() 151 if (sc->sc_volt_sysctl != NULL) in aibs_attach() 152 sysctl_remove_oid(sc->sc_volt_sysctl, true, true); in aibs_attach() 153 if (sc->sc_temp_sysctl != NULL) in aibs_attach() 154 sysctl_remove_oid(sc->sc_temp_sysctl, true, true); in aibs_attach() 155 if (sc->sc_fan_sysctl != NULL) in aibs_attach() 156 sysctl_remove_oid(sc->sc_fan_sysctl, true, true); in aibs_attach() [all …]
|
/freebsd/sys/dev/iicbus/adc/ |
H A D | ad7417.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 65 int id; member 121 static MALLOC_DEFINE(M_AD7417, "ad7417", "Supply-Monitor AD7417"); 145 return (-1); in ad7417_write() 173 return (-1); in ad7417_read_1() 201 return (-1); in ad7417_read_2() 217 { addr, IIC_M_WR | IIC_M_NOSTOP, 1, &in->reg }, in ad7417_write_read() 231 in->val = *((uint16_t*)buf); in ad7417_write_read() 236 return (-1); in ad7417_write_read() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/arm/ |
H A D | arm,scpi.txt | 2 ---------------------------------------------------------- 10 - compatible : should be 12 * "arm,scpi-pre-1.0" : For implementations complying to all 14 - mboxes: List of phandle and mailbox channel specifiers 17 - shmem : List of phandle pointing to the shared memory(SHM) area between the 27 ------------------------------------------------------------ 34 - compatible : should be "arm,scpi-clocks" 36 protocol much be listed as sub-nodes under this node. 38 Sub-nodes 41 - compatible : shall include one of the following [all …]
|
/freebsd/sys/arm64/rockchip/ |
H A D | rk_tsadc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 100 #define WR4(_sc, _r, _v) bus_write_4((_sc)->mem_res, (_r), (_v)) 101 #define RD4(_sc, _r) bus_read_4((_sc)->mem_res, (_r)) 107 int id; member 153 {3800, -40000}, 154 {3792, -35000}, 155 {3783, -30000}, 156 {3774, -25000}, 157 {3765, -20000}, [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/media/i2c/ |
H A D | sony,imx274.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/i2c/sony,imx274.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Sony 1/2.5-Inch 8.51MP CMOS Digital Image Sensor 10 - Leon Luo <leonl@leopardimaging.com> 13 The Sony IMX274 is a 1/2.5-inch CMOS active pixel digital image sensor with an 15 Image data is sent through MIPI CSI-2, which is configured as 4 lanes at 1440 25 reset-gpios: 31 clock-names: [all …]
|
H A D | mipi-ccs.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) 2014--2020 Intel Corporation 4 --- 5 $id: http://devicetree.org/schemas/media/i2c/mipi-ccs.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Sakari Ailus <sakari.ailus@linux.intel.com> 15 CCS (Camera Command Set) is a raw Bayer camera sensor standard defined by the 17 <URL:https://www.mipi.org/specifications/camera-command-set>. 19 SMIA (Standard Mobile Imaging Architecture) is an image sensor standard 24 Documentation/devicetree/bindings/media/video-interfaces.txt . [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/iio/ |
H A D | common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/common.yaml# 5 $schema: http://devicetree.org/meta-schema [all...] |
/freebsd/sys/contrib/device-tree/src/arm64/freescale/ |
H A D | fsl-lx2160a-bluebox3.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 // Copyright 2020-2021 NXP 7 /dts-v1/; 9 #include "fsl-lx2160a.dtsi" 13 compatible = "fsl,lx2160a-bluebox3", "fsl,lx2160a"; 23 stdout-path = "serial0:115200n8"; 26 sb_3v3: regulator-sb3v3 { 27 compatible = "regulator-fixed"; 28 regulator-name = "MC34717-3.3VSB"; 29 regulator-min-microvolt = <3300000>; [all …]
|