/openbmc/linux/Documentation/devicetree/bindings/thermal/ |
H A D | qcom-tsens.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 --- 5 $id: http://devicetree.org/schemas/thermal/qcom-tsens.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Amit Kucheria <amitk@kernel.org> 22 - description: msm8960 TSENS based 24 - enum: 25 - qcom,ipq8064-tsens 26 - qcom,msm8960-tsens 28 - description: v0.1 of TSENS [all …]
|
/openbmc/linux/drivers/iio/light/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 # Light sensors 8 menu "Light sensors" 21 be called acpi-als. 24 tristate "ADJD-S311-CR999 digital color sensor" 29 If you say yes here you get support for the Avago ADJD-S311-CR999 109 BH1750, BH1751 ambient light sensors. 177 tristate "ChromeOS EC Light and Proximity Sensors" 180 Say Y here if you use the light and proximity sensors 191 Say Y here if you have a Sharp GP2AP002 proximity/ALS combo-chip [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/proximity/ |
H A D | semtech,sx9310.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Daniel Campello <campello@chromium.org> 16 https://www.semtech.com/products/smart-sensing/sar-sensors/sx9310 19 - $ref: /schemas/iio/iio.yaml# 24 - semtech,sx9310 25 - semtech,sx9311 37 vdd-supply: 40 svdd-supply: [all …]
|
/openbmc/linux/Documentation/driver-api/iio/ |
H A D | intro.rst | 9 analog-to-digital conversion (ADC) or digital-to-analog conversion (DAC) 12 sensors used to monitor and control the system itself, like fan speed control 25 * color and light sensors 27 * pressure sensors 28 * proximity sensors 29 * temperature sensors 31 Usually these sensors are connected via :doc:`SPI <../spi>` or 32 :doc:`I2C <../i2c>`. A common use case of the sensors devices is to have 33 combined functionality (e.g. light plus proximity sensor).
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-driver-hid-wiimote | 22 be combined with the other two. 24 Starting with kernel-version 3.11 Motion Plus hotplugging is 26 extension. You will get uevent notifications for the motion-plus 40 Other strings for each device-type are available and may be 41 added if new device-specific detections are added. 57 values for all 4 sensors. The values are separated by colons and 59 First, 0kg values for all 4 sensors are written, followed by the 60 17kg values for all 4 sensors and last the 34kg values for all 4 61 sensors. 64 values but may be used by user-space to perform other [all …]
|
/openbmc/linux/Documentation/misc-devices/ |
H A D | bh1770glc.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 - ROHM BH1770GLC 10 - OSRAM SFH7770 19 ----------- 20 BH1770GLC and SFH7770 are combined ambient light and proximity sensors. 28 Proximity part contains IR-led driver up to 3 IR leds. The chip measures 49 ----- 52 RO - shows detected chip type and version 55 RW - enable / disable chip 59 - 1 enables the chip [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | sc7180-trogdor-lazor.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /* This file must be included after sc7180-trogdor.dtsi */ 9 #include <arm/cros-ec-keyboard.dtsi> 12 semtech,cs0-ground; 13 semtech,combined-sensors = <3>; 15 semtech,startup-sensor = <0>; 16 semtech,proxraw-strength = <8>; 17 semtech,avg-pos-strength = <64>; 35 clock-frequency = <400000>; 38 compatible = "hid-over-i2c"; [all …]
|
H A D | ipq9574.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 5 * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved. 9 #include <dt-bindings/clock/qcom,apss-ipq.h> 10 #include <dt-bindings/clock/qcom,ipq9574-gcc.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/reset/qcom,ipq9574-gcc.h> 13 #include <dt-bindings/thermal/thermal.h> 16 interrupt-parent = <&intc>; 17 #address-cells = <2>; 18 #size-cells = <2>; [all …]
|
H A D | ipq8074.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/clock/qcom,gcc-ipq8074.h> 10 #address-cells = <2>; 11 #size-cells = <2>; 15 interrupt-parent = <&intc>; 19 compatible = "fixed-clock"; 20 clock-frequency = <32768>; 21 #clock-cells = <0>; 25 compatible = "fixed-clock"; [all …]
|
/openbmc/linux/drivers/iio/proximity/ |
H A D | sx9310.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * linux-driver-SX9310_NoSmartHSensing>. 259 ret = regmap_write(data->regmap, SX9310_REG_SENSOR_SEL, chan->channel); in sx9310_read_prox_data() 263 return regmap_bulk_read(data->regmap, chan->address, val, sizeof(*val)); in sx9310_read_prox_data() 275 ret = regmap_read(data->regmap, SX9310_REG_PROX_CTRL0, &val); in sx9310_wait_for_sample() 292 ret = regmap_read(data->regmap, SX9310_REG_PROX_CTRL3, ®val); in sx9310_read_gain() 296 switch (chan->channel) { in sx9310_read_gain() 306 return -EINVAL; in sx9310_read_gain() 319 ret = regmap_read(data->regmap, SX9310_REG_PROX_CTRL0, ®val); in sx9310_read_samp_freq() 337 if (chan->type != IIO_PROXIMITY) in sx9310_read_raw() [all …]
|
/openbmc/linux/Documentation/w1/slaves/ |
H A D | w1_therm.rst | 7 * Maxim ds18*20 based temperature sensors. 8 * Maxim ds1825 based temperature sensors. 16 ----------- 49 -1 if at least one sensor still in conversion, 1 if conversion is complete 72 the sensor. Resolution is reset when the sensor gets power-cycled. 81 Some non-genuine DS18B20 chips are fixed in 12-bit mode only, so the actual 86 The write-only sysfs entry ``eeprom_cmd`` is an alternative for EEPROM operations. 94 Values shall be space separated and in the device range (typical -55 degC 106 be force-enabled. 118 location of the chip in the 1-wire bus without needing pre-existing [all …]
|
/openbmc/entity-manager/ |
H A D | CONFIG_FORMAT.md | 13 - Configuration files will get replicated and built to support hundreds of 19 - Reactor writers tend to be domain experts on their subsystem, and 30 - Hardware constraints, bugs, and oddities are generally found over time. The 35 - Having separate config files reduces the number of platforms that need to 39 - Having one config file per piece of hardware makes it much easier and clear 41 - Note: This is a "guideline" not a "rule". There are many cases of hardware 44 - Example: SAS modules and cards made by the same company, on the same 46 - Non-Example: Power supplies. While all pmbus power supplies appear 51 3. Configuration files are not a long-ter [all...] |
/openbmc/linux/drivers/net/ethernet/wangxun/txgbe/ |
H A D | txgbe_type.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright (c) 2015 - 2022 Beijing WangXun Technology Co., Ltd. */ 38 /* Combined interface*/ 47 #define TXGBE_MIS_PRB_CTL_LAN_UP(_i) BIT(1 - (_i)) 54 /* Sensors for PVT(Process Voltage Temperature) */ 131 #define TXGBE_INTR_MISC(A) BIT((A)->num_q_vectors) 132 #define TXGBE_INTR_QALL(A) (TXGBE_INTR_MISC(A) - 1) 142 return wx->priv; in netdev_to_txgbe()
|
/openbmc/linux/drivers/misc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 27 See Documentation/misc-devices/ad525x_dpot.rst for the 40 module will be called ad525x_dpot-i2c. 51 module will be called ad525x_dpot-spi. 65 This option enables device driver support for in-band access to the 78 website <https://www-03.ibm.com/systems/info/x86servers/serverproven/compat/us/> 189 called smpro-errmon. 199 called smpro-misc. 202 tristate "CS5535/CS5536 Geode Multi-Function General Purpose Timer (MFGPT) support" 209 than the generic PIT, and are suitable for use as high-res timers. [all …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | lm90.rst | 10 Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e 26 Prefix: 'lm89' (no auto-detection) 58 Addresses scanned: I2C 0x4c - 0x4e 66 Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e 74 Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e 152 Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e 162 Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e 172 Addresses scanned: I2C 0x4c - 0x4d 182 Addresses scanned: I2C 0x4c - 0x4d 192 Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e [all …]
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | smu.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 25 * These commands are used to retrieve the sdb-partition-XX datas from 31 * - 0..1 : partition address 32 * - 2 : a byte containing the partition ID 33 * - 3 : length (maybe other bits are rest of header ?) 53 * --------------------- 66 * ------------------------ 115 * 0: bus number (from device-tree usually, SMU has lots of busses !) 117 * 2: device address. For combined and combined4 type transfers, this 123 * 7: combined address (device address for combined mode data phase) [all …]
|
/openbmc/linux/drivers/thermal/qcom/ |
H A D | tsens.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <linux/nvmem-consumer.h> 25 * struct tsens_irq_data - IRQ status and temperature violations 80 if (priv->num_sensors > MAX_SENSORS) in tsens_read_calibration() 81 return -EINVAL; in tsens_read_calibration() 87 ret = nvmem_cell_read_variable_le_u32(priv->dev, name, &mode); in tsens_read_calibration() 88 if (ret == -ENOENT) in tsens_read_calibration() 89 dev_warn(priv->dev, "Please migrate to separate nvmem cells for calibration data\n"); in tsens_read_calibration() 93 dev_dbg(priv->dev, "calibration mode is %d\n", mode); in tsens_read_calibration() 99 ret = nvmem_cell_read_variable_le_u32(priv->dev, name, &base1); in tsens_read_calibration() [all …]
|
/openbmc/ipmitool/ |
H A D | ChangeLog | 1 version 1.8.15 2014-11-24 2 * ID: 340 - ipmitool sol session improperly closes on packet retry 3 * ID: 277 - support for hostnames longer than 64 chars 4 * ID: 313 - ipmitool doesn't support hostname long than 64 symbols 5 * ID: 277 - Minor issue with ipmi_intf_session_set_hostname() 6 * ID: 247 - 'sensor thresh' help output is wrong 7 * ID: 324 - conflicting declaration write_fru_area() 8 * ID: 337 - Add support for 13G Dell PowerEdge 9 * ID: 325 - DDR4 DIMM Decoding Logic 10 * ID: 328 - HPM.2 fixes [all …]
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | fsl-ls208xa.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for Freescale Layerscape-2080A family SoC. 6 * Copyright 2017-2020 NXP 12 #include <dt-bindings/clock/fsl,qoriq-clockgen.h> 13 #include <dt-bindings/thermal/thermal.h> 14 #include <dt-bindings/interrupt-controller/arm-gic.h> 18 interrupt-parent = <&gic>; 19 #address-cells = <2>; 20 #size-cells = <2>; 32 #address-cells = <1>; [all …]
|
H A D | fsl-lx2160a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 // Device Tree Include file for Layerscape-LX2160A family SoC. 5 // Copyright 2018-2020 NXP 7 #include <dt-bindings/clock/fsl,qoriq-clockgen.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/thermal/thermal.h> 16 interrupt-parent = <&gic>; 17 #address-cells = <2>; 18 #size-cells = <2>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/media/ |
H A D | video-interfaces.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/video-interfaces.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sakari Ailus <sakari.ailus@linux.intel.com> 11 - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 14 Video data pipelines usually consist of external devices, e.g. camera sensors, 29 #address-cells = <1>; 30 #size-cells = <0>; 45 a common scheme using '#address-cells', '#size-cells' and 'reg' properties is [all …]
|
/openbmc/linux/drivers/thermal/ |
H A D | sprd_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/nvmem-consumer.h> 58 #define SPRD_THM_TEMP_LOW -40000 139 return -EINVAL; in sprd_thm_cal_read() 163 ratio += thm->ratio_sign * thm->ratio_off; in sprd_thm_sensor_calibration() 166 * According to the ideal slope K and ideal offset B, combined with in sprd_thm_sensor_calibration() 170 * b_cal = b + (dt_offset - 64) * 500. in sprd_thm_sensor_calibration() 172 sen->cal_slope = (thm->var_data->ideal_k * ratio) / 1000; in sprd_thm_sensor_calibration() 173 sen->cal_offset = thm->var_data->ideal_b + (dt_offset - 128) * 250; in sprd_thm_sensor_calibration() 186 * T_final = k_cal * x - b_cal. in sprd_thm_rawdata_to_temp() [all …]
|
/openbmc/linux/Documentation/admin-guide/media/ |
H A D | imx.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 ------------ 15 - Image DMA Controller (IDMAC) 16 - Camera Serial Interface (CSI) 17 - Image Converter (IC) 18 - Sensor Multi-FIFO Controller (SMFC) 19 - Image Rotator (IRT) 20 - Video De-Interlacing or Combining Block (VDIC) 26 re-ordering (for example UYVY to YUYV) within the same colorspace, and 27 packed <--> planar conversion. The IDMAC can also perform a simple [all …]
|
/openbmc/linux/drivers/iio/adc/ |
H A D | mxs-lradc-adc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 18 #include <linux/mfd/mxs-lradc.h> 43 "mxs-lradc-channel0", 44 "mxs-lradc-channel1", 45 "mxs-lradc-channel2", 46 "mxs-lradc-channel3", 47 "mxs-lradc-channel4", 48 "mxs-lradc-channel5", 52 "mxs-lradc-thresh0", 53 "mxs-lradc-thresh1", [all …]
|
/openbmc/linux/include/linux/ |
H A D | i2c.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * i2c.h - definitions for the Linux i2c bus interface 4 * Copyright (C) 1995-2000 Simon G. Vogl 5 * Copyright (C) 2013-2019 Wolfram Sang <wsa@kernel.org> 30 /* --- General options ------------------------------------------------ */ 70 * i2c_master_recv - issue a single I2C message in master receive mode 84 * i2c_master_recv_dmasafe - issue a single I2C message in master receive mode 100 * i2c_master_send - issue a single I2C message in master transmit mode 114 * i2c_master_send_dmasafe - issue a single I2C message in master transmit mode 196 * struct i2c_device_identity - i2c client device identification [all …]
|