diff options
author | Ben Zhang <benzh@chromium.org> | 2014-10-20 17:27:42 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-04-04 12:40:04 +0200 |
commit | e1ca8a3d42da15fbe7a8be928bdd531f26298dd6 (patch) | |
tree | 44bbaf627cd1821f80fc0561a7511cb954c72d29 /src/mainboard/google/samus/acpi/mainboard.asl | |
parent | e56622025190b685e4c11c2641de902cfdd87af2 (diff) |
samus: Add codec platform data for jack detect
GPIO IRQ support has been added in upstream rt5677 driver,
with new jack detect platform config options.
BUG=chrome-os-partner:29649
BRANCH=samus
TEST=headphone and mic detect works on Samus
Change-Id: I68a675ccd1fec3e5329d57aadad3229053092026
Signed-off-by: Stefan Reinauer <reinauer@chromium.org>
Original-Commit-Id: 4b90fa2f557f603661e25c9e1b4712eea15c8502
Original-Change-Id: I379087b8acdb13e65776a18c9ee3a58d4cb4e73c
Original-Signed-off-by: Ben Zhang <benzh@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/224513
Original-Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: http://review.coreboot.org/9266
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard/google/samus/acpi/mainboard.asl')
-rw-r--r-- | src/mainboard/google/samus/acpi/mainboard.asl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/samus/acpi/mainboard.asl b/src/mainboard/google/samus/acpi/mainboard.asl index ec3cfe0b98..b4b472365c 100644 --- a/src/mainboard/google/samus/acpi/mainboard.asl +++ b/src/mainboard/google/samus/acpi/mainboard.asl @@ -178,6 +178,9 @@ Scope (\_SB.PCI0.I2C0) Name (OUT2, 1) /* LOUT2 differential */ Name (OUT3, 0) /* LOUT3 differential */ Name (ASRC, 1) /* Enable I2S1 ASRC */ + Name (JD1, 0) /* JackDetect1 is not used */ + Name (JD2, 2) /* Use GPIO5 as JackDetect2 */ + Name (JD3, 3) /* Use GPIO6 as JackDetect3 */ Name (_CRS, ResourceTemplate() { |