Skip to content

media: m2m-deinterlace: add device-tree support

Matthew Majewski linux-devicetree linux-media lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 6 repliesIn review
  2. v12 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2media: dt-bindings: Add dt bindings for m2m-deinterlace deviceDocumentation/devicetree/bindings/media/m2m-deinterlace.yaml+44 -06 replies
2/2media: m2m-deinterlace: add device-tree supportdrivers/media/platform/m2m-deinterlace.c+19 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] media: m2m-deinterlace: add device-tree support

Hello all, this patch series adds device-tree support for the generic m2m-deinterlace driver.

A specific dma controller channel can now be provided to the driver via the dt, but the driver still supports the original dma query if an of_node is not present. This should preserve backwards compatibility with platform drivers that directly instantiate the device.

Probing the m2m-deinterlace device via device-tree was tested on the BeagleBone Black with an m2m-appropriate edma channel.

Changes From v1 [1]:
- [PATCH 1/2] media: dt-bindings: Add dt bindings for m2m-deinterlace
- clarify device description and commit message for dt bindings
- correct format error reported by yamllint for dt bindings
- [PATCH 2/2] media: m2m-deinterlace: add device-tree support
- no changes

[1] https://lore.kernel.org/linux-media/[email protected]/

Best,

Matthew Majewski

Matthew Majewski (2):
media: dt-bindings: Add dt bindings for m2m-deinterlace device
media: m2m-deinterlace: add device-tree support

 .../bindings/media/m2m-deinterlace.yaml       | 44 +++++++++++++++++++
 drivers/media/platform/m2m-deinterlace.c      | 25 ++++++++---
 2 files changed, 63 insertions(+), 6 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/media/m2m-deinterlace.yaml
Signature · 1 line
2.25.1