Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3047850yba; Mon, 8 Apr 2019 09:59:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqyIIZlvjY734X87tPkVB3c9i86lDnTp39sZPxsxTfMMqQPawBHOXyDt4zgXKAaQhtwJ2r6j X-Received: by 2002:aa7:81d0:: with SMTP id c16mr31433427pfn.132.1554742755400; Mon, 08 Apr 2019 09:59:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554742755; cv=none; d=google.com; s=arc-20160816; b=ibJjag3QcEUbbpeMlP3zMBNcJ+L3+awDs8TO0U0eJlNFE0yo0VqNZS1NB/tUNpqGRb P3PXtnCEwL9SOiDXtXGYQ+wfz04Sl91y+KggIsWxd9Jtib8r4/qxh4N/SsQR1gHJlVQx fqQhjrJ55xMG2oxRvuYeYaKzg5ErRp5684XBtn3+6hPvyk4kqLKBkTGy9h6STGSICIqa wyacdAYK1B5Etn+oCP+3P2hZ0VN4ONOLJ26ox465atG6pxzwLst6S3e3nPy3W1Ko0fec KHOW7jvlRp5OD0ASarOYPQaCiGWTRMcODqkkb26nwOrjsM1hclMsTKjbPGV6U79YP+qn dFBw== 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; bh=phhbQPMGcqAz6O8lUm85L48ZFE/skw6OX8JEGGJfWcw=; b=BwfVj2SKoII6UK77ozEqQxpHR673B9igP3vt4KjiecDKPNr/3VwJPJI7WY6wrHBt01 jqafywe+9eetqQx6LlmQHyyjpOWlZbner18RT0ualCI7HdelB5Jb6811Kq2Y2oeQh3fk sIzqlaOZTOXzfqgEEESpa9rCfwyhBbKNkQW4ji3MokFAk8BaCfrQ+eXdp7an1H4E/eQE 2+ak4NsGY9XsQD7hCUqWUSh+TOtbpVRBw2T8jfw+KPq3OBklJGyQc2CHYxDR2F41l0br 9gXkve0Gy54LyigHeNpS1GZWsYBtiEHd1/BpNz6DVS1c9xRTwQa2HfQGJqBm6rFMQxgc Ne4w== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w125si28037160pfw.137.2019.04.08.09.58.59; Mon, 08 Apr 2019 09:59:15 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729156AbfDHQ6H (ORCPT + 99 others); Mon, 8 Apr 2019 12:58:07 -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 ); 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 To: Maxime Ripard , Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Yong Deng , Mauro Carvalho Chehab Cc: Chen-Yu Tsai , 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 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chen-Yu Tsai 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(-) -- 2.20.1