[PATCH 0/3] media: Add support for the Techwell TW9900 video decoder

From: Maxime Chevallier
Date: Fri Sep 18 2020 - 10:47:02 EST

Hi everyone,

Here's a series to add basic support for the Techwell TW9900 low-power
video decoder. This decoder support PAL, NTSC and SECAM inputs, with a
built-in comb filter and automatic input standard detection.

This series was based on previous work done by Rockchip, and is based on
vendor code. I apologise if there are some rough edges remaining in this
driver, as I'm not yet fully familiar with the media and V4L2
frameworks, so any review is appreciated.

This series adds basic support for NTSC and PAL B/D/G/H/I, along with
some very basic controls for brightness and contrast.



Maxime Chevallier (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

.../devicetree/bindings/media/i2c/tw9900.yaml | 59 ++
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
drivers/media/i2c/Kconfig | 9 +
drivers/media/i2c/Makefile | 1 +
drivers/media/i2c/tw9900.c | 671 ++++++++++++++++++
5 files changed, 742 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/i2c/tw9900.yaml
create mode 100644 drivers/media/i2c/tw9900.c