nuvoton,npcx-kbd

Vendor: Nuvoton Technology Corporation

Description

Nuvoton NPCX keyboard scan controller

Properties

Properties not inherited from the base binding file.

Name

Type

Details

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.

wui-maps

phandles

Mapping table between Wake-Up Input (WUI) and KSIs.

For example the WUI mapping on 8 KSI pads would be
   wui-maps = <&wui_io30 &wui_io31 &wui_io27 &wui_io26
               &wui_io25 &wui_io24 &wui_io23 &wui_io22>;

This property is required.

row-size

int

The row size is used in the keyboard matrix.
valid range: 1 - 8

This property is required.

Default value: 8

col-size

int

The column size is used in the keyboard matrix.
valid range: 1 - 18

This property is required.

Default value: 18

debounce-down-ms

int

Determines the time in msecs for debouncing a key press.

Default value: 10

debounce-up-ms

int

Determines the time in msecs for debouncing a key release.

Default value: 20

no-ghostkey-check

boolean

Ignore the ghost key checking in the driver if the diodes are used
in the matrix hardware.

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.