1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/input/touchscreen/cypress,cy8ctma140.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Cypress CY8CTMA140 series touchscreen controller bindings
10 - Linus Walleij <linus.walleij@linaro.org>
13 - $ref: touchscreen.yaml#
17 const: cypress,cy8ctma140
23 description: I2C client clock frequency, defined for host
31 description: Analog power supply regulator on VCPIN pin
34 description: Digital power supply regulator on VDD pin
36 touchscreen-inverted-x: true
37 touchscreen-inverted-y: true
38 touchscreen-size-x: true
39 touchscreen-size-y: true
40 touchscreen-swapped-x-y: true
41 touchscreen-max-pressure: true
43 additionalProperties: false
51 - touchscreen-max-pressure
55 #include <dt-bindings/interrupt-controller/irq.h>
60 compatible = "cypress,cy8ctma140";
62 touchscreen-size-x = <480>;
63 touchscreen-size-y = <800>;
64 touchscreen-max-pressure = <255>;
65 interrupt-parent = <&gpio6>;
66 interrupts = <26 IRQ_TYPE_EDGE_FALLING>;
67 vdd-supply = <&ab8500_ldo_aux2_reg>;
68 vcpin-supply = <&ab8500_ldo_aux2_reg>;