Received: by 2002:a17:90a:2044:0:0:0:0 with SMTP id n62csp524897pjc; Mon, 20 May 2019 11:14:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqzVY/C8qORotzgbuGRZ/wEpJcteWFW/tZ2tKjPjnQtKgX9c1KxRSjyjIH2ZsjFSpAebVFNn X-Received: by 2002:a62:e117:: with SMTP id q23mr81965828pfh.60.1558376070716; Mon, 20 May 2019 11:14:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558376070; cv=none; d=google.com; s=arc-20160816; b=O/73UczbPWuX9nWQ4lKLURQq8B4dy8rzb5YxPZyHKAs40odiegLIVmPkUmMfkiaXFN KEa6NeFtBNA5nGm84MhzzVRAqgoI20WZUEG3CjXYVPvx3Nhk6dlcVnWx173KVWJwoU3D +PUlgrgS0gOXFUYKlwBG5r9RepwlAkN3UUaH1KSU49CM0mJ1wCMWcYrE6EBJmOuQWIvz QGD0S0ZfkwxDQ3VuNJXwTVPwGzh5Ge95f4PrFOuwH7vwA9uZLqjH8wKvGz25safvTNYL mmoMZLYgu/6TdV1EQYw3wmpNsFm2fh8Dll8IysyjExLsJxF9x/bYVkTtf5NRAPiudTBV HkzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=lYiIVsJzixPPHdEmUK5LL/N1hr8gqoyB+dV3BEDPWVo=; b=cLsbC8glfm3hqp9HDSRZnF3F1h6QHFyILS8f4g8zSWzIsAW7RFBsElz0A8H1oRZO0/ HtHPtZ1WPfX1SqkNbYqSH66bg/nrDUAWFIMhTFDFZHeMF4UMXCloH2OGf9P/MKB/0EtU f3VhmnLKRt9ECJV81KYfiSE/SZFU1DC6awwUx/Y9gqvVAC1T2mhU+rd+ZBwGn0muMReM PLXmiA3qJYk1fPCmQ0eaRAQLNRIR3GEpbBPlKfOUbqA0CsIkN6JpwpVp1LQLHUhGkd6e 9BZQ2N8KfMfb/LMpB0F91nQz/Ynz4W5bHEDCgM26kyc9SJ16o3pPiC8+n5B0dQ95vl3i B93A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=c739CFNQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=megous.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y1si21530284pfb.264.2019.05.20.11.14.15; Mon, 20 May 2019 11:14:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=c739CFNQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=megous.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387894AbfETPGm (ORCPT + 99 others); Mon, 20 May 2019 11:06:42 -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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.21.0