mb/google/zork: Set vw_irq_polarity from low to high
commit30edb46e8ca3b4994fda31c74e496910f8218818
authorRaul E Rangel <rrangel@chromium.org>
Sat, 30 Jul 2022 03:07:36 +0000 (29 21:07 -0600)
committerRaul Rangel <rrangel@chromium.org>
Wed, 10 Aug 2022 17:13:07 +0000 (10 17:13 +0000)
treed7a89029381a799f852f83c86e75752c67417476
parent74bce48f1d445053b217913df79a77dfe286e893
mb/google/zork: Set vw_irq_polarity from low to high

The EC used on zork uses a level high interrupt. This change configures
the polarity correctly.

The eSPI config is baked into RO verstage. The zork ToT build doesn't
use signed verstage since it's incompatible with the ToT version of
vboot. This means we can safely switch the keyboard IRQ polarity.

NOTE: Do not cherry pick this into the Zork firmware branch!

BUG=b:160595155
TEST=On morphius verify keyboard works as correctly and no spurious
interrupts are thrown on S0i3 resume. Also verified keyboard and mouse
work correctly in windows.

Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Change-Id: I8d3195522f3bd5e477635494c7156683aae0ff0a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66291
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
src/mainboard/google/zork/variants/baseboard/devicetree_dalboz.cb
src/mainboard/google/zork/variants/baseboard/devicetree_trembyle.cb
src/mainboard/google/zork/variants/baseboard/include/baseboard/ec.h
src/mainboard/google/zork/variants/morphius/include/variant/ec.h