mb/google/brya/var/brya0: configure gpio for headset
Configure GPP_R0, GPP_R1, GPP_R2 and GPP_R3 for headset function enable with ALC5682I+MAX98360. BUG=b:202671753 BRANCH=firmware-brya-14505.B TEST=emerge-brya coreboot Change-Id: I93070a8096d43557a50e5a545227f2906e299d8e Signed-off-by: Amanda Huang <amanda_hwang@compal.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63721 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Frank Wu <frank_wu@compal.corp-partner.google.com>
This commit is contained in:
parent
0c96291ba3
commit
b37468a73c
|
@ -144,7 +144,7 @@ static void fw_config_handle(void *unused)
|
||||||
printk(BIOS_INFO, "Configure audio over I2S with MAX98360 ALC5682I.\n");
|
printk(BIOS_INFO, "Configure audio over I2S with MAX98360 ALC5682I.\n");
|
||||||
gpio_configure_pads(max98360_enable_pads, ARRAY_SIZE(max98360_enable_pads));
|
gpio_configure_pads(max98360_enable_pads, ARRAY_SIZE(max98360_enable_pads));
|
||||||
printk(BIOS_INFO, "BT offload enabled\n");
|
printk(BIOS_INFO, "BT offload enabled\n");
|
||||||
gpio_configure_pads(i2s0_disable_pads, ARRAY_SIZE(i2s0_disable_pads));
|
gpio_configure_pads(i2s0_enable_pads, ARRAY_SIZE(i2s0_enable_pads));
|
||||||
gpio_configure_pads(bt_i2s_enable_pads, ARRAY_SIZE(bt_i2s_enable_pads));
|
gpio_configure_pads(bt_i2s_enable_pads, ARRAY_SIZE(bt_i2s_enable_pads));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue