diff options
author | rasheed.hsueh <rasheed.hsueh@lcfc.corp-partner.google.com> | 2020-12-15 15:50:08 +0800 |
---|---|---|
committer | Hung-Te Lin <hungte@chromium.org> | 2020-12-21 02:37:29 +0000 |
commit | 8dad8248d46e6c5d4b4708cff93789719ca7c4ee (patch) | |
tree | ffbd6a5fc91e047ef274f9a369b6c1ee73330526 /src/mainboard/asrock/b85m_pro4 | |
parent | 45a6ae35ef9c605ff3ce47f98b8cfe53cccbdf7d (diff) |
mb/google/dedede: Update Boten setting for USI PEN detection.
Update devicetree and gpio driving of boten that enable stylus
PEN detect signal is not dual-routed on Boten. Since the gpio_keys kernel
driver expects the pad to be owned by GPIO controller (i.e. configured for
GPIO IRQ), it cannot be configured for ACPI (i.e. SCI).
Thus, this change updates the GPIO configuration for GPP_C12 to
PAD_CFG_GPI_GPIO_DRIVER and device tree entry for PENH device to
use WAKEUP_ROUTE_GPIO_IRQ. Additionally, the signal is marked as active
low in the device tree entry to indicate to the kernel driver that the signal
is inverted.
Not dual routing the signal results in wake source not being added to
eventlog when pen removal results in wake from S0ix.
BUG=b:160752604
BRANCH=dedede
TEST=Build and check behavior is expected.
Signed-off-by: rasheed.hsueh <rasheed.hsueh@lcfc.corp-partner.google.com>
Change-Id: I74a17088da64c22ef1c74d201c80274fc65a44c9
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48641
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src/mainboard/asrock/b85m_pro4')
0 files changed, 0 insertions, 0 deletions