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:
Maureen Helm 2020-01-20 14:10:37 -06:00 committed by Anas Nashif
commit ca43b7ceb4
3 changed files with 19 additions and 6 deletions

View 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

View file

@ -8,11 +8,5 @@ include: base.yaml
bus: kscan bus: kscan
properties: properties:
"#address-cells":
required: true
const: 1
"#size-cells":
type: int
const: 0
label: label:
required: true required: true

View file

@ -8,6 +8,12 @@ compatible: "microchip,xec-kscan"
include: kscan.yaml include: kscan.yaml
properties: properties:
"#address-cells":
required: true
const: 1
"#size-cells":
type: int
const: 0
reg: reg:
required: true required: true