arch: nios2: Enable the common clk subsystem on Nios2
authorDragos Bogdan <dragos.bogdan@analog.com>
Fri, 10 Apr 2020 15:38:23 +0000 (23:38 +0800)
committerLey Foon Tan <ley.foon.tan@intel.com>
Fri, 10 Apr 2020 17:45:28 +0000 (01:45 +0800)
commitf26e433185cb2830b933df3a4d378558fe2fccd9
treef7f14a1575b4400f6008909a378265e39ff88c08
parent7111951b8d4973bda27ff663f2cf18b663d15b48
arch: nios2: Enable the common clk subsystem on Nios2

This patch adds support for common clock framework on Nios2. Clock
framework is commonly used in many drivers, and this patch makes it
available for the entire architecture, not just on a per-driver basis.

Signed-off-by: Beniamin Bia <beniamin.bia@analog.com>
Signed-off-by: Dragos Bogdan <dragos.bogdan@analog.com>
Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
arch/nios2/Kconfig
arch/nios2/platform/platform.c