From d416124f059eeca5a7b0ba5cd3857865d8014104 Mon Sep 17 00:00:00 2001 From: Ben Zhang Date: Tue, 30 Sep 2014 17:00:05 -0700 Subject: samus: Assign GPIO2 to HP_AMP_SHDN_L BUG=chrome-os-partner:29649 BRANCH=samus TEST=Audio playback to headphone works Change-Id: I35efa3b97abbba50cbee4c25acfaeb155fc1238f Signed-off-by: Stefan Reinauer Original-Commit-Id: e2c0ede19c6b700c8d0bf01ff9d3a54984c5d784 Original-Change-Id: Ib51aace52026688dc8972047e5d934c80138ff80 Original-Signed-off-by: Ben Zhang Original-Reviewed-on: https://chromium-review.googlesource.com/221294 Original-Reviewed-by: Duncan Laurie Reviewed-on: http://review.coreboot.org/9269 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/mainboard/google/samus/acpi/mainboard.asl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mainboard') diff --git a/src/mainboard/google/samus/acpi/mainboard.asl b/src/mainboard/google/samus/acpi/mainboard.asl index 128f266618..c6ad278638 100644 --- a/src/mainboard/google/samus/acpi/mainboard.asl +++ b/src/mainboard/google/samus/acpi/mainboard.asl @@ -202,6 +202,7 @@ Scope (\_SB.PCI0.I2C0) * [1] = Mic Present (INPUT) * [2] = Interrupt to the host (OUTPUT) * [3] = Interrupt to the host (OUTPUT) + * [4] = Headphone amp control (OUTPUT) */ /* Index 0: Jack Detect - PLUG_DET is GPIO5 */ @@ -219,6 +220,10 @@ Scope (\_SB.PCI0.I2C0) /* Index 3: Codec Wake - DSP_INT is GPIO4 */ GpioIo (Exclusive, PullUp, , , IoRestrictionOutputOnly, "\\_SB.PCI0.I2C0.CODC") { 3 } + + /* Index 4: Headphone amp - HP_AMP_SHDN_L is GPIO2 */ + GpioIo (Exclusive, PullDown, , , IoRestrictionOutputOnly, + "\\_SB.PCI0.I2C0.CODC") { 1 } }) Name (_PRW, Package() { WAKE, 3 }) -- cgit v1.2.3