mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
clk: rockchip: rv1126: mux clocks to none-cpll/hpll
There is a lower power dissipation requirement for some products, like battery ipc, bell, etc... We have to gate cpll/hpll to reduce power dissipation. Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com> Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Change-Id: I48fae621c980b6f7f7d8e8ca71171febd6c6a9a8 Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
This commit is contained in:
@@ -1252,8 +1252,12 @@ struct clk *rockchip_clk_register_pll(struct rockchip_clk_provider *ctx,
|
||||
/* now create the actual pll */
|
||||
init.name = pll_name;
|
||||
|
||||
#ifndef CONFIG_ROCKCHIP_LOW_PERFORMANCE
|
||||
/* keep all plls untouched for now */
|
||||
init.flags = flags | CLK_IGNORE_UNUSED;
|
||||
#else
|
||||
init.flags = flags;
|
||||
#endif
|
||||
|
||||
init.parent_names = &parent_names[0];
|
||||
init.num_parents = 1;
|
||||
|
||||
Reference in New Issue
Block a user