Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751648AbdG0FCb (ORCPT ); Thu, 27 Jul 2017 01:02:31 -0400 Received: from out20-86.mail.aliyun.com ([115.124.20.86]:49835 "EHLO out20-86.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751122AbdG0FC3 (ORCPT ); Thu, 27 Jul 2017 01:02:29 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.150747|-1;FP=8023612678404132018|2|1|18|0|-1|-1|-1;HT=e01l10421;MF=yong.deng@magewell.com;NM=1;PH=DS;RN=25;RT=25;SR=0;TI=SMTPD_---.8VPzC9p_1501131730; From: Yong Deng To: maxime.ripard@free-electrons.com Cc: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Chen-Yu Tsai , Greg Kroah-Hartman , "David S. Miller" , Hans Verkuil , Arnd Bergmann , Hugues Fruchet , Yannick Fertre , Philipp Zabel , Benoit Parrot , Benjamin Gaignard , Jean-Christophe Trotin , Ramesh Shanmugasundaram , Minghsiu Tsai , Krzysztof Kozlowski , Robert Jarzmik , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Yong Deng Subject: [PATCH v2 0/3] Initial Allwinner V3s CSI Support Date: Thu, 27 Jul 2017 13:01:34 +0800 Message-Id: <1501131697-1359-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: 2594 Lines: 58 Sorry for resend the patch. Delivering to somebody in cc has failed at last time. 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 datasheet 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 sun6i_csi_ops is still there. I seriously thought about it. Without sun6i_csi_ops, the dependency between sun6i_video and sun6i_csi_v3s will be complicated. Comments and criticisms are welcome. Changes in v2: * Change sunxi-csi to sun6i-csi * Rebase to media_tree master branch Yong Deng (3): media: V3s: Add support for Allwinner CSI. dt-bindings: media: Add Allwinner V3s Camera Sensor Interface (CSI) media: MAINTAINERS: add entries for Allwinner V3s CSI .../devicetree/bindings/media/sun6i-csi.txt | 49 ++ MAINTAINERS | 8 + drivers/media/platform/Kconfig | 1 + drivers/media/platform/Makefile | 2 + drivers/media/platform/sun6i-csi/Kconfig | 9 + drivers/media/platform/sun6i-csi/Makefile | 3 + drivers/media/platform/sun6i-csi/sun6i_csi.c | 545 ++++++++++++++ drivers/media/platform/sun6i-csi/sun6i_csi.h | 203 +++++ drivers/media/platform/sun6i-csi/sun6i_csi_v3s.c | 827 +++++++++++++++++++++ drivers/media/platform/sun6i-csi/sun6i_csi_v3s.h | 206 +++++ drivers/media/platform/sun6i-csi/sun6i_video.c | 663 +++++++++++++++++ drivers/media/platform/sun6i-csi/sun6i_video.h | 61 ++ 12 files changed, 2577 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/sun6i-csi.txt create mode 100644 drivers/media/platform/sun6i-csi/Kconfig create mode 100644 drivers/media/platform/sun6i-csi/Makefile create mode 100644 drivers/media/platform/sun6i-csi/sun6i_csi.c create mode 100644 drivers/media/platform/sun6i-csi/sun6i_csi.h create mode 100644 drivers/media/platform/sun6i-csi/sun6i_csi_v3s.c create mode 100644 drivers/media/platform/sun6i-csi/sun6i_csi_v3s.h create mode 100644 drivers/media/platform/sun6i-csi/sun6i_video.c create mode 100644 drivers/media/platform/sun6i-csi/sun6i_video.h -- 1.8.3.1