Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1255885pxk; Fri, 18 Sep 2020 07:51:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNFpJeh8LZC9RQty9j0CQEJKbTbpKWfH3jwRRfMV8N9LsUyFoyhGQFzozDOI8yxiKj2/Ph X-Received: by 2002:a05:6402:1d0f:: with SMTP id dg15mr40196913edb.342.1600440691057; Fri, 18 Sep 2020 07:51:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600440691; cv=none; d=google.com; s=arc-20160816; b=Nz+HwBDTzZlui7nEAmvCROlYUIry8PqjmhcKGZgqquNophBVlpYS7qM5Tkk5m9yGug bse1FttNNyyu380Wc3Rfq1QPbA2CGk25J04Wf6TpLJc1EWq7Teiw07G70xkGhb5vZ0HZ pFtEoY3qVkwv7HeaR2fdrcJD4um1NQ8fyKPIl2U1Q04R8NzhKPpZcJRQtJmxoGmcfHTX A5fM/Ji6uD92XFV1GR+Zex6e3ymF2fujy0puZfu49gUhKwuZaX1O+KK0dQ3v6OAsxM9k E4EI3mR4p2pnQoLX/p2b+0Ud1AUotbSCgmQo66FsRf4YlQsuw+Y5/MPa5u4NQUrpoXJ/ BW8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=lQV1jVh4tq5zC2ZgtgzcHcC3iYRdovVSK9nHP38Fzsg=; b=0oV1GnCXqvaPmwXpSV7vDqKvNq0fJYcfZzJBxg3W+mG66Bp3BBLVHbU5gxpZHQOBpF y2b3IqUVJ+bAmZIg3sco409EFZi/l2vXlvWuPyBNKS46jCXnhw7TbILMk+u7MymFMy1v Mco7BJ4D7f7vGyckXYjywLw16yREhlFxniVmo3iBLkLAc4IOSNCZbCtUVKbKDFANeZbb 3TrbtSEWl1NeacoEC/uUhhgpO9GhI0sGqthF7xrmt+42p5fidMyNBaQPSFgEy6Hjk5Dn qML7oUbYzRPtJxw/45s/kGDY8CP6xxcQnB8djke74yIX4f5yRvmBMwjUKQu0byvPKErl FJrA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qx20si2290440ejb.469.2020.09.18.07.51.07; Fri, 18 Sep 2020 07:51:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726844AbgIROrB (ORCPT + 99 others); Fri, 18 Sep 2020 10:47:01 -0400 Received: from mslow2.mail.gandi.net ([217.70.178.242]:34024 "EHLO mslow2.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726830AbgIROq7 (ORCPT ); Fri, 18 Sep 2020 10:46:59 -0400 X-Greylist: delayed 1301 seconds by postgrey-1.27 at vger.kernel.org; Fri, 18 Sep 2020 10:46:58 EDT Received: from relay10.mail.gandi.net (unknown [217.70.178.230]) by mslow2.mail.gandi.net (Postfix) with ESMTP id 2899E3AF79A; Fri, 18 Sep 2020 14:25:37 +0000 (UTC) Received: from pc-2.home (lfbn-tou-1-1532-46.w90-89.abo.wanadoo.fr [90.89.95.46]) (Authenticated sender: maxime.chevallier@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 641E424000E; Fri, 18 Sep 2020 14:25:10 +0000 (UTC) From: Maxime Chevallier To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Heiko Stuebner , Hans Verkuil , Laurent Pinchart Cc: Maxime Chevallier , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Thomas Petazzoni , Miquel Raynal , Paul Kocialkowski Subject: [PATCH 0/3] media: Add support for the Techwell TW9900 video decoder Date: Fri, 18 Sep 2020 16:24:19 +0200 Message-Id: <20200918142422.1086555-1-maxime.chevallier@bootlin.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Thanks, Maxime 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 -- 2.25.4