Home
last modified time | relevance | path

Searched +full:tsc2046e +full:- +full:adc (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/Documentation/devicetree/bindings/iio/adc/
Dti,tsc2046.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/ti,tsc2046.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Oleksij Rempel <o.rempel@pengutronix.de>
13 TSC2046 is a touch screen controller with 8 channels ADC.
18 - ti,tsc2046e-adc
26 spi-max-frequency: true
28 "#io-channel-cells":
31 '#address-cells':
[all …]
/Linux-v5.15/drivers/iio/adc/
Dti-tsc2046.c1 // SPDX-License-Identifier: GPL-2.0
3 * Texas Instruments TSC2046 SPI ADC driver
26 * - rate limiting:
28 * - hrtimer:
57 * The mode bit sets the resolution of the ADC. With this bit low, the next
58 * conversion has 12-bit resolution, whereas with this bit high, the next
59 * conversion has 8-bit resolution. This driver is optimized for 12-bit mode.
65 * SER/DFR - The SER/DFR bit controls the reference mode, either single-ended
72 * auto-wake/suspend mode. In most case this bits should stay zero.
213 bit_count = DIV_ROUND_UP(time * NSEC_PER_USEC, priv->time_per_bit_ns); in tsc2046_adc_time_to_count()
[all …]