Home
last modified time | relevance | path

Searched +full:am3359 +full:- +full:tsc (Results 1 – 6 of 6) sorted by relevance

/linux/Documentation/devicetree/bindings/input/touchscreen/
H A Dti,am3359-tsc.yaml1 # 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/Documentation/devicetree/bindings/mfd/
H A Dti,am3359-tscadc.yaml1 # 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/drivers/mfd/
H A Dti_am335x_tscadc.c1 // 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, &reg); in am335x_tscadc_need_adc()
[all …]
/linux/include/linux/mfd/
H A Dti_am335x_tscadc.h1 /* 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/drivers/input/touchscreen/
H A Dti_am335x_tsc.c4 * 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/arch/arm/boot/dts/ti/omap/
H A Dam33xx-l4.dtsi2 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 …]