Cypress CY8CTMA140 series touchscreen controller
Schema identifier ($id): "http://devicetree.org/schemas/input/touchscreen/cypress,cy8ctma140.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):touchscreen.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "cypress,cy8ctma140"
reg — required here #
Exact value (const): 32
clock-frequency — not listed as required here #
I2C client clock frequency, defined for host
Minimum value (minimum): 100000
Maximum value (maximum): 400000
interrupts — required here #
Maximum number of items (maxItems): 1
vcpin-supply — not listed as required here #
Analog power supply regulator on VCPIN pin
vdd-supply — not listed as required here #
Digital power supply regulator on VDD pin
touchscreen-inverted-x — not listed as required here #
true — No constraints added by this property rule.
touchscreen-inverted-y — not listed as required here #
true — No constraints added by this property rule.
touchscreen-size-x — required here #
true — No constraints added by this property rule.
touchscreen-size-y — required here #
true — No constraints added by this property rule.
touchscreen-swapped-x-y — not listed as required here #
true — No constraints added by this property rule.
touchscreen-max-pressure — required here #
true — No constraints added by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "interrupts", "touchscreen-size-x", "touchscreen-size-y", "touchscreen-max-pressure"
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
touchscreen@20 {
compatible = "cypress,cy8ctma140";
reg = <0x20>;
touchscreen-size-x = <480>;
touchscreen-size-y = <800>;
touchscreen-max-pressure = <255>;
interrupt-parent = <&gpio6>;
interrupts = <26 IRQ_TYPE_EDGE_FALLING>;
vdd-supply = <&ab8500_ldo_aux2_reg>;
vcpin-supply = <&ab8500_ldo_aux2_reg>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)