[coreboot-gerrit] Change in coreboot[master]: mb/google/eve: Change rt5663 audio codec's irq as ExclusiveAndWake

HARSHAPRIYA N (Code Review) gerrit at coreboot.org
Thu May 3 00:04:40 CEST 2018


HARSHAPRIYA N has uploaded this change for review. ( https://review.coreboot.org/26016


Change subject: mb/google/eve: Change rt5663 audio codec's irq as ExclusiveAndWake
......................................................................

mb/google/eve: Change rt5663 audio codec's irq as ExclusiveAndWake

This patch uses GPIO macro to define rt5663 headset codec's irq as
ExclusiveAndWake. This change allows jack detection even when
device is in D3 state.

TEST=Plug in/out jack when the system is in deep sleep and wake up
the system to ensure that jack insertion/removal is detected.

Change-Id: Icb72337025a8408ed7ea9b6e60e938dcb88eae76
Signed-off-by: Harsha Priya <harshapriya.n at intel.com>
---
M src/mainboard/google/eve/devicetree.cb
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/16/26016/1

diff --git a/src/mainboard/google/eve/devicetree.cb b/src/mainboard/google/eve/devicetree.cb
index 2e62f41..0361452 100644
--- a/src/mainboard/google/eve/devicetree.cb
+++ b/src/mainboard/google/eve/devicetree.cb
@@ -304,7 +304,7 @@
 				device i2c 3a on end
 			end
 			chip drivers/i2c/rt5663
-				register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D9)"
+				register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH_WAKE(GPP_D9, 1)"
 				register "dc_offset_l_manual" = "0xffd160"
 				register "dc_offset_r_manual" = "0xffd1c0"
 				register "dc_offset_l_manual_mic" = "0xff8a10"

-- 
To view, visit https://review.coreboot.org/26016
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: Icb72337025a8408ed7ea9b6e60e938dcb88eae76
Gerrit-Change-Number: 26016
Gerrit-PatchSet: 1
Gerrit-Owner: HARSHAPRIYA N <harshapriya.n at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180502/6f9457f3/attachment.html>


More information about the coreboot-gerrit mailing list