Imagis IST30XXC family touchscreen controller

Schema identifier ($id): "http://devicetree.org/schemas/input/touchscreen/imagis,ist3038c.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Markuss Broks <markuss.broks@gmail.com>"

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^touchscreen@[0-9a-f]+$"

compatible — required here #

Allowed values (enum): "imagis,ist3032c", "imagis,ist3038", "imagis,ist3038b", "imagis,ist3038c", "imagis,ist3038h"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

vdd-supply — not listed as required here #

Power supply regulator for the chip

vddio-supply — not listed as required here #

Power supply regulator for the I2C bus

linux,keycodes — not listed as required here #

Keycodes for the touch keys

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 5

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-fuzz-x — not listed as required here #

true — No constraints added by this property rule.

touchscreen-fuzz-y — not listed as required here #

true — No constraints added by this property rule.

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-swapped-x-y — not listed as 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.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): touchscreen.yaml#

Rule 2 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "imagis,ist3032c", "imagis,ist3038"

When the condition matches (then) #

Properties and child nodes (properties)

linux,keycodes — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "compatible", "reg", "interrupts", "touchscreen-size-x", "touchscreen-size-y"

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
i2c {
  #address-cells = <1>;
  #size-cells = <0>;
  touchscreen@50 {
    compatible = "imagis,ist3038c";
    reg = <0x50>;
    interrupt-parent = <&gpio>;
    interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
    vdd-supply = <&ldo1_reg>;
    vddio-supply = <&ldo2_reg>;
    touchscreen-size-x = <720>;
    touchscreen-size-y = <1280>;
    touchscreen-fuzz-x = <10>;
    touchscreen-fuzz-y = <10>;
    touchscreen-inverted-x;
    touchscreen-inverted-y;
  };
};
#include <dt-bindings/input/linux-event-codes.h>
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
  #address-cells = <1>;
  #size-cells = <0>;
  touchscreen@50 {
    compatible = "imagis,ist3032c";
    reg = <0x50>;
    interrupt-parent = <&gpio>;
    interrupts = <72 IRQ_TYPE_EDGE_FALLING>;
    vdd-supply = <&ldo2>;
    touchscreen-size-x = <480>;
    touchscreen-size-y = <800>;
    linux,keycodes = <KEY_APPSELECT>, <KEY_BACK>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page