Add the clock support for the new SoCs Armada 380 and Armada 385:
core clocks and gating clocks.
Signed-off-by: Gregory CLEMENT <[email protected]>
Reviewed-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Jason Cooper <[email protected]>
Add the clock support for the new SoC Armada 375: core clocks and
gating clocks.
Signed-off-by: Gregory CLEMENT <[email protected]>
Reviewed-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Jason Cooper <[email protected]>
This commit introduces a new group of clocks present in Armada 370/XP
SoCs (called "Core Divider" clocks) and add a provider for them.
The only clock supported for now is the NAND clock (ndclk), but the
infrastructure to add the rest is already set.
Reviewed-by: Gregory CLEMENT <[email protected]>
Signed-off-by: Ezequiel Garcia <[email protected]>
Signed-off-by: Mike Turquette <[email protected]>
Switch from function-centric to soc-centric clock drivers now makes
a bunch of files obsolete. This deletes all files and Kconfig options
that are not required anymore.
Signed-off-by: Sebastian Hesselbarth <[email protected]>
Acked-by: Mike Turquette <[email protected]>
Signed-off-by: Jason Cooper <[email protected]>
This is moving core clock and clock gating init for Armada XP to
its own file and adds a Kconfig option. Also init functions are added
and declared so they get called on of_clk_init.
Signed-off-by: Sebastian Hesselbarth <[email protected]>
Tested-by: Thomas Petazzoni <[email protected]>
Acked-by: Mike Turquette <[email protected]>
Signed-off-by: Jason Cooper <[email protected]>
This is moving core clock and clock gating init for Armada 370 to
its own file and adds a Kconfig option. Also init functions are added
and declared so they get called on of_clk_init.
Signed-off-by: Sebastian Hesselbarth <[email protected]>
Tested-by: Thomas Petazzoni <[email protected]>
Acked-by: Mike Turquette <[email protected]>
Signed-off-by: Jason Cooper <[email protected]>
This is moving core clock and clock gating init for Kirkwood to its
own file and adds a Kconfig option. Also init functions are added and
declared so they get called on of_clk_init.
Signed-off-by: Sebastian Hesselbarth <[email protected]>
Tested-by: Thomas Petazzoni <[email protected]>
Acked-by: Mike Turquette <[email protected]>
Signed-off-by: Jason Cooper <[email protected]>
This is moving core clock and clock gating init for Dove to its own
file and adds a Kconfig option. Also init functions are added and
declared so they get called on of_clk_init.
Signed-off-by: Sebastian Hesselbarth <[email protected]>
Tested-by: Thomas Petazzoni <[email protected]>
Acked-by: Mike Turquette <[email protected]>
Signed-off-by: Jason Cooper <[email protected]>
Based on the current common functions for core clocks and clock
gating control, new common functions are joined in a single file.
Given the opportunity, names of functions and structs are unified,
and also a Kconfig entry is added.
Signed-off-by: Sebastian Hesselbarth <[email protected]>
Tested-by: Thomas Petazzoni <[email protected]>
Acked-by: Mike Turquette <[email protected]>
Signed-off-by: Jason Cooper <[email protected]>
This driver allows to provide DT clocks for clock gates found on
Marvell Dove and Kirkwood SoCs. The clock gates are referenced by
the phandle index of the corresponding bit in the clock gating control
register to ease lookup in the datasheet.
Signed-off-by: Sebastian Hesselbarth <[email protected]>
This driver allows to provide DT clocks for core clocks found on
Marvell Kirkwood, Dove & 370/XP SoCs. The core clock frequencies and
ratios are determined by decoding the Sample-At-Reset registers.
Although technically correct, using a divider of 0 will lead to
div_by_zero panic. Let's use a ratio of 0/1 instead to fail later
with a zero clock.
Signed-off-by: Gregory CLEMENT <[email protected]>
Signed-off-by: Sebastian Hesselbarth <[email protected]>
Signed-off-by: Andrew Lunn <[email protected]>
Tested-by Gregory CLEMENT <[email protected]>