Shon Wang has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60331 )
Change subject: mb/google/brya/var/vell: Add AMP driver setting ......................................................................
mb/google/brya/var/vell: Add AMP driver setting
update overridetree.cb update Kconfig.name
Signed-off-by: Shon Wang shon.wang@quanta.corp-partner.google.com Change-Id: I96d49bd1a2ba061c4fd52b450b31d0885f49552c --- M src/mainboard/google/brya/Kconfig.name M src/mainboard/google/brya/variants/vell/overridetree.cb 2 files changed, 20 insertions(+), 27 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/31/60331/1
diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name index 1f3078d..fdba2f0 100644 --- a/src/mainboard/google/brya/Kconfig.name +++ b/src/mainboard/google/brya/Kconfig.name @@ -131,6 +131,7 @@ select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES select DRIVERS_INTEL_MIPI_CAMERA select SOC_INTEL_COMMON_BLOCK_IPU + select DRIVERS_I2C_CS35L53
config BOARD_GOOGLE_TANIKS bool "-> Taniks" diff --git a/src/mainboard/google/brya/variants/vell/overridetree.cb b/src/mainboard/google/brya/variants/vell/overridetree.cb index 03d7dae..eede9f2 100644 --- a/src/mainboard/google/brya/variants/vell/overridetree.cb +++ b/src/mainboard/google/brya/variants/vell/overridetree.cb @@ -166,34 +166,26 @@ end end device ref i2c0 on - chip drivers/i2c/generic - register "hid" = ""10EC5682"" - register "name" = ""RT58"" - register "desc" = ""Headset Codec"" - register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)" - # Set the jd_src to RT5668_JD1 for jack detection - register "property_count" = "1" - register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER" - register "property_list[0].name" = ""realtek,jd-src"" - register "property_list[0].integer" = "1" - device i2c 1a on - probe AUDIO MAX98360_ALC5682I_I2S - end + chip drivers/i2c/cs35l53 + register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_D14)" + register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_S1)" + device i2c 0x40 on end end - chip drivers/i2c/generic - register "hid" = ""RTL5682"" - register "name" = ""RT58"" - register "desc" = ""Headset Codec"" - register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)" - # Set the jd_src to RT5668_JD1 for jack detection - register "property_count" = "1" - register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER" - register "property_list[0].name" = ""realtek,jd-src"" - register "property_list[0].integer" = "1" - device i2c 1a on - probe AUDIO MAX98360_ALC5682IVS_I2S - end - end +# chip drivers/i2c/cs35l53 +# register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_D14)" +# register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_S1)" +# device i2c 0x41 on end +# end +# chip drivers/i2c/cs35l53 +# register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_D14)" +# register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_S1)" +# device i2c 0x42 on end +# end +# chip drivers/i2c/cs35l53 +# register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_D14)" +# register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_S1)" +# device i2c 0x43 on end +# end end #I2C0 device ref i2c1 on chip drivers/i2c/generic