summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@google.com>2017-08-29 08:36:55 -0700
committerDuncan Laurie <dlaurie@chromium.org>2017-08-30 15:36:59 +0000
commitf10c8f9cf3930db624955f04cb6434d69e16030e (patch)
tree3103cd764fa6f81f7bca07f04850e950eb8e48e7 /src
parent1533a3cae8cdeeef8ed397c4965e7deca3c73adc (diff)
downloadcoreboot-f10c8f9cf3930db624955f04cb6434d69e16030e.tar.xz
mb/google/eve: rt5514: Add 16ms delay on dmic init
Add a 16ms delay to DMIC init by the kernel driver in order to prevent an audible 'pop' noise when starting to record. BUG=b:63413023 TEST=manual testing to ensure this device property is present in SSDT: Name (_DSD, Package () { ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301") Package () { Package () { "realtek,dmic-init-delay", 0x10 } } }) Change-Id: If9160ce6992153ba49719029de336595bbf4ae72 Signed-off-by: Duncan Laurie <dlaurie@google.com> Reviewed-on: https://review.coreboot.org/21271 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/eve/devicetree.cb5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/google/eve/devicetree.cb b/src/mainboard/google/eve/devicetree.cb
index 2e017f8dcd..37e3b1e4f9 100644
--- a/src/mainboard/google/eve/devicetree.cb
+++ b/src/mainboard/google/eve/devicetree.cb
@@ -300,6 +300,11 @@ chip soc/intel/skylake
register "hid" = ""10EC5514""
register "name" = ""RT54""
register "desc" = ""Realtek RT5514""
+ register "property_count" = "1"
+ # Set the DMIC initial delay to 16ms to avoid pop noise
+ register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
+ register "property_list[0].name" = ""realtek,dmic-init-delay""
+ register "property_list[0].integer" = "16"
device i2c 57 on end
end
end # I2C #4