Attention is currently required from: Dinesh Gehlot, Eric Lai, Kapil Porwal, Nick Vaccaro, Subrata Banik.
Jianeng Ceng has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/81774?usp=email )
Change subject: mb/google/nissa/var/anraggar: Add cbj_sleeve to control mic jack ......................................................................
mb/google/nissa/var/anraggar: Add cbj_sleeve to control mic jack
Added a new GPIO port cbj-sleeve for kernel driver to call. After entering the system, it is pulled high by the kernel to enable the MIC function.
BUG=None TEST=MIC function is normal
Change-Id: I093be6a3e357aae389fcbe8291a9701c40b62e15 Signed-off-by: Jianeng Ceng cengjianeng@huaqin.corp-partner.google.com --- M src/mainboard/google/brya/Kconfig M src/mainboard/google/brya/variants/anraggar/overridetree.cb 2 files changed, 4 insertions(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/74/81774/1
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig index 732a9ea..0fa3553 100644 --- a/src/mainboard/google/brya/Kconfig +++ b/src/mainboard/google/brya/Kconfig @@ -2,6 +2,7 @@
config BOARD_GOOGLE_BRYA_COMMON def_bool n + select DRIVERS_I2C_RT5645 select DRIVERS_GENERIC_ALC1015 select DRIVERS_GENERIC_GPIO_KEYS select DRIVERS_GENERIC_MAX98357A diff --git a/src/mainboard/google/brya/variants/anraggar/overridetree.cb b/src/mainboard/google/brya/variants/anraggar/overridetree.cb index c7942c1..2f5b1d2 100644 --- a/src/mainboard/google/brya/variants/anraggar/overridetree.cb +++ b/src/mainboard/google/brya/variants/anraggar/overridetree.cb @@ -348,15 +348,13 @@ end end device ref i2c3 on - chip drivers/i2c/generic + chip drivers/i2c/rt5645 register "hid" = ""10EC5650"" register "name" = ""RT58"" register "desc" = ""Realtek RT5650"" register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)" - register "property_count" = "1" - register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER" - register "property_list[0].name" = ""realtek,jd-mode"" - register "property_list[0].integer" = "2" + register "cbj_sleeve" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)" + register "jd_mode" = "2" device i2c 1a on end end end