/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | atmel,sama9260-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/atmel,sama9260-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: AT91 sama9260 and similar Analog to Digital Converter (ADC) 10 - Alexandre Belloni <alexandre.belloni@bootlin.com> 15 - atmel,at91sam9260-adc 16 - atmel,at91sam9rl-adc 17 - atmel,at91sam9g45-adc 18 - atmel,at91sam9x5-adc [all …]
|
/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | fsl-mx25-tcq.txt | 1 Freescale mx25 TS conversion queue module 3 mx25 touchscreen conversion queue module which controls the ADC unit of the 7 - compatible: Should be "fsl,imx25-tcq". 8 - reg: Memory range of the device. 9 - interrupts: Should be the interrupt number associated with this module within 11 - fsl,wires: Should be '<4>' or '<5>' 14 - fsl,pen-debounce-ns: Pen debounce time in nanoseconds. 15 - fsl,pen-threshold: Pen-down threshold for the touchscreen. This is a value 20 - fsl,settling-time-ns: Settling time in nanoseconds. The settling time is before 25 The first queue is for the touchscreen, the second for general purpose ADC. [all …]
|
/linux/arch/arm/boot/dts/microchip/ |
H A D | sama5d3xdm.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * sama5d3dm.dtsi - Device Tree file for SAMA5 display module 16 interrupt-parent = <&pioE>; 18 pinctrl-names = "default"; 19 pinctrl-0 = <&pinctrl_qt1070_irq>; 20 wakeup-source; 24 adc0: adc@f8018000 { 25 atmel,adc-ts-wires = <4>; 26 atmel,adc-ts-pressure-threshold = <10000>;
|
H A D | at91-cosino_mega2560.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91-cosino_mega2560.dts - Device Tree file for Cosino board with 6 * Copyright (C) 2013 - Rodolfo Giometti <giometti@linux.it> 14 /dts-v1/; 15 #include "at91-cosino.dtsi" 23 atmel,adc-ts-wires = <4>; 24 atmel,adc-ts-pressure-threshold = <10000>; 29 phy-mode = "rmii"; 34 pinctrl-0 = < 37 pinctrl-names = "default"; [all …]
|
H A D | at91sam9x5dm.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91sam9x5dm.dtsi - Device Tree file for SAM9x5 display module 8 * Author: Boris Brezillon <boris.brezillon@free-electrons.com> 13 compatible = "pwm-backlight"; 15 brightness-levels = <0 4 8 16 32 64 128 255>; 16 default-brightness-level = <6>; 17 power-supply = <&bl_reg>; 22 compatible = "regulator-fixed"; 23 regulator-name = "backlight-power-supply"; 24 regulator-min-microvolt = <5000000>; [all …]
|
H A D | at91-sama5d4_ma5d4evk.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 /dts-v1/; 7 #include "at91-sama5d4_ma5d4.dtsi" 14 stdout-path = "serial3:115200n8"; 19 atmel,vbus-gpio = <&pioE 31 GPIO_ACTIVE_HIGH>; 20 pinctrl-names = "default"; 21 pinctrl-0 = <&pinctrl_usba_vbus>; 26 num-ports = <3>; 27 atmel,vbus-gpio = <0 42 hlcdc-display-controller { [all …]
|
H A D | at91-cosino.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91-cosino.dtsi - Device Tree file for Cosino core module 5 * Copyright (C) 2013 - Rodolfo Giometti <giometti@linux.it> 29 clock-frequency = <32768>; 33 clock-frequency = <12000000>; 39 atmel,adc-ts-wires = <4>; 40 atmel,adc-ts-pressure-threshold = <10000>; 49 pinctrl-0 = <&pinctrl_ebi_addr_nand 51 pinctrl-names = "default"; 54 nand-controller { [all …]
|
H A D | at91sam9x5ek.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91sam9x5ek.dtsi - Device Tree file for AT91SAM9x5CM Base board 11 model = "Atmel AT91SAM9X5-EK"; 16 stdout-path = "serial0:115200n8"; 20 compatible = "atmel,sam9x5-wm8731-audio"; 24 atmel,audio-routing = 30 atmel,ssc-controller = <&ssc0>; 31 atmel,audio-codec = <&wm8731>; 36 atmel,adc-ts-wires = <4>; 37 atmel,adc-ts-pressure-threshold = <10000>; [all …]
|
H A D | at91-sama5d4ek.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama5d4ek.dts - Device Tree file for SAMA5D4 Evaluation Kit 8 /dts-v1/; 12 model = "Atmel SAMA5D4-EK"; 16 stdout-path = "serial0:115200n8"; 25 clock-frequency = <32768>; 29 clock-frequency = <12000000>; 35 adc0: adc@fc034000 { 36 pinctrl-names = "default"; 37 pinctrl-0 = < [all …]
|
H A D | at91sam9rlek.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * at91sam9rlek.dts - Device Tree file for Atmel at91sam9rl reference board 6 * Alexandre Belloni <alexandre.belloni@free-electrons.com> 8 /dts-v1/; 17 stdout-path = "serial0:115200n8"; 26 clock-frequency = <32768>; 30 clock-frequency = <12000000>; 40 bits-per-pixel = <16>; 41 atmel,lcdcon-backlight; 44 atmel,guard-time = <1>; [all …]
|
H A D | at91sam9m10g45ek.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91sam9m10g45ek.dts - Device Tree file for AT91SAM9M10G45-EK board 8 /dts-v1/; 10 #include <dt-bindings/pwm/pwm.h> 13 model = "Atmel AT91SAM9M10G45-EK"; 18 stdout-path = "serial0:115200n8"; 27 clock-frequency = <32768>; 31 clock-frequency = <12000000>; 43 compatible = "atmel,tcb-timer"; 48 compatible = "atmel,tcb-timer"; [all …]
|
/linux/drivers/mfd/ |
H A D | mxs-lradc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Freescale MXS Low Resolution Analog-to-Digital Converter driver 16 #include <linux/mfd/mxs-lradc.h> 57 DEFINE_RES_IRQ_NAMED(MX23_LRADC_CH0_IRQ, "mxs-lradc-channel0"), 58 DEFINE_RES_IRQ_NAMED(MX23_LRADC_CH1_IRQ, "mxs-lradc-channel1"), 59 DEFINE_RES_IRQ_NAMED(MX23_LRADC_CH2_IRQ, "mxs-lradc-channel2"), 60 DEFINE_RES_IRQ_NAMED(MX23_LRADC_CH3_IRQ, "mxs-lradc-channel3"), 61 DEFINE_RES_IRQ_NAMED(MX23_LRADC_CH4_IRQ, "mxs-lradc-channel4"), 62 DEFINE_RES_IRQ_NAMED(MX23_LRADC_CH5_IRQ, "mxs-lradc-channel5"), 67 DEFINE_RES_IRQ_NAMED(MX23_LRADC_TS_IRQ, "mxs-lradc-touchscreen"), [all …]
|
/linux/drivers/input/touchscreen/ |
H A D | ti_am335x_tsc.c | 4 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ 35 #define MAX_12BIT ((1 << 12) - 1) 51 unsigned int wires; member 62 static unsigned int titsc_readl(struct titsc *ts, unsigned int reg) in titsc_readl() argument 64 return readl(ts->mfd_tscadc->tscadc_base + reg); in titsc_readl() 70 writel(val, tsc->mfd_tscadc->tscadc_base + reg); in titsc_writel() 81 * Get the order in which TSC wires are attached in titsc_config_wires() 84 analog_line[i] = (ts_dev->config_inp[i] & 0xF0) >> 4; in titsc_config_wires() 85 wire_order[i] = ts_dev->config_inp[i] & 0x0F; in titsc_config_wires() 87 return -EINVAL; in titsc_config_wires() [all …]
|
H A D | fsl-imx25-tcq.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (C) 2014-2015 Pengutronix, Markus Pargmann <mpa@pengutronix.de> 8 // connected to the imx25 ADC. 14 #include <linux/mfd/imx25-tsadc.h> 20 static const char mx25_tcq_name[] = "mx25-tcq"; 50 { .compatible = "fsl,imx25-tcq", }, 103 regmap_write(priv->core_regs, MX25_TSC_TICR, precharge_cfg); in imx25_setup_queue_cfgs() 106 regmap_write(priv->regs, MX25_ADCQ_CFG(MX25_CFG_PRECHARGE), in imx25_setup_queue_cfgs() 110 regmap_write(priv->regs, MX25_ADCQ_CFG(MX25_CFG_TOUCH_DETECT), in imx25_setup_queue_cfgs() 114 regmap_write(priv->regs, MX25_ADCQ_CFG(MX25_CFG_X_MEASUREMENT), in imx25_setup_queue_cfgs() [all …]
|
H A D | mxs-lradc-ts.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 #include <linux/mfd/mxs-lradc.h> 25 "mxs-lradc-touchscreen", 26 "mxs-lradc-channel6", 27 "mxs-lradc-channel7", 91 static bool mxs_lradc_check_touch_event(struct mxs_lradc_ts *ts) in mxs_lradc_check_touch_event() argument 93 return !!(readl(ts->base + LRADC_STATUS) & in mxs_lradc_check_touch_event() 97 static void mxs_lradc_map_ts_channel(struct mxs_lradc_ts *ts, unsigned int vch, in mxs_lradc_map_ts_channel() argument 101 ts->base + LRADC_CTRL4 + STMP_OFFSET_REG_CLR); in mxs_lradc_map_ts_channel() 103 ts->base + LRADC_CTRL4 + STMP_OFFSET_REG_SET); in mxs_lradc_map_ts_channel() [all …]
|