From e2c0ede19c6b700c8d0bf01ff9d3a54984c5d784 Mon Sep 17 00:00:00 2001 From: Ben Zhang Date: Tue, 30 Sep 2014 17:00:05 -0700 Subject: [PATCH] samus: Assign GPIO2 to HP_AMP_SHDN_L BUG=chrome-os-partner:29649 BRANCH=samus TEST=Audio playback to headphone works Change-Id: Ib51aace52026688dc8972047e5d934c80138ff80 Signed-off-by: Ben Zhang Reviewed-on: https://chromium-review.googlesource.com/221294 Reviewed-by: Duncan Laurie --- src/mainboard/google/samus/acpi/mainboard.asl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mainboard/google/samus/acpi/mainboard.asl b/src/mainboard/google/samus/acpi/mainboard.asl index 7c0735f814..ccf7898c37 100644 --- a/src/mainboard/google/samus/acpi/mainboard.asl +++ b/src/mainboard/google/samus/acpi/mainboard.asl @@ -191,6 +191,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 */ @@ -208,6 +209,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 })