summaryrefslogtreecommitdiff
path: root/drivers/clk/rockchip/clk_rv1108.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/rockchip/clk_rv1108.c')
-rw-r--r--drivers/clk/rockchip/clk_rv1108.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/clk/rockchip/clk_rv1108.c b/drivers/clk/rockchip/clk_rv1108.c
index a1195486a9..224c81355e 100644
--- a/drivers/clk/rockchip/clk_rv1108.c
+++ b/drivers/clk/rockchip/clk_rv1108.c
@@ -240,6 +240,13 @@ static int rv1108_clk_bind(struct udevice *dev)
sys_child->priv = priv;
}
+#if CONFIG_IS_ENABLED(CONFIG_RESET_ROCKCHIP)
+ ret = offsetof(struct rk3368_cru, softrst_con[0]);
+ ret = rockchip_reset_bind(dev, ret, 13);
+ if (ret)
+ debug("Warning: software reset driver bind faile\n");
+#endif
+
return 0;
}