[PATCH V5 0/6] imx: support i.MX93 SRC and mediamix blk ctrl

From: Peng Fan (OSS)
Date: Mon Jul 11 2022 - 02:23:21 EST


From: Peng Fan <peng.fan@xxxxxxx>

V5:
Update bindings for SRC, remove the slices node
Although there are several mix-slices, mem-slices, but actually
they should work together, so I use one node to group a mix/mem with
dual reg entries.
Add SRC driver to include a driver to populate subnodes of SRC node
Restructure SRC-PD driver, because slices node dropped.
Drop the patch to export of_clk_bulk_get_all, which is not needed.

V4:
Correct including fsl,imx93-power.h, not imx93-power.h in driver

V3:
Move src yaml to power directory.
Update slice name to slices

V2:
yaml fix

This patchset is to support i.MX93 SRC and mediamix blk ctrl.
SRC functions as power domain provider as i.MX8M GPC.
mediamix blk ctrl is similar with i.MX8M blk ctrl, but much simplier from
software view.

Export of_clk_bulk_get_all for driver usage.

Add bindings and dts node

Peng Fan (6):
dt-bindings: soc: add i.MX93 SRC
dt-bindings: soc: add i.MX93 mediamix blk ctrl
soc: imx: add i.MX93 SRC power domain driver
soc: imx: add i.MX93 media blk ctrl driver
arm64: dts: imx93: add src node
arm64: dts: imx93: add mediamix blk ctrl node

.../soc/imx/fsl,imx93-media-blk-ctrl.yaml | 80 +++++
.../bindings/soc/imx/fsl,imx93-src.yaml | 95 +++++
arch/arm64/boot/dts/freescale/imx93.dtsi | 37 ++
drivers/soc/imx/Kconfig | 10 +
drivers/soc/imx/Makefile | 1 +
drivers/soc/imx/imx93-blk-ctrl.c | 333 ++++++++++++++++++
drivers/soc/imx/imx93-pd.c | 163 +++++++++
drivers/soc/imx/imx93-src.c | 32 ++
include/dt-bindings/power/fsl,imx93-power.h | 15 +
9 files changed, 766 insertions(+)
create mode 100644 Documentation/devicetree/bindings/soc/imx/fsl,imx93-media-blk-ctrl.yaml
create mode 100644 Documentation/devicetree/bindings/soc/imx/fsl,imx93-src.yaml
create mode 100644 drivers/soc/imx/imx93-blk-ctrl.c
create mode 100644 drivers/soc/imx/imx93-pd.c
create mode 100644 drivers/soc/imx/imx93-src.c
create mode 100644 include/dt-bindings/power/fsl,imx93-power.h

--
2.25.1