summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorFrankChu <frank_chu@pegatron.corp-partner.google.com>2021-04-13 11:05:53 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-04-16 06:53:57 +0000
commit1bfe7b4edf7fed59a475280adc0ca324f8fea49c (patch)
treec2b1dc2fffe9c16c021bec649ce0df114acc6036 /src/mainboard
parent271c0a38d3895ed75ae2334148f682e3bade2a67 (diff)
downloadcoreboot-1bfe7b4edf7fed59a475280adc0ca324f8fea49c.tar.xz
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>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/dedede/variants/galtic/overridetree.cb19
1 files changed, 16 insertions, 3 deletions
diff --git a/src/mainboard/google/dedede/variants/galtic/overridetree.cb b/src/mainboard/google/dedede/variants/galtic/overridetree.cb
index 28c82f5cdd..bc46adcd39 100644
--- a/src/mainboard/google/dedede/variants/galtic/overridetree.cb
+++ b/src/mainboard/google/dedede/variants/galtic/overridetree.cb
@@ -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