ITE: drivers/kscan: Use pinctrl instead of pinmux driver
Use pinctrl instead of pinmux driver. Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
This commit is contained in:
parent
3670977158
commit
bd8afe7ef0
6 changed files with 53 additions and 48 deletions
|
@ -5,7 +5,7 @@ description: ITE it8xxx2 keyboard matrix controller
|
|||
|
||||
compatible: "ite,it8xxx2-kscan"
|
||||
|
||||
include: kscan.yaml
|
||||
include: [kscan.yaml, pinctrl-device.yaml]
|
||||
|
||||
properties:
|
||||
reg:
|
||||
|
@ -23,12 +23,20 @@ properties:
|
|||
enable, disable, and clear wakeup status for the specific pin which
|
||||
may be gpio pins or alternate pins.
|
||||
|
||||
gpio-dev:
|
||||
type: phandle
|
||||
required: true
|
||||
description: configure GPIO controller
|
||||
kso16-gpios:
|
||||
type: phandle-array
|
||||
required: true
|
||||
description: |
|
||||
The KSO16 pin for the selected port.
|
||||
|
||||
kso17-gpios:
|
||||
type: phandle-array
|
||||
required: true
|
||||
description: |
|
||||
The KSO17 pin for the selected port.
|
||||
|
||||
pinctrl-0:
|
||||
type: phandles
|
||||
required: true
|
||||
description: configure KSO pinmux controller
|
||||
required: true
|
||||
|
||||
pinctrl-names:
|
||||
required: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue