]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
clk: mvebu: ap806: add AP-DCLK (hclk) to system controller driver
authorOmri Itach <omrii@marvell.com>
Mon, 5 Aug 2019 10:03:08 +0000 (12:03 +0200)
committerStephen Boyd <sboyd@kernel.org>
Wed, 18 Sep 2019 05:15:41 +0000 (22:15 -0700)
commit0099dc446bb6a72ce24d4f86760d0f4fe4300138
tree9dd547a600631708e82db7f4626e960924bafe0e
parentcd016cb01835e0b9f62fb675b336fbded912dcb6
clk: mvebu: ap806: add AP-DCLK (hclk) to system controller driver

Add dynamic AP-DCLK clock (hclk) to system controller driver. AP-DCLK
is half the rate of DDR clock, so its derrived from Sample At Reset
configuration. The clock frequency is required for AP806 AXI monitor
profiling feature.

Signed-off-by: Omri Itach <omrii@marvell.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lkml.kernel.org/r/20190805100310.29048-7-miquel.raynal@bootlin.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mvebu/ap806-system-controller.c