Home
last modified time | relevance | path

Searched +full:stmpe +full:- +full:adc (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v5.10/Documentation/devicetree/bindings/iio/adc/
Dst,stmpe-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/st,stmpe-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ADC on an STMPE multifunction device.
10 - Stefan Agner <stefan@agner.ch>
13 This ADC forms part of an ST microelectronics STMPE multifunction device .
14 The ADC is shared with the STMPE touchscreen. As a result some ADC related
16 The node name myst be stmpe_adc and should be a child node of the stmpe node
21 const: st,stmpe-adc
[all …]
/Linux-v5.10/drivers/iio/adc/
Dstmpe-adc.c1 // SPDX-License-Identifier: GPL-2.0
3 * STMicroelectronics STMPE811 IIO ADC Driver
5 * 4 channel, 10/12-bit ADC
7 * Copyright (C) 2013-2018 Toradex AG <stefan.agner@toradex.com>
15 #include <linux/mfd/stmpe.h>
47 struct stmpe *stmpe; member
66 mutex_lock(&info->lock); in stmpe_read_voltage()
68 reinit_completion(&info->completion); in stmpe_read_voltage()
70 info->channel = (u8)chan->channel; in stmpe_read_voltage()
72 if (info->channel > STMPE_ADC_LAST_NR) { in stmpe_read_voltage()
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for IIO ADC drivers
7 obj-$(CONFIG_AB8500_GPADC) += ab8500-gpadc.o
8 obj-$(CONFIG_AD_SIGMA_DELTA) += ad_sigma_delta.o
9 obj-$(CONFIG_AD7091R5) += ad7091r5.o ad7091r-base.o
10 obj-$(CONFIG_AD7124) += ad7124.o
11 obj-$(CONFIG_AD7192) += ad7192.o
12 obj-$(CONFIG_AD7266) += ad7266.o
13 obj-$(CONFIG_AD7291) += ad7291.o
14 obj-$(CONFIG_AD7292) += ad7292.o
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # ADC drivers
10 bool "ST-Ericsson AB8500 GPADC driver"
25 tristate "Analog Devices AD7091R5 ADC Driver"
29 Say yes here to build support for Analog Devices AD7091R-5 ADC.
32 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver"
36 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8
37 SPI analog to digital converters (ADC).
43 tristate "Analog Devices AD7190 AD7192 AD7193 AD7195 ADC driver"
48 AD7192, AD7193 or AD7195 SPI analog to digital converters (ADC).
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/input/touchscreen/
Dstmpe.txt1 STMPE Touchscreen
2 ----------------
5 - compatible: "st,stmpe-ts"
8 - st,ave-ctrl : Sample average control
9 0 -> 1 sample
10 1 -> 2 samples
11 2 -> 4 samples
12 3 -> 8 samples
13 - st,touch-det-delay : Touch detect interrupt delay (recommended is 3)
14 0 -> 10 us
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/mfd/
Dstmpe.txt1 * ST Microelectronics STMPE Multi-Functional Device
3 STMPE is an MFD device which may expose the following inbuilt devices: gpio,
4 keypad, touchscreen, adc, pwm, rotator.
7 - compatible : "st,stmpe[610|801|811|1600|1601|2401|2403]"
8 - reg : I2C/SPI address of the device
11 - interrupts : The interrupt outputs from the controller
12 - interrupt-controller : Marks the device node as an interrupt controller
13 - wakeup-source : Marks the input device as wakable
14 - st,autosleep-timeout : Valid entries (ms); 4, 16, 32, 64, 128, 256, 512 and 1024
15 - irq-gpio : If present, which GPIO to use for event IRQ
[all …]
/Linux-v5.10/drivers/mfd/
Dstmpe.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * ST Microelectronics MFD: stmpe's driver
5 * Copyright (C) ST-Ericsson SA 2010
7 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
24 #include "stmpe.h"
27 * struct stmpe_platform_data - STMPE platform data
31 * @autosleep: bool to enable/disable stmpe autosleep
47 static int __stmpe_enable(struct stmpe *stmpe, unsigned int blocks) in __stmpe_enable() argument
49 return stmpe->variant->enable(stmpe, blocks, true); in __stmpe_enable()
52 static int __stmpe_disable(struct stmpe *stmpe, unsigned int blocks) in __stmpe_disable() argument
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
44 tristate "Active-semi ACT8945A"
49 Support for the ACT8945A PMIC from Active-semi. This device
50 features three step-down DC/DC converters and four low-dropout
62 Select this to get support for Allwinner SoCs (A10, A13 and A31) ADC.
65 the ADC or the thermal sensor. This will try to probe the ADC driver
66 sun4i-gpadc-iio and the hwmon driver iio_hwmon.
69 called sun4i-gpadc.
88 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down
90 over current monitoring, GPIOs, ADC and a watchdog.
[all …]
/Linux-v5.10/drivers/input/touchscreen/
Dstmpe-ts.c1 // SPDX-License-Identifier: GPL-2.0-or-later
22 #include <linux/mfd/stmpe.h>
45 #define STMPE_TS_NAME "stmpe-ts"
49 * struct stmpe_touch - stmpe811 touch screen controller state
50 * @stmpe: pointer back to STMPE MFD container
55 * (0 -> 1 sample, 1 -> 2 samples, 2 -> 4 samples, 3 -> 8 samples)
57 * (0 -> 10 us, 1 -> 50 us, 2 -> 100 us, 3 -> 500 us,
58 * 4-> 1 ms, 5 -> 5 ms, 6 -> 10 ms, 7 -> 50 ms)
61 * (0 -> 10 us, 1 -> 100 us, 2 -> 500 us, 3 -> 1 ms,
62 * 4 -> 5 ms, 5 -> 10 ms, 6 for 50 ms, 7 -> 100 ms)
[all …]
/Linux-v5.10/include/linux/mfd/
Dstmpe.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) ST-Ericsson SA 2010
5 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
53 * obtained by indexing stmpe->regs with one of the following.
103 * struct stmpe - STMPE MFD structure
110 * @client: client - i2c or spi
113 * @variant: the detected STMPE model number
116 * @irq: irq number for stmpe
122 struct stmpe { struct
141 /* For devices that use an ADC */
[all …]
/Linux-v5.10/arch/arm/boot/dts/
Dstm32f429-disco.dts2 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com>
4 * This file is dual-licensed: you can use it either under the terms
22 * MA 02110-1301 USA
48 /dts-v1/;
50 #include "stm32f429-pinctrl.dtsi"
51 #include <dt-bindings/input/input.h>
52 #include <dt-bindings/interrupt-controller/irq.h>
53 #include <dt-bindings/gpio/gpio.h>
56 model = "STMicroelectronics STM32F429i-DISCO board";
57 compatible = "st,stm32f429i-disco", "st,stm32f429";
[all …]
Dsocfpga_cyclone5_mcvevk.dts1 // SPDX-License-Identifier: GPL-2.0+
10 compatible = "denx,mcvevk", "altr,socfpga-cyclone5", "altr,socfpga";
14 stmpe-i2c0 = &stmpe1;
18 stdout-path = "serial0:115200n8";
31 phy-mode = "rgmii";
49 clock-frequency = <100000>;
53 #address-cells = <1>;
54 #size-cells = <0>;
58 irq-gpio = <&portb 28 0x4>; /* GPIO 57, trig. level HI */
61 compatible = "st,stmpe-ts";
[all …]
Dam5729-beagleboneai.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2014-2019 Texas Instruments Incorporated - http://www.ti.com/
6 /dts-v1/;
9 #include "am57xx-commercial-grade.dtsi"
10 #include "dra74x-mmc-iodelay.dtsi"
11 #include "dra74-ipu-dsp-common.dtsi"
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
14 #include <dt-bindings/pinctrl/dra.h>
18 compatible = "beagle,am5729-beagleboneai", "ti,am5728",
[all …]
Dspear320-hmi.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
8 /dts-v1/;
13 compatible = "st,spear320-hmi", "st,spear320";
14 #address-cells = <1>;
15 #size-cells = <1>;
23 st,pinmux-mode = <4>;
24 pinctrl-names = "default";
25 pinctrl-0 = <&state_default>;
107 label = "u-boot";
129 compatible = "gpio-keys";
[all …]
Dspear1340-evb.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
8 /dts-v1/;
13 compatible = "st,spear1340-evb", "st,spear1340";
14 #address-cells = <1>;
15 #size-cells = <1>;
23 pinctrl-names = "default";
24 pinctrl-0 = <&state_default>;
47 spdif-in {
51 spdif-out {
59 smi-pmx {
[all …]
Dimx53-m53.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
10 compatible = "aries,imx53-m53", "denx,imx53-m53", "fsl,imx53";
19 compatible = "simple-bus";
20 #address-cells = <1>;
21 #size-cells = <0>;
24 compatible = "regulator-fixed";
26 regulator-name = "3P2V";
27 regulator-min-microvolt = <3200000>;
28 regulator-max-microvolt = <3200000>;
29 regulator-always-on;
[all …]
Dimx6qdl-colibri.dtsi1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
3 * Copyright 2014-2020 Toradex
8 #include <dt-bindings/gpio/gpio.h>
15 compatible = "pwm-backlight";
16 pinctrl-names = "default";
17 pinctrl-0 = <&pinctrl_gpio_bl_on>;
19 enable-gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>; /* Colibri BL_ON */
23 reg_module_3v3: regulator-module-3v3 {
24 compatible = "regulator-fixed";
25 regulator-name = "+V3.3";
[all …]
Dr8a7745-iwg22d-sodimm.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the iWave-RZG1E SODIMM carrier board
9 * SSI-SGTL5000
31 /dts-v1/;
32 #include "r8a7745-iwg22m.dtsi"
33 #include <dt-bindings/pwm/pwm.h>
36 model = "iWave Systems RainboW-G22D-SODIMM board based on RZ/G1E";
47 stdout-path = "serial3:115200n8";
51 compatible = "fixed-clock";
52 #clock-cells = <0>;
[all …]
Dimx6ul-phytec-segin.dtsi1 // SPDX-License-Identifier: GPL-2.0
8 model = "PHYTEC phyBOARD-Segin i.MX6 UltraLite";
9 compatible = "phytec,imx6ul-pbacd-10", "phytec,imx6ul-pcl063", "fsl,imx6ul";
16 reg_sound_1v8: regulator-1v8 {
17 compatible = "regulator-fixed";
18 regulator-name = "i2s-audio-1v8";
19 regulator-min-microvolt = <1800000>;
20 regulator-max-microvolt = <1800000>;
24 reg_sound_3v3: regulator-3v3 {
25 compatible = "regulator-fixed";
[all …]
Dimx6qdl-phytec-pbab01.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include <dt-bindings/sound/fsl-imx-audmux.h>
10 stdout-path = &uart4;
15 compatible = "regulator-fixed";
17 regulator-name = "i2s-audio-1v8";
18 regulator-min-microvolt = <1800000>;
19 regulator-max-microvolt = <1800000>;
23 compatible = "regulator-fixed";
25 regulator-name = "i2s-audio-3v3";
26 regulator-min-microvolt = <3300000>;
[all …]
Dimx6qdl-apalis.dtsi1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
3 * Copyright 2014-2020 Toradex
8 #include <dt-bindings/gpio/gpio.h>
21 compatible = "pwm-backlight";
22 pinctrl-names = "default";
23 pinctrl-0 = <&pinctrl_gpio_bl_on>;
25 enable-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
29 reg_module_3v3: regulator-module-3v3 {
30 compatible = "regulator-fixed";
31 regulator-name = "+V3.3";
[all …]
Dimx6qdl-phytec-mira.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
14 compatible = "pwm-backlight";
15 brightness-levels = <0 4 8 16 32 64 128 255>;
16 default-brightness-level = <7>;
17 power-supply = <&reg_backlight>;
23 compatible = "gpio-leds";
24 pinctrl-names = "default";
25 pinctrl-0 = <&pinctrl_gpioleds>;
29 label = "phyboard-mira:red";
34 label = "phyboard-mira:green";
[all …]
Dimx6ul-isiot.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR X11
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
18 stdout-path = &uart1;
22 compatible = "pwm-backlight";
24 brightness-levels = < 0 1 2 3 4 5 6 7 8 9
35 default-brightness-level = <100>;
38 reg_1p8v: regulator-1p8v {
39 compatible = "regulator-fixed";
40 regulator-name = "1P8V";
[all …]
/Linux-v5.10/drivers/input/keyboard/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
17 tristate "ADC Ladder Buttons"
21 to an ADC using a resistor ladder.
23 Say Y here if your device has such buttons connected to an ADC. Your
24 board-specific setup logic must also provide a configuration data
38 be called adp5520-keys.
48 module will be called adp5588-keys.
58 module will be called adp5589-keys.
125 Say Y here if you have a PA-RISC machine and want to use an AT or
127 PA-RISC keyboards.
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
8 obj-$(CONFIG_KEYBOARD_ADC) += adc-keys.o
9 obj-$(CONFIG_KEYBOARD_ADP5520) += adp5520-keys.o
10 obj-$(CONFIG_KEYBOARD_ADP5588) += adp5588-keys.o
11 obj-$(CONFIG_KEYBOARD_ADP5589) += adp5589-keys.o
12 obj-$(CONFIG_KEYBOARD_AMIGA) += amikbd.o
13 obj-$(CONFIG_KEYBOARD_APPLESPI) += applespi.o
14 obj-$(CONFIG_KEYBOARD_ATARI) += atakbd.o
15 obj-$(CONFIG_KEYBOARD_ATKBD) += atkbd.o
16 obj-$(CONFIG_KEYBOARD_BCM) += bcm-keypad.o
[all …]

12