summaryrefslogtreecommitdiff
path: root/src/mainboard/google/samus/acpi/mainboard.asl
diff options
context:
space:
mode:
authorBen Zhang <benzh@chromium.org>2014-09-30 17:00:05 -0700
committerPatrick Georgi <pgeorgi@google.com>2015-04-04 12:40:07 +0200
commitd416124f059eeca5a7b0ba5cd3857865d8014104 (patch)
treeca92ca404859719764be2bf05deff99b5af885fe /src/mainboard/google/samus/acpi/mainboard.asl
parentdcf2d38f02024616a05aa6b9231776a8726202a9 (diff)
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 <reinauer@chromium.org> Original-Commit-Id: e2c0ede19c6b700c8d0bf01ff9d3a54984c5d784 Original-Change-Id: Ib51aace52026688dc8972047e5d934c80138ff80 Original-Signed-off-by: Ben Zhang <benzh@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/221294 Original-Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: http://review.coreboot.org/9269 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.asl5
1 files changed, 5 insertions, 0 deletions
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 })