Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3024526imm; Fri, 19 Oct 2018 03:57:54 -0700 (PDT) X-Google-Smtp-Source: ACcGV61I8UwdVimoxGwlHBkGXU01kQ/pocs78omtW21ZPTYOyulzPzB0q2ZwFxDMObdyywWM8sG5 X-Received: by 2002:a17:902:9f83:: with SMTP id g3-v6mr852306plq.27.1539946674012; Fri, 19 Oct 2018 03:57:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539946673; cv=none; d=google.com; s=arc-20160816; b=ffelhA6STbgYAp7QLJeFaPJ0OvlkJA9xDsB1fcNt1ZbsMiMxbk9KMUdiiA4r75SAOU PFP1CuD19PXVgffsvcPkkj5aKhh2zQsk9hTtWTpqrKSABi/HNfJIVQuQp141BRC+fZh1 rp0ViLeOH/0NF9hAVH559RzbK6gBtHeYduVevpQuKntCJSFK66Ki9Qk73xjYXyueBGbt nnzT7fc4Rri6HsQd5IRTBnxBTTpmmglUttNWbzmRNCDpLrtLBHS4GxzEyszqR/s9TgiZ lPQUzep7u5EDjM4Ws3y9LsvtTyrfhkEcnBCOqQCfZdK3BQIJuI8y4LBb6kjeavidhvHb UTAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=V+IJPTtXBBMl4YbYvuryu2GyUJdOZ1W3V7zoBN5ZgP0=; b=uB5RwrcMhHSxPWa70L/mzKqaIU2NXu8LoO82YOqCHAWVF4xAfFuem3JHGKxCm6sQVD PLfgQ8vqVHTOhjlC2MNtN3wgL/JVY1PKeFWCn6URJLiTB9/GhMZMes9HHO7b/viHveqb x8QDKv1fO2e+5AobU0TFmlf9Va+P4gfntyswQPa+6iZOfLeQ042ZORyGMAjUV4BrwXy9 zjU/VZok7N191ZHZQyyhf+oDwKpi2HFpKZX413NeEp7RiVqPj9EUPpbxZfAaJB+B5qsY mEBQeshepdzMnZKvN3eeRv5ExrkPathaMDgWcpWtNfTps6NqihhEQXzs7Bd1R/1FmZ95 aw/w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w134-v6si26747818pfd.55.2018.10.19.03.57.38; Fri, 19 Oct 2018 03:57:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727447AbeJSTAb (ORCPT + 99 others); Fri, 19 Oct 2018 15:00:31 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:49437 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727418AbeJSTAb (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 Content-Transfer-Encoding: 8bit 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-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.19.0