Home
last modified time | relevance | path

Searched +full:rmi4 +full:- +full:i2c (Results 1 – 25 of 49) sorted by relevance

12

/linux/drivers/input/rmi4/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # RMI4 configuration
6 tristate "Synaptics RMI4 bus support"
9 Say Y here if you want to support the Synaptics RMI4 bus. This is
10 required for all RMI4 device support.
17 tristate "RMI4 I2C Support"
18 depends on I2C
20 Say Y here if you want to support RMI4 devices connected to an I2C
26 tristate "RMI4 SPI Support"
29 Say Y here if you want to support RMI4 devices connected to a SPI
[all …]
H A Drmi_bus.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2011-2016 Synaptics Incorporated
64 return dev->type == &rmi_device_type; in rmi_is_physical_device()
68 * rmi_register_transport_device - register a transport device connection
70 * on a bus (such as SPI, I2C, and so on) to the RMI4 sensor.
82 return -ENOMEM; in rmi_register_transport_device()
84 device_initialize(&rmi_dev->dev); in rmi_register_transport_device()
86 rmi_dev->xport = xport; in rmi_register_transport_device()
87 rmi_dev->number = atomic_inc_return(&transport_device_count) - 1; in rmi_register_transport_device()
89 dev_set_name(&rmi_dev->dev, "rmi4-%02d", rmi_dev->number); in rmi_register_transport_device()
[all …]
/linux/Documentation/devicetree/bindings/input/
H A Dsyna,rmi4.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/input/syna,rmi4.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Synaptics RMI4 compliant devices
10 - Jason A. Donenfeld <Jason@zx2c4.com>
11 - Matthias Schiffer <matthias.schiffer@ew.tq-group.com
12 - Vincent Huang <vincent.huang@tw.synaptics.com>
15 The Synaptics RMI4 (Register Mapped Interface 4) core is able to support RMI4
16 devices using different transports (I2C, SPI) and different functions (e.g.
[all …]
/linux/arch/arm/boot/dts/qcom/
H A Dqcom-msm8926-microsoft-superman-lte.dts1 // SPDX-License-Identifier: BSD-3-Clause
9 /dts-v1/;
11 #include "qcom-msm8226-microsoft-common.dtsi"
14 /delete-node/ &touchscreen;
18 compatible = "microsoft,superman-lte", "qcom,msm8926", "qcom,msm8226";
19 chassis-type = "handset";
26 compatible = "syna,rmi4-i2c";
29 interrupts-extended = <&tlmm 17 IRQ_TYPE_EDGE_FALLING>;
30 vdd-supply = <&pm8226_l15>;
31 vio-supply = <&pm8226_l6>;
[all …]
H A Dqcom-msm8926-microsoft-tesla.dts1 // SPDX-License-Identifier: BSD-3-Clause
9 /dts-v1/;
11 #include "qcom-msm8226-microsoft-common.dtsi"
14 /delete-node/ &touchscreen;
17 /delete-node/ &magnetometer;
22 chassis-type = "handset";
29 compatible = "syna,rmi4-i2c";
32 interrupts-extended = <&tlmm 17 IRQ_TYPE_EDGE_FALLING>;
33 vdd-supply = <&pm8226_l15>;
34 vio-supply = <&pm8226_l6>;
[all …]
H A Dqcom-msm8974pro-oneplus-bacon.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974pro.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
11 chassis-type = "handset";
12 qcom,msm-id = <194 0x10000>;
13 qcom,board-id = <8 0>;
20 stdout-path = "serial0:115200n8";
23 gpio-keys {
24 compatible = "gpio-keys";
[all …]
H A Dqcom-msm8226-microsoft-common.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
3 * Common Board Device Tree for Microsoft MSM8x26-based Lumias
11 #include "qcom-msm8226.dtsi"
13 #include <dt-bindings/input/input.h>
19 /delete-node/ &smem_region;
29 #address-cells = <1>;
30 #size-cells = <1>;
33 stdout-path = "display0";
36 compatible = "simple-framebuffer";
49 power-domains = <&mmcc MDSS_GDSC>;
[all …]
H A Dqcom-msm8926-htc-memul.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include "qcom-msm8226.dtsi"
11 /delete-node/ &adsp_region;
12 /delete-node/ &smem_region;
17 chassis-type = "handset";
23 gpio-keys {
24 compatible = "gpio-keys";
26 key-power {
30 debounce-interval = <15>;
[all …]
H A Dqcom-msm8974-sony-xperia-rhine.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
15 stdout-path = "serial0:115200n8";
18 gpio-keys {
19 compatible = "gpio-keys";
21 pinctrl-names = "default";
22 pinctrl-0 = <&gpio_keys_pin_a>;
[all …]
H A Dqcom-apq8026-huawei-sturgeon.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include "qcom-msm8226.dtsi"
10 #include <dt-bindings/input/ti-drv260x.h>
12 /delete-node/ &adsp_region;
17 chassis-type = "watch";
18 qcom,msm-id = <199 0x20000>;
19 qcom,board-id = <8 4>;
21 reserved-memory {
24 no-map;
[all …]
H A Dqcom-apq8026-lg-lenok.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include "qcom-msm8226.dtsi"
10 #include <dt-bindings/clock/qcom,mmcc-msm8974.h>
12 /delete-node/ &adsp_region;
17 chassis-type = "watch";
18 qcom,board-id = <132 0x0a>;
19 qcom,msm-id = <199 0x20000>;
27 stdout-path = "serial0:115200n8";
30 reserved-memory {
[all …]
H A Dqcom-msm8974-samsung-hlte.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
12 chassis-type = "handset";
21 stdout-path = "serial0:115200n8";
24 gpio-keys {
25 compatible = "gpio-keys";
27 pinctrl-0 = <&gpio_keys_pin_a>;
[all …]
H A Dqcom-msm8974pro-samsung-klte-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974pro.dtsi"
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
6 #include <dt-bindings/leds/common.h>
9 chassis-type = "handset";
18 stdout-path = "serial0:115200n8";
21 gpio-keys {
22 compatible = "gpio-keys";
24 pinctrl-names = "default";
[all …]
/linux/arch/arm/boot/dts/st/
H A Dste-href-tvk1281618-r2.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/input/input.h>
11 compatible = "gpio-keys";
12 #address-cells = <1>;
13 #size-cells = <0>;
14 vdd-supply = <&ab8500_ldo_aux1_reg>;
15 pinctrl-names = "default";
16 pinctrl-0 = <&prox_tvk_mode>, <&hall_tvk_mode>;
33 i2c@80004000 {
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8916-motorola-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 #include "msm8916-pm8916.dtsi"
4 #include "msm8916-modem-qdsp6.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 gpio-keys {
22 compatible = "gpio-keys";
24 pinctrl-0 = <&gpio_keys_default>;
[all …]
H A Dmsm8953-xiaomi-vince.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/ &cont_splash_mem;
15 /delete-node/ &qseecom_mem;
16 /delete-node/ &wcnss_fw_mem;
21 chassis-type = "handset";
22 qcom,msm-id = <293 0>;
23 qcom,board-id = <0x1000b 0x08>;
[all …]
H A Dmsm8916-huawei-g7.dts1 // SPDX-License-Identifier: GPL-2.0-only
6 /dts-v1/;
8 #include "msm8916-pm8916.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/leds/common.h>
13 #include <dt-bindings/sound/apq8016-lpass.h>
16 * Note: The original firmware from Huawei can only boot 32-bit kernels.
17 * To boot this device tree using arm64 it is necessary to flash 64-bit TZ/HYP
[all …]
H A Dmsm8994-sony-xperia-kitakami.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/gpio-keys.h>
18 * and requires driver-side changes (including CPR, be warned!!).
21 qcom,msm-id = <207 0x20000>, <207 0x20001>;
23 qcom,pmic-id = <0x10009 0x1000a 0x00 0x00>;
25 qcom,board-id = <8 0>;
28 /delete-node/ psci;
30 gpio-keys {
31 compatible = "gpio-keys";
[all …]
H A 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 …]
H A Dsdm670-google-sargo.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Device tree for Google Pixel 3a, adapted from google-blueline device tree,
4 * xiaomi-lavender device tree, and oneplus-common device tree.
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
14 #include <dt-bindings/power/qcom-rpmpd.h>
19 /delete-node/ &mpss_region;
20 /delete-node/ &venus_mem;
[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 …]
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mq-zii-ultra-rmb3.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
8 #include "imx8mq-zii-ultra.dtsi"
12 compatible = "zii,imx8mq-ultra-rmb3", "zii,imx8mq-ultra", "fsl,imx8mq";
15 compatible = "simple-audio-card";
16 simple-audio-card,name = "front";
17 simple-audio-card,format = "i2s";
18 simple-audio-card,bitclock-master = <&sound1_codec>;
19 simple-audio-card,frame-master = <&sound1_codec>;
20 simple-audio-card,widgets =
[all …]
/linux/include/linux/
H A Drmi.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2011-2016 Synaptics Incorporated
21 * struct rmi_2d_axis_alignment - target axis alignment
22 * @swap_axes: set to TRUE if desired to swap x- and y-axis
23 * @flip_x: set to TRUE if desired to flip direction on x-axis
24 * @flip_y: set to TRUE if desired to flip direction on y-axis
25 * @clip_x_low - reported X coordinates below this setting will be clipped to
27 * @clip_x_high - reported X coordinates above this setting will be clipped to
29 * @clip_y_low - reported Y coordinates below this setting will be clipped to
31 * @clip_y_high - reported Y coordinates above this setting will be clipped to
[all …]
/linux/arch/arm64/boot/dts/mediatek/
H A Dmt6795-sony-xperia-m5.dts1 // SPDX-License-Identifier: GPL-2.0-only
7 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
14 compatible = "sony,xperia-m5", "mediatek,mt6795";
15 chassis-type = "handset";
26 compatible = "led-backlight";
29 default-brightness-level = <300>;
32 led-controller-display {
33 compatible = "pwm-leds";
35 disp_led_pwm: led-0 {
[all …]
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx51-zii-rdu1.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/sound/fsl-imx-audmux.h>
12 compatible = "zii,imx51-rdu1", "fsl,imx51";
15 stdout-path = &uart1;
25 mdio-gpio0 = &mdio_gpio;
30 compatible = "fixed-clock";
31 #clock-cells = <0>;
32 clock-frequency = <26000000>;
36 compatible = "gpio-gate-clock";
[all …]

12