1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/input/touchscreen/zinitix,bt400.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Zinitix BT4xx and BT5xx series touchscreen controller bindings
9 description: The Zinitix BT4xx and BT5xx series of touchscreen controllers
10 are Korea-produced touchscreens with embedded microcontrollers. The
11 BT4xx series was produced 2010-2013 and the BT5xx series 2013-2014.
14 - Michael Srba <Michael.Srba@seznam.cz>
15 - Linus Walleij <linus.walleij@linaro.org>
18 - $ref: touchscreen.yaml#
22 pattern: "^touchscreen(@.*)?$"
42 description: I2C address on the I2C bus
45 description: I2C client clock frequency, defined for host when using
46 the device on the I2C bus
51 description: Interrupt to host
55 description: Analog power supply regulator on the VCCA pin
58 description: Digital power supply regulator on the VDD pin.
59 In older device trees this can be the accidental name for the analog
60 supply on the VCCA pin, and in that case the deprecated vddo-supply is
61 used for the digital power supply.
64 description: Deprecated name for the digital power supply, use vdd-supply
65 as this reflects the real name of the pin. If this supply is present,
66 the vdd-supply represents VCCA instead of VDD. Implementers should first
67 check for this property, and if it is present assume that the vdd-supply
68 represents the analog supply.
72 description: Reset line for the touchscreen, should be tagged
76 description: Mode of reporting touch points. Some modes may not work
77 with a particular ts firmware for unknown reasons. Available modes are
78 1 and 2. Mode 2 is the default and preferred.
79 $ref: /schemas/types.yaml#/definitions/uint32
82 touchscreen-size-x: true
83 touchscreen-size-y: true
84 touchscreen-fuzz-x: true
85 touchscreen-fuzz-y: true
87 additionalProperties: false
98 #include <dt-bindings/interrupt-controller/irq.h>
99 #include <dt-bindings/gpio/gpio.h>
101 #address-cells = <1>;
105 compatible = "zinitix,bt541";
107 interrupt-parent = <&gpio>;
108 interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
109 vcca-supply = <®_vcca_tsp>;
110 vdd-supply = <®_vdd_tsp>;
111 touchscreen-size-x = <540>;
112 touchscreen-size-y = <960>;