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>
This commit is contained in:
Duncan Laurie 2017-08-29 08:36:55 -07:00 committed by Duncan Laurie
parent 1533a3cae8
commit f10c8f9cf3
1 changed files with 5 additions and 0 deletions

View File

@ -300,6 +300,11 @@ chip soc/intel/skylake
register "hid" = ""10EC5514"" register "hid" = ""10EC5514""
register "name" = ""RT54"" register "name" = ""RT54""
register "desc" = ""Realtek RT5514"" 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 device i2c 57 on end
end end
end # I2C #4 end # I2C #4