Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp4104091img; Tue, 26 Mar 2019 03:07:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqzDvjE2xsP8A3ONkCNPBmqDPEpg9AZs2vqVf/BLq+M827IRAyn4OJozBR0TvfKD54eEMCVx X-Received: by 2002:a63:6c87:: with SMTP id h129mr28434377pgc.190.1553594848685; Tue, 26 Mar 2019 03:07:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553594848; cv=none; d=google.com; s=arc-20160816; b=ETqi0VkFbW/YJ/FehKCB8CkR5cSsxNNirR/4pGhYQuAB/NfHNdchGTD7SJst0sDuPQ S0b6B6c+jYO0b8vw0qwTsFHy58cFHQk+x6fd2yl+2dUXb84s5jjbRvMJ4fe44xaeexkS XSRul5mzqghM1r5NDpu9z/aitmeU1R850hbrPmER/KbRyqZijOVuS8S6okgzLdhJFLWI HjzSeBnSzb2eeTvlBeDszy10WSuAYE8kdF/hXonnXTwxNwQ/Ii/siQYZ/2eaxGydAYHW 0Rp4ohk/q8B9m3AlVRLZbKxm/8S/mfYemwuOnrkp/eHCeZLe8pY7wLBj5AJO/NkmXR1H MTPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=SQ0CEkwnDyEX7PxORdo7WElL1V6p9lm4r4W6npIeOn4=; b=M6ld0/ikMBrMvzCZHcdIvrg0e488s4WMP0/dOaMeuTiJdUfZ6I63CkWKtKwu4B+rJP HQACNQK5ddSartlqFl6wBE8FbMR6ylWpyRQXXZW6D2x9Dq0iGtnqfeS0GcYw6/gztg8Z hc8GPyu7PEEXsQbz+Rq3uMh19vv6pjJNvmLTfZXZaOXsRCLJMdHXu+nuKlQ3LrwPFTb9 CBbVKC8Fdb6e/uzXWwLnuPWcb6V5ozT8UIKjb6YLqTtT1lG9w2ih/+Urc7l6cYEPWZV/ FvX3/XSzTkf/yOq+eS0CfnbGut1m109MDAApNxgr89F3+E+Gtp+QS9ozfye+YkeXdVIK wlsQ== 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 l187si15577584pfc.43.2019.03.26.03.07.13; Tue, 26 Mar 2019 03:07:28 -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 S1730918AbfCZKFA (ORCPT + 99 others); Tue, 26 Mar 2019 06:05:00 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:65396 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725948AbfCZKFA (ORCPT ); Tue, 26 Mar 2019 06:05:00 -0400 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x2Q9ugbv026877; Tue, 26 Mar 2019 11:03:49 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2rddhbgpqb-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 26 Mar 2019 11:03:49 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 39C963F; Tue, 26 Mar 2019 10:03:48 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas22.st.com [10.75.90.92]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id DEF6F5166; Tue, 26 Mar 2019 10:03:47 +0000 (GMT) Received: from SAFEX1HUBCAS21.st.com (10.75.90.45) by Safex1hubcas22.st.com (10.75.90.92) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 26 Mar 2019 11:03:47 +0100 Received: from localhost (10.129.172.100) by Webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 26 Mar 2019 11:03:47 +0100 From: Mickael Guene To: CC: , Mickael Guene , "Mauro Carvalho Chehab" , , "Todor Tomov" , Nicolas Ferre , Tianshu Qiu , Ben Kao , "Greg Kroah-Hartman" , Matt Ranostay , Sakari Ailus , Petr Cvek , Hans Verkuil , "Mark Rutland" , Bingbu Cao , , "David S. Miller" , "Rob Herring" , Rui Miguel Silva , Akinobu Mita , Ricardo Ribalda Delgado , Jacopo Mondi Subject: [PATCH v3 0/2] Add support for MIPID02 CSI-2 to PARALLEL bridge I2C device Date: Tue, 26 Mar 2019 11:03:38 +0100 Message-ID: <1553594620-88280-1-git-send-email-mickael.guene@st.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1552373045-134493-1-git-send-email-mickael.guene@st.com> References: <1552373045-134493-1-git-send-email-mickael.guene@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.129.172.100] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-03-26_05:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This is the v3 of my MIPID02 series which introduces support of STMicroelectronics MIPID02 CSI-2 to PARALLEL I2C bridge. It allows using a CSI-2 sensor with a PARALLEL interface. Current driver implementation doesn't support CSI-2 second input port usage. It doesn't support also YUV420, RGB565 and RGB444 input formats. Thanks to Sakari for review. Changes in v3: - Fix potential wrong error code for mipid02_stream_disable and mipid02_stream_enable - Remove useless memset for ep in mipid02_parse_rx_ep and mipid02_parse_tx_ep - Add second CSI-2 input pad even if it's not yet supported - Add support of get_fmt, set_fmt and link_validate and only access subdev connected to mipid02 Changes in v2: - Add precision about first CSI-2 port data rate - Document endpoints supported properties - Rename 'mipid02@14' into generic 'csi2rx@14' in example - Merge MAINTAINERS patch 3 into patch 1 and 2 - Fix line too long in Kconfig - Add missing delay after reset release - Various style fixes - Fix mipid02_stream_enable returning no error when mipid02_find_sensor failed Mickael Guene (2): dt-bindings: Document MIPID02 bindings media:st-mipid02: MIPID02 CSI-2 to PARALLEL bridge driver .../bindings/media/i2c/st,st-mipid02.txt | 83 ++ MAINTAINERS | 8 + drivers/media/i2c/Kconfig | 14 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/st-mipid02.c | 1012 ++++++++++++++++++++ 5 files changed, 1118 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/st,st-mipid02.txt create mode 100644 drivers/media/i2c/st-mipid02.c -- 2.7.4