summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorVaibhav Shankar <vaibhav.shankar@intel.com>2017-01-30 12:18:42 -0800
committerAaron Durbin <adurbin@chromium.org>2017-01-31 15:17:38 +0100
commit6e5609124eb98b2f3e33fcec994b7d1b00a355ef (patch)
treeceda7f49e251fa4ac7861f3caebcdf3de581e298 /src/lib
parent775765eaf30a6e3cef6e49f4119967a09841c214 (diff)
downloadcoreboot-6e5609124eb98b2f3e33fcec994b7d1b00a355ef.tar.xz
mainboard/google/reef: Set edge triggered interrupt for GPIO_22
EC sets the logic level based on outstanding wake events. When GPIO_22 is configured as a level triggered interrupt, the events are not cleared from the interrupt handler. Hence, we'd just be re-signalling over and over causing an interrupt storm upon lid open. So, GPIO_22 needs to be configured as EDGE_SINGLE instead of LEVEL. BUG=chrome-os-partner:62458 TEST=Lid close/open. check CPU usage using top. It should not show 70% CPU usage. Signed-off-by: Vaibhav Shankar <vaibhav.shankar@intel.com> Change-Id: I710a690578c6e5b63be34b7fbcb21c703ef56e3a Reviewed-on: https://review.coreboot.org/18267 Tested-by: build bot (Jenkins) Reviewed-by: Venkateswarlu V Vinjamuri <venkateswarlu.v.vinjamuri@intel.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/lib')
0 files changed, 0 insertions, 0 deletions