From patchwork Mon May 20 15:06:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Ond=C5=99ej_Jirman?= X-Patchwork-Id: 10951681 Return-Path: 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 C4B856C5 for ; Mon, 20 May 2019 15:07:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B246D27B13 for ; Mon, 20 May 2019 15:07:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A65A3287E9; Mon, 20 May 2019 15:07:01 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 4703127B13 for ; Mon, 20 May 2019 15:07:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733296AbfETPGl (ORCPT ); Mon, 20 May 2019 11:06:41 -0400 Received: from vps.xff.cz ([195.181.215.36]:54742 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727108AbfETPGl (ORCPT ); Mon, 20 May 2019 11:06:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1558364799; bh=MOIiLhQ+IjpqYl5yHzKvxPsRQBzGIbHz8ojgz49ajzM=; h=From:To:Cc:Subject:Date:From; b=c739CFNQlY0oMPgSRJ6Gd+ppWrHcU9ifdJ48imf5TZ4akgkyrfOflPcrue9VhteFO ZqNzzuIzVhoyOMOguR3sQcwhxTpxHpUWAU9zheMWLMTve+3VME2HcaUJlM5wcyUB0i NIGfuNVaPkXChDZBBhR7Hb/fH1VvUxQKeMrRAS/E= From: megous@megous.com To: Chen-Yu Tsai , Maxime Ripard , Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Yong Deng , Mauro Carvalho Chehab Cc: Ondrej Jirman , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Kocialkowski , Chen-Yu Tsai , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Subject: [PATCH v2 0/3] ARM: sun8i: a83t: Support Camera Sensor Interface controller Date: Mon, 20 May 2019 17:06:34 +0200 Message-Id: <20190520150637.23557-1-megous@megous.com> MIME-Version: 1.0 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Ondrej Jirman This is a re-send of Chen-Yu's A83T CSI patch series with review tags applied and removed address/size cells from csi_in port. Already applied patches from v1 were dropped. The series is ready to be merged: Patch 1 and 2 via sunxi tree Patch 3 via media tree v2: - dropped address/size cells from csi_in port - added review tags Please take a look and merge. Thank you, Ondrej -------------------------- Original description: 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 (3): 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) .../devicetree/bindings/media/sun6i-csi.txt | 1 + arch/arm/boot/dts/sun8i-a83t.dtsi | 29 +++++++++++++++++++ .../platform/sunxi/sun6i-csi/sun6i_csi.c | 1 + 3 files changed, 31 insertions(+)