Himax HX852x(ES) touch panel controller

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

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

Maintainers (maintainers): "Stephan Gerhold <stephan@gerhold.net>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "himax,hx8525e", "himax,hx8526e", "himax,hx8527e"

Item 2

Exact value (const): "himax,hx852es"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

Touch Screen Interrupt (TSIX), active low

reset-gpios — required here #

Maximum number of items (maxItems): 1

External Reset (XRES), active low

vcca-supply — not listed as required here #

Analog power supply (VCCA)

vccd-supply — not listed as required here #

Digital power supply (VCCD)

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

true — No constraints added by this property rule.

touchscreen-size-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.

linux,keycodes — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

Required in this object (required): "compatible", "reg", "interrupts", "reset-gpios"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>

i2c {
  #address-cells = <1>;
  #size-cells = <0>;

  touchscreen@48 {
    compatible = "himax,hx8527e", "himax,hx852es";
    reg = <0x48>;
    interrupt-parent = <&tlmm>;
    interrupts = <13 IRQ_TYPE_LEVEL_LOW>;
    reset-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
    vcca-supply = <&reg_ts_vcca>;
    vccd-supply = <&pm8916_l6>;
    linux,keycodes = <KEY_BACK KEY_HOMEPAGE KEY_APPSELECT>;
  };
};

Source notes #

Annotations retained from the schema source

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

Edit this page