This PR has one s5p-mfc fix and the remainder is the resurrection of the zoran driver. I've added two addition zoran patches that fix sparse and smatch warnings. There is some more cleanup to be done (I'll reply to the cover letter of Corentin's series), output doesn't work yet (see TODO) and I also want to be able to test this driver with some actual hardware before it can move out of staging. Unfortunately, this may take some time since I won't have access to the hardware until I am back in the Netherlands, and I don't know when that will happen. That said, I want to thank Corentin for all the hard work he did. It's wasn't a trivial task. Regards, Hans The following changes since commit c0c8db7bc95397f32fe60ff8b07c746a69fb22de: media: MAINTAINERS: remove Maxime Jourdan as maintainer of Amlogic VDEC (2020-09-27 11:39:39 +0200) are available in the Git repository at: git://linuxtv.org/hverkuil/media_tree.git tags/br-v5.10a for you to fetch changes up to 7d35bb92600e0ed5c7877162959087eb9cbfce8a: zoran: fix sparse warnings (2020-09-28 15:16:37 +0200) ---------------------------------------------------------------- Tag branch ---------------------------------------------------------------- Corentin Labbe (47): staging: media: Revert "media: zoran: remove deprecated driver" MAINTAINERS: change maintainer of the zoran driver staging: media: zoran: datasheet is no longer available from zoran.com staging: media: zoran: Documentation: fix typo staging: media: zoran: fix checkpatch issue staging: media: zoran: do not forward declare zr36057_init_vfe staging: media: zoran: convert all error dprintk to pci_err/pr_err staging: media: zoran: convert dprintk warn staging: media: zoran: convert dprintk info to pci_info staging: media: zoran: convert dprintk debug staging: media: zoran: zoran_device.c: convert pr_x to pci_x staging: media: zoran: remove proc_fs staging: media: zoran: use VFL_TYPE_VIDEO staging: media: zoran: use v4l2_buffer_set_timestamp staging: media: zoran: do not print random guest 0 staging: media: zoran: move buffer_size out of zoran_fh staging: media: zoran: move v4l_settings out of zoran_fh staging: media: zoran: move jpg_settings out of zoran_fh staging: media: zoran: move overlay_settings out of zoran_fh staging: media: zoran: Use video_drvdata to get struct zoran staging: media: zoran: Change zoran_v4l_set_format parameter from zoran_fh to zoran staging: media: zoran: remove overlay staging: media: zoran: Use DMA coherent for stat_com staging: media: zoran: use ZR_NORM staging: media: zoran: zoran does not support STD_ALL staging: media: zoran: convert irq to pci irq staging: media: zoran: convert zoran alloc to devm staging: media: zoran: convert mdelay to udelay staging: media: zoran: use devm for videocodec_master alloc staging: media: zoran: use pci_request_regions staging: media: zoran: use devm_ioremap staging: media: zoran: add stat_com buffer staging: media: zoran: constify struct tvnorm staging: media: zoran: constify codec_name staging: media: zoran: Add more check for compliance staging: media: zoran: Add vb_queue staging: media: zoran: disable output staging: media: zoran: device support only 32bit DMA address staging: media: zoran: enable makefile staging: media: zoran: remove framebuffer support staging: media: zoran: add vidioc_g_parm staging: media: zoran: remove test_interrupts staging: media: zoran: fix use of buffer_size and sizeimage staging: media: zoran: fix some compliance test staging: media: zoran: remove deprecated .vidioc_g_jpegcomp staging: media: zoran: convert to vb2 staging: media: zoran: update TODO Hans Verkuil (2): zoran: fix smatch warning zoran: fix sparse warnings Marek Szyprowski (1): media: platform: s5p-mfc: Fix adding a standard frame skip mode control Documentation/media/v4l-drivers/zoran.rst | 575 +++++++++++++++++++++++ MAINTAINERS | 10 + drivers/media/platform/s5p-mfc/s5p_mfc_enc.c | 1 + drivers/staging/media/Kconfig | 2 + drivers/staging/media/Makefile | 1 + drivers/staging/media/zoran/Kconfig | 76 ++++ drivers/staging/media/zoran/Makefile | 7 + drivers/staging/media/zoran/TODO | 19 + drivers/staging/media/zoran/videocodec.c | 330 ++++++++++++++ drivers/staging/media/zoran/videocodec.h | 308 +++++++++++++ drivers/staging/media/zoran/zoran.h | 320 +++++++++++++ drivers/staging/media/zoran/zoran_card.c | 1333 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/staging/media/zoran/zoran_card.h | 30 ++ drivers/staging/media/zoran/zoran_device.c | 1013 +++++++++++++++++++++++++++++++++++++++++ drivers/staging/media/zoran/zoran_device.h | 64 +++ drivers/staging/media/zoran/zoran_driver.c | 1037 ++++++++++++++++++++++++++++++++++++++++++ drivers/staging/media/zoran/zr36016.c | 433 ++++++++++++++++++ drivers/staging/media/zoran/zr36016.h | 92 ++++ drivers/staging/media/zoran/zr36050.c | 842 ++++++++++++++++++++++++++++++++++ drivers/staging/media/zoran/zr36050.h | 163 +++++++ drivers/staging/media/zoran/zr36057.h | 154 +++++++ drivers/staging/media/zoran/zr36060.c | 872 +++++++++++++++++++++++++++++++++++ drivers/staging/media/zoran/zr36060.h | 201 ++++++++ 23 files changed, 7883 insertions(+) create mode 100644 Documentation/media/v4l-drivers/zoran.rst create mode 100644 drivers/staging/media/zoran/Kconfig create mode 100644 drivers/staging/media/zoran/Makefile create mode 100644 drivers/staging/media/zoran/TODO create mode 100644 drivers/staging/media/zoran/videocodec.c create mode 100644 drivers/staging/media/zoran/videocodec.h create mode 100644 drivers/staging/media/zoran/zoran.h create mode 100644 drivers/staging/media/zoran/zoran_card.c create mode 100644 drivers/staging/media/zoran/zoran_card.h create mode 100644 drivers/staging/media/zoran/zoran_device.c create mode 100644 drivers/staging/media/zoran/zoran_device.h create mode 100644 drivers/staging/media/zoran/zoran_driver.c create mode 100644 drivers/staging/media/zoran/zr36016.c create mode 100644 drivers/staging/media/zoran/zr36016.h create mode 100644 drivers/staging/media/zoran/zr36050.c create mode 100644 drivers/staging/media/zoran/zr36050.h create mode 100644 drivers/staging/media/zoran/zr36057.h create mode 100644 drivers/staging/media/zoran/zr36060.c create mode 100644 drivers/staging/media/zoran/zr36060.h