Documentation/devicetree/bindings/input/touchscreen/imagis,ist3038c.yaml

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

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/input/touchscreen/imagis,ist3038c.yaml
Extension
.yaml
Size
2526 bytes
Lines
112
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-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/input/touchscreen/imagis,ist3038c.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Imagis IST30XXC family touchscreen controller

maintainers:
  - Markuss Broks <markuss.broks@gmail.com>

properties:
  $nodename:
    pattern: "^touchscreen@[0-9a-f]+$"

  compatible:
    enum:
      - imagis,ist3032c
      - imagis,ist3038
      - imagis,ist3038b
      - imagis,ist3038c
      - imagis,ist3038h

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  vdd-supply:
    description: Power supply regulator for the chip

  vddio-supply:
    description: Power supply regulator for the I2C bus

  linux,keycodes:
    description: Keycodes for the touch keys
    minItems: 2
    maxItems: 5

  touchscreen-size-x: true
  touchscreen-size-y: true
  touchscreen-fuzz-x: true
  touchscreen-fuzz-y: true
  touchscreen-inverted-x: true
  touchscreen-inverted-y: true
  touchscreen-swapped-x-y: true

additionalProperties: false

allOf:
  - $ref: touchscreen.yaml#
  - if:
      not:
        properties:
          compatible:
            contains:
              enum:
                - imagis,ist3032c
                - imagis,ist3038
    then:
      properties:
        linux,keycodes: false

required:
  - compatible
  - reg
  - interrupts
  - touchscreen-size-x
  - touchscreen-size-y

Annotation

Implementation Notes