1 Generic resistive touchscreen ADC
5 - compatible: must be "resistive-adc-touch"
6 The device must be connected to an ADC device that provides channels for
7 position measurement and optional pressure.
9 https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/iio-consumer.yaml
12 - iio-channels: must have at least two channels connected to an ADC device.
13 These should correspond to the channels exposed by the ADC device and should
14 have the right index as the ADC device registers them. These channels
15 represent the relative position on the "x" and "y" axes.
16 - iio-channel-names: must have all the channels' names. Mandatory channels
20 - iio-channels: The third channel named "pressure" is optional and can be
21 used if the ADC device also measures pressure besides position.
22 If this channel is missing, pressure will be ignored and the touchscreen
23 will only report position.
24 - iio-channel-names: optional channel named "pressure".
28 resistive_touch: resistive_touch {
29 compatible = "resistive-adc-touch";
30 touchscreen-min-pressure = <50000>;
31 io-channels = <&adc 24>, <&adc 25>, <&adc 26>;
32 io-channel-names = "x", "y", "pressure";