Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.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 …]
/kernel/linux/linux-6.6/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 should be a child node of the stmpe node to which it belongs.
20 const: st,stmpe-adc
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/
Dst,stmpe.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mfd/st,stmpe.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectonics Port Expander (STMPE)
9 description: STMicroelectronics Port Expander (STMPE) is a series of slow
11 touchscreen, ADC, PWM or rotator. It can contain one or several different
15 - Linus Walleij <linus.walleij@linaro.org>
18 - $ref: /schemas/spi/spi-peripheral-props.yaml#
23 - st,stmpe601
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-6.6/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
23 #include "stmpe.h"
26 * struct stmpe_platform_data - STMPE platform data
30 * @autosleep: bool to enable/disable stmpe autosleep
41 static int __stmpe_enable(struct stmpe *stmpe, unsigned int blocks) in __stmpe_enable() argument
43 return stmpe->variant->enable(stmpe, blocks, true); in __stmpe_enable()
46 static int __stmpe_disable(struct stmpe *stmpe, unsigned int blocks) in __stmpe_disable() argument
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
45 tristate "Active-semi ACT8945A"
50 Support for the ACT8945A PMIC from Active-semi. This device
51 features three step-down DC/DC converters and four low-dropout
63 Select this to get support for Allwinner SoCs (A10, A13 and A31) ADC.
66 the ADC or the thermal sensor. This will try to probe the ADC driver
67 sun4i-gpadc-iio and the hwmon driver iio_hwmon.
70 called sun4i-gpadc.
101 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down
103 over current monitoring, GPIOs, ADC and a watchdog.
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-6.6/drivers/input/touchscreen/
Dstmpe-ts.c1 // SPDX-License-Identifier: GPL-2.0-or-later
23 #include <linux/mfd/stmpe.h>
46 #define STMPE_TS_NAME "stmpe-ts"
50 * struct stmpe_touch - stmpe811 touch screen controller state
51 * @stmpe: pointer back to STMPE MFD container
57 * (0 -> 1 sample, 1 -> 2 samples, 2 -> 4 samples, 3 -> 8 samples)
59 * (0 -> 10 us, 1 -> 50 us, 2 -> 100 us, 3 -> 500 us,
60 * 4-> 1 ms, 5 -> 5 ms, 6 -> 10 ms, 7 -> 50 ms)
63 * (0 -> 10 us, 1 -> 100 us, 2 -> 500 us, 3 -> 1 ms,
64 * 4 -> 5 ms, 5 -> 10 ms, 6 for 50 ms, 7 -> 100 ms)
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/gpio/
Dst,stmpe-gpio.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/gpio/st,stmpe-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectonics Port Expander (STMPE) GPIO Block
10 STMicroelectronics Port Expander (STMPE) is a series of slow
12 touchscreen, ADC, PWM or rotator. It can contain one or several different
17 - Linus Walleij <linus.walleij@linaro.org>
21 const: st,stmpe-gpio
23 "#gpio-cells":
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/intel/socfpga/
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 …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/st/
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 …]
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 …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/ti/omap/
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 …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/
Dimx6ul-phytec-segin-peb-av-02.dtsi1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
9 backlight_lcd: backlight-lcd {
10 compatible = "pwm-backlight";
11 brightness-levels = <0 4 8 16 32 64 128 255>;
12 default-brightness-level = <5>;
13 power-supply = <&reg_backlight_en>;
18 lcd_panel: lcd-panel {
25 remote-endpoint = <&lcdif_parallel_out>;
30 reg_backlight_en: regulator-backlight-en {
31 compatible = "regulator-fixed";
[all …]

123