]> git.baikalelectronics.ru Git - kernel.git/commit
clk: ast2600: Fix AHB clock divider for A1
authorEddie James <eajames@linux.ibm.com>
Wed, 8 Apr 2020 20:36:16 +0000 (15:36 -0500)
committerStephen Boyd <sboyd@kernel.org>
Wed, 27 May 2020 08:36:22 +0000 (01:36 -0700)
commit69329cb8ce2b642b5a5d30e46837404f64107a9e
treebe3834809f531a8ae2c19f5eca3e00432f4fdf3a
parent9b8057e7f937f20763a90a8fc2333168af101732
clk: ast2600: Fix AHB clock divider for A1

The latest specs for the AST2600 A1 chip include some different bit
definitions for calculating the AHB clock divider. Implement these in
order to get the correct AHB clock value in Linux.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lkml.kernel.org/r/20200408203616.4031-1-eajames@linux.ibm.com
Fixes: 9ea7cc96411f ("clk: Add support for AST2600 SoC")
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-ast2600.c