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:
parent
732f829f69
commit
b0eb3207a9
9 changed files with 391 additions and 1 deletions
25
dts/bindings/kscan/hynitron,cst816s.yaml
Normal file
25
dts/bindings/kscan/hynitron,cst816s.yaml
Normal 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.
|
Loading…
Add table
Add a link
Reference in a new issue