The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/input/touchscreen/resistive-adc-touch.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 Generic resistive touchscreen ADC
    2 
    3 Required properties:
    4 
    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.
    8 Refer to
    9 https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/iio-consumer.yaml
   10 for details
   11 
   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
   17 are "x" and "y".
   18 
   19 Optional properties:
   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".
   25 
   26 Example:
   27 
   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";
   33         };

Cache object: 350b711c85fa69596a285f29aac8d173


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.