]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: rk3399: Add enable/disable clks
authorJagan Teki <jagan@amarulasolutions.com>
Sat, 9 May 2020 16:56:19 +0000 (22:26 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 22 May 2020 12:53:20 +0000 (20:53 +0800)
commit30d09a2f17e82cb893dc3720490f4bed0fb225db
tree7ac54c353ab9da6c6dd6b50323d6d9fc2fb4b0ce
parent1266ef105f671b41b7e3e77bf68c7564e355995e
clk: rk3399: Add enable/disable clks

Yes, most of the high speed peripheral clocks
in rk3399 enabled by default.

But it would be better to handle them via clk
enable/disable API for handling proper reset
conditions like 'usb reset' over command line.

So, enable USB, GMAC clock via enable/disable ops.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Tested-by: Suniel Mahesh <sunil.m@amarulasolutions.com> # roc-rk3399-pc
Tested-by: Suniel Mahesh <sunil@amarulasolutions.com> #roc-rk3399-pc
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/clk/rockchip/clk_rk3399.c