]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: aspeed: Get HCLK frequency support
authorChin-Ting Kuo <chin-ting_kuo@aspeedtech.com>
Fri, 19 Aug 2022 09:01:02 +0000 (17:01 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 13 Sep 2022 16:08:40 +0000 (12:08 -0400)
commita7e82204743c3095deeac73e3142152d325141f8
tree9c0068279ccd7a5e1835d6fe184c9799b880c731
parentb3d9c0b6d5895e91b3e6b3566423d09e5a4d5ee8
clk: aspeed: Get HCLK frequency support

User can get correct HCLK frequency during driver probe stage
by adding the following configuration in the device tree.
"clocks = <&scu ASPEED_CLK_AHB>".

Signed-off-by: Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
drivers/clk/aspeed/clk_ast2500.c