ITE drivers/kscan: use wakeup interface for WUC pins
Use wakeup interface for WUC pins in it8xxx2 kscan driver. Signed-off-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
This commit is contained in:
parent
4b75cf8f47
commit
cebcaeed55
3 changed files with 75 additions and 29 deletions
|
@ -14,6 +14,15 @@ properties:
|
|||
interrupts:
|
||||
required: true
|
||||
|
||||
wucctrl:
|
||||
type: phandles
|
||||
description: |
|
||||
Configure wakeup controller, this controller is used to set that
|
||||
when the interrupt is triggered in EC low power mode, it can wakeup
|
||||
EC or not. Via this controller, we set the wakeup trigger edge,
|
||||
enable, disable, and clear wakeup status for the specific pin which
|
||||
may be gpio pins or alternate pins.
|
||||
|
||||
gpio-dev:
|
||||
type: phandle
|
||||
required: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue