From patchwork Mon Oct 2 14:13:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Todor Tomov X-Patchwork-Id: 114614 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp729071qgn; Mon, 2 Oct 2017 07:14:14 -0700 (PDT) X-Google-Smtp-Source: AOwi7QB22zTKSyhH5FOPhrRgYxysXdTok8EFFtn8VUj+QhXMoYQ02tXkr0EZG5StbTB+I92euy/4 X-Received: by 10.84.137.129 with SMTP id 1mr14723254pln.376.1506953654273; Mon, 02 Oct 2017 07:14:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506953654; cv=none; d=google.com; s=arc-20160816; b=TXLIam4AEZjvtifN0/NFZkalIDSi/oyCkzCkZnkYtceud3i6s0CuRvAB2N1Arw5h0/ rvxlJMb/Tk46ui1pimNLTsM5NlwKxZBKEC31qLplK8Guh8lXiLP8OwrMZiGNjZCF7CMh F053cszc2+e/4uemxh2UmXRHRe6ro255ea0qpKdFDMxyyDG4WHIMypwPYXplFYVNYogr wCx9Q1tfOjWA/hx0wJVrZ2VVWicOn0LflrvUk+aHc8BCGgc3AMqWgFZF7ZEGratY6g8f iVnvbdmMFM58iNiL4MjTSxQcI3JivM/70QgwH095ZwlvdGxJMtC5nb90gp1Jaw1X7gZb RYKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=ZzCCOWbTEkjNCTPVQUsd+JT3oncK1e0T1fca0iWnuDM=; b=hY7rTbkj5jtbJErwq5EusbJfe1mm2AKR6/e0V4H9HjbnO6rJdNBRoxm/IRs6QGxUiC UuJj+jMN4p4xWWWCgN+Wzy8gRABZDsCGrl5qI81QWuqzl+C24ZdooccFE2nl7BbagsR9 KtCew5QUXwRRqlN0hyTi9hamcx/xXYsgM5Oq5jhT/gYP/rvEsg6fWl5rqnA3U4Ee+8VT 1Ldgqjsl6D0yUs2RFCqebW7/Hxf7DoFaiHiOgb3Uuln0xWqbRmKEu5fAMzCKuPpnfAYx CHU4VTP2Z+U5Xv1Aw+K3ZzO1Erik3Wr6cJ0Pb7+bpGxWLhPuUhN+7aXW3tpJD0KzNPCu ckYQ== 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n123si7932466pgn.104.2017.10.02.07.14.13; Mon, 02 Oct 2017 07:14:14 -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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751654AbdJBOOM (ORCPT + 26 others); Mon, 2 Oct 2017 10:14:12 -0400 Received: from ns.mm-sol.com ([37.157.136.199]:58776 "EHLO extserv.mm-sol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751247AbdJBOOI (ORCPT ); Mon, 2 Oct 2017 10:14:08 -0400 Received: from mms-0439.qualcomm.mm-sol.com (unknown [37.157.136.206]) by extserv.mm-sol.com (Postfix) with ESMTPSA id 5146ACC29; Mon, 2 Oct 2017 17:14:06 +0300 (EEST) From: Todor Tomov To: wsa@the-dreams.de, linux-i2c@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Todor Tomov Subject: [PATCH 0/4] Qualcomm Camera Control Interface driver Date: Mon, 2 Oct 2017 17:13:29 +0300 Message-Id: <1506953613-23875-1-git-send-email-todor.tomov@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset adds basic support for the Qualcomm Camera Control Interface (CCI) controller found on Qualcomm MSM8916/APQ8016 and MSM8996/APQ8996 SoC. CCI has one I2C bus on MSM8916/APQ8016 and two I2C busses on MSM8996/APQ8096. The present driver supports the first I2C bus only. The driver is implemented using as a reference the Qualcomm CCI driver for Android as found in Code Aurora [1] and [2]. The driver is tested on Dragonboard 410c (APQ8016) and Dragonboard 820c (APQ8096) with one and two OV5645 camera sensors. [1] https://source.codeaurora.org/quic/la/kernel/msm-3.10/ [2] https://source.codeaurora.org/quic/la/kernel/msm-3.18/ Todor Tomov (4): dt-bindings: media: Binding document for Qualcomm Camera Control Interface driver i2c: Add Qualcomm Camera Control Interface driver MAINTAINERS: Add Qualcomm Camera Control Interface driver arm64: dts: qcom: Add Camera Control Interface support .../devicetree/bindings/i2c/i2c-qcom-cci.txt | 55 ++ MAINTAINERS | 7 + arch/arm64/boot/dts/qcom/msm8916-pins.dtsi | 14 + arch/arm64/boot/dts/qcom/msm8916.dtsi | 21 + arch/arm64/boot/dts/qcom/msm8996-pins.dtsi | 14 + arch/arm64/boot/dts/qcom/msm8996.dtsi | 24 + drivers/i2c/busses/Kconfig | 10 + drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-qcom-cci.c | 793 +++++++++++++++++++++ 9 files changed, 939 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-qcom-cci.txt create mode 100644 drivers/i2c/busses/i2c-qcom-cci.c -- 2.7.4