nxp,tsi-input

Description

NXP TSI V6 Touch Sensing Input Device

Properties

Properties not inherited from the base binding file.

Name

Type

Details

channel-mask

array

Bitmask of enabled TSI channels, one or more 32-bit words.
Word W (index W) covers channels [32*W .. 32*W + 31]; within a word,
bit N enables channel 32*W + N. A single word covers channels 0-31,
so <0x08> enables channel 3. Parts with more than 32 TSI channels
(e.g. MCXA577 with 70 channels) use additional words:
<word0 word1 word2> for channels 0-31, 32-63 and 64+.

This property is required.

input-codes

array

Array of input codes corresponding to each enabled channels.
Use INPUT_KEY_* or INPUT_BTN_* codes from dt-bindings/input/input-event-codes.h

touch-threshold

int

Touch detection threshold (delta counts from baseline).
Can be positive or negative value depending on the baseline calculation.

Default value: 100

release-threshold

int

Release detection threshold (delta counts from baseline).
If not specified, defaults to touch-threshold / 2.
Should be less than touch-threshold to provide hysteresis.
Can be positive or negative value depending on the baseline calculation.

scan-period-ms

int

Scan period in milliseconds

Default value: 50

pinctrl-0

phandles

Pin configuration/s for the first state. Content is specific to the
selected pin controller driver implementation.

This property is required.

pinctrl-names

string-array

Names for the provided states. The number of names needs to match the
number of states.

This property is required.

pinctrl-1

phandles

Pin configuration/s for the second state. See pinctrl-0.

pinctrl-2

phandles

Pin configuration/s for the third state. See pinctrl-0.

pinctrl-3

phandles

Pin configuration/s for the fourth state. See pinctrl-0.

pinctrl-4

phandles

Pin configuration/s for the fifth state. See pinctrl-0.