mb/google/eve: Add DSP calibration clock name/rate for RT5514

Add a property for DSP calibration clock name and rate such that
RT5514 codec driver can control ssp1_mclk for DSP clock calibration.

BUG=b:67763576
TEST=boot on eve check RT5514 codec driver can get this device
     property.

Change-Id: Icf9695ef67efb2bb073e39b2ece02d57f0460a0c
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Original-Signed-off-by: Cheng-Yi Chiang <cychiang@chromium.org>
Original-Change-Id: Ie204dda81a099f23beb20be71380a8494a9bee31
Original-Reviewed-on: https://chromium-review.googlesource.com/756261
Original-Reviewed-by: Dylan Reid <dgreid@chromium.org>
Original-Reviewed-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://review.coreboot.org/22451
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
Cheng-Yi Chiang 2017-11-01 15:01:34 +08:00 committed by Duncan Laurie
parent 37da8846fa
commit 09ab15798a
1 changed files with 9 additions and 1 deletions

View File

@ -310,11 +310,19 @@ 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" register "property_count" = "3"
# Set the DMIC initial delay to 16ms to avoid pop noise # Set the DMIC initial delay to 16ms to avoid pop noise
register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER" register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
register "property_list[0].name" = ""realtek,dmic-init-delay"" register "property_list[0].name" = ""realtek,dmic-init-delay""
register "property_list[0].integer" = "16" register "property_list[0].integer" = "16"
# Set clock name for RT5514 to calibrate DSP clock.
register "property_list[1].type" = "ACPI_DP_TYPE_STRING"
register "property_list[1].name" = ""realtek,dsp-calib-clk-name""
register "property_list[1].string" = ""ssp1_mclk""
# Set clock rate for RT5514 to calibrate DSP clock.
register "property_list[2].type" = "ACPI_DP_TYPE_INTEGER"
register "property_list[2].name" = ""realtek,dsp-calib-clk-rate""
register "property_list[2].integer" = "24000000"
device i2c 57 on end device i2c 57 on end
end end
end # I2C #4 end # I2C #4