| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/ |
| D | st,stmpe-adc.yaml | 1 # 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-5.10/drivers/iio/adc/ |
| D | stmpe-adc.c | 1 // 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 …]
|
| D | Makefile | 1 # 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 …]
|
| /kernel/linux/linux-4.19/drivers/input/touchscreen/ |
| D | stmpe-ts.c | 27 #include <linux/mfd/stmpe.h> 63 #define STMPE_TS_NAME "stmpe-ts" 67 * struct stmpe_touch - stmpe811 touch screen controller state 68 * @stmpe: pointer back to STMPE MFD container 72 * @sample_time: ADC converstion time in number of clock. 73 * (0 -> 36 clocks, 1 -> 44 clocks, 2 -> 56 clocks, 3 -> 64 clocks, 74 * 4 -> 80 clocks, 5 -> 96 clocks, 6 -> 144 clocks), 76 * @mod_12b: ADC Bit mode (0 -> 10bit ADC, 1 -> 12bit ADC) 77 * @ref_sel: ADC reference source 78 * (0 -> internal reference, 1 -> external reference) [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/touchscreen/ |
| D | stmpe.txt | 1 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-4.19/Documentation/devicetree/bindings/input/touchscreen/ |
| D | stmpe.txt | 1 STMPE Touchscreen 2 ---------------- 5 - compatible: "st,stmpe-ts" 8 - st,sample-time: ADC converstion time in number of clock. (0 -> 36 clocks, 1 -> 9 44 clocks, 2 -> 56 clocks, 3 -> 64 clocks, 4 -> 80 clocks, 5 -> 96 clocks, 6 10 -> 144 clocks), recommended is 4. 11 - st,mod-12b: ADC Bit mode (0 -> 10bit ADC, 1 -> 12bit ADC) 12 - st,ref-sel: ADC reference source (0 -> internal reference, 1 -> external 14 - st,adc-freq: ADC Clock speed (0 -> 1.625 MHz, 1 -> 3.25 MHz, 2 || 3 -> 6.5 MHz) 15 - st,ave-ctrl: Sample average control (0 -> 1 sample, 1 -> 2 samples, 2 -> 4 [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | stmpe.txt | 1 * 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-5.10/drivers/mfd/ |
| D | stmpe.c | 1 // 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 …]
|
| D | Kconfig | 1 # 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-5.10/drivers/input/touchscreen/ |
| D | stmpe-ts.c | 1 // 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-5.10/include/linux/mfd/ |
| D | stmpe.h | 1 /* 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-4.19/Documentation/devicetree/bindings/mfd/ |
| D | stmpe.txt | 1 * 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-5.10/arch/arm/boot/dts/ |
| D | stm32f429-disco.dts | 2 * 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 …]
|
| D | socfpga_cyclone5_mcvevk.dts | 1 // 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 …]
|
| D | am5729-beagleboneai.dts | 1 // 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 …]
|
| D | spear320-hmi.dts | 1 // 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 …]
|
| D | imx53-m53.dtsi | 1 // 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 …]
|
| D | spear1340-evb.dts | 1 // 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 …]
|
| /kernel/linux/linux-4.19/drivers/mfd/ |
| D | Kconfig | 17 ---help--- 33 tristate "Active-semi ACT8945A" 38 Support for the ACT8945A PMIC from Active-semi. This device 39 features three step-down DC/DC converters and four low-dropout 51 Select this to get support for Allwinner SoCs (A10, A13 and A31) ADC. 54 the ADC or the thermal sensor. This will try to probe the ADC driver 55 sun4i-gpadc-iio and the hwmon driver iio_hwmon. 58 called sun4i-gpadc. 77 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down 79 over current monitoring, GPIOs, ADC and a watchdog. [all …]
|
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 6 88pm860x-objs := 88pm860x-core.o 88pm860x-i2c.o 7 obj-$(CONFIG_MFD_88PM860X) += 88pm860x.o 8 obj-$(CONFIG_MFD_88PM800) += 88pm800.o 88pm80x.o 9 obj-$(CONFIG_MFD_88PM805) += 88pm805.o 88pm80x.o 10 obj-$(CONFIG_MFD_ACT8945A) += act8945a.o 11 obj-$(CONFIG_MFD_SM501) += sm501.o 12 obj-$(CONFIG_MFD_ASIC3) += asic3.o tmio_core.o 13 obj-$(CONFIG_MFD_BCM590XX) += bcm590xx.o 14 obj-$(CONFIG_MFD_BD9571MWV) += bd9571mwv.o [all …]
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| D | socfpga_cyclone5_mcvevk.dts | 22 compatible = "denx,mcvevk", "altr,socfpga-cyclone5", "altr,socfpga"; 26 stmpe-i2c0 = &stmpe1; 30 stdout-path = "serial0:115200n8"; 43 phy-mode = "rgmii"; 61 clock-frequency = <100000>; 65 #address-cells = <1>; 66 #size-cells = <0>; 70 irq-gpio = <&portb 28 0x4>; /* GPIO 57, trig. level HI */ 73 compatible = "st,stmpe-ts"; 74 ts,sample-time = <4>; [all …]
|
| D | spear320-hmi.dts | 10 * http://www.opensource.org/licenses/gpl-license.html 14 /dts-v1/; 19 compatible = "st,spear320-hmi", "st,spear320"; 20 #address-cells = <1>; 21 #size-cells = <1>; 29 st,pinmux-mode = <4>; 30 pinctrl-names = "default"; 31 pinctrl-0 = <&state_default>; 113 label = "u-boot"; 135 compatible = "gpio-keys"; [all …]
|
| D | spear1340-evb.dts | 10 * http://www.opensource.org/licenses/gpl-license.html 14 /dts-v1/; 19 compatible = "st,spear1340-evb", "st,spear1340"; 20 #address-cells = <1>; 21 #size-cells = <1>; 29 pinctrl-names = "default"; 30 pinctrl-0 = <&state_default>; 53 spdif-in { 57 spdif-out { 65 smi-pmx { [all …]
|
| /kernel/linux/linux-4.19/drivers/input/keyboard/ |
| D | Kconfig | 16 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. 107 Say Y here if you have a PA-RISC machine and want to use an AT or 109 PA-RISC keyboards. 119 built-in keyboard (as opposed to an external keyboard). [all …]
|
| /kernel/linux/linux-5.10/drivers/input/keyboard/ |
| D | Kconfig | 1 # 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. 122 Say Y here if you have a PA-RISC machine and want to use an AT or 124 PA-RISC keyboards. [all …]
|