mb/google/dedede/var/metaknight: Probe and enable amplifier operation mode

Probe the fw_config for RT1015 speaker amplifier operation mode and
enable it accordingly in the device tree.

BUG=none
BRANCH=dedede
TEST=build pass

Signed-off-by: David Wu <david_wu@quanta.corp-partner.google.com>
Change-Id: I2de1487b7f4767e9ba6432174c39feeb25f9534c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58931
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
This commit is contained in:
David Wu 2021-11-04 13:37:41 +08:00 committed by Felix Held
parent 8fbfc080fc
commit a003c33aa1
1 changed files with 16 additions and 3 deletions

View File

@ -243,15 +243,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 UNPROVISIONED
probe AUDIO_AMP RT1015_I2C
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 UNPROVISIONED
probe AUDIO_AMP RT1015_I2C
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