Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml
Extension
.yaml
Size
2231 bytes
Lines
95
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/input/touchscreen/eeti,exc3000.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: EETI EXC3000 series touchscreen controller

maintainers:
  - Dmitry Torokhov <dmitry.torokhov@gmail.com>

properties:
  compatible:
    oneOf:
      - const: eeti,exc3000
      - const: eeti,exc80h60
      - const: eeti,exc80h84
      - const: eeti,egalax_ts # Do NOT use for new binding
      - const: eeti,exc3000-i2c
        deprecated: true
      - items:
          - enum:
              - eeti,exc81w32
          - const: eeti,exc80h84
  reg:
    enum: [0x4, 0xa, 0x2a]
  interrupts:
    maxItems: 1
  reset-gpios:
    maxItems: 1
  wakeup-gpios:
    maxItems: 1
  vdd-supply:
    description: Power supply regulator for the chip
  attn-gpios:
    deprecated: true
    maxItems: 1
    description: Phandle to a GPIO to check whether interrupt is still
                 latched. This is necessary for platforms that lack
                 support for level-triggered IRQs.
  touchscreen-size-x: true
  touchscreen-size-y: true
  touchscreen-inverted-x: true
  touchscreen-inverted-y: true
  touchscreen-swapped-x-y: true

required:
  - compatible
  - reg
  - interrupts

additionalProperties: false

allOf:
  - $ref: touchscreen.yaml#

  - if:
      properties:
        compatible:
          not:
            contains:
              enum:
                - eeti,egalax_ts
                - eeti,exc3000-i2c
    then:
      properties:
        reg:
          const: 0x2a

        wakeup-gpios: false

Annotation

Implementation Notes