From 899d5bdefa138a10802f9997b58a264ce844d8b6 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Mon, 3 Aug 2020 15:00:46 +0200 Subject: soc/intel/common: Move common HDA registers to Change-Id: I9ea191e5076e2f055405dc34d46dbbb8cfb0015e Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/44106 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/include/device/azalia_device.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/include') diff --git a/src/include/device/azalia_device.h b/src/include/device/azalia_device.h index fe23c7021b..cc4ce75fda 100644 --- a/src/include/device/azalia_device.h +++ b/src/include/device/azalia_device.h @@ -8,6 +8,16 @@ #include #include +#define HDA_GCAP_REG 0x00 +#define HDA_GCTL_REG 0x08 +#define HDA_GCTL_CRST (1 << 0) +#define HDA_STATESTS_REG 0x0e +#define HDA_IC_REG 0x60 +#define HDA_IR_REG 0x64 +#define HDA_ICII_REG 0x68 +#define HDA_ICII_BUSY (1 << 0) +#define HDA_ICII_VALID (1 << 1) + void azalia_audio_init(struct device *dev); extern struct device_operations default_azalia_audio_ops; -- cgit v1.2.3