dts: Add bindings for ft5336 touch panel controller
Adds device tree bindings for the focaltech ft5336 touch panel controller, which will be used on several i.mx rt evk boards. Moves address-cells and size-cells properties from the base kscan bindings to the specific microchip,xec bindings since they are not required for the ft5336. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
5a330f9b36
commit
ca43b7ceb4
3 changed files with 19 additions and 6 deletions
13
dts/bindings/kscan/focaltech,ft5336.yaml
Normal file
13
dts/bindings/kscan/focaltech,ft5336.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Copyright (c) 2020 NXP
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: FT5336 capacitive touch panel
|
||||
|
||||
compatible: "focaltech,ft5336"
|
||||
|
||||
include: [kscan.yaml, i2c-device.yaml]
|
||||
|
||||
properties:
|
||||
int-gpios:
|
||||
type: phandle-array
|
||||
required: false
|
|
@ -8,11 +8,5 @@ include: base.yaml
|
|||
bus: kscan
|
||||
|
||||
properties:
|
||||
"#address-cells":
|
||||
required: true
|
||||
const: 1
|
||||
"#size-cells":
|
||||
type: int
|
||||
const: 0
|
||||
label:
|
||||
required: true
|
||||
|
|
|
@ -8,6 +8,12 @@ compatible: "microchip,xec-kscan"
|
|||
include: kscan.yaml
|
||||
|
||||
properties:
|
||||
"#address-cells":
|
||||
required: true
|
||||
const: 1
|
||||
"#size-cells":
|
||||
type: int
|
||||
const: 0
|
||||
reg:
|
||||
required: true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue