Documentation/devicetree/bindings/input/touchscreen/sitronix,st1232.yaml
Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/input/touchscreen/sitronix,st1232.yaml
File Facts
- System
- Linux kernel
- Corpus path
Documentation/devicetree/bindings/input/touchscreen/sitronix,st1232.yaml- Extension
.yaml- Size
- 2387 bytes
- Lines
- 88
- 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.
- Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
Dependency Surface
dt-bindings/input/linux-event-codes.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/input/touchscreen/sitronix,st1232.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Sitronix st1232 or st1633 touchscreen controller
maintainers:
- Bastian Hecht <hechtb@gmail.com>
allOf:
- $ref: touchscreen.yaml#
properties:
compatible:
oneOf:
- enum:
- sitronix,st1232
- sitronix,st1633
- items:
- const: sitronix,st1624
- const: sitronix,st1633
reg:
maxItems: 1
interrupts:
maxItems: 1
gpios:
description: A phandle to the reset GPIO
maxItems: 1
wakeup-source:
type: boolean
required:
- compatible
- reg
- interrupts
unevaluatedProperties: false
examples:
- |
#include <dt-bindings/input/linux-event-codes.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
touchscreen@55 {
compatible = "sitronix,st1232";
reg = <0x55>;
interrupts = <2 0>;
gpios = <&gpio1 166 0>;
wakeup-source;
touch-overlay {
segment-0 {
label = "Touchscreen";
x-origin = <0>;
x-size = <240>;
y-origin = <40>;
y-size = <280>;
};
segment-1a {
label = "Camera light";
linux,code = <KEY_LIGHTS_TOGGLE>;
Annotation
- Immediate include surface: `dt-bindings/input/linux-event-codes.h`.
- Atlas domain: Support Tooling And Documentation / Documentation.
- Implementation status: atlas-only.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.