| /kernel/linux/linux-5.10/Documentation/hwmon/ |
| D | occ.rst | 1 Kernel driver occ-hwmon 12 ----------- 14 This driver supports hardware monitoring for the On-Chip Controller (OCC) 15 embedded on POWER processors. The OCC is a device that collects and aggregates 16 sensor data from the processor and the system. The OCC can provide the raw 17 sensor data as well as perform thermal and power management on the system. 20 manually if an "ibm,p8-occ-hwmon" compatible device is found under the 21 appropriate I2C bus node in the device-tree. 23 The P9 version of this driver is a client driver of the FSI-based OCC driver. 24 It will be probed automatically by the FSI-based OCC driver. [all …]
|
| /kernel/linux/linux-6.6/Documentation/hwmon/ |
| D | occ.rst | 1 Kernel driver occ-hwmon 12 ----------- 14 This driver supports hardware monitoring for the On-Chip Controller (OCC) 15 embedded on POWER processors. The OCC is a device that collects and aggregates 16 sensor data from the processor and the system. The OCC can provide the raw 17 sensor data as well as perform thermal and power management on the system. 20 manually if an "ibm,p8-occ-hwmon" compatible device is found under the 21 appropriate I2C bus node in the device-tree. 23 The P9 version of this driver is a client driver of the FSI-based OCC driver. 24 It will be probed automatically by the FSI-based OCC driver. [all …]
|
| D | aquacomputer_d5next.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 3 Kernel driver aquacomputer-d5next 14 * Aquacomputer High Flow Next sensor 23 ----------- 30 speed (in RPM), power, voltage and current. Temperature offsets and fan speeds 33 For the D5 Next pump, available sensors are pump and fan speed, power, voltage 35 available through debugfs are the serial number, firmware version and power-on 37 temperature curves directly from the pump. If it's not connected, the fan-related 47 eight PWM controllable fans, along with their speed (in RPM), power, voltage and 51 sensor and four PWM controllable fans, along with their speed (in RPM), power, [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/ |
| D | trivial-devices.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/trivial-devices.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 27 spi-max-frequency: true 31 - enum: 32 # Acbel fsg032 power supply 33 - acbel,fsg032 34 … # SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin [all …]
|
| /kernel/linux/linux-6.6/drivers/hid/amd-sfh-hid/hid_descriptor/ |
| D | amd_sfh_hid_report_desc.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * Copyright 2020-2021 Advanced Micro Devices, Inc. 5 * Authors: Nehal Bakulchandra Shah <Nehal-bakulchandra.shah@amd.com> 13 // Accelerometer 3D Sensor 21 0x05, 0x20, /* HID usage page sensor */ 22 0x0A, 0x09, 0x03, /* Sensor property and sensor connection type */ 28 0x0A, 0x30, 0x08, /* Sensor property connection type intergated sel*/ 29 0x0A, 0x31, 0x08, /* Sensor property connection type attached sel */ 30 0x0A, 0x32, 0x08, /* Sensor property connection type external sel */ 33 0x0A, 0x16, 0x03, /* HID usage sensor property reporting state */ [all …]
|
| /kernel/linux/linux-5.10/drivers/hwmon/occ/ |
| D | common.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 #include <linux/hwmon-sysfs.h> 31 /* OCC sensor type and version definitions */ 127 u16 checksum = occ->poll_cmd_data + occ->seq_no + 1; in occ_poll() 132 cmd[0] = occ->seq_no++; /* sequence number */ in occ_poll() 136 cmd[4] = occ->poll_cmd_data; /* data */ in occ_poll() 142 rc = occ->send_cmd(occ, cmd); in occ_poll() 144 occ->last_error = rc; in occ_poll() 145 if (occ->error_count++ > OCC_ERROR_COUNT_THRESHOLD) in occ_poll() 146 occ->error = rc; in occ_poll() [all …]
|
| /kernel/linux/linux-6.6/drivers/hwmon/occ/ |
| D | common.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 #include <linux/hwmon-sysfs.h> 32 /* OCC sensor type and version definitions */ 144 cmd[4] = occ->poll_cmd_data; /* data */ in occ_poll() 149 rc = occ->send_cmd(occ, cmd, sizeof(cmd), &occ->resp, sizeof(occ->resp)); in occ_poll() 151 occ->last_error = rc; in occ_poll() 152 if (occ->error_count++ > OCC_ERROR_COUNT_THRESHOLD) in occ_poll() 153 occ->error = rc; in occ_poll() 159 occ->error_count = 0; in occ_poll() 160 occ->last_error = 0; in occ_poll() [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/aspeed/ |
| D | aspeed-bmc-facebook-yosemite4.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/leds/leds-pca955x.h> 8 #include <dt-bindings/i2c/i2c.h> 12 compatible = "facebook,yosemite4-bmc", "aspeed,ast2600"; 23 stdout-path = "serial4:57600n8"; 31 iio-hwmon { 32 compatible = "iio-hwmon"; [all …]
|
| /kernel/linux/linux-6.6/Documentation/driver-api/media/ |
| D | camera-sensor.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 Writing camera sensor drivers 6 CSI-2 and parallel (BT.601 and BT.656) busses 7 --------------------------------------------- 9 Please see :ref:`transmitter-receiver`. 12 --------------- 23 elsewhere. Therefore only the pre-determined frequencies are configurable by the 29 Read the ``clock-frequency`` _DSD property to denote the frequency. The driver 35 The currently preferred way to achieve this is using ``assigned-clocks``, 36 ``assigned-clock-parents`` and ``assigned-clock-rates`` properties. See [all …]
|
| /kernel/linux/linux-5.10/drivers/hwmon/ |
| D | scpi-hwmon.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * System Control and Power Interface(SCPI) based hwmon sensor driver 45 [POWER] = 1000000, /* (microwatts) */ 53 [POWER] = 1000000, /* (microwatts) */ 57 static void scpi_scale_reading(u64 *value, struct sensor_data *sensor) in scpi_scale_reading() argument 59 if (scpi_scale[sensor->info.class] != sensor->scale) { in scpi_scale_reading() 60 *value *= scpi_scale[sensor->info.class]; in scpi_scale_reading() 61 do_div(*value, sensor->scale); in scpi_scale_reading() 68 struct scpi_sensors *scpi_sensors = zone->scpi_sensors; in scpi_read_temp() 69 struct scpi_ops *scpi_ops = scpi_sensors->scpi_ops; in scpi_read_temp() [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 sensors-detect script from the lm_sensors package. Read 21 <file:Documentation/hwmon/userspace-tools.rst> for details. 46 If you say yes here you get support for the thermal sensor part 52 will be called abx500-temp. 58 If you say yes here you get support for the sensor part of the first 73 If you say yes here you get support for the sensor part of the 118 and ADM1023 sensor chips and clones: Maxim MAX1617 and MAX1617A, 130 and Philips NE1619 sensor chips. 141 sensor chip. [all …]
|
| D | scmi-hwmon.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * System Control and Management Interface(SCMI) based hwmon sensor driver 25 while (x--) in __pow10() 31 static int scmi_hwmon_scale(const struct scmi_sensor_info *sensor, u64 *value) in scmi_hwmon_scale() argument 33 s8 scale = sensor->scale; in scmi_hwmon_scale() 36 switch (sensor->type) { in scmi_hwmon_scale() 42 case POWER: in scmi_hwmon_scale() 54 return -E2BIG; in scmi_hwmon_scale() 70 const struct scmi_sensor_info *sensor; in scmi_hwmon_read() local 72 const struct scmi_handle *h = scmi_sensors->handle; in scmi_hwmon_read() [all …]
|
| /kernel/linux/linux-6.6/drivers/hwmon/ |
| D | scpi-hwmon.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * System Control and Power Interface(SCPI) based hwmon sensor driver 45 [POWER] = 1000000, /* (microwatts) */ 53 [POWER] = 1000000, /* (microwatts) */ 57 static void scpi_scale_reading(u64 *value, struct sensor_data *sensor) in scpi_scale_reading() argument 59 if (scpi_scale[sensor->info.class] != sensor->scale) { in scpi_scale_reading() 60 *value *= scpi_scale[sensor->info.class]; in scpi_scale_reading() 61 do_div(*value, sensor->scale); in scpi_scale_reading() 68 struct scpi_sensors *scpi_sensors = zone->scpi_sensors; in scpi_read_temp() 69 struct scpi_ops *scpi_ops = scpi_sensors->scpi_ops; in scpi_read_temp() [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 sensors-detect script from the lm_sensors package. Read 21 <file:Documentation/hwmon/userspace-tools.rst> for details. 45 If you say yes here you get support for the sensor part of the first 60 If you say yes here you get support for the sensor part of the 75 current and power sensors of Ampere's Altra processor family SoC 76 with SMpro co-processor. 114 and ADM1023 sensor chips and clones: Maxim MAX1617 and MAX1617A, 126 and Philips NE1619 sensor chips. 137 sensor chip. [all …]
|
| D | aquacomputer_d5next.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * sensor values, except for devices that communicate through the 97 /* Info, sensor sizes and offsets for most Aquacomputer devices */ 122 /* Sensor report offsets for Aquaero fan controllers */ 146 /* Sensor report offsets for the D5 Next pump */ 157 #define D5NEXT_TEMP_CTRL_OFFSET 0x2D /* Temperature sensor offsets location */ 158 static u16 d5next_ctrl_fan_offsets[] = { 0x97, 0x42 }; /* Pump and fan speed (from 0-100%) */ 165 /* Sensor report offsets for the Aquastream Ultimate pump */ 180 /* Spec and sensor report offset for the Farbwerk RGB controller */ 189 /* Sensor report offsets for the Farbwerk 360 */ [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/media/ |
| D | camera-sensor.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 Writing camera sensor drivers 6 CSI-2 7 ----- 12 --------------- 23 elsewhere. Therefore only the pre-determined frequencies are configurable by the 27 ---------- 32 Freely configurable camera sensor drivers 35 Freely configurable camera sensor drivers expose the device's internal 36 processing pipeline as one or more sub-devices with different cropping and [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/hwmon/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/hwmon/ |
| 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 …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | scmi_protocol.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2018-2021 ARM Ltd. 21 * struct scmi_revision_info - version information structure 30 * @impl_ver: A vendor-specific implementation version. 32 * @sub_vendor_id: A sub-vendor identifier(Null terminated ASCII string) 74 * struct scmi_clk_proto_ops - represents the various operations provided 106 * struct scmi_perf_proto_ops - represents the various operations provided 122 * @est_power_get: gets the estimated power cost for a given performance domain 126 * @power_scale_mw_get: indicates if the power values provided are in milliWatts 151 unsigned long *rate, unsigned long *power); [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/thermal/ |
| D | rcar-gen3-thermal.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 4 --- 5 $id: http://devicetree.org/schemas/thermal/rcar-gen3-thermal.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Renesas R-Car Gen3 Thermal Sensor 11 On most R-Car Gen3 and later SoCs, the thermal sensor controllers (TSC) 16 - Niklas Söderlund <niklas.soderlund@ragnatech.se> 21 - renesas,r8a774a1-thermal # RZ/G2M 22 - renesas,r8a774b1-thermal # RZ/G2N 23 - renesas,r8a774e1-thermal # RZ/G2H [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/ |
| D | trivial-devices.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/trivial-devices.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 28 - enum: 29 … # SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin 30 - ad,ad7414 31 # ADM9240: Complete System Hardware Monitor for uProcessor-Based Systems 32 - ad,adm9240 [all …]
|
| /kernel/linux/linux-6.6/Documentation/w1/slaves/ |
| D | w1_therm.rst | 9 * GXCAS GX20MH01 temperature sensor. 16 ----------- 49 -1 if at least one sensor still in conversion, 1 if conversion is complete 50 but at least one sensor value has not been read yet. Result temperature is 53 read is sent but one sensor is not read immediately, the next access to 67 completion. Options 2, 3 can't be used in parasite power mode. To get back to 71 precision of the sensor for the next readings. Allowed resolutions are defined by 72 the sensor. Resolution is reset when the sensor gets power-cycled. 79 ``resolution`` entry on each device, if supported by the sensor. 81 Some non-genuine DS18B20 chips are fixed in 12-bit mode only, so the actual [all …]
|
| /kernel/linux/linux-5.10/Documentation/w1/slaves/ |
| D | w1_therm.rst | 9 * GXCAS GC20MH01 temperature sensor. 15 ----------- 48 -1 if at least one sensor still in conversion, 1 if conversion is complete 49 but at least one sensor value has not been read yet. Result temperature is 52 read is sent but one sensor is not read immediately, the next access to 66 completion. Options 2, 3 can't be used in parasite power mode. To get back to 70 precision of the sensor for the next readings. Allowed resolutions are defined by 71 the sensor. Resolution is reset when the sensor gets power-cycled. 78 ``resolution`` entry on each device, if supported by the sensor. 80 Some non-genuine DS18B20 chips are fixed in 12-bit mode only, so the actual [all …]
|
| /kernel/linux/linux-5.10/include/linux/iio/common/ |
| D | st_sensors.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright 2012-2013 STMicroelectronics Inc. 62 .shift = sbits - rbits, \ 118 * struct st_sensor_bdu - ST sensor device block data update 128 * struct st_sensor_das - ST sensor device data alignment selection 138 * struct st_sensor_int_drdy - ST sensor device drdy line parameters 152 * struct st_sensor_data_ready_irq - ST sensor device data-ready interrupt 153 * struct int1 - data-ready configuration register for INT1 pin. 154 * struct int2 - data-ready configuration register for INT2 pin. 157 * struct stat_drdy - status register of DRDY (data ready) interrupt. [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/ |
| D | arm,scpi.txt | 1 System Control and Power Interface (SCPI) Message Protocol 2 ---------------------------------------------------------- 6 by Linux to initiate various system control and power operations. 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. [all …]
|