]> 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)
commitb1c309a13eeb2d2438e9e08a750a2b2116025673
treebe3834809f531a8ae2c19f5eca3e00432f4fdf3a
parent0e6c92ce1d170795a396f8108369eb2c8412797f
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: 75ff9e918f1c ("clk: Add support for AST2600 SoC")
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-ast2600.c