Home
last modified time | relevance | path

Searched +full:uv +full:- +full:sensor (Results 1 – 25 of 135) sorted by relevance

123456

/kernel/linux/linux-5.10/drivers/iio/light/
DKconfig1 # 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 …]
Dveml6070.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * veml6070.c - Support for Vishay VEML6070 UV A light sensor
5 * Copyright 2016 Peter Meerwald-Stadler <pmeerw@pmeerw.net>
7 * IIO driver for VEML6070 (7-bit I2C slave addresses 0x38 and 0x39)
45 mutex_lock(&data->lock); in veml6070_read()
48 ret = i2c_smbus_write_byte(data->client1, in veml6070_read()
49 data->config & ~VEML6070_COMMAND_SD); in veml6070_read()
55 ret = i2c_smbus_read_byte(data->client2); /* read MSB, address 0x39 */ in veml6070_read()
60 ret = i2c_smbus_read_byte(data->client1); /* read LSB, address 0x38 */ in veml6070_read()
66 ret = i2c_smbus_write_byte(data->client1, data->config); in veml6070_read()
[all …]
Dzopt2201.c1 // 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 <pmeerw@pmeerw.net>
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 …]
/kernel/linux/linux-6.6/drivers/iio/light/
DKconfig1 # 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 …]
Dveml6070.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * veml6070.c - Support for Vishay VEML6070 UV A light sensor
5 * Copyright 2016 Peter Meerwald-Stadler <pmeerw@pmeerw.net>
7 * IIO driver for VEML6070 (7-bit I2C slave addresses 0x38 and 0x39)
45 mutex_lock(&data->lock); in veml6070_read()
48 ret = i2c_smbus_write_byte(data->client1, in veml6070_read()
49 data->config & ~VEML6070_COMMAND_SD); in veml6070_read()
55 ret = i2c_smbus_read_byte(data->client2); /* read MSB, address 0x39 */ in veml6070_read()
60 ret = i2c_smbus_read_byte(data->client1); /* read LSB, address 0x38 */ in veml6070_read()
66 ret = i2c_smbus_write_byte(data->client1, data->config); in veml6070_read()
[all …]
Dzopt2201.c1 // 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 <pmeerw@pmeerw.net>
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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/light/
Dst,uvis25.yaml1 # 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 <lorenzo.bianconi83@gmail.com>
25 - compatible
26 - reg
29 - |
30 #include <dt-bindings/interrupt-controller/irq.h>
32 #address-cells = <1>;
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/hwmon/
Dntc-thermistor.yaml1 # 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 <linus.walleij@linaro.org>
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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/light/
Duvis25.txt1 * ST UVIS25 uv sensor
4 - compatible: should be "st,uvis25"
5 - reg: i2c address of the sensor / spi cs line
8 - interrupts: interrupt mapping for IRQ. It should be configured with
12 Refer to interrupt-controller/interrupts.txt for generic interrupt
20 interrupt-parent = <&gpio0>;
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/hwmon/
Dntc_thermistor.txt2 -------------------------------
5 - "compatible" value : one of
23 - "pullup-uv" Pull up voltage in micro volts
24 - "pullup-ohm" Pull up resistor value in ohms
25 - "pulldown-ohm" Pull down resistor value in ohms
26 - "connected-positive" Always ON, If not specified.
28 - "io-channels" Channel node of ADC to be used for
32 - "#thermal-sensor-cells" Used to expose itself to thermal fw.
35 Documentation/devicetree/bindings/iio/iio-bindings.txt
40 pullup-uv = <1800000>;
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/ti/omap/
Domap443x.dtsi1 // 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 …]
Domap4460.dtsi1 // 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 …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Domap443x.dtsi4 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
16 /* OMAP443x variants OPP50-OPPNT */
17 operating-points = <
18 /* kHz uV */
24 clock-latency = <300000>; /* From legacy driver */
27 #cooling-cells = <2>; /* min followed by max */
31 thermal-zones {
32 #include "omap4-cpu-thermal.dtsi"
40 compatible = "ti,omap4430-bandgap";
43 #thermal-sensor-cells = <0>;
[all …]
Domap4460.dtsi4 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
16 operating-points = <
17 /* kHz uV */
22 clock-latency = <300000>; /* From legacy driver */
25 #cooling-cells = <2>; /* min followed by max */
30 compatible = "arm,cortex-a9-pmu";
36 thermal-zones {
37 #include "omap4-cpu-thermal.dtsi"
45 compatible = "ti,omap4460-bandgap";
49 #thermal-sensor-cells = <0>;
[all …]
/kernel/linux/linux-6.6/drivers/hwmon/
Dltc2990.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/hwmon/
Dltc2990.c1 // 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 …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/rockchip/
Drk3399-gru-kevin.dts1 // 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 …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/
Drk3399-gru-kevin.dts1 // 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 …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/st/
Dste-hrefv60plus.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2012 ST-Ericsson AB
6 #include "ste-href-ab8500.dtsi"
7 #include "ste-href.dtsi"
10 model = "ST-Ericsson HREF (v60+) platform with Device Tree";
11 compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500";
13 thermal-zones {
14 chassis-thermal {
16 polling-delay = <20000>;
18 polling-delay-passive = <2000>;
[all …]
/kernel/linux/linux-6.6/Documentation/hwmon/
Dtmp513.rst1 .. 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 …]
/kernel/linux/linux-5.10/Documentation/hwmon/
Dtmp513.rst1 .. 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 …]
/kernel/linux/linux-6.6/drivers/media/i2c/
Dov772x.c1 // SPDX-License-Identifier: GPL-2.0
12 * Copyright 2006-7 Jonathan Corbet <corbet@lwn.net>
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 …]
/kernel/linux/linux-5.10/drivers/media/i2c/
Dov772x.c1 // SPDX-License-Identifier: GPL-2.0
12 * Copyright 2006-7 Jonathan Corbet <corbet@lwn.net>
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-image-sizes.h>
35 #include <media/v4l2-subdev.h>
40 #define GAIN 0x00 /* AGC - Gain control gain setting */
41 #define BLUE 0x01 /* AWB - Blue channel gain setting */
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/
Dimx6q-bosch-acc.dts1 // 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 <matthias.winker@bosch.com>
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 …]
Dimx6dl-b1x5pv2.dtsi1 // 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 …]

123456