clk: imx: Update the compsite driver to support imx8ulp
authorJacky Bai <ping.bai@nxp.com>
Tue, 14 Sep 2021 06:52:02 +0000 (14:52 +0800)
committerAbel Vesa <abel.vesa@nxp.com>
Thu, 30 Sep 2021 13:22:55 +0000 (16:22 +0300)
commitb40ba8065347dcf70604acd4be6f3c28bdbf2b91
tree0226a16d18ce7fb841dee2ad2d6b1c25b609b68e
parent5f0601c47c336ae75aec9ed308b6c4428c7d179b
clk: imx: Update the compsite driver to support imx8ulp

On i.MX8ULP, some peripherals have a sw_rst control resides
in the per device PCC clock control register, all others are
same as i.MX7ULP, so update the 7ulp clock composite driver to
support i.MX8ULP to maxmimize the code reuse.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@nxp.com>
Link: https://lore.kernel.org/r/20210914065208.3582128-4-ping.bai@nxp.com
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
drivers/clk/imx/clk-composite-7ulp.c
drivers/clk/imx/clk.h