Home
last modified time | relevance | path

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

12

/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A 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 …]
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8916-samsung-gt5-common.dtsi1 // 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>
18 stdout-path = "serial0";
21 reserved-memory {
23 tz-apps@85500000 {
25 no-map;
[all …]
H A 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 …]
H A 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 …]
H A 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/regulator/qcom,rpmh-regulator.h>
12 #include <dt-bindings/sound/qcom,q6afe.h>
13 #include <dt-bindings/sound/qcom,q6asm.h>
16 #include "sdm845-wcd9340.dtsi"
20 /delete-node/ &rmtfs_mem;
29 stdout-path = "serial0:115200n8";
32 gpio-hall-sensor {
[all …]
H A 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/gpio/gpio.h>
10 #include <dt-bindings/input/gpio-keys.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
14 #include "sc8180x-pmics.dtsi"
18 compatible = "lenovo,flex-5g", "qcom,sc8180x";
[all …]
H A Dsc8180x-primus.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/gpio/gpio.h>
10 #include <dt-bindings/input/gpio-keys.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
14 #include "sc8180x-pmics.dtsi"
18 compatible = "qcom,sc8180x-primus", "qcom,sc8180x";
[all …]
/openbmc/linux/Documentation/devicetree/bindings/input/
H A 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 …]
H A 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 …]
H A 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 The Azoteq IQS269A is an 8-channel capacitive touch controller that features
14 additional Hall-effect and inductive sensing capabilities.
28 "#address-cells":
31 "#size-cells":
34 azoteq,hall-enable:
37 Enables Hall-effect sensing on channels 6 and 7. In this case, keycodes
[all …]
/openbmc/linux/drivers/input/keyboard/
H A 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",
52 ret = device_property_count_u32(&pdev->dev, "linux,keycodes"); in iqs62x_keys_parse_prop()
54 dev_err(&pdev->dev, "Too many keycodes present\n"); in iqs62x_keys_parse_prop()
55 return -EINVAL; in iqs62x_keys_parse_prop()
57 dev_err(&pdev->dev, "Failed to count keycodes: %d\n", ret); in iqs62x_keys_parse_prop()
60 iqs62x_keys->keycodemax = ret; in iqs62x_keys_parse_prop()
62 ret = device_property_read_u32_array(&pdev->dev, "linux,keycodes", in iqs62x_keys_parse_prop()
63 iqs62x_keys->keycode, in iqs62x_keys_parse_prop()
[all …]
/openbmc/linux/drivers/gpio/
H A 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 …]
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-security/trusted-services/corstone1000/
H A D0001-Add-stub-capsule-update-service-components.patch2 From: Julian Hall <julian.hall@arm.com>
9 into the se-proxy/common deployment.
11 Upstream-Status: Inappropriate [Trusted-Services Design needs to be followed]
12 Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
13 Signed-off-by: Julian Hall <julian.hall@arm.com>
14 Change-Id: I0d4049bb4de5af7ca80806403301692507085d28
15 Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
16 ---
21 .../se-proxy/infra/corstone1000/infra.cmake | 1 +
22 deployments/se-proxy/se_proxy_interfaces.h | 9 +-
[all …]
/openbmc/linux/arch/arm/boot/dts/qcom/
H A Dqcom-apq8026-samsung-matisse-wifi.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include <dt-bindings/input/input.h>
9 #include "qcom-msm8226.dtsi"
12 /delete-node/ &adsp_region;
13 /delete-node/ &smem_region;
17 compatible = "samsung,matisse-wifi", "qcom,apq8026";
18 chassis-type = "tablet";
27 #address-cells = <1>;
28 #size-cells = <1>;
[all …]
/openbmc/linux/arch/arm/boot/dts/nvidia/
H A 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 …]
/openbmc/linux/drivers/char/tpm/eventlog/
H A 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 …]
H A 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 …]
/openbmc/linux/drivers/iio/magnetometer/
H A 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"
131 * first-come-first-serve manner.
136 static const char *const tmag5273_angle_names[] = { "off", "x-y", "y-z", "x-z" };
165 mutex_lock(&data->lock); in tmag5273_get_measure()
173 ret = regmap_read_poll_timeout(data->map, TMAG5273_CONV_STATUS, status, in tmag5273_get_measure()
177 dev_err(data->dev, "timeout waiting for measurement\n"); in tmag5273_get_measure()
181 ret = regmap_bulk_read(data->map, TMAG5273_T_MSB_RESULT, reg_data, in tmag5273_get_measure()
190 ret = regmap_bulk_read(data->map, TMAG5273_ANGLE_RESULT_MSB, in tmag5273_get_measure()
[all …]
/openbmc/linux/arch/arm64/boot/dts/rockchip/
H A 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 …]
/openbmc/linux/drivers/input/misc/
H A 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 …]
H A Diqs269a.c1 // SPDX-License-Identifier: GPL-2.0+
8 * inductive keys as well as Hall-effect switches, and one for each of the two
193 .name = "event-prox",
199 .name = "event-prox-alt",
206 .name = "event-touch",
212 .name = "event-touch-alt",
219 .name = "event-deep",
225 .name = "event-deep-alt",
301 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_mode_set()
305 return -EINVAL; in iqs269_ati_mode_set()
[all …]
/openbmc/linux/drivers/char/tpm/
H A 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 …]
H A Dtpm-sysfs.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Kylene Hall <kjhall@us.ibm.com>
65 out->algorithm, in pubek_show()
66 out->encscheme, in pubek_show()
67 out->sigscheme, in pubek_show()
68 out->parameters, in pubek_show()
69 be32_to_cpu(out->keysize)); in pubek_show()
72 str += sprintf(str, "%16ph\n", &out->modulus[i]); in pubek_show()
78 return str - buf; in pubek_show()
107 str += sprintf(str, "PCR-%02d: ", i); in pcrs_show()
[all …]
/openbmc/linux/arch/ia64/kernel/
H A Dmca_asm.S1 /* SPDX-License-Identifier: GPL-2.0 */
8 * 2000-03-15 David Mosberger-Tang <davidm@hpl.hp.com>
11 * 2000-03-29 Chuck Fleckenstein <cfleck@co.intel.com>
13 * switch to temp kstack, switch modes, jump to C INIT handler
15 * 2002-01-04 J.Hall <jenna.s.hall@intel.com>
21 * 2004-11-12 Russ Anderson <rja@sgi.com>
24 * 2005-12-08 Keith Owens <kaos@sgi.com>
55 * so we can re-use the code for cpu hotplug code as well
68 ld8 r18=[r2],(O(PTCE_COUNT)-O(PTCE_BASE));; // r18=ptce_base
76 adds r20=-1,r20
[all …]
/openbmc/linux/Documentation/translations/zh_TW/process/
H A Dcoding-style.rst1 .. SPDX-License-Identifier: GPL-2.0
3 .. include:: ../disclaimer-zh_TW.rst
5 :Original: :ref:`Documentation/process/coding-style.rst <codingstyle>`
35 --------------
50switch 語句中消除多級縮進的首選的方式是讓 ``switch`` 和從屬於它的 ``case``
53 .. code-block:: c
55 switch (suffix) {
74 .. code-block:: c
89 ------------------------------
102 ------------------------------
[all …]

12