drivers: kscan: add support for cst816s touch panel driver

Add touch panel driver support for pinetime

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
This commit is contained in:
Qingsong Gou 2022-01-17 21:13:25 +08:00 committed by Maureen Helm
commit b0eb3207a9
9 changed files with 391 additions and 1 deletions

View file

@ -0,0 +1,25 @@
# Copyright (c) 2021 Qingsong Gou <gouqs@hotmail.com>
# SPDX-License-Identifier: Apache-2.0
description: Hynitron CST816S touchscreen sensor
compatible: "hynitron,cst816s"
include: i2c-device.yaml
properties:
irq-gpios:
type: phandle-array
required: false
description: |
The irq signal defaults to active low as produced by the
sensor. The property value should ensure the flags properly
describe the signal that is presented to the driver.
rst-gpios:
type: phandle-array
required: false
description: |
The reset signal defaults to active low to the
sensor. The property value should ensure the flags properly
describe the signal that is presented to the driver.