coreboot-kgpe-d16/src/mainboard
rasheed.hsueh 8dad8248d4 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>
2020-12-21 02:37:29 +00:00
..
51nb soc/intel/skylake: Drop duplicate PmConfigPciClockRun configuration 2020-12-17 20:05:49 +00:00
acer
adlink
amd soc/amd/picasso: Fix the typo in GPIO define 2020-12-16 17:17:57 +00:00
aopen
apple cbfs: Simplify load/map API names, remove type arguments 2020-12-02 22:13:17 +00:00
asrock
asus cbfs: Enable CBFS mcache on most chipsets 2020-12-02 22:12:10 +00:00
bap
biostar
bostentech
cavium
clevo mb/clevo/kbl-u: drop duplicated configuration of UART pads 2020-12-20 00:02:09 +00:00
compulab
dell cbfs: Simplify load/map API names, remove type arguments 2020-12-02 22:13:17 +00:00
elmex
emulation drivers: Replace set_vbe_mode_info_valid 2020-12-17 06:21:56 +00:00
example
facebook soc/intel/braswell: Clean up devicetree settings 2020-12-14 11:05:51 +00:00
foxconn
getac
gigabyte cbfs: Enable CBFS mcache on most chipsets 2020-12-02 22:12:10 +00:00
gizmosphere
google mb/google/dedede: Update Boten setting for USI PEN detection. 2020-12-21 02:37:29 +00:00
hp mb/hp/z220_sff_workstation/Kconfig: Select MAINBOARD_USES_IFD_GBE_REGION 2020-12-03 23:20:43 +00:00
ibase
intel mb/intel/shadowmountain: Add Intel Pre-CEP shadowmountain board 2020-12-21 02:36:40 +00:00
jetway
kontron soc/intel/skylake: Drop duplicate PmConfigPciClockRun configuration 2020-12-17 20:05:49 +00:00
lenovo src: Remove redundant use of ACPI offset(0) 2020-12-03 00:05:52 +00:00
libretrend soc/intel/skylake: Drop always-zero ProbelessTrace dt setting 2020-12-14 10:40:51 +00:00
lippert src: Remove redundant use of ACPI offset(0) 2020-12-03 00:05:52 +00:00
msi
ocp mb/ocp/tiogapass/devicetree.cb: Add P2SB device 2020-12-16 14:58:21 +00:00
opencellular
packardbell
pcengines
portwell soc/intel/braswell: Clean up devicetree settings 2020-12-14 11:05:51 +00:00
prodrive mb/prodrive/hermes: Enable S3/S4 resume 2020-12-21 02:36:47 +00:00
protectli soc/intel/braswell: Clean up devicetree settings 2020-12-14 11:05:51 +00:00
purism soc/intel/cannonlake: Change mainboard_silicon_init_params argument 2020-12-17 06:22:55 +00:00
razer soc/intel/skylake: Drop always-zero ProbelessTrace dt setting 2020-12-14 10:40:51 +00:00
roda
samsung cbfs: Simplify load/map API names, remove type arguments 2020-12-02 22:13:17 +00:00
sapphire
scaleway
siemens mb/siemens/chili/base: Fix state of PCI devices 2020-12-08 21:16:24 +00:00
sifive cbfs: Simplify load/map API names, remove type arguments 2020-12-02 22:13:17 +00:00
supermicro mb/supermicro/x11ssm-f: disable unconnected and unused/strap-only pads 2020-12-11 18:52:38 +00:00
system76 soc/intel/cannonlake: Change mainboard_silicon_init_params argument 2020-12-17 06:22:55 +00:00
ti
up
Kconfig