]> git.baikalelectronics.ru Git - kernel.git/commit
clk: rockchip: fix rk3568 cpll clk gate bits
authorPeter Geis <pgwipeout@gmail.com>
Wed, 19 May 2021 17:41:49 +0000 (13:41 -0400)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 23 May 2021 23:49:45 +0000 (01:49 +0200)
commit6b8200c5fc69b2f29ff2e30bd6b7ffe5a5856991
tree69b84e72c58d2d5f7d97ca691abbfd2ccba3bd40
parent8116685857f02bc11876fa3d8b250de51888616f
clk: rockchip: fix rk3568 cpll clk gate bits

The cpll clk gate bits had an ordering issue. This led to the loss of
the boot sdmmc controller when the gmac was shut down with:
`ip link set eth0 down`
as the cpll_100m was shut off instead of the cpll_62p5.
cpll_62p5, cpll_50m, cpll_25m were all off by one with cpll_100m
misplaced.

Fixes: 67cc6111ab43 ("clk: rockchip: add clock controller for rk3568")
Signed-off-by: Peter Geis <pgwipeout@gmail.com>
Reviewed-by: Elaine Zhang<zhangqing@rock-chips.com>
Link: https://lore.kernel.org/r/20210519174149.3691335-1-pgwipeout@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-rk3568.c