mirror_ubuntu-kernels/drivers/clk/imx
Jacky Bai 3fa36200a4 clk: imx: Add the pcc reset controller support on imx8ulp
On i.MX8ULP, for some of the PCCs, it has a peripheral SW RST bit
resides in the same registers as the clock controller. So add this
SW RST controller support alongs with the pcc clock initialization.

the reset and clock shared the same register, to avoid  accessing
the same register by reset control and clock control concurrently,
locking is necessary, so reuse the imx_ccm_lock spinlock to simplify
the code.

Suggested-by: Liu Ying <victor.liu@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-10-ping.bai@nxp.com
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
2021-09-30 16:22:56 +03:00
..
clk-busy.c clk: imx: Explicitly include bits.h 2020-08-22 20:36:57 +08:00
clk-composite-7ulp.c clk: imx: Add the pcc reset controller support on imx8ulp 2021-09-30 16:22:56 +03:00
clk-composite-8m.c clk: imx: Rework all imx_clk_hw_composite wrappers 2021-09-30 16:22:55 +03:00
clk-cpu.c clk: imx: Support building i.MX common clock driver as module 2020-08-22 12:38:20 +08:00
clk-divider-gate.c clk: imx: clk-divider-gate: Switch to clk_divider.determine_rate 2021-08-24 16:09:07 +03:00
clk-fixup-div.c clk: imx: drop redundant initialization 2020-02-17 14:32:32 +08:00
clk-fixup-mux.c clk: imx: Explicitly include bits.h 2020-08-22 20:36:57 +08:00
clk-frac-pll.c clk: imx: Support building i.MX common clock driver as module 2020-08-22 12:38:20 +08:00
clk-gate2.c clk: imx: gate2: Remove unused variable ret 2020-11-10 09:08:03 +08:00
clk-gate-exclusive.c This round of clk driver and framework updates is heavy on the driver update 2019-07-17 10:07:48 -07:00
clk-imx1.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336 2019-06-05 17:37:07 +02:00
clk-imx5.c clk: imx: Fix reparenting of UARTs not associated with stdout 2021-04-04 22:39:04 +03:00
clk-imx6q.c clk: imx6q: fix uart earlycon unwork 2021-08-05 18:12:23 -07:00
clk-imx6sl.c clk: imx: Fix reparenting of UARTs not associated with stdout 2021-04-04 22:39:04 +03:00
clk-imx6sll.c clk: imx: Fix reparenting of UARTs not associated with stdout 2021-04-04 22:39:04 +03:00
clk-imx6sx.c clk: imx: Fix reparenting of UARTs not associated with stdout 2021-04-04 22:39:04 +03:00
clk-imx6ul.c clk: imx: imx6ul: change flexcan clock to support CiA bitrates 2020-04-13 22:22:33 +08:00
clk-imx7d.c clk: imx: Fix reparenting of UARTs not associated with stdout 2021-04-04 22:39:04 +03:00
clk-imx7ulp.c clk: imx: Update the pfdv2 for 8ulp specific support 2021-09-30 16:22:56 +03:00
clk-imx8mm.c clk: imx8m: fix clock tree update of TF-A managed clocks 2021-08-24 16:09:07 +03:00
clk-imx8mn.c clk: imx8mn: Add M7 core clock 2021-08-24 16:09:07 +03:00
clk-imx8mp.c clk: imx: Remove the audio ipg clock from imx8mp 2021-06-14 12:33:04 +03:00
clk-imx8mq.c clk: imx8m: fix clock tree update of TF-A managed clocks 2021-08-24 16:09:07 +03:00
clk-imx8qm-rsrc.c clk: imx8qm: add clock valid resource checking 2021-06-14 12:33:22 +03:00
clk-imx8qxp-lpcg.c clk: imx: lpcg: add suspend/resume support 2020-10-26 10:54:08 +08:00
clk-imx8qxp-lpcg.h clk: imx: add imx8qxp lpcg driver 2018-12-14 13:01:14 -08:00
clk-imx8qxp-rsrc.c clk: imx8qxp: add clock valid checking mechnism 2021-06-14 12:33:19 +03:00
clk-imx8qxp.c clk: imx: scu: add more scu clocks 2021-06-14 12:33:30 +03:00
clk-imx8ulp.c clk: imx: Add the pcc reset controller support on imx8ulp 2021-09-30 16:22:56 +03:00
clk-imx25.c clk: imx: Fix reparenting of UARTs not associated with stdout 2021-04-04 22:39:04 +03:00
clk-imx27.c clk: imx: Fix reparenting of UARTs not associated with stdout 2021-04-04 22:39:04 +03:00
clk-imx31.c clk: imx: clk-imx31: Remove unused static const table 'uart_clks' 2021-01-29 21:31:52 +08:00
clk-imx35.c clk: imx: Fix reparenting of UARTs not associated with stdout 2021-04-04 22:39:04 +03:00
clk-lpcg-scu.c clk: imx: Reference preceded by free 2021-04-04 22:39:05 +03:00
clk-pfd.c clk: imx: Fix and update kerneldoc 2020-09-07 11:08:50 +08:00
clk-pfdv2.c clk: imx: Update the pfdv2 for 8ulp specific support 2021-09-30 16:22:56 +03:00
clk-pll14xx.c clk: imx: remove unneeded semicolon 2020-11-01 17:19:18 +08:00
clk-pllv1.c clk: imx: Explicitly include bits.h 2020-08-22 20:36:57 +08:00
clk-pllv2.c clk: imx: pllv2: Switch to clk_hw based API 2019-12-11 19:19:44 +08:00
clk-pllv3.c clk: imx: Fix and update kerneldoc 2020-09-07 11:08:50 +08:00
clk-pllv4.c clk: imx: Update the pllv4 to support imx8ulp 2021-09-30 16:22:55 +03:00
clk-scu.c clk: imx: scu: Do not enable runtime PM for CPU clks 2021-06-14 12:34:51 +03:00
clk-scu.h clk: imx8qm: add clock valid resource checking 2021-06-14 12:33:22 +03:00
clk-sscg-pll.c clk: imx: Support building i.MX common clock driver as module 2020-08-22 12:38:20 +08:00
clk-vf610.c clk: imx: vf610: Add CRC clock 2020-08-23 10:08:35 +08:00
clk.c clk: imx: Fix reparenting of UARTs not associated with stdout 2021-04-04 22:39:04 +03:00
clk.h clk: imx: Update the pfdv2 for 8ulp specific support 2021-09-30 16:22:56 +03:00
Kconfig clk: imx: Add clock driver for imx8ulp 2021-09-30 16:22:56 +03:00
Makefile clk: imx: Add clock driver for imx8ulp 2021-09-30 16:22:56 +03:00