1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/input/touchscreen/hycon,hy46xx.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Hycon HY46XX series touchscreen controller bindings
10 There are 6 variants of the chip for various touch panel sizes and cover lens material
12 PET/PMMA: 0.2mm--2.0mm
14 HY4614(B)-N068 7" .. 10.1"
16 HY4623-NS48 5.1" .. 7"
18 PET/PMMA: 0.2mm--4.0mm
20 HY4635(B)-N048 < 7" .. 10.1"
23 - Giulio Benetti <giulio.benetti@benettiengineering.com>
26 - $ref: touchscreen.yaml#
50 description: Allows setting the sensitivity in the range from 0 to 255.
51 $ref: /schemas/types.yaml#/definitions/uint32
57 description: Allows enabling glove setting.
59 hycon,report-speed-hz:
60 description: Allows setting the report speed in Hertz.
64 hycon,noise-filter-enable:
66 description: Allows enabling power noise filter.
69 description: Allows setting how many samples throw before reporting touch
70 in the range from 0 to 5.
71 $ref: /schemas/types.yaml#/definitions/uint32
76 description: Allows setting the sensitivity distance in the range from 0 to 5.
77 $ref: /schemas/types.yaml#/definitions/uint32
82 description: Allows setting the edge compensation in the range from 0 to 16.
83 $ref: /schemas/types.yaml#/definitions/uint32
87 touchscreen-size-x: true
88 touchscreen-size-y: true
89 touchscreen-fuzz-x: true
90 touchscreen-fuzz-y: true
91 touchscreen-inverted-x: true
92 touchscreen-inverted-y: true
93 touchscreen-swapped-x-y: true
94 interrupt-controller: true
96 additionalProperties: false
105 #include <dt-bindings/gpio/gpio.h>
106 #include <dt-bindings/interrupt-controller/arm-gic.h>
108 #address-cells = <1>;
111 compatible = "hycon,hy4633";
113 interrupt-parent = <&gpio2>;
114 interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
115 reset-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;