zephyr/dts/bindings/kscan/zephyr,kscan-input.yaml
Fabio Baltieri a9735abf84 kscan: input: add input to kscan adapter
Add a driver that listens for input events and reports them on a kscan
API. This allows porting kscan drivers to the input APIs while
maintaining compatibility with the existing kscan based applications.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-03-28 20:57:53 -04:00

24 lines
438 B
YAML

# Copyright 2023 Google LLC
# SPDX-License-Identifier: Apache-2.0
description: |
Input to kscan adapter.
Allows using an input device with the kscan API. Define as a child node of
the input device, for example
chosen {
zephyr,keyboard-scan = &kscan_input;
};
ft5336@38 {
...
kscan_input: kscan-input {
compatible = "zephyr,kscan-input";
};
};
compatible: "zephyr,kscan-input"
include: kscan.yaml