Message ID | 20190408165744.11672-1-wens@kernel.org (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-media-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8FF5717E0 for <patchwork-linux-media@patchwork.kernel.org>; Mon, 8 Apr 2019 16:58:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7669F28707 for <patchwork-linux-media@patchwork.kernel.org>; Mon, 8 Apr 2019 16:58:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6A41B28708; Mon, 8 Apr 2019 16:58:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 167072870E for <patchwork-linux-media@patchwork.kernel.org>; Mon, 8 Apr 2019 16:58:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729145AbfDHQ6G (ORCPT <rfc822;patchwork-linux-media@patchwork.kernel.org>); Mon, 8 Apr 2019 12:58:06 -0400 Received: from mirror2.csie.ntu.edu.tw ([140.112.30.76]:43692 "EHLO wens.csie.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728635AbfDHQ5u (ORCPT <rfc822;linux-media@vger.kernel.org>); Mon, 8 Apr 2019 12:57:50 -0400 Received: by wens.csie.org (Postfix, from userid 1000) id 96D4B5FCC3; Tue, 9 Apr 2019 00:57:46 +0800 (CST) From: Chen-Yu Tsai <wens@kernel.org> To: Maxime Ripard <maxime.ripard@bootlin.com>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Yong Deng <yong.deng@magewell.com>, Mauro Carvalho Chehab <mchehab@kernel.org> Cc: Chen-Yu Tsai <wens@csie.org>, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Kocialkowski <paul.kocialkowski@bootlin.com> Subject: [PATCH 0/6] ARM: sun8i: a83t: Support Camera Sensor Interface controller Date: Tue, 9 Apr 2019 00:57:38 +0800 Message-Id: <20190408165744.11672-1-wens@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
ARM: sun8i: a83t: Support Camera Sensor Interface controller
|
expand
|
From: Chen-Yu Tsai <wens@csie.org> Hi everyone, This series adds support for the camera sensor interface controller found on the Allwinner A83T SoC. The controller is similar to the one found on the H3, with the addition of a MIPI CSI-2 interface. However, this series only supports parallel and BT.656 interfaces, based on the existing driver. Patch 1 adds an undocumented clock parent of the CSI MCLK. This was found after finding the default value to sometimes work and sometimes not, and then comparing against BSP code. Patch 2 adds a compatible string for the A83T variant. Patch 3 adds support for the A83T variant to the existing sun6i-csi driver. Patch 4 adds a device node for the controller, as well as commonly used pin muxing options. Patch 5 adds a pin muxing option for I2C1 on the PE pins, used in conjunction with the CSI pins. Patch 6 provides an example usage of the CSI controller: the Bananapi M3 with its camera module attached. Please have a look. Regards ChenYu Chen-Yu Tsai (6): clk: sunxi-ng: a83t: Add pll-video0 as parent of csi-mclk dt-bindings: media: sun6i-csi: Add compatible string for A83T variant media: sun6i: Support A83T variant ARM: dts: sun8i: a83t: Add device node for CSI (Camera Sensor Interface) ARM: dts: sun8i: a83t: Add I2C2 pinmux setting for PE pins [DO NOT MERGE] ARM: dts: sun8i: a83t: bananapi-m3: Enable BPI OV5640 camera .../devicetree/bindings/media/sun6i-csi.txt | 1 + arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts | 101 ++++++++++++++++++ arch/arm/boot/dts/sun8i-a83t.dtsi | 37 +++++++ drivers/clk/sunxi-ng/ccu-sun8i-a83t.c | 5 +- .../platform/sunxi/sun6i-csi/sun6i_csi.c | 1 + 5 files changed, 143 insertions(+), 2 deletions(-)