OSDN Git Service

clk: imx: add scu clock common part
authorAisheng Dong <aisheng.dong@nxp.com>
Thu, 13 Dec 2018 15:42:54 +0000 (15:42 +0000)
committerStephen Boyd <sboyd@kernel.org>
Fri, 14 Dec 2018 06:15:49 +0000 (22:15 -0800)
commitfe37b482041709753365bfca739cba24ada297ef
treee4cc9beec27190aa013e6d19e145eecfc813fb46
parent3a48d918a4615f0287ac2e106981b3987bf75a3d
clk: imx: add scu clock common part

Add SCU clock common part which will be used by client clock drivers.
SCU clocks are totally different from the legacy clocks (No much
legacy things can be reused), it's using a firmware interface now based
on SCU protocol. So a new configuration option CONFIG_MXC_CLK_SCU is added.

Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Michael Turquette <mturquette@baylibre.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
[sboyd@kernel.org: Mark ccm_ipc_handle static]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/imx/Kconfig
drivers/clk/imx/Makefile
drivers/clk/imx/clk-scu.c [new file with mode: 0644]
drivers/clk/imx/clk-scu.h [new file with mode: 0644]