Lines Matching +full:io +full:- +full:channels
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2019-2020 Artur Rojek
4 ---
5 $id: "http://devicetree.org/schemas/input/adc-joystick.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - Artur Rojek <contact@artur-rojek.eu>
19 const: adc-joystick
21 io-channels:
28 https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/iio-consumer.yaml
31 '#address-cells':
34 '#size-cells':
38 - compatible
39 - io-channels
40 - '#address-cells'
41 - '#size-cells'
46 "^axis@[0-9a-f]+$":
50 For each entry in the io-channels list, one axis subnode with a matching
57 description: Index of an io-channels list entry bound to this axis.
63 abs-range:
65 - $ref: /schemas/types.yaml#/definitions/uint32-array
66 - items:
67 - description: minimum value
68 - description: maximum value
71 For an ABS_X axis this will be the left-most and right-most
76 abs-fuzz:
82 abs-flat:
91 - reg
92 - linux,code
93 - abs-range
98 - |
99 #include <dt-bindings/iio/adc/ingenic,adc.h>
100 #include <dt-bindings/input/input.h>
102 joystick: adc-joystick {
103 compatible = "adc-joystick";
104 io-channels = <&adc INGENIC_ADC_TOUCH_XP>,
106 #address-cells = <1>;
107 #size-cells = <0>;
112 abs-range = <3300 0>;
113 abs-fuzz = <4>;
114 abs-flat = <200>;
119 abs-range = <0 3300>;
120 abs-fuzz = <4>;
121 abs-flat = <200>;