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: 10951683 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 C7BED6C5 for ; Mon, 20 May 2019 15:07:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B434126E79 for ; Mon, 20 May 2019 15:07:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A888428786; Mon, 20 May 2019 15:07:05 +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=-3.4 required=2.0 tests=BAYES_00,DKIM_ADSP_DISCARD, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5707F26E79 for ; Mon, 20 May 2019 15:07:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=twqEYzht4n2DMy4x9HZDt+VEBsIAn6WaJ0gvCzMoxG8=; b=sywHw769EDkUQt dKNDIHUcSDVvVc6eHS103S08mSVHRDT2Xfebrlbvg7mYAEeQy7+Qwf9spaiBGGM7zwg+oA6oTnkAp Tlivbl87NwLPsMGm/hbZpLzeqmfGs1Dw+EQxChMb9XI6usdr2Pymp0EbnfcbsbIjuYY84jerSB6T1 +VukiQ4O76FQVtL0LHk9rxM4J1upRyYFTjLm1Vd4RVozpa0TqY8hVif+l1MTckixAycyNCgfxDU88 1VOcxG/Aa5/0HkivXafOSAp6PY6ceM3hTM0cw+CJvrSt6vonQFq6HfZrjsPqKzFAiDcgXyERzUOHk /qCCUNQh2VNK+Cj97PiQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hSjsQ-0003xZ-1z; Mon, 20 May 2019 15:06:58 +0000 Received: from vps.xff.cz ([195.181.215.36]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hSjsB-0003bQ-Lk for linux-arm-kernel@lists.infradead.org; Mon, 20 May 2019 15:06:46 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190520_080643_872869_4C7F497C X-CRM114-Status: GOOD ( 11.10 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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(+)