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.
26 spi-max-frequency: true
49 The channel number. It can have up to 8 channels
54 settling-time-us: true
55 oversampling-ratio: true
60 additionalProperties: false
62 additionalProperties: false
66 #include <dt-bindings/interrupt-controller/irq.h>
72 compatible = "ti,tsc2046e-adc";
74 spi-max-frequency = <1000000>;
75 interrupts-extended = <&gpio3 20 IRQ_TYPE_LEVEL_LOW>;
76 #io-channel-cells = <1>;
86 settling-time-us = <700>;
87 oversampling-ratio = <5>;
94 settling-time-us = <700>;
95 oversampling-ratio = <5>;
99 settling-time-us = <700>;
100 oversampling-ratio = <5>;
104 settling-time-us = <700>;
105 oversampling-ratio = <5>;