[PATCH v4 0/9] Microchip SAMA5D4 VPU support et al
Emil Velikov
emil.l.velikov at gmail.com
Thu Apr 1 15:43:27 BST 2021
Hi all,
This is here is another small revision of the series adding support for
the Microchip SAMA5D4 VPU, which it based on the Hantro G1.
For more details, please see the v2 cover letter.
https://lore.kernel.org/linux-media/20210311154055.3496076-1-emil.l.velikov@gmail.com
Changes since v2:
- Added RB (thanks Eze)
- Added AB (thanks Nicolas)
- Reworked Hantro driver to support modules lacking irq/clk name
(thanks RobH and Eze)
- Dropped defconfig patches - merged separatelly (thanks Nicolas)
Changes since v3:
- Include the fixed dt-binding patch
- Reinstante clk/irq names within the SAMA driver (Eze)
- Use num_{clk,irq} in Hantro, instead of WARN_ON/NULL checks (Eze)
- Drop Nicolas ack from a patch he never gave it to. (Eze)
Note: patches 6/9, 7/9 and 9/9 need reviews. Everything else has been
covered already.
Thanks
Emil
Emil Velikov (9):
media: hantro: use G1_REG_INTERRUPT directly for the mpeg2
media: hantro: imx: reuse MB_DIM define
media: hantro: imx: remove duplicate dec_base init
media: hantro: imx: remove unused include
media: hantro: introduce hantro_g1.c for common API
media: hantro: add fallback handling for single irq/clk
media: dt-bindings: Document SAMA5D4 VDEC bindings
media: hantro: add initial SAMA5D4 support
ARM: dts: sama5d4: enable Hantro G1 VDEC
.../media/microchip,sama5d4-vdec.yaml | 47 +++++++
arch/arm/boot/dts/sama5d4.dtsi | 7 ++
drivers/staging/media/hantro/Kconfig | 10 +-
drivers/staging/media/hantro/Makefile | 4 +
drivers/staging/media/hantro/hantro_drv.c | 40 ++++--
drivers/staging/media/hantro/hantro_g1.c | 39 ++++++
.../media/hantro/hantro_g1_mpeg2_dec.c | 5 +-
drivers/staging/media/hantro/hantro_hw.h | 4 +
drivers/staging/media/hantro/imx8m_vpu_hw.c | 27 +---
drivers/staging/media/hantro/rk3288_vpu_hw.c | 36 +-----
.../staging/media/hantro/sama5d4_vdec_hw.c | 117 ++++++++++++++++++
11 files changed, 268 insertions(+), 68 deletions(-)
create mode 100644 Documentation/devicetree/bindings/media/microchip,sama5d4-vdec.yaml
create mode 100644 drivers/staging/media/hantro/hantro_g1.c
create mode 100644 drivers/staging/media/hantro/sama5d4_vdec_hw.c
--
2.31.1
More information about the Linux-rockchip
mailing list