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@intel.com>
Reviewed-on: https://review.coreboot.org/26016
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Harsha Priya 2018-05-02 14:39:29 -07:00 committed by Martin Roth
parent a850717dc7
commit ad126109ca
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ chip soc/intel/skylake
device i2c 3a on end device i2c 3a on end
end end
chip drivers/i2c/rt5663 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)"
register "dc_offset_l_manual" = "0xffd160" register "dc_offset_l_manual" = "0xffd160"
register "dc_offset_r_manual" = "0xffd1c0" register "dc_offset_r_manual" = "0xffd1c0"
register "dc_offset_l_manual_mic" = "0xff8a10" register "dc_offset_l_manual_mic" = "0xff8a10"