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:
27 See Documentation/devicetree/bindings/iio/iio-bindings.txt for details.
29 '#address-cells':
32 '#size-cells':
36 - compatible
37 - io-channels
38 - '#address-cells'
39 - '#size-cells'
44 "^axis@[0-9a-f]+$":
48 For each entry in the io-channels list, one axis subnode with a matching
55 description: Index of an io-channels list entry bound to this axis.
61 abs-range:
63 - $ref: /schemas/types.yaml#/definitions/uint32-array
64 - items:
65 - description: minimum value
66 - description: maximum value
69 For an ABS_X axis this will be the left-most and right-most
74 abs-fuzz:
80 abs-flat:
89 - reg
90 - linux,code
91 - abs-range
96 - |
97 #include <dt-bindings/iio/adc/ingenic,adc.h>
98 #include <dt-bindings/input/input.h>
100 joystick: adc-joystick {
101 compatible = "adc-joystick";
102 io-channels = <&adc INGENIC_ADC_TOUCH_XP>,
104 #address-cells = <1>;
105 #size-cells = <0>;
110 abs-range = <3300 0>;
111 abs-fuzz = <4>;
112 abs-flat = <200>;
117 abs-range = <0 3300>;
118 abs-fuzz = <4>;
119 abs-flat = <200>;