/Linux-v6.1/drivers/iio/light/ |
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 …]
|
/Linux-v6.1/Documentation/devicetree/bindings/iio/proximity/ |
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 21 - semtech,sx9310 22 - semtech,sx9311 34 vdd-supply: 37 svdd-supply: 40 "#io-channel-cells": [all …]
|
/Linux-v6.1/Documentation/driver-api/iio/ |
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).
|
/Linux-v6.1/Documentation/devicetree/bindings/thermal/ |
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 …]
|
/Linux-v6.1/Documentation/ABI/testing/ |
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 …]
|
/Linux-v6.1/Documentation/misc-devices/ |
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 …]
|
/Linux-v6.1/drivers/iio/proximity/ |
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 …]
|
/Linux-v6.1/arch/arm64/boot/dts/qcom/ |
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 …]
|
/Linux-v6.1/Documentation/w1/slaves/ |
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 …]
|
/Linux-v6.1/drivers/misc/ |
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/> 180 tristate "CS5535/CS5536 Geode Multi-Function General Purpose Timer (MFGPT) support" 187 than the generic PIT, and are suitable for use as high-res timers. 203 tristate "CS5535/CS5536 high-res timer (MFGPT) events" 209 generic PIT, and are suitable for use as high-res timers. [all …]
|
/Linux-v6.1/Documentation/hwmon/ |
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 …]
|
/Linux-v6.1/arch/powerpc/include/asm/ |
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 …]
|
/Linux-v6.1/arch/arm64/boot/dts/freescale/ |
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 …]
|
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 …]
|
D | fsl-ls1088a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for NXP Layerscape-1088A family SoC. 5 * Copyright 2017-2020 NXP 10 #include <dt-bindings/clock/fsl,qoriq-clockgen.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/thermal/thermal.h> 16 interrupt-parent = <&gic>; 17 #address-cells = <2>; 18 #size-cells = <2>; 26 #address-cells = <1>; [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/media/ |
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 …]
|
/Linux-v6.1/Documentation/admin-guide/media/ |
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 …]
|
/Linux-v6.1/drivers/thermal/ |
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 …]
|
/Linux-v6.1/drivers/iio/adc/ |
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 …]
|
/Linux-v6.1/include/linux/ |
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 195 * struct i2c_device_identity - i2c client device identification [all …]
|
/Linux-v6.1/Documentation/userspace-api/media/v4l/ |
D | ext-ctrls-camera.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _camera-controls: 10 digital) features of a device such as controllable lenses or sensors. 13 .. _camera-control-id: 23 .. _v4l2-exposure-auto-type: 28 enum v4l2_exposure_auto_type - 37 .. flat-table:: 38 :header-rows: 0 39 :stub-columns: 0 41 * - ``V4L2_EXPOSURE_AUTO`` [all …]
|
/Linux-v6.1/drivers/hwmon/ |
D | asb100.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * asb100.c - Part of lm_sensors, Linux kernel modules for hardware 10 * Copyright (C) 1998 - 2003 Frodo Looijaard <frodol@dds.nl>, 17 * ASB100-A "BACH". 19 * ASB100-A supports pwm1, while plain ASB100 does not. There is no known 32 #include <linux/hwmon-sysfs.h> 33 #include <linux/hwmon-vid.h> 48 /* Voltage IN registers 0-6 */ 53 /* FAN IN registers 1-3 */ 57 /* TEMPERATURE registers 1-4 */ [all …]
|
D | w83627hf.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * w83627hf.c - Part of lm_sensors, Linux kernel modules for hardware 5 * Copyright (c) 1998 - 2003 Frodo Looijaard <frodol@dds.nl>, 9 * Copyright (c) 2007 - 1012 Jean Delvare <jdelvare@suse.de> 37 #include <linux/hwmon-sysfs.h> 38 #include <linux/hwmon-vid.h> 59 "Initialize the i2c address of the sensors"); 102 outb(reg, sio->sioaddr); in superio_outb() 103 outb(val, sio->sioaddr + 1); in superio_outb() 109 outb(reg, sio->sioaddr); in superio_inb() [all …]
|
D | via686a.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * via686a.c - Part of lm_sensors, Linux kernel modules 6 * Copyright (c) 1998 - 2002 Frodo Looijaard <frodol@dds.nl>, 11 * (Some conversion-factor data were contributed by Jonathan Teh Soon Yew 18 * Warning - only supports a single device. 29 #include <linux/hwmon-sysfs.h> 46 "Initialize the base address of the sensors"); 51 * The Via 686a southbridge has a LM78-like chip integrated on the same IC. 63 /* ins numbered 0-4 */ 68 /* fans numbered 1-2 */ [all …]
|
/Linux-v6.1/Documentation/driver-api/media/ |
D | v4l2-subdev.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 V4L2 sub-devices 4 ---------------- 6 Many drivers need to communicate with sub-devices. These devices can do all 8 encoding or decoding. For webcams common sub-devices are sensors and camera 12 driver with a consistent interface to these sub-devices the 13 :c:type:`v4l2_subdev` struct (v4l2-subdev.h) was created. 15 Each sub-device driver must have a :c:type:`v4l2_subdev` struct. This struct 16 can be stand-alone for simple sub-devices or it might be embedded in a larger 18 low-level device struct (e.g. ``i2c_client``) that contains the device data as [all …]
|