Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752606AbdF0LH4 (ORCPT ); Tue, 27 Jun 2017 07:07:56 -0400 Received: from out20-97.mail.aliyun.com ([115.124.20.97]:40866 "EHLO out20-97.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751632AbdF0LHy (ORCPT ); Tue, 27 Jun 2017 07:07:54 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.3340787|-1;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03294;MF=yong.deng@magewell.com;NM=1;PH=DS;RN=23;RT=23;SR=0;TI=SMTPD_---.8IcekyU_1498561658; From: Yong Deng To: mchehab@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@free-electrons.com, wens@csie.org, hans.verkuil@cisco.com, peter.griffin@linaro.org, hugues.fruchet@st.com, krzk@kernel.org, bparrot@ti.com, arnd@arndb.de, jean-christophe.trotin@st.com, benjamin.gaignard@linaro.org, tiffany.lin@mediatek.com, kamil@wypas.org, kieran+renesas@ksquared.org.uk, andrew-ct.chen@mediatek.com, yong.deng@magewell.com, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH RFC 0/2] Initial Allwinner V3s CSI Support Date: Tue, 27 Jun 2017 19:07:32 +0800 Message-Id: <1498561654-14658-1-git-send-email-yong.deng@magewell.com> X-Mailer: git-send-email 1.8.3.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2097 Lines: 45 This patchset add initial support for Allwinner V3s CSI. Allwinner V3s SoC have two CSI module. CSI0 is used for MIPI interface and CSI1 is used for parallel interface. This is not documented in datatsheet but by testing and guess. This patchset implement a v4l2 framework driver and add a binding documentation for it. Currently, the driver only support the parallel interface. And has been tested with a BT1120 signal which generating from FPGA. The following fetures are not support with this patchset: - ISP - MIPI-CSI2 - Master clock for camera sensor - Power regulator for the front end IC Yong Deng (2): media: V3s: Add support for Allwinner CSI. dt-bindings: add binding documentation for Allwinner CSI .../devicetree/bindings/media/sunxi-csi.txt | 51 ++ drivers/media/platform/Kconfig | 1 + drivers/media/platform/Makefile | 2 + drivers/media/platform/sunxi-csi/Kconfig | 8 + drivers/media/platform/sunxi-csi/Makefile | 3 + drivers/media/platform/sunxi-csi/sunxi_csi.c | 535 +++++++++++++ drivers/media/platform/sunxi-csi/sunxi_csi.h | 203 +++++ drivers/media/platform/sunxi-csi/sunxi_csi_v3s.c | 827 +++++++++++++++++++++ drivers/media/platform/sunxi-csi/sunxi_csi_v3s.h | 206 +++++ drivers/media/platform/sunxi-csi/sunxi_video.c | 667 +++++++++++++++++ drivers/media/platform/sunxi-csi/sunxi_video.h | 61 ++ 11 files changed, 2564 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/sunxi-csi.txt create mode 100644 drivers/media/platform/sunxi-csi/Kconfig create mode 100644 drivers/media/platform/sunxi-csi/Makefile create mode 100644 drivers/media/platform/sunxi-csi/sunxi_csi.c create mode 100644 drivers/media/platform/sunxi-csi/sunxi_csi.h create mode 100644 drivers/media/platform/sunxi-csi/sunxi_csi_v3s.c create mode 100644 drivers/media/platform/sunxi-csi/sunxi_csi_v3s.h create mode 100644 drivers/media/platform/sunxi-csi/sunxi_video.c create mode 100644 drivers/media/platform/sunxi-csi/sunxi_video.h -- 1.8.3.1