[coreboot-gerrit] Change in coreboot[master]: soc/intel/broadwell: Add PCH_GPIO_PIRQ_INVERT definition

Matt DeVillier (Code Review) gerrit at coreboot.org
Sat Sep 15 04:40:55 CEST 2018


Matt DeVillier has uploaded this change for review. ( https://review.coreboot.org/28611


Change subject: soc/intel/broadwell: Add PCH_GPIO_PIRQ_INVERT definition
......................................................................

soc/intel/broadwell: Add PCH_GPIO_PIRQ_INVERT definition

Add definition for PCH_GPIO_PIRQ_INVERT, which is needed
for google/buddy, a to-be-merged variant of google/auron.

Taken from Chromium commit 70ee99b [buddy: change trigger type of gpio53]

Change-Id: I21448160cee791710df51d06efa32cdfecf38c0f
Signed-off-by: Matt DeVillier <matt.devillier at gmail.com>
---
M src/soc/intel/broadwell/include/soc/gpio.h
1 file changed, 5 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/11/28611/1

diff --git a/src/soc/intel/broadwell/include/soc/gpio.h b/src/soc/intel/broadwell/include/soc/gpio.h
index c8f0300..d5ff7bb 100644
--- a/src/soc/intel/broadwell/include/soc/gpio.h
+++ b/src/soc/intel/broadwell/include/soc/gpio.h
@@ -148,6 +148,11 @@
 	  .owner = GPIO_OWNER_GPIO, \
 	  .pirq  = GPIO_PIRQ_APIC_ROUTE }
 
+#define PCH_GPIO_PIRQ_INVERT \
+	{ .conf0 = GPIO_MODE_GPIO | GPIO_DIR_INPUT | GPIO_INVERT, \
+	  .owner = GPIO_OWNER_GPIO, \
+	  .pirq  = GPIO_PIRQ_APIC_ROUTE }
+
 #define PCH_GPIO_OUT_HIGH \
 	{ .conf0 = GPIO_MODE_GPIO | GPIO_DIR_OUTPUT | GPO_LEVEL_HIGH, \
 	  .owner = GPIO_OWNER_GPIO, \

-- 
To view, visit https://review.coreboot.org/28611
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I21448160cee791710df51d06efa32cdfecf38c0f
Gerrit-Change-Number: 28611
Gerrit-PatchSet: 1
Gerrit-Owner: Matt DeVillier <matt.devillier at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180915/9b63a9f1/attachment-0001.html>


More information about the coreboot-gerrit mailing list