Home
last modified time | relevance | path

Searched +full:proximity +full:- +full:near +full:- +full:level (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/iio/
Dcommon.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jonathan Cameron <jic23@kernel.org>
11 - Guido Günther <agx@sigxcpu.org>
23 proximity-near-level:
26 For proximity sensors whether an object can be considered near to the
31 Raw proximity values equal or above this level should be
32 considered 'near' to the device (an object is near to the
/Linux-v6.1/Documentation/devicetree/bindings/iio/light/
Dvishay,vcnl4000.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: VISHAY VCNL4000 ambient light and proximity sensor
10 - Peter Meerwald <pmeerw@pmeerw.net>
13 Ambient light sensing with proximity detection over an i2c
17 - $ref: ../common.yaml#
22 - vishay,vcnl4000
23 - vishay,vcnl4010
24 - vishay,vcnl4020
[all …]
Dstk33xx.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 Sensortek STK33xx I2C Ambient Light and Proximity sensor
11 - Jonathan Cameron <jic23@kernel.org>
14 Ambient light and proximity sensor over an i2c interface.
17 - $ref: ../common.yaml#
22 - sensortek,stk3310
23 - sensortek,stk3311
24 - sensortek,stk3335
[all …]
Dliteon,ltr501.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: LiteON LTR501 I2C Proximity and Light sensor
10 - Nikita Travkin <nikita@trvn.ru>
13 - $ref: ../common.yaml#
18 - liteon,ltr501
19 - liteon,ltr559
20 - liteon,ltr301
25 vdd-supply: true
[all …]
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-bus-iio-proximity4 Contact: linux-iio@vger.kernel.org
6 Near level for proximity sensors. This is a single integer
10 should typically be considered near.
15 Contact: linux-iio@vger.kernel.org
17 Proximity sensors sometimes have a controllable amplifier
22 * as3935 (0-31 range)
Dsysfs-bus-iio3 Contact: linux-iio@vger.kernel.org
11 Contact: linux-iio@vger.kernel.org
25 Contact: linux-iio@vger.kernel.org
31 Contact: linux-iio@vger.kernel.org
38 Contact: linux-iio@vger.kernel.org
44 The contents of the label are free-form, but there are some
47 For proximity sensors which give the proximity (of a person) to
51 * "proximity-wifi"
52 * "proximity-lte"
53 * "proximity-wifi-lte"
[all …]
/Linux-v6.1/arch/arm64/boot/dts/freescale/
Dimx8mq-librem5-r4.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 /dts-v1/;
6 #include "imx8mq-librem5-r3.dtsi"
14 maxim,rsns-microohm = <1667>;
18 led-max-microamp = <25000>;
25 &proximity {
26 proximity-near-level = <10>;
Dimx8mq-librem5-r2.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "imx8mq-librem5.dtsi"
16 ti,battery-regulation-voltage = <4192000>; /* uV */
17 ti,charge-current = <1600000>; /* uA */
18 ti,termination-current = <66000>; /* uA */
22 mount-matrix = "1", "0", "0",
23 "0", "-1", "0",
27 &proximity {
28 proximity-near-level = <120>;
Dimx8mq-librem5-r3.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 /dts-v1/;
11 #include "imx8mq-librem5.dtsi"
19 mount-matrix = "1", "0", "0",
21 "0", "0", "-1";
25 ti,battery-regulation-voltage = <4200000>; /* uV */
26 ti,charge-current = <1500000>; /* uA */
27 ti,termination-current = <144000>; /* uA */
31 pinctrl-0 = <&pinctrl_csi1>, <&pinctrl_r3_camera_pwr>;
32 shutdown-gpios = <&gpio5 4 GPIO_ACTIVE_LOW>;
[all …]
/Linux-v6.1/drivers/iio/light/
Dstk3310.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Sensortek STK3310/STK3311 Ambient Light and Proximity Sensor
7 * IIO driver for STK3310/STK3311. 7-bit I2C address: 0x48.
58 data->reg_##name = \
59 devm_regmap_field_alloc(&client->dev, regmap, \
61 if (IS_ERR(data->reg_##name)) { \
62 dev_err(&client->dev, "reg field alloc failed.\n"); \
63 return PTR_ERR(data->reg_##name); \
84 /* Estimate maximum proximity values with regard to measurement scale. */
123 /* Proximity event */
[all …]
Dvcnl4000.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * vcnl4000.c - Support for Vishay VCNL4000/4010/4020/4040/4200 combined ambient
4 * light and proximity sensor
11 * VCNL4000/10/20 (7-bit I2C slave address 0x13)
12 * VCNL4040 (7-bit I2C slave address 0x60)
13 * VCNL4200 (7-bit I2C slave address 0x51)
43 #define VCNL4010_PROX_RATE 0x82 /* Proximity rate */
44 #define VCNL4000_LED_CURRENT 0x83 /* IR LED current for proximity mode */
49 #define VCNL4000_PS_RESULT_HI 0x87 /* Proximity result register, MSB */
50 #define VCNL4000_PS_RESULT_LO 0x88 /* Proximity result register, LSB */
[all …]
Dltr501.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Support for Lite-On LTR501 and similar ambient light and proximity sensors.
7 * 7-bit I2C slave address 0x23
35 #define LTR501_ALS_DATA1 0x88 /* 16-bit, little endian */
37 #define LTR501_ALS_DATA0 0x8a /* 16-bit, little endian */
40 #define LTR501_PS_DATA 0x8d /* 16-bit, little endian */
71 ((vis_coeff * vis_data) - (ir_coeff * ir_data))
95 #define LTR501_RESERVED_GAIN -1
199 return -EINVAL; in ltr501_match_samp_freq()
207 ret = regmap_field_read(data->reg_als_rate, &i); in ltr501_als_read_samp_freq()
[all …]
/Linux-v6.1/arch/arm64/boot/dts/qcom/
Dmsm8916-longcheer-l8150.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-pm8916.dtsi"
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/leds/common.h>
13 compatible = "longcheer,l8150", "qcom,msm8916-v1-qrd/9-v1", "qcom,msm8916";
14 chassis-type = "handset";
21 stdout-path = "serial0";
[all …]
/Linux-v6.1/drivers/acpi/acpica/
Devhandler.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
4 * Module Name: evhandler - Support for Address Space handlers
6 * Copyright (C) 2000 - 2022, Intel Corp.
22 u32 level, void *context, void **return_value);
69 * available -- even though we are nowhere near ready to find the PCI root in acpi_ev_install_region_handlers()
107 * PARAMETERS: node - Namespace node for the device
108 * space_id - The address space ID
128 handler_obj = obj_desc->common_notify.handler; in acpi_ev_has_default_handler()
133 if (handler_obj->address_space.space_id == space_id) { in acpi_ev_has_default_handler()
134 if (handler_obj->address_space.handler_flags & in acpi_ev_has_default_handler()
[all …]