mb/google/brya/var/vell: Move SPK0/SPK1 to I2C7

To support speaker AMP CS35L53-CWZR'S I2C needs to split to two
I2C ports

BUG=b:207333035
BRANCH=none
TEST=built and verified speaker

Signed-off-by: Eddy Lu <eddylu@ami.corp-partner.google.com>
Change-Id: I8095abc4fc3233b21b818a508c84cd59b39fc1d6
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63756
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@tutanota.com>
Reviewed-by: Shon Wang <shon.wang@quanta.corp-partner.google.com>
This commit is contained in:
eddylu@ami.corp-partner.google.com 2022-05-19 11:47:37 +08:00 committed by Martin L Roth
parent fb3fbc3526
commit 54516673a4
1 changed files with 38 additions and 21 deletions

View File

@ -225,29 +225,13 @@ chip soc/intel/alderlake
end
end
device ref i2c0 on
chip drivers/i2c/cs35l53
register "name" = ""SPK0""
register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_D14)"
register "boost_type" = "EXTERNAL_BOOST"
register "asp_sdout_hiz" = "ASP_SDOUT_LOGIC0_UNUSED_LOGIC0_DISABLED"
register "gpio1_output_enable" = "true"
register "gpio1_src_select" = "GPIO1_SRC_GPIO"
register "gpio2_src_select" = "GPIO2_SRC_HIGH_IMPEDANCE"
device i2c 0x40 on end
end
chip drivers/i2c/cs35l53
register "name" = ""SPK1""
register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_D14)"
register "boost_type" = "EXTERNAL_BOOST"
register "asp_sdout_hiz" = "ASP_SDOUT_LOGIC0_UNUSED_LOGIC0_DISABLED"
register "gpio1_output_enable" = "true"
register "gpio1_src_select" = "GPIO1_SRC_GPIO"
register "gpio2_src_select" = "GPIO2_SRC_HIGH_IMPEDANCE"
device i2c 0x41 on end
end
chip drivers/i2c/cs35l53
register "name" = ""SPK2""
register "sub" = ""103CA221""
register "desc" = ""Cirrus Logic CS35L53 Tweeter Right Audio Codec""
register "uid" = "3"
register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_D14)"
register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
register "boost_type" = "EXTERNAL_BOOST"
register "asp_sdout_hiz" = "ASP_SDOUT_LOGIC0_UNUSED_LOGIC0_DISABLED"
register "gpio1_output_enable" = "true"
@ -257,7 +241,11 @@ chip soc/intel/alderlake
end
chip drivers/i2c/cs35l53
register "name" = ""SPK3""
register "sub" = ""103CA221""
register "desc" = ""Cirrus Logic CS35L53 Woofer Right Audio Codec""
register "uid" = "1"
register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_D14)"
register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
register "boost_type" = "EXTERNAL_BOOST"
register "asp_sdout_hiz" = "ASP_SDOUT_LOGIC0_UNUSED_LOGIC0_DISABLED"
register "gpio1_output_enable" = "true"
@ -362,7 +350,36 @@ chip soc/intel/alderlake
device i2c 15 on end
end
end
device ref i2c7 on end
device ref i2c7 on
chip drivers/i2c/cs35l53
register "name" = ""SPK0""
register "sub" = ""103CA221""
register "desc" = ""Cirrus Logic CS35L53 Tweeter Left Audio Codec""
register "uid" = "2"
register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_D14)"
register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
register "boost_type" = "EXTERNAL_BOOST"
register "asp_sdout_hiz" = "ASP_SDOUT_LOGIC0_UNUSED_LOGIC0_DISABLED"
register "gpio1_output_enable" = "true"
register "gpio1_src_select" = "GPIO1_SRC_GPIO"
register "gpio2_src_select" = "GPIO2_SRC_HIGH_IMPEDANCE"
device i2c 0x40 on end
end
chip drivers/i2c/cs35l53
register "name" = ""SPK1""
register "sub" = ""103CA221""
register "desc" = ""Cirrus Logic CS35L53 Woofer Left Audio Codec""
register "uid" = "0"
register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_D14)"
register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
register "boost_type" = "EXTERNAL_BOOST"
register "asp_sdout_hiz" = "ASP_SDOUT_LOGIC0_UNUSED_LOGIC0_DISABLED"
register "gpio1_output_enable" = "true"
register "gpio1_src_select" = "GPIO1_SRC_GPIO"
register "gpio2_src_select" = "GPIO2_SRC_HIGH_IMPEDANCE"
device i2c 0x41 on end
end
end
device ref gspi1 on
chip drivers/spi/acpi
register "name" = ""CRFP""