diff options
author | eddylu@ami.corp-partner.google.com <eddylu@ami.corp-partner.google.com> | 2022-05-19 11:47:37 +0800 |
---|---|---|
committer | Martin L Roth <gaumless@tutanota.com> | 2022-05-30 05:54:05 +0000 |
commit | 54516673a4554b97a1ac819ba3afcb28e47c11ce (patch) | |
tree | ead1efa08dda7b4750f823bd716a178577a51b05 /src/mainboard/google/brya/variants/vell | |
parent | fb3fbc3526c994923ae4d6933116ec77b7a7348a (diff) |
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>
Diffstat (limited to 'src/mainboard/google/brya/variants/vell')
-rw-r--r-- | src/mainboard/google/brya/variants/vell/overridetree.cb | 59 |
1 files changed, 38 insertions, 21 deletions
diff --git a/src/mainboard/google/brya/variants/vell/overridetree.cb b/src/mainboard/google/brya/variants/vell/overridetree.cb index 7cbdb5ee4a..f40b52beec 100644 --- a/src/mainboard/google/brya/variants/vell/overridetree.cb +++ b/src/mainboard/google/brya/variants/vell/overridetree.cb @@ -226,28 +226,12 @@ chip soc/intel/alderlake 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"" |