Thread (10 messages) 10 messages, 3 authors, 2017-04-07

[PATCH 2/3] zte: clk: pd_bit is not 0 on zx296718

From: Jun Nie <hidden>
Date: 2017-03-23 01:34:13
Also in: linux-clk

2017-03-21 16:38 GMT+08:00 Shawn Guo [off-list ref]:
From: Shawn Guo <redacted>

The bit 0 of PLL_CFG0 register is not powerdown on zx296718, but part of
of postdiv2 field.  The consequence is that functions like hw_to_idx()
and zx_pll_enable() will end up tampering the postdiv2 of the PLL.

Let's fix it by defining pd_bit 0xff which is obviously invalid for a
bit position and having PLL driver check the validity before operating
on the bit.

Signed-off-by: Shawn Guo <redacted>
Reviewed-by: Jun Nie <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help