From patchwork Fri Oct 19 10:54:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Grzeschik X-Patchwork-Id: 10648995 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 645A815E2 for ; Fri, 19 Oct 2018 10:55:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 53BAE28A3F for ; Fri, 19 Oct 2018 10:55:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 47DC928A7E; Fri, 19 Oct 2018 10:55:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8383928A3F for ; Fri, 19 Oct 2018 10:55:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727433AbeJSTAb (ORCPT ); Fri, 19 Oct 2018 15:00:31 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:37389 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727020AbeJSTAb (ORCPT ); Fri, 19 Oct 2018 15:00:31 -0400 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gDSQj-0007Sf-50; Fri, 19 Oct 2018 12:54:57 +0200 Received: from mgr by dude.hi.pengutronix.de with local (Exim 4.91) (envelope-from ) id 1gDSQg-0000Ai-FQ; Fri, 19 Oct 2018 12:54:54 +0200 From: Michael Grzeschik To: linux-media@vger.kernel.org Cc: linux-kernel@vger.kernel.org, stoth@kernellabs.com, mchehab@kernel.org, davem@davemloft.net, laurent.pinchart@ideasonboard.com, kernel@pengutronix.de Subject: [PATCH 0/2] media: Startech usb2hdcapm hdmi2usb framegrabber support Date: Fri, 19 Oct 2018 12:54:37 +0200 Message-Id: <20181019105439.27796-1-m.grzeschik@pengutronix.de> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: mgr@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-media@vger.kernel.org Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This series adds support for the Startech usb2hdcapm framegrabber. The code is based on the external kernel module code from Steven Toth's github page: https://github.com/stoth68000/hdcapm/ We applied checkpatch.pl --strict and cleaned up the 80 character length, whitespace issues and replaced simple printks with appropriate v4l2_* or dev_* helpers, used WARN_ON instead of BUG and changed all errors and warnings checkpatch was complaining about. Steven Toth (2): media: mst3367: add support for mstar mst3367 HDMI RX media: hdcapm: add support for usb2hdcapm hdmi2usb framegrabber from startech MAINTAINERS | 12 + drivers/media/i2c/Kconfig | 10 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/mst3367.c | 1104 ++++++++++++++++++ drivers/media/usb/Kconfig | 1 + drivers/media/usb/Makefile | 1 + drivers/media/usb/hdcapm/Kconfig | 11 + drivers/media/usb/hdcapm/Makefile | 3 + drivers/media/usb/hdcapm/hdcapm-buffer.c | 230 ++++ drivers/media/usb/hdcapm/hdcapm-compressor.c | 782 +++++++++++++ drivers/media/usb/hdcapm/hdcapm-core.c | 743 ++++++++++++ drivers/media/usb/hdcapm/hdcapm-i2c.c | 332 ++++++ drivers/media/usb/hdcapm/hdcapm-reg.h | 111 ++ drivers/media/usb/hdcapm/hdcapm-video.c | 665 +++++++++++ drivers/media/usb/hdcapm/hdcapm.h | 283 +++++ include/media/i2c/mst3367.h | 29 + 16 files changed, 4318 insertions(+) create mode 100644 drivers/media/i2c/mst3367.c create mode 100644 drivers/media/usb/hdcapm/Kconfig create mode 100644 drivers/media/usb/hdcapm/Makefile create mode 100644 drivers/media/usb/hdcapm/hdcapm-buffer.c create mode 100644 drivers/media/usb/hdcapm/hdcapm-compressor.c create mode 100644 drivers/media/usb/hdcapm/hdcapm-core.c create mode 100644 drivers/media/usb/hdcapm/hdcapm-i2c.c create mode 100644 drivers/media/usb/hdcapm/hdcapm-reg.h create mode 100644 drivers/media/usb/hdcapm/hdcapm-video.c create mode 100644 drivers/media/usb/hdcapm/hdcapm.h create mode 100644 include/media/i2c/mst3367.h