From patchwork Tue May 12 15:51:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 11543463 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F2A8B92A for ; Tue, 12 May 2020 15:51:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D852320752 for ; Tue, 12 May 2020 15:51:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="vQO8t08W" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730482AbgELPv2 (ORCPT ); Tue, 12 May 2020 11:51:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727869AbgELPv2 (ORCPT ); Tue, 12 May 2020 11:51:28 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F475C061A0F; Tue, 12 May 2020 08:51:28 -0700 (PDT) Received: from Q.local (cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id B3042304; Tue, 12 May 2020 17:51:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1589298684; bh=mpszQGykHfgwUhnCRgKDFql++WspR5mgOFLQW4Jzs9g=; h=From:To:Cc:Subject:Date:From; b=vQO8t08Wa8tFztnRw16bS4jRVqaPd8jtrE9ZAZg7GqjC/QcV5bMomAw4IPRww+bPI 4mwKfNmN9Q+YiJQodkx3XQoTfu/cQ1l9KaKWol3kPlZSXMzhbbQoLxxXot2NrHcDn1 wh2HrBwrDMERk+rFtLJs4Ll2+kis6s0FirmwSGvw= From: Kieran Bingham To: linux-renesas-soc@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Mauro Carvalho Chehab Cc: Kieran Bingham , Laurent Pinchart , Jacopo Mondi , =?utf-8?q?Niklas_S=C3=B6derlund?= , sakari.ailus@iki.fi, Hans Verkuil , Hyun Kwon , Manivannan Sadhasivam , Rob Herring , Kieran Bingham Subject: [PATCH v9 0/4] MAX9286 GMSL Support (+RDACM20) Date: Tue, 12 May 2020 16:51:01 +0100 Message-Id: <20200512155105.1068064-1-kieran.bingham+renesas@ideasonboard.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org This series provides a pair of drivers for the GMSL cameras on the R-Car ADAS platforms. These drivers originate from Cogent Embedded, and have been refactored to split the MAX9286 away from the RDACM20 drivers which were once very tightly coupled. The MAX9286 is capable of capturing up to 4 streams simultaneously, and while the V4L2-Multiplexed streams series is not available, this works purely on the assumption that the receiver will correctly map each of the 4 VCs to separate video nodes, as the RCar-VIN does. This driver along with a camera driver for the RDACM20 and the associated platform support for the Renesas R-Car Salvator-X, and the Eagle-V3M can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/kbingham/rcar.git gmsl/v9 This latest v9 brings in a few minor comments from v8, and has been successfully tested to capture from all 4 inputs simultaneously. We're very much hoping that we can aim to get the max9286 into the next merge-window. Please let us know if there are any issues blocking this. Jacopo Mondi (2): dt-bindings: media: i2c: Add bindings for IMI RDACM2x media: i2c: Add RDACM20 driver Kieran Bingham (1): media: i2c: Add MAX9286 driver Laurent Pinchart (1): dt-bindings: media: i2c: Add bindings for Maxim Integrated MAX9286 .../bindings/media/i2c/imi,rdacm2x-gmsl.yaml | 159 ++ .../bindings/media/i2c/maxim,max9286.yaml | 287 ++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + MAINTAINERS | 22 + drivers/media/i2c/Kconfig | 26 + drivers/media/i2c/Makefile | 3 + drivers/media/i2c/max9271.c | 341 +++++ drivers/media/i2c/max9271.h | 224 +++ drivers/media/i2c/max9286.c | 1332 +++++++++++++++++ drivers/media/i2c/rdacm20.c | 667 +++++++++ 10 files changed, 3063 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/imi,rdacm2x-gmsl.yaml create mode 100644 Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml create mode 100644 drivers/media/i2c/max9271.c create mode 100644 drivers/media/i2c/max9271.h create mode 100644 drivers/media/i2c/max9286.c create mode 100644 drivers/media/i2c/rdacm20.c