1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/adc/ti,tsc2046.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments TSC2046 touch screen controller.
10 - Oleksij Rempel <o.rempel@pengutronix.de>
13 TSC2046 is a touch screen controller with 8 channels ADC.
27 description: Optional supply of the reference voltage
50 The channel number. It can have up to 8 channels
55 settling-time-us: true
56 oversampling-ratio: true
61 additionalProperties: false
64 - $ref: /schemas/spi/spi-peripheral-props.yaml#
66 unevaluatedProperties: false
70 #include <dt-bindings/interrupt-controller/irq.h>
76 compatible = "ti,tsc2046e-adc";
78 spi-max-frequency = <1000000>;
79 interrupts-extended = <&gpio3 20 IRQ_TYPE_LEVEL_LOW>;
80 #io-channel-cells = <1>;
90 settling-time-us = <700>;
91 oversampling-ratio = <5>;
98 settling-time-us = <700>;
99 oversampling-ratio = <5>;
103 settling-time-us = <700>;
104 oversampling-ratio = <5>;
108 settling-time-us = <700>;
109 oversampling-ratio = <5>;