aboutsummaryrefslogtreecommitdiff
path: root/arch/sandbox/include/asm/clk.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-01-12 09:32:48 -0500
committerTom Rini <trini@konsulko.com>2021-01-12 09:32:48 -0500
commitee6726be4f0dccb612f0193c62ca149164c8a5af (patch)
treec58716b51bec487da0c5ac8929bc072549c90b07 /arch/sandbox/include/asm/clk.h
parent996f217ea368ecaef84863bb29699c0e185b9be7 (diff)
parentea3f5348063ebe4f41be7d1ba3ef0afe56a04a40 (diff)
Merge tag 'ti-v2021.04-rc1' of https://gitlab.denx.de/u-boot/custodians/u-boot-ti
- DM support for OMAP PWM backlight - USB host mode support for AM654 - Minor SPI fixes - Add support k2g ice board with 1GHz silicon - Fix GTC programming for K3 devices
Diffstat (limited to 'arch/sandbox/include/asm/clk.h')
-rw-r--r--arch/sandbox/include/asm/clk.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/clk.h b/arch/sandbox/include/asm/clk.h
index c184c4bffc..0294baee27 100644
--- a/arch/sandbox/include/asm/clk.h
+++ b/arch/sandbox/include/asm/clk.h
@@ -106,6 +106,15 @@ int sandbox_clk_test_get_bulk(struct udevice *dev);
*/
ulong sandbox_clk_test_get_rate(struct udevice *dev, int id);
/**
+ * sandbox_clk_test_round_rate - Ask the sandbox clock test device to round a
+ * clock's rate.
+ *
+ * @dev: The sandbox clock test (client) device.
+ * @id: The test device's clock ID to configure.
+ * @return: The rounded rate of the clock.
+ */
+ulong sandbox_clk_test_round_rate(struct udevice *dev, int id, ulong rate);
+/**
* sandbox_clk_test_set_rate - Ask the sandbox clock test device to set a
* clock's rate.
*