rtc: hym8563: Add CLK_IS_CRITICAL for output clock
The 32k clock is used for hp timer on RK3588, and it should be always on. Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com> Change-Id: Ie28a16308521fadc33ae91c25215f30bd2265f33
This commit is contained in:
parent
112f4f431d
commit
f822ab60e5
1 changed files with 1 additions and 7 deletions
|
|
@ -412,16 +412,10 @@ static struct clk *hym8563_clkout_register_clk(struct hym8563 *hym8563)
|
|||
struct device_node *node = client->dev.of_node;
|
||||
struct clk *clk;
|
||||
struct clk_init_data init;
|
||||
int ret;
|
||||
|
||||
ret = i2c_smbus_write_byte_data(client, HYM8563_CLKOUT,
|
||||
0);
|
||||
if (ret < 0)
|
||||
return ERR_PTR(ret);
|
||||
|
||||
init.name = "hym8563-clkout";
|
||||
init.ops = &hym8563_clkout_ops;
|
||||
init.flags = 0;
|
||||
init.flags = CLK_IS_CRITICAL;
|
||||
init.parent_names = NULL;
|
||||
init.num_parents = 0;
|
||||
hym8563->clkout_hw.init = &init;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue