aboutsummaryrefslogtreecommitdiff
path: root/arch/sandbox/include/asm/clk.h
diff options
context:
space:
mode:
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 c184c4b..0294bae 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.
*