]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: at91: clk-master: split master clock in pres and divider
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Fri, 16 Jul 2021 05:43:48 +0000 (08:43 +0300)
committerEugen Hristev <eugen.hristev@microchip.com>
Tue, 21 Sep 2021 07:05:37 +0000 (10:05 +0300)
commitc05be59ca8c539039d600ff10f5f86a7a946bea7
treea22057a3d545ff264d3d62bf7863a2d2ea06a222
parent6beb4a3a591c41655fd3a7ae36f15f6b32b3307f
clk: at91: clk-master: split master clock in pres and divider

Split master clock in 2 controlling block: one for prescaler one for
divider. This will allow referencing correctly the CPU clock and
master clock in device trees.

Reported-by: Eugen Hristev <eugen.hristev@microchip.com>
Fixes: a64862284f65 ("clk: at91: sam9x60: add support compatible with
CCF")
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
drivers/clk/at91/clk-master.c
drivers/clk/at91/pmc.h
drivers/clk/at91/sam9x60.c
drivers/clk/at91/sama7g5.c