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: I379087b8acdb13e65776a18c9ee3a58d4cb4e73c Signed-off-by: Ben Zhang <benzh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/224513 Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
This commit is contained in:
parent
285cb256e6
commit
4b90fa2f55
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