soc/amd/common/acp: Populate _WOV ACPI method

In order to support Audio Co-processor (ACP) DMIC hardware runtime
detection on the platform, ACPI _WOV method is populated on the
concerned ACP device. This method returns the ACPI Integer value as 1
if ACP DMIC exists on the platform.

BUG=b:182960979
TEST=Build and boot to OS in guybrush. Ensure that the _WOV ACPI method
is populated under the scope of ACP device.
    Scope (\_SB.PCI0.GP41.ACPD)
    {
        Method (_WOV, 0, NotSerialized)
        {
            Return (One)
        }
    }

Change-Id: Ide84f45f5ea2ae42d5efe71ac6d1595886157045
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55029
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/soc/amd/common/block/include/amdblocks/acp.h b/src/soc/amd/common/block/include/amdblocks/acp.h
index 2abc600..a4c926d 100644
--- a/src/soc/amd/common/block/include/amdblocks/acp.h
+++ b/src/soc/amd/common/block/include/amdblocks/acp.h
@@ -4,6 +4,7 @@
 #define AMD_COMMON_ACP_H
 
 #include <stdint.h>
+#include <types.h>
 
 struct acp_config {
 	enum {
@@ -19,6 +20,12 @@
 	u8 acp_i2s_wake_enable;
 	/* Enable ACP PME (0 = disable, 1 = enable) */
 	u8 acp_pme_enable;
+
+	/*
+	 * DMIC present (optional) to support ACP DMIC hardware runtime detection on the
+	 * platform. If dmic_present is set to true, it will populate the _WOV ACPI method.
+	 */
+	bool dmic_present;
 };
 
 #endif /* AMD_COMMON_ACP_H */