Home
last modified time | relevance | path

Searched +full:hall +full:- +full:switch +full:- (Results 1 – 25 of 50) sorted by relevance

12

/linux-6.12.1/Documentation/devicetree/bindings/mfd/
Diqs62x.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Azoteq IQS620A/621/622/624/625 Multi-Function Sensors
10 - Jeff LaBundy <jeff@labundy.com>
13 The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors
21 - azoteq,iqs620a
22 - azoteq,iqs621
23 - azoteq,iqs622
24 - azoteq,iqs624
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/input/
Diqs626a.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
13 The Azoteq IQS626A is a 14-channel capacitive touch controller that features
14 additional Hall-effect and inductive sensing capabilities.
19 - $ref: touchscreen/touchscreen.yaml#
31 "#address-cells":
34 "#size-cells":
37 azoteq,suspend-mode:
[all …]
Diqs62x-keys.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/iqs62x-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
13 - $ref: input.yaml#
16 The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors
17 feature a variety of self-capacitive, mutual-inductive and Hall-effect sens-
18 ing capabilities that can facilitate a variety of contactless key and switch
23 further details and examples. Sensor hardware configuration (self-capacitive
[all …]
Diqs269a.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
13 - $ref: input.yaml#
16 The Azoteq IQS269A is an 8-channel capacitive touch controller that features
17 additional Hall-effect and inductive sensing capabilities.
24 - azoteq,iqs269a
25 - azoteq,iqs269a-00
26 - azoteq,iqs269a-d0
[all …]
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dmsm8916-samsung-gt5-common.dtsi1 // 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/sound/apq8016-lpass.h>
21 stdout-path = "serial0";
24 reserved-memory {
[all …]
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 …]
Dmsm8953-xiaomi-tissot.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
11 #include <dt-bindings/leds/common.h>
13 /delete-node/ &adsp_fw_mem;
14 /delete-node/ &qseecom_mem;
15 /delete-node/ &wcnss_fw_mem;
20 chassis-type = "handset";
21 qcom,msm-id = <293 0>;
22 qcom,board-id = <0x1000b 0x00>;
24 gpio-keys {
[all …]
Dmsm8998-oneplus-common.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
3 * OnePlus 5(T) (cheeseburger / dumpling) common device tree source based on msm8998-mtp.dtsi
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
20 qcom,msm-id = <292 0x20001>; /* 8998 v2.1 */
23 #address-cells = <2>;
24 #size-cells = <2>;
29 compatible = "simple-framebuffer";
47 power-domains = <&mmcc MDSS_GDSC>;
[all …]
Dsm6115-fxtec-pro1x.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (c) 2023 - 2024, Dang Huynh <danct12@riseup.net>
6 /dts-v1/;
11 #include <dt-bindings/arm/qcom,ids.h>
12 #include <dt-bindings/leds/common.h>
13 #include <dt-bindings/usb/pd.h>
18 chassis-type = "handset";
20 qcom,msm-id = <QCOM_ID_SM6115 0x10000>;
23 #address-cells = <2>;
24 #size-cells = <2>;
[all …]
Dmsm8998-xiaomi-sagit.dts1 // SPDX-License-Identifier: BSD-3-Clause
3 * Xiaomi Mi 6 (sagit) device tree source based on msm8998-mtp.dtsi
10 /dts-v1/;
16 #include <dt-bindings/input/input.h>
17 #include <dt-bindings/leds/common.h>
18 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
24 /delete-node/ &adsp_mem;
25 /delete-node/ &mpss_mem;
26 /delete-node/ &venus_mem;
27 /delete-node/ &mba_mem;
[all …]
Dsdm845-oneplus-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
8 /dts-v1/;
10 #include <dt-bindings/input/linux-event-codes.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
13 #include <dt-bindings/sound/qcom,q6afe.h>
14 #include <dt-bindings/sound/qcom,q6asm.h>
17 #include "sdm845-wcd9340.dtsi"
21 /delete-node/ &rmtfs_mem;
30 stdout-path = "serial0:115200n8";
[all …]
Dqcm6490-fairphone-fp5.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
12 #include <dt-bindings/iio/qcom,spmi-adc7-pm7325.h>
13 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h>
14 #include <dt-bindings/leds/common.h>
15 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
16 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
23 /delete-node/ &rmtfs_mem;
28 chassis-type = "handset";
36 #address-cells = <2>;
[all …]
Dsc8180x-lenovo-flex-5g.dts1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
4 * Copyright (c) 2020-2023, Linaro Limited
7 /dts-v1/;
9 #include <dt-bindings/firmware/qcom,scm.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/gpio-keys.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
15 #include "sc8180x-pmics.dtsi"
[all …]
/linux-6.12.1/drivers/input/keyboard/
Diqs62x-keys.c1 // SPDX-License-Identifier: GPL-2.0+
25 [IQS62X_SW_HALL_N] = "hall-switch-north",
26 [IQS62X_SW_HALL_S] = "hall-switch-south",
51 ret = device_property_count_u32(&pdev->dev, "linux,keycodes"); in iqs62x_keys_parse_prop()
53 dev_err(&pdev->dev, "Too many keycodes present\n"); in iqs62x_keys_parse_prop()
54 return -EINVAL; in iqs62x_keys_parse_prop()
56 dev_err(&pdev->dev, "Failed to count keycodes: %d\n", ret); in iqs62x_keys_parse_prop()
59 iqs62x_keys->keycodemax = ret; in iqs62x_keys_parse_prop()
61 ret = device_property_read_u32_array(&pdev->dev, "linux,keycodes", in iqs62x_keys_parse_prop()
62 iqs62x_keys->keycode, in iqs62x_keys_parse_prop()
[all …]
/linux-6.12.1/drivers/gpio/
Dgpio-bd71828.c1 // SPDX-License-Identifier: GPL-2.0-only
5 #include <linux/mfd/rohm-bd71828.h>
27 * The HALL input pin can only be used as input. If this is the pin in bd71828_gpio_set()
28 * we are dealing with - then we are done in bd71828_gpio_set()
33 ret = regmap_update_bits(bdgpio->regmap, GPIO_OUT_REG(offset), in bd71828_gpio_set()
36 dev_err(bdgpio->dev, "Could not set gpio to %d\n", value); in bd71828_gpio_set()
46 ret = regmap_read(bdgpio->regmap, BD71828_REG_IO_STAT, in bd71828_gpio_get()
49 ret = regmap_read(bdgpio->regmap, GPIO_OUT_REG(offset), in bd71828_gpio_get()
63 return -ENOTSUPP; in bd71828_gpio_set_config()
65 switch (pinconf_to_config_param(config)) { in bd71828_gpio_set_config()
[all …]
/linux-6.12.1/arch/arm/boot/dts/qcom/
Dqcom-msm8226-samsung-matisse-common.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/input/input.h>
7 #include "qcom-msm8226.dtsi"
10 /delete-node/ &adsp_region;
11 /delete-node/ &smem_region;
21 #address-cells = <1>;
22 #size-cells = <1>;
25 stdout-path = "display0";
28 compatible = "simple-framebuffer";
37 gpio-hall-sensor {
[all …]
Dqcom-apq8026-samsung-milletwifi.dts1 // SPDX-License-Identifier: BSD-3-Clause
7 /dts-v1/;
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/power/summit,smb347-charger.h>
11 #include "qcom-msm8226.dtsi"
14 /delete-node/ &adsp_region;
15 /delete-node/ &smem_region;
18 model = "Samsung Galaxy Tab 4 8.0 Wi-Fi";
20 chassis-type = "tablet";
29 #address-cells = <1>;
[all …]
/linux-6.12.1/drivers/char/tpm/eventlog/
Dacpi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Kylene Hall <kjhall@us.ibm.com>
12 * Maintained by: <tpmdd-devel@lists.sourceforge.net>
54 len -= sizeof(*event_header); in tpm_is_tpm2_log()
59 efispecid = (struct tcg_efi_specid_event_head *)event_header->event; in tpm_is_tpm2_log()
61 n = memcmp(efispecid->signature, TCG_SPECID_SIG, in tpm_is_tpm2_log()
79 log = &chip->log; in tpm_read_log_acpi()
84 if (!chip->acpi_dev_handle) in tpm_read_log_acpi()
85 return -ENODEV; in tpm_read_log_acpi()
87 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_read_log_acpi()
[all …]
Dtpm1.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 * Kylene Hall <kjhall@us.ibm.com>
13 * Maintained by: <tpmdd-devel@lists.sourceforge.net>
38 "S-CRTM Contents",
39 "S-CRTM Version",
46 "Non-Host Code",
47 "Non-Host Config",
48 "Non-Host Info"
63 "S-CRTM Version",
64 "S-CRTM Contents ",
[all …]
/linux-6.12.1/drivers/iio/magnetometer/
Dtmag5273.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Driver for the TI TMAG5273 Low-Power Linear 3D Hall-Effect Sensor
57 * 16-bit unique manufacturer ID 0x49 / 0x54 = "TI"
129 * first-come-first-serve manner.
134 static const char *const tmag5273_angle_names[] = { "off", "x-y", "y-z", "x-z" };
163 mutex_lock(&data->lock); in tmag5273_get_measure()
171 ret = regmap_read_poll_timeout(data->map, TMAG5273_CONV_STATUS, status, in tmag5273_get_measure()
175 dev_err(data->dev, "timeout waiting for measurement\n"); in tmag5273_get_measure()
179 ret = regmap_bulk_read(data->map, TMAG5273_T_MSB_RESULT, reg_data, in tmag5273_get_measure()
188 ret = regmap_bulk_read(data->map, TMAG5273_ANGLE_RESULT_MSB, in tmag5273_get_measure()
[all …]
/linux-6.12.1/arch/arm64/boot/dts/rockchip/
Drk3566-pinenote.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/gpio-keys.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/rockchip.h>
17 stdout-path = "serial2:1500000n8";
20 adc-keys {
21 compatible = "adc-keys";
22 io-channels = <&saradc 0>;
[all …]
/linux-6.12.1/drivers/input/misc/
Diqs626a.c1 // SPDX-License-Identifier: GPL-2.0+
8 * inductive keys as well as Hall-effect switches, and one for a trackpad that
227 .name = "event-prox",
233 .name = "event-prox-alt",
240 .name = "event-touch",
246 .name = "event-touch-alt",
253 .name = "event-deep",
259 .name = "event-deep-alt",
367 .name = "ulp-0",
378 .name = "trackpad-3x2",
[all …]
Diqs269a.c1 // SPDX-License-Identifier: GPL-2.0+
8 * inductive keys as well as Hall-effect switches, and one for each of the two
225 .name = "event-prox",
231 .name = "event-prox-alt",
238 .name = "event-touch",
244 .name = "event-touch-alt",
251 .name = "event-deep",
257 .name = "event-deep-alt",
339 * Slider 1 is unavailable if the touch-and-hold option is enabled via in iqs269_slider_type()
341 * the touch-and-hold timer ceiling. in iqs269_slider_type()
[all …]
/linux-6.12.1/drivers/char/tpm/
Dtpm_tis.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Kylene Hall <kjhall@us.ibm.com>
10 * Maintained by: <tpmdd-devel@lists.sourceforge.net>
36 * irq = -1 means: no irq support
78 * Write a 32-bit word to the TPM MMIO address, and flush the write queue.
109 list_for_each_entry(id, &dev->pnp.ids, list) in has_hid()
110 if (!strcmp(hid, id->id)) in has_hid()
145 if (!aid || aid->driver_data != DEVICE_IS_TPM2) in check_acpi_tpm2()
152 if (ACPI_FAILURE(st) || tbl->header.length < sizeof(*tbl)) { in check_acpi_tpm2()
154 return -EINVAL; in check_acpi_tpm2()
[all …]
/linux-6.12.1/arch/arm/boot/dts/nvidia/
Dtegra114-asus-tf701t.dts1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
5 #include <dt-bindings/input/gpio-keys.h>
6 #include <dt-bindings/input/input.h>
13 chassis-type = "convertible";
29 trusted-foundations {
30 compatible = "tlm,trusted-foundations";
31 tlm,version-major = <2>;
32 tlm,version-minor = <8>;
40 reserved-memory {
[all …]

12