aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/eve/devicetree.cb
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2017-06-30 02:01:02 -0700
committerDuncan Laurie <dlaurie@chromium.org>2017-07-01 02:50:10 +0000
commit9692f31a4f63f5f558466b1e88f3557259e703dd (patch)
tree1afc0e57633a7da3da01cc82151804d736350b41 /src/mainboard/google/eve/devicetree.cb
parentf476867af203351d18a6c7b8342ea41def6adb6b (diff)
mb/google/eve: Fix interrupt config for audio devices
Use the new PAD_CFG_GPI_INT macro to specify the headset codec interrupt as specifically edge triggered (since it is registered as EDGE_BOTH in the devicetree) in order to prevent the interrupt from firing unexpectedly when the system is resuming. Also change the DSP interrupt to edge triggered since the kernel is registering with IRQF_TRIGGER_RISING in order to prevent an interrupt storm when it asserts. BUG=b:35582164 TEST=manual testing on Eve: 1) ensure the headset codec sends interrupt on insert and remove 2) ensure there is only one interrupt counted when DSP asserts irq Change-Id: I40a8ee667de653e4e70770cd96b6417442c1b0ec Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://review.coreboot.org/20433 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google/eve/devicetree.cb')
-rw-r--r--src/mainboard/google/eve/devicetree.cb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/eve/devicetree.cb b/src/mainboard/google/eve/devicetree.cb
index 81f235f06b..b6cb848b40 100644
--- a/src/mainboard/google/eve/devicetree.cb
+++ b/src/mainboard/google/eve/devicetree.cb
@@ -323,7 +323,7 @@ chip soc/intel/skylake
chip drivers/spi/acpi
register "hid" = "ACPI_DT_NAMESPACE_HID"
register "compat_string" = ""realtek,rt5514""
- register "irq" = "ACPI_IRQ_LEVEL_HIGH(GPP_F10_IRQ)"
+ register "irq" = "ACPI_IRQ_EDGE_HIGH(GPP_F10_IRQ)"
device spi 0 on end
end
end # GSPI #0