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: 4b90fa2f55
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>
This commit is contained in:
parent
e566220251
commit
e1ca8a3d42
1 changed files with 3 additions and 0 deletions
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue