mb/google/dedede/var/galith: support Audio AMP I2C/Auto mode

support audio AMP selection with fw_config.

BUG=b:185082705
BRANCH=dedede
TEST=build pass

Signed-off-by: FrankChu <frank_chu@pegatron.corp-partner.google.com>
Change-Id: Ieb169c69a6716082dd218d05479bca46bbc09a3e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52286
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
This commit is contained in:
FrankChu 2021-04-13 11:05:53 +08:00 committed by Patrick Georgi
parent 271c0a38d3
commit 1bfe7b4edf
1 changed files with 16 additions and 3 deletions

View File

@ -167,15 +167,28 @@ chip soc/intel/jasperlake
register "hid" = ""10EC1015""
register "desc" = ""Realtek SPK AMP L""
register "uid" = "0"
device i2c 28 on end
device i2c 28 on
probe AUDIO_AMP RT1015_I2C
probe AUDIO_AMP UNPROVISIONED
end
end
chip drivers/i2c/generic
register "hid" = ""10EC1015""
register "desc" = ""Realtek SPK AMP R""
register "uid" = "1"
device i2c 29 on end
device i2c 29 on
probe AUDIO_AMP RT1015_I2C
probe AUDIO_AMP UNPROVISIONED
end
end
end
device pci 1f.3 on end # Intel HDA
device pci 1f.3 on
chip drivers/generic/alc1015
register "sdb" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D17)"
device generic 0 on
probe AUDIO_AMP RT1015P_AUTO
end
end
end # Intel HDA
end
end