aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/include
diff options
context:
space:
mode:
authorMarshall Dawson <marshalldawson3rd@gmail.com>2019-08-16 08:45:20 -0600
committerMartin Roth <martinroth@google.com>2019-10-21 21:28:48 +0000
commit3edc9e24c3ec68419df0a3a5683067ec7d4ac444 (patch)
tree33e67ad1bda3c89069f2159601a0e3022ecb7924 /src/soc/amd/picasso/include
parentdd321038ac2a4ace231b642ce6664a7d86b41fcc (diff)
soc/amd/picasso: Add audio processor
Add a driver that can properly configure the pads needed to run the correct audio mode. I2S requires the 48M oscillator enabled regardless of an external connection. Change-Id: I1137eae91aa28640ca3e9e2b2c58beed2cdb7e3c Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36117 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/amd/picasso/include')
-rw-r--r--src/soc/amd/picasso/include/soc/northbridge.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/amd/picasso/include/soc/northbridge.h b/src/soc/amd/picasso/include/soc/northbridge.h
index e423ab1aa7..9c7419a997 100644
--- a/src/soc/amd/picasso/include/soc/northbridge.h
+++ b/src/soc/amd/picasso/include/soc/northbridge.h
@@ -73,6 +73,9 @@
#define D18F1_VGAEN 0xf4
# define VGA_ADDR_ENABLE (1 << 0)
+/* Bus A D0F5 - Audio Processor */
+#define ACP_I2S_PIN_CONFIG 0x1400 /* HDA, Soundwire, I2S */
+
void amd_initcpuio(void);
void domain_enable_resources(struct device *dev);