aboutsummaryrefslogtreecommitdiff
path: root/arch/sandbox
diff options
context:
space:
mode:
authorJean-Jacques Hiblot2019-10-22 14:00:07 +0200
committerLukasz Majewski2019-10-22 16:14:05 +0200
commit9a52be129c5b159269ac69a7ae0197eb02612f1d (patch)
tree1f2527e776aada5ab0b31d995066b69ce02ca13b /arch/sandbox
parentfd1ba2965244e7628ac3aa539e51653490e1b4fe (diff)
test: clk: test clock self assignment
Make sure that the clock self-assignment works by having a clock of clk-sbox be configured automatically when clk-sbox is probed. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/dts/test.dts2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index a5b9fbd2257..fdb08f21115 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -226,6 +226,8 @@
clk_sandbox: clk-sbox {
compatible = "sandbox,clk";
#clock-cells = <1>;
+ assigned-clocks = <&clk_sandbox 3>;
+ assigned-clock-rates = <321>;
};
clk-test {