This patch set adds OF clock providers for core clocks and clock gates found on Marvell MVEBU SoCs (Armada 370, Armada XP, Dove, and Kirkwood). The code has been adopted for Barebox from Linux clock providers. Patch 1 adds a missing clocks property to the timer node of Dove DT. Patch 2 adds OF clock providers for the four SoCs above. Patch 3 coverts Dove SoC init to DT probed devices only. The patches have been tested on SolidRun CuBox for Dove. Other SoCs are compile tested only as they have not been ported to DT, yet (Armada 370 has, but shares SoC init with Armada XP which has not). Sebastian Hesselbarth (3): ARM: dove: add missing clocks property to timer node clk: mvebu: add OF clock providers for Marvell MVEBU SoCs ARM: dove: remove temporary clock and non-DT device probing arch/arm/Kconfig | 1 + arch/arm/dts/dove.dtsi | 3 +- arch/arm/mach-mvebu/dove.c | 58 ---------- drivers/clk/Makefile | 1 + drivers/clk/mvebu/Makefile | 5 + drivers/clk/mvebu/armada-370.c | 160 ++++++++++++++++++++++++++++ drivers/clk/mvebu/armada-xp.c | 194 ++++++++++++++++++++++++++++++++++ drivers/clk/mvebu/common.c | 208 +++++++++++++++++++++++++++++++++++++ drivers/clk/mvebu/common.h | 70 +++++++++++++ drivers/clk/mvebu/dove.c | 179 ++++++++++++++++++++++++++++++++ drivers/clk/mvebu/kirkwood.c | 224 ++++++++++++++++++++++++++++++++++++++++ 11 files changed, 1044 insertions(+), 59 deletions(-) create mode 100644 drivers/clk/mvebu/Makefile create mode 100644 drivers/clk/mvebu/armada-370.c create mode 100644 drivers/clk/mvebu/armada-xp.c create mode 100644 drivers/clk/mvebu/common.c create mode 100644 drivers/clk/mvebu/common.h create mode 100644 drivers/clk/mvebu/dove.c create mode 100644 drivers/clk/mvebu/kirkwood.c --- Cc: Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxxxxxxxxx> Cc: Ezequiel Garcia <ezequiel.garcia@xxxxxxxxxxxxxxxxxx> Cc: barebox@xxxxxxxxxxxxxxxxxxx -- 1.7.2.5 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox