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 <benzh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/221294
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
This commit is contained in:
Ben Zhang 2014-09-30 17:00:05 -07:00 committed by chrome-internal-fetch
commit e2c0ede19c

View file

@ -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 })