/linux-6.14.4/drivers/iio/light/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 11 tristate "ACPI Ambient Light Sensor" 18 Ambient Light Sensor. 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 30 digital color light sensor. 36 tristate "ADUX1020 photometric sensor" 41 ADUX1020 photometric sensor. 47 tristate "AL3010 ambient light sensor" [all …]
|
D | ltr390.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * IIO driver for Lite-On LTR390 ALS and UV sensor 4 * (7-bit I2C slave address 0x53) 12 …* https://optoelectronics.liteon.com/upload/download/DS86-2015-0004/LTR-390UV_Final_%20DS_V1%201… 15 * - Support for configurable gain and resolution 16 * - Sensor suspend/resume support 17 * - Add support for reading the ALS 18 * - Interrupt support 65 * At 20-bit resolution (integration time: 400ms) and 18x gain, 2300 counts of 66 * the sensor are equal to 1 UV Index [Datasheet Page#8]. [all …]
|
D | veml6070.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * veml6070.c - Support for Vishay VEML6070 UV A light sensor 5 * Copyright 2016 Peter Meerwald-Stadler <[email protected]> 7 * IIO driver for VEML6070 (7-bit I2C slave addresses 0x38 and 0x39) 54 data->rset = 270000; in veml6070_calc_it() 55 device_property_read_u32(dev, "vishay,rset-ohms", &data->rset); in veml6070_calc_it() 57 if (data->rset < 75000 || data->rset > 1200000) in veml6070_calc_it() 58 return dev_err_probe(dev, -EINVAL, "Rset out of range\n"); in veml6070_calc_it() 64 data->rset /= KILO; in veml6070_calc_it() 66 tmp_it = VEML6070_MIN_IT_US * data->rset / VEML6070_MIN_RSET_KOHM; in veml6070_calc_it() [all …]
|
D | zopt2201.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * zopt2201.c - Support for IDT ZOPT2201 ambient light and UV B sensor 5 * Copyright 2017 Peter Meerwald-Stadler <[email protected]> 7 * Datasheet: https://www.idt.com/document/dst/zopt2201-datasheet 8 * 7-bit I2C slave addresses 0x53 (default) or 0x52 (programmed) 39 #define ZOPT2201_MAIN_CTRL_LS_MODE BIT(3) /* 0 .. ALS, 1 .. UV B */ 105 unsigned int bits; /* sensor resolution in bits */ 181 return i2c_smbus_write_byte_data(data->client, ZOPT2201_MAIN_CTRL, out); in zopt2201_enable_mode() 186 struct i2c_client *client = data->client; in zopt2201_read() 191 mutex_lock(&data->lock); in zopt2201_read() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/iio/light/ |
D | liteon,ltr390.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Lite-On LTR390 ALS and UV Sensor 10 The Lite-On LTR390 is an ALS (Ambient Light Sensor) and a UV sensor in a 14 … https://optoelectronics.liteon.com/upload/download/DS86-2015-0004/LTR-390UV_Final_%20DS_V1%201.pdf 17 - Anshul Dalal <[email protected]> 22 - liteon,ltr390 31 The sensor pulls this pin low when the measured reading is greater than 34 vdd-supply: true [all …]
|
D | st,uvis25.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ST UVIS25 uv sensor 10 - Lorenzo Bianconi <[email protected]> 25 - compatible 26 - reg 29 - | 30 #include <dt-bindings/interrupt-controller/irq.h> 32 #address-cells = <1>; [all …]
|
D | ams,as73211.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: AMS AS73211 JENCOLOR(R) Digital XYZ Sensor and AMS AS7331 UV Sensor 10 - Christian Eggers <[email protected]> 13 AMS AS73211 XYZ True Color Sensor with I2C Interface 14 …https://ams.com/documents/20143/36005/AS73211_DS000556_3-01.pdf/a65474c0-b302-c2fd-e30a-c98df87616… 15 AMS AS7331 UVA, UVB and UVC Sensor with I2C Interface 16 https://ams.com/documents/20143/9106314/AS7331_DS001047_4-00.pdf 21 - ams,as73211 [all …]
|
D | vishay,veml6075.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Javier Carrasco <[email protected]> 18 - vishay,veml6040 19 - vishay,veml6070 20 - vishay,veml6075 25 vishay,rset-ohms: 32 vdd-supply: true 35 - compatible [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/hwmon/ |
D | ntc-thermistor.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 --- 3 $id: http://devicetree.org/schemas/hwmon/ntc-thermistor.yaml# 4 $schema: http://devicetree.org/meta-schemas/core.yaml# 9 - Linus Walleij <[email protected]> 13 vary in resistance in an often non-linear way in relation to temperature. 16 temperature is non-linear, software drivers most often need to use a look 20 pull-up resistor or/and a pull-down resistor and a fixed voltage like this: 22 + e.g. 5V = pull-up voltage (puv) 24 +-+ [all …]
|
/linux-6.14.4/arch/arm/boot/dts/ti/omap/ |
D | omap443x.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 13 /* OMAP443x variants OPP50-OPPNT */ 14 operating-points = < 15 /* kHz uV */ 21 clock-latency = <300000>; /* From legacy driver */ 24 #cooling-cells = <2>; /* min followed by max */ 28 thermal-zones { 29 #include "omap4-cpu-thermal.dtsi" 37 compatible = "ti,omap4430-bandgap"; [all …]
|
D | omap4460.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 13 operating-points = < 14 /* kHz uV */ 19 clock-latency = <300000>; /* From legacy driver */ 22 #cooling-cells = <2>; /* min followed by max */ 26 thermal-zones { 27 #include "omap4-cpu-thermal.dtsi" 35 compatible = "ti,omap4460-bandgap"; 39 #thermal-sensor-cells = <0>; [all …]
|
D | omap36xx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/bus/ti-sysc.h> 9 #include <dt-bindings/media/omap3-isp.h> 21 operating-points-v2 = <&cpu0_opp_table>; 23 vbb-supply = <&abb_mpu_iva>; 24 clock-latency = <300000>; /* From omap-cpufreq driver */ 25 #cooling-cells = <2>; 29 cpu0_opp_table: opp-table { 30 compatible = "operating-points-v2-ti-cpu"; [all …]
|
/linux-6.14.4/drivers/hwmon/ |
D | ltc2990.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/hwmon-sysfs.h> 71 /* Return the converted value from the given register in uV or mC */ 101 return -EINVAL; in ltc2990_get_value() 117 /* Vx-Vy, 19.42uV/LSB */ in ltc2990_get_value() 121 /* Vcc, 305.18uV/LSB, 2.5V offset */ in ltc2990_get_value() 128 /* Vx, 305.18uV/LSB */ in ltc2990_get_value() 132 return -EINVAL; /* won't happen, keep compiler happy */ in ltc2990_get_value() 146 ret = ltc2990_get_value(data->i2c, attr->index, &value); in ltc2990_value_show() 163 (ltc2990_attrs_ena_0[data->mode[0]] & in ltc2990_attrs_visible() [all …]
|
D | tmp513.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Local Temperature Sensor and Current Shunt Monitor 12 * and Local Temperature Sensor and Current Shunt Monitor 15 * Copyright (C) 2019 Eric Tremblay <etremblay@distech-controls.com> 112 // Max possible value is -256 to +256 but datasheet indicated -40 to 125. 114 #define MIN_TEMP_LIMIT -40000 123 #define TMP51X_TEMP_CHANNEL_MASK(n) (GENMASK((n) - 1, 0) << 11) 185 // Set the shift based on the gain: 8 -> 1, 4 -> 2, 2 -> 3, 1 -> 4 188 return 5 - ffs(data->pga_gain); in tmp51x_get_pga_shift() 205 * on the pga gain setting. 1lsb = 10uV in tmp51x_get_value() [all …]
|
D | ina3221.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/ 11 #include <linux/hwmon-sysfs.h> 54 #define INA3221_CONFIG_CHx_EN(x) BIT(14 - (x)) 71 /* Alert Flags: SF is the summation-alert flag */ 99 * struct ina3221_input - channel input source specific information 113 * struct ina3221_data - device specific information 123 * @single_shot: running in single-shot operating mode 143 return ina->summation_shunt_resistor != 0; in ina3221_is_enabled() 145 return pm_runtime_active(ina->pm_dev) && in ina3221_is_enabled() [all …]
|
/linux-6.14.4/drivers/media/pci/intel/ipu6/ |
D | ipu6-fw-isys.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* Copyright (C) 2013--2024 Intel Corporation */ 30 /* Single device queue for high priority commands (bypass in-order queue) */ 172 IPU6_FW_ISYS_FRAME_FORMAT_NV11 = 0, /* 12 bit YUV 411, Y, UV plane */ 173 IPU6_FW_ISYS_FRAME_FORMAT_NV12, /* 12 bit YUV 420, Y, UV plane */ 174 IPU6_FW_ISYS_FRAME_FORMAT_NV12_16, /* 16 bit YUV 420, Y, UV plane */ 178 IPU6_FW_ISYS_FRAME_FORMAT_NV16, /* 16 bit YUV 422, Y, UV plane */ 286 * struct ipu6_fw_isys_output_pin_payload_abi - ISYS output pin buffer 287 * @out_buf_id: Points to output pin buffer - buffer identifier 288 * @addr: Points to output pin buffer - CSS Virtual Address [all …]
|
/linux-6.14.4/arch/arm64/boot/dts/rockchip/ |
D | rk3399-gru-kevin.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Google Gru-Kevin Rev 6+ board device tree source 5 * Copyright 2016-2017 Google, Inc 8 /dts-v1/; 9 #include "rk3399-gru-chromebook.dtsi" 10 #include <dt-bindings/input/linux-event-codes.h> 13 * Kevin-specific things 21 compatible = "google,kevin-rev15", "google,kevin-rev14", 22 "google,kevin-rev13", "google,kevin-rev12", 23 "google,kevin-rev11", "google,kevin-rev10", [all …]
|
/linux-6.14.4/arch/arm/boot/dts/st/ |
D | ste-hrefv60plus.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2012 ST-Ericsson AB 6 #include "ste-href.dtsi" 9 model = "ST-Ericsson HREF (v60+) platform with Device Tree"; 10 compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500"; 12 thermal-zones { 13 chassis-thermal { 15 polling-delay = <20000>; 17 polling-delay-passive = <2000>; 19 thermal-sensors = <&therm1>, <&therm2>; [all …]
|
/linux-6.14.4/drivers/media/i2c/ |
D | ov772x.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * Copyright 2006-7 Jonathan Corbet <[email protected]> 26 #include <linux/v4l2-mediabus.h> 31 #include <media/v4l2-ctrls.h> 32 #include <media/v4l2-device.h> 33 #include <media/v4l2-event.h> 34 #include <media/v4l2-fwnode.h> 35 #include <media/v4l2-image-sizes.h> 36 #include <media/v4l2-subdev.h> 41 #define GAIN 0x00 /* AGC - Gain control gain setting */ [all …]
|
/linux-6.14.4/arch/arm/boot/dts/nxp/imx/ |
D | imx6q-bosch-acc.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Support for the i.MX6-based Bosch ACC board. 8 * Copyright (C) 2019-2021 Bosch Thermotechnik GmbH, Matthias Winker <[email protected]> 12 /dts-v1/; 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/leds/common.h> 20 compatible = "bosch,imx6q-acc", "fsl,imx6q"; 37 backlight_lvds: backlight-lvds { 38 compatible = "pwm-backlight"; 40 brightness-levels = <0 61 499 1706 4079 8022 13938 22237 33328 47623 65535>; [all …]
|
D | imx6dl-b1x5pv2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 6 // Copyright 2018-2021 General Electric Company 7 // Copyright 2018-2021 Collabora 9 #include <dt-bindings/input/input.h> 10 #include "imx6dl-qmx6.dtsi" 14 stdout-path = &uart3; 20 operating-points = < 21 /* kHz uV */ 25 fsl,soc-operating-points = < 26 /* ARM kHz SOC-PU uV */ [all …]
|
/linux-6.14.4/Documentation/hwmon/ |
D | tmp513.rst | 1 .. SPDX-License-Identifier: GPL-2.0 22 Eric Tremblay <etremblay@distech-controls.com> 25 ----------- 28 The TMP512 (dual-channel) and TMP513 (triple-channel) are system monitors 29 that include remote sensors, a local temperature sensor, and a high-side current 31 temperatures, on-chip temperatures, and system voltage/power/current 35 -40 to + 125 degrees with a resolution of 0.0625 degree C. 44 **temp[1-4]_input** 46 **temp[1-4]_crit** 48 **temp[1-4]_crit_alarm** [all …]
|
/linux-6.14.4/Documentation/admin-guide/media/ |
D | ipu3.rst | 1 .. SPDX-License-Identifier: GPL-2.0 24 ImgU). The CIO2 driver is available as drivers/media/pci/intel/ipu3/ipu3-cio2* 36 Both of the drivers implement V4L2, Media Controller and V4L2 sub-device 38 MIPI CSI-2 interfaces through V4L2 sub-device sensor drivers. 44 interface to the user space. There is a video node for each CSI-2 receiver, 47 The CIO2 contains four independent capture channel, each with its own MIPI CSI-2 48 receiver and DMA engine. Each channel is modelled as a V4L2 sub-device exposed 49 to userspace as a V4L2 sub-device node and has two pads: 53 .. flat-table:: 54 :header-rows: 1 [all …]
|
/linux-6.14.4/drivers/staging/media/atomisp/pci/ |
D | sh_css_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 /*#include "vamem.h"*/ /* Cannot include for VAMEM properties this file is visible on ISP -> pipeli… 23 /* UV offset: 1:uv=-128...127, 0:uv=0...255 */ 30 #define SH_CSS_BAYER_MAXVAL ((1U << SH_CSS_BAYER_BITS) - 1) 44 #define SH_CSS_MACC2_COEF_SHIFT 13 /* [s[exp].[13-exp]] for ISP2 */ 49 * factors. The BDS factor is used in pre-processor expressions so we cannot 75 /*--------------- sRGB Gamma ----------------- 76 CCM : YCgCo[0,8191] -> RGB[0,4095] 77 sRGB Gamma : RGB [0,4095] -> RGB[0,8191] 78 CSC : RGB [0,8191] -> YUV[0,8191] [all …]
|
/linux-6.14.4/drivers/media/usb/gspca/m5602/ |
D | m5602_ov9650.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Driver for the ov9650 sensor 41 {SENSOR, OV9650_COM7, OV9650_REGISTER_RESET}, 43 {SENSOR, OV9650_CLKRC, 0x80}, 45 {SENSOR, OV9650_OFON, 0x40} 67 {SENSOR, OV9650_COM7, OV9650_REGISTER_RESET}, 68 /* One extra reset is needed in order to make the sensor behave 70 {SENSOR, OV9650_COM7, OV9650_REGISTER_RESET}, 73 {SENSOR, OV9650_CLKRC, 0x80}, 75 {SENSOR, OV9650_OFON, 0x40}, [all …]
|