Skip to content

Reset driver for IMX8MQ VPU hardware block

Benjamin Gaignard linux-arm-kernel linux-devicetree linux-media linux-rockchip lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 12 repliesIn review
  2. v25 patches 1 replySuperseded
  3. v14 patches 0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5dt-bindings: reset: IMX8MQ VPU resetDocumentation/devicetree/bindings/reset/fsl,imx8mq-vpu-reset.yaml include/dt-bindings/reset/imx8mq-vpu-reset.h+70 -01 reply
2/5dt-bindings: media: IMX8MQ VPU: document reset usageDocumentation/devicetree/bindings/media/nxp,imx8mq-vpu.yaml+9 -51 reply
3/5reset: Add reset driver for IMX8MQ VPU blockdrivers/reset/Kconfig drivers/reset/Makefile drivers/reset/reset-imx8mq-vpu.c+178 -01 reply
4/5media: hantro: Use reset driverdrivers/staging/media/hantro/Kconfig drivers/staging/media/hantro/imx8m_vpu_hw.c+12 -502 replies
5/5arm64: dts: imx8mq: Use reset driver for VPU hardware blockarch/arm64/boot/dts/freescale/imx8mq.dtsi+25 -60 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/5
2/5R-b
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/5] Reset driver for IMX8MQ VPU hardware block

The two VPUs inside IMX8MQ share the same control block which can be see as a reset hardware block.
In order to be able to add the second VPU (for HECV decoding) it will be more handy if the both VPU drivers instance don't have to share the control block registers. This lead to implement it as an independ reset driver and to change the VPU driver to use it.

Please note that this series break the compatibility between the DTB and kernel. This break is limited to IMX8MQ SoC and is done when the driver is still in staging directory.

version 3:
- Fix error in VPU example node

version 2:
- Document the change in VPU bindings

Benjamin Gaignard (5):
dt-bindings: reset: IMX8MQ VPU reset
dt-bindings: media: IMX8MQ VPU: document reset usage
reset: Add reset driver for IMX8MQ VPU block
media: hantro: Use reset driver
arm64: dts: imx8mq: Use reset driver for VPU hardware block

 .../bindings/media/nxp,imx8mq-vpu.yaml        |  14 +-
 .../bindings/reset/fsl,imx8mq-vpu-reset.yaml  |  54 ++++++
 arch/arm64/boot/dts/freescale/imx8mq.dtsi     |  31 +++-
 drivers/reset/Kconfig                         |   8 +
 drivers/reset/Makefile                        |   1 +
 drivers/reset/reset-imx8mq-vpu.c              | 169 ++++++++++++++++++
 drivers/staging/media/hantro/Kconfig          |   1 +
 drivers/staging/media/hantro/imx8m_vpu_hw.c   |  61 ++-----
 include/dt-bindings/reset/imx8mq-vpu-reset.h  |  16 ++
 9 files changed, 294 insertions(+), 61 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/reset/fsl,imx8mq-vpu-reset.yaml
 create mode 100644 drivers/reset/reset-imx8mq-vpu.c
 create mode 100644 include/dt-bindings/reset/imx8mq-vpu-reset.h
Signature · 7 lines
2.25.1


_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip