|
|
Log in / Subscribe / Register

media: i2c: Introduce driver for the TW9900 video decoder

From:  Mehdi Djait <mehdi.djait-AT-bootlin.com>
To:  mchehab-AT-kernel.org, hverkuil-cisco-AT-xs4all.nl, krzysztof.kozlowski+dt-AT-linaro.org, robh+dt-AT-kernel.org, conor+dt-AT-kernel.org, laurent.pinchart-AT-ideasonboard.com
Subject:  [PATCH v7 0/3] media: i2c: Introduce driver for the TW9900 video decoder
Date:  Mon, 16 Oct 2023 15:58:30 +0200
Message-ID:  <cover.1697463708.git.mehdi.djait@bootlin.com>
Cc:  linux-media-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, thomas.petazzoni-AT-bootlin.com, alexandre.belloni-AT-bootlin.com, maxime.chevallier-AT-bootlin.com, paul.kocialkowski-AT-bootlin.com, Mehdi Djait <mehdi.djait-AT-bootlin.com>
Archive-link:  Article

Hello everyone,

V7 of the series adding support for the Techwell TW9900 multi standard decoder.
It's a pretty simple decoder compared to the TW9910, since it doesn't have a 
built-in scaler/crop engine.

The v6 is based on the fifth iteration of the series introducing the
tw9900 driver: sent 01 Apr 2021 [1]

v6 => v7:
- added powerdown-gpios and input ports to dt-bindings
- added #include <linux/bitfield.h> to fix a Warning from the kernel
  robot
- removed a dev_info and replaced a dev_err by dev_err_probe

v5 => v6:
- dropped .skip_top and .field in the supported_modes
- added error handling for the i2c writes/reads
- added the colorimetry information to fill_fmt
- removed pm_runtime
- added the g_input_status callback
- dropped SECAM
- dropped the non-standard PAL/NTSC variants

Any feedback is appreciated,

Mehdi Djait

media_tree, base-commit: 2c1bae27df787c9535e48cc27bbd11c3c3e0a235

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


Mehdi Djait (3):
  dt-bindings: vendor-prefixes: Add techwell vendor prefix
  media: dt-bindings: media: i2c: Add bindings for TW9900
  media: i2c: Introduce a driver for the Techwell TW9900 decoder

 .../bindings/media/i2c/techwell,tw9900.yaml   |  82 +++
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 MAINTAINERS                                   |   6 +
 drivers/media/i2c/Kconfig                     |  12 +
 drivers/media/i2c/Makefile                    |   1 +
 drivers/media/i2c/tw9900.c                    | 648 ++++++++++++++++++
 6 files changed, 751 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/i2c/techwell,tw9900.yaml
 create mode 100644 drivers/media/i2c/tw9900.c

-- 
2.41.0



Copyright © 2023, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds