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:
Ruibin Chang 2021-12-30 17:21:34 +08:00 committed by Marti Bolivar
commit cebcaeed55
3 changed files with 75 additions and 29 deletions

View file

@ -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