Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp246781imu; Mon, 26 Nov 2018 10:19:40 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vfv5niHH+k/5p4gwSQQ223IC/Iyrjvet+/EnbWJeH2IgcVwEkT4RAI1EnKa/1HN9Cmg/TH X-Received: by 2002:a17:902:9a81:: with SMTP id w1-v6mr28278062plp.121.1543256380285; Mon, 26 Nov 2018 10:19:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543256380; cv=none; d=google.com; s=arc-20160816; b=G0MTaRkqyyrrB0a43XXwuxsA4j7thmtNYT+wBMtAR8hnW/vHOlOeeo7Qz6BeMBkVD+ m+DVI3PKTYw/+vZRhCqENBAHdLC8SI689JY0Sniaxnrq8aFOGUk4t76QZa56718svQI6 5k7PC66qZNXPJ0Jew1t7si+Nveuz1QEGZxhat+ZNlVLkUgocEwT+D1sgrETTuIohyjzq f3enBWFa02j9x/EfQlRqh/Wn/gnAl1ncOMDjbcwVAbDzRw+/l2eiYRwpVuEL4+b+ug9R uWs0rppnra6pvpvOsli0cP3HytpXWh7xQAXLgZIEeVMAipYWW9M0gX4FSdodtQiRS9KW dRfg== 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=vbE5kshAt0D4aIzQh6LKoKnMvgkYHBn5HBLpiZtPfTg=; b=rJfvtaIxfSS/COkEJho7bXnekhIFqsZehD5tlezy8qi+kNux/m3f6g0tLxo5rYEmDj 8Td8E19mwyO3EBXzzJ4QgMs+PBdRoMmDoZ2a2E2dK7uPWGLOWkbZwC3j9UQmCFaqECPH 0X4b0iPXuZrt7iB+gFAKBcb7rsc7pScQDlBkRDijxX9XPoP8Xwdf/qRa656rxe7ewwkM VbqKBKCmV22DgOzQjFMr2ZAsPJsXWKoRBwuFxaVRHCTKNTpYuZWvAx+mSojq02rHq1oj D093Muv0Um3aoVbEGg+XY7aoCw8xz5Xz58bzSGd9t/1sYlbDpqfxFHq9OTGFSDFInjDk llxg== 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 l14si917433pgi.147.2018.11.26.10.18.57; Mon, 26 Nov 2018 10:19:40 -0800 (PST) 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 S1726282AbeK0FMX (ORCPT + 99 others); Tue, 27 Nov 2018 00:12:23 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:58669 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725199AbeK0FMX (ORCPT ); Tue, 27 Nov 2018 00:12:23 -0500 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 1gRLKJ-0007xF-4L; Mon, 26 Nov 2018 19:09:43 +0100 Received: from mgr by dude.hi.pengutronix.de with local (Exim 4.91) (envelope-from ) id 1gRLKH-0001Qc-Ib; Mon, 26 Nov 2018 19:09:41 +0100 From: Michael Grzeschik To: linux-media@vger.kernel.org Cc: linux-kernel@vger.kernel.org, stoth@kernellabs.com, laurent.pinchart@ideasonboard.com, kernel@pengutronix.de, mchehab@kernel.org, davem@davemloft.net Subject: [PATCH v2 0/2] media: Startech usb2hdcapm hdmi2usb framegrabber support Date: Mon, 26 Nov 2018 19:09:35 +0100 Message-Id: <20181126180937.32535-1-m.grzeschik@pengutronix.de> X-Mailer: git-send-email 2.19.1 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 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 + 15 files changed, 4306 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.1