Searched +full:am3359 +full:- +full:tsc (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/Documentation/devicetree/bindings/input/touchscreen/ |
D | ti,am3359-tsc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/touchscreen/ti,am3359-tsc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TI AM3359 Touchscreen controller 10 - Miquel Raynal <miquel.raynal@bootlin.com> 14 const: ti,am3359-tsc 22 ti,x-plate-resistance: 26 ti,coordinate-readouts: 36 ti,wire-config: [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | ti,am3359-tscadc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/ti,am3359-tscadc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TI AM3359 Touchscreen controller/ADC 10 - Miquel Raynal <miquel.raynal@bootlin.com> 15 - const: ti,am3359-tscadc 16 - items: 17 - const: ti,am654-tscadc 18 - const: ti,am3359-tscadc [all …]
|
/linux-6.12.1/drivers/mfd/ |
D | ti_am335x_tscadc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 33 spin_lock_irqsave(&tscadc->reg_lock, flags); in am335x_tsc_se_set_cache() 34 tscadc->reg_se_cache |= val; in am335x_tsc_se_set_cache() 35 if (tscadc->adc_waiting) in am335x_tsc_se_set_cache() 36 wake_up(&tscadc->reg_se_wait); in am335x_tsc_se_set_cache() 37 else if (!tscadc->adc_in_use) in am335x_tsc_se_set_cache() 38 regmap_write(tscadc->regmap, REG_SE, tscadc->reg_se_cache); in am335x_tsc_se_set_cache() 40 spin_unlock_irqrestore(&tscadc->reg_lock, flags); in am335x_tsc_se_set_cache() 49 regmap_read(tscadc->regmap, REG_ADCFSM, ®); in am335x_tscadc_need_adc() [all …]
|
/linux-6.12.1/include/linux/mfd/ |
D | ti_am335x_tscadc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 171 /* tsc device */ 172 struct titsc *tsc; member 180 struct ti_tscadc_dev **tscadc_dev = p->dev.platform_data; in ti_tscadc_dev_get() 187 return of_device_is_compatible(tscadc->dev->of_node, in ti_adc_with_touchscreen() 188 "ti,am3359-tscadc"); in ti_adc_with_touchscreen()
|
/linux-6.12.1/drivers/input/touchscreen/ |
D | ti_am335x_tsc.c | 4 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ 35 #define MAX_12BIT ((1 << 12) - 1) 64 return readl(ts->mfd_tscadc->tscadc_base + reg); in titsc_readl() 67 static void titsc_writel(struct titsc *tsc, unsigned int reg, in titsc_writel() argument 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() 89 return -EINVAL; in titsc_config_wires() [all …]
|
/linux-6.12.1/drivers/iio/adc/ |
D | ti_am335x_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 26 #include <linux/dma-mapping.h> 56 return readl(adc->mfd_tscadc->tscadc_base + reg); in tiadc_readl() 62 writel(val, adc->mfd_tscadc->tscadc_base + reg); in tiadc_writel() 69 step_en = ((1 << adc_dev->channels) - 1); in get_adc_step_mask() 70 step_en <<= TOTAL_STEPS - adc_dev->channels + 1; in get_adc_step_mask() 79 for (i = 0; i < ARRAY_SIZE(adc_dev->channel_step); i++) { in get_adc_chan_step_mask() 80 if (chan->channel == adc_dev->channel_line[i]) { in get_adc_chan_step_mask() 83 step = adc_dev->channel_step[i]; in get_adc_chan_step_mask() [all …]
|
/linux-6.12.1/arch/arm/boot/dts/ti/omap/ |
D | am33xx-l4.dtsi | 2 compatible = "ti,am33xx-l4-wkup", "simple-pm-bus"; 3 power-domains = <&prm_wkup>; 5 clock-names = "fck"; 10 reg-names = "ap", "la", "ia0", "ia1"; 11 #address-cells = <1>; 12 #size-cells = <1>; 18 compatible = "simple-pm-bus"; 19 #address-cells = <1>; 20 #size-cells = <1>; 28 compatible = "simple-pm-bus"; [all …]
|
D | am437x-l4.dtsi | 2 compatible = "ti,am4-l4-wkup", "simple-pm-bus"; 3 power-domains = <&prm_wkup>; 5 clock-names = "fck"; 10 reg-names = "ap", "la", "ia0", "ia1"; 11 #address-cells = <1>; 12 #size-cells = <1>; 18 compatible = "simple-pm-bus"; 19 #address-cells = <1>; 20 #size-cells = <1>; 28 compatible = "simple-pm-bus"; [all …]
|