Home
last modified time | relevance | path

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

/linux-6.14.4/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 <[email protected]>
11 - Guido Günther <[email protected]>
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-6.14.4/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 <[email protected]>
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 <[email protected]>
14 Ambient light and proximity sensor over an i2c interface.
17 - $ref: ../common.yaml#
22 - enum:
23 - sensortek,stk3310
24 - sensortek,stk3311
[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 <[email protected]>
13 - $ref: ../common.yaml#
18 - liteon,ltr501
19 - liteon,ltr559
20 - liteon,ltr301
25 vdd-supply: true
[all …]
/linux-6.14.4/Documentation/ABI/testing/
Dsysfs-bus-iio-proximity4 Contact: linux-[email protected]
6 Near level for proximity sensors. This is a single integer
10 should typically be considered near.
15 Contact: linux-[email protected]
17 Proximity sensors sometimes have a controllable amplifier
22 * as3935 (0-31 range)
Dsysfs-bus-iio3 Contact: linux-[email protected]
11 Contact: linux-[email protected]
25 Contact: linux-[email protected]
31 Contact: linux-[email protected]
38 Contact: linux-[email protected]
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-6.14.4/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 = <7>;
Dimx8mq-librem5-r2.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "imx8mq-librem5.dtsi"
16 mount-matrix = "1", "0", "0",
17 "0", "-1", "0",
22 ti,charge-current = <1600000>; /* uA */
25 &proximity {
26 proximity-near-level = <50>;
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,charge-current = <1500000>; /* uA */
29 pinctrl-0 = <&pinctrl_csi1>, <&pinctrl_r3_camera_pwr>;
30 shutdown-gpios = <&gpio5 4 GPIO_ACTIVE_LOW>;
42 mount-matrix = "1", "0", "0",
43 "0", "-1", "0",
[all …]
/linux-6.14.4/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.
61 data->reg_##name = \
62 devm_regmap_field_alloc(&client->dev, regmap, \
64 if (IS_ERR(data->reg_##name)) { \
65 dev_err(&client->dev, "reg field alloc failed.\n"); \
66 return PTR_ERR(data->reg_##name); \
97 /* Estimate maximum proximity values with regard to measurement scale. */
136 /* 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)
45 #define VCNL4010_PROX_RATE 0x82 /* Proximity rate */
46 #define VCNL4000_LED_CURRENT 0x83 /* IR LED current for proximity mode */
51 #define VCNL4000_PS_RESULT_HI 0x87 /* Proximity result register, MSB */
52 #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
198 return -EINVAL; in ltr501_match_samp_freq()
206 ret = regmap_field_read(data->reg_als_rate, &i); in ltr501_als_read_samp_freq()
[all …]
/linux-6.14.4/arch/arm64/boot/dts/qcom/
Dmsm8939-longcheer-l9100.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8939-pm8916.dtsi"
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/leds/common.h>
11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
12 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
17 chassis-type = "handset";
[all …]
Dmsm8916-longcheer-l8150.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-pm8916.dtsi"
6 #include "msm8916-modem-qdsp6.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/leds/common.h>
16 chassis-type = "handset";
25 stdout-path = "serial0";
[all …]
/linux-6.14.4/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 - 2023, 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 …]
/linux-6.14.4/include/linux/
Dcgroup-defs.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * linux/cgroup-defs.h - basic definitions for cgroup
18 #include <linux/percpu-refcount.h>
19 #include <linux/percpu-rwsem.h>
22 #include <linux/bpf-cgroup-defs.h>
52 CSS_ONLINE = (1 << 1), /* between ->css_online() and ->css_offline() */
76 /* cgroup_root->flags */
127 /* cftype->flags */
146 * be obtained by setting cftype->file_offset.
156 * Per-subsystem/per-cgroup state maintained by the system. This is the
[all …]