<p>HARSHAPRIYA N has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/25838">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">rt5663: Change the flags for gpio as ExclusiveAndWake<br><br>Currently the SSDT table  exposes the gpio as Exclusive.<br>This patch changes the flag to ExclusiveAndWake so that codec<br>can detect jack insertion/removal during D3.<br><br>Change-Id: Ia71559dcae65112b75e4c789328e4a6153e922b0<br>Signed-off-by: Harsha Priya <harshapriya.n@intel.com><br>---<br>M src/drivers/i2c/rt5663/rt5663.c<br>1 file changed, 7 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/38/25838/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/drivers/i2c/rt5663/rt5663.c b/src/drivers/i2c/rt5663/rt5663.c</span><br><span>index 16237d6..b983960 100644</span><br><span>--- a/src/drivers/i2c/rt5663/rt5663.c</span><br><span>+++ b/src/drivers/i2c/rt5663/rt5663.c</span><br><span>@@ -57,6 +57,13 @@</span><br><span>     acpigen_write_name("_CRS");</span><br><span>        acpigen_write_resourcetemplate_header();</span><br><span>     acpi_device_write_i2c(&i2c);</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+    /* Setting the flag as ExlusiveAndWake */</span><br><span style="color: hsl(120, 100%, 40%);">+     config->irq.shared = ACPI_IRQ_EXCLUSIVE;</span><br><span style="color: hsl(120, 100%, 40%);">+   config->irq.wake = ACPI_IRQ_WAKE;</span><br><span style="color: hsl(120, 100%, 40%);">+  config->irq_gpio.irq.shared = ACPI_IRQ_EXCLUSIVE;</span><br><span style="color: hsl(120, 100%, 40%);">+  config->irq_gpio.irq.wake = ACPI_IRQ_WAKE;</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>      /* Allow either GpioInt() or Interrupt() */</span><br><span>  if (config->irq_gpio.pin_count)</span><br><span>           acpi_device_write_gpio(&config->irq_gpio);</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/25838">change 25838</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/25838"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ia71559dcae65112b75e4c789328e4a6153e922b0 </div>
<div style="display:none"> Gerrit-Change-Number: 25838 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: HARSHAPRIYA N <harshapriya.n@intel.com> </div>