summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorCheng-Yi Chiang <cychiang@chromium.org>2017-11-01 15:01:34 +0800
committerDuncan Laurie <dlaurie@chromium.org>2017-11-14 21:21:48 +0000
commit09ab15798a232d70824e60699f4c7c296234f82f (patch)
tree2a75ef337c0ba27f023ae589b81196a9bf7a47b9 /src/mainboard
parent37da8846faa6d83c12a7f76b9c451a72805850bc (diff)
downloadcoreboot-09ab15798a232d70824e60699f4c7c296234f82f.tar.xz
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>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/eve/devicetree.cb10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mainboard/google/eve/devicetree.cb b/src/mainboard/google/eve/devicetree.cb
index 30a327e2cc..a0b0ea6194 100644
--- a/src/mainboard/google/eve/devicetree.cb
+++ b/src/mainboard/google/eve/devicetree.cb
@@ -310,11 +310,19 @@ chip soc/intel/skylake
register "hid" = ""10EC5514""
register "name" = ""RT54""
register "desc" = ""Realtek RT5514""
- register "property_count" = "1"
+ register "property_count" = "3"
# 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"
+ # 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
end
end # I2C #4