mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
clk: RK808: Configure 32k always on through dts
Change-Id: I91d860c40940fb02af2226f95ff69685e65a8434 Signed-off-by: Shengfei Xu <xsf@rock-chips.com>
This commit is contained in:
@@ -181,6 +181,10 @@ static int rk808_clkout_probe(struct platform_device *pdev)
|
||||
return ret;
|
||||
|
||||
init.name = "rk808-clkout2";
|
||||
|
||||
if (of_property_read_bool(node, "rockchip,clk-32k-always-on"))
|
||||
init.flags |= CLK_IS_CRITICAL;
|
||||
|
||||
init.ops = rkpmic_get_ops(rk808->variant);
|
||||
rk808_clkout->clkout2_hw.init = &init;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user