Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp3386098ybk; Tue, 19 May 2020 03:25:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdUHqoonfTZE8xcZ6a2unh1vN5tYInDT0GbxdLakfMASSM/K2ibt7ohceurcLeoPkTmJZE X-Received: by 2002:a05:6402:2292:: with SMTP id cw18mr17824430edb.217.1589883906887; Tue, 19 May 2020 03:25:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589883906; cv=none; d=google.com; s=arc-20160816; b=tq8LB20kLzSKMd47YEkfpntha5Bv3BFByXVxkD39FPSIYdYdf8ETjv/g2JRWs6PbzL VFv8/bt0xVbomGiTRCDFxZqT7/ISGTOy40U2zSlgvBIMvLsRI5g4sBHYeuihzg2Dd67y zjlT0oswy68Ocd/xQob1G2pqAuYGmxmsSh05b4KCdK/OYKwzoHy31PMGri2dPykTvqLQ 7lccdQOggjfnXKVGc6VE7wjGA7deO5MOQtnLPD7XgLKy5n0TESbzuGVzHnYzh6TZcQYr pdIUqcbN9cJ76C6F5pxUcO73fttw9UqWOWDe5bMgH9AtWZUD3yMqAohQGZqZwdEYERyg wi3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=GQe9KMB2kqiw5JPO5UGD3SLSZt+HtAllRarrzvhgqqQ=; b=otnITSnTWc3W4ew6NLP2YnuIhGMy7DGuwRonTJ5HJN3gGWjJemNXCu1tjIHdRb/X+/ CxcRTvgeJGLrsKR4+udVvc3Le0qG5PhfCbOzbtqQucKbRbYbx4LUh0LvCLwLQ2wlQjiQ P3iSVnvx2PF2frlpIEc35YN+UZznAfC31UBjGyEPkdRgCXFPCzNTdsvB+McW3GMjOmF/ p1/aCVC8pgcDnBnk+Dpf5gfeSKdxrXxEP3otMMtoHGkCgiae8ek7n42i6OuOeqiXzPst kCUurwFp3q7tdhhEqoiqSnBL7M0kK4S0tTsijC4bD/9JcUksAjHxBSLxD3n0/CCRHN48 fQCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TIbkUtCw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t10si7646703edq.435.2020.05.19.03.24.44; Tue, 19 May 2020 03:25:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TIbkUtCw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728675AbgESKXF (ORCPT + 99 others); Tue, 19 May 2020 06:23:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725911AbgESKXE (ORCPT ); Tue, 19 May 2020 06:23:04 -0400 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97E52C05BD0A for ; Tue, 19 May 2020 03:23:03 -0700 (PDT) Received: by mail-pg1-x543.google.com with SMTP id n11so6179520pgl.9 for ; Tue, 19 May 2020 03:23:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=GQe9KMB2kqiw5JPO5UGD3SLSZt+HtAllRarrzvhgqqQ=; b=TIbkUtCwuBgOInmLmiG7Hc3G2gu7E+9dN9+ZzJ9tM99uSq5liBw/XsGSHoXYaw56Dv 4YnCbnZyerH1I9Emfx9wZKta2DEfoPY+RsiXXN5HJzix5plLOYux4ZJPMWj4W6ioMuwM PA6QchCxIJeeUjZuPTNNRzj6mZYe+7FPOckH2vQnuQp0oUGRoNCxD7TGZynUhMDQBzAb PPNAL5dw2eZkyykpLJWibbCG/QDzP1PHqFnZXldDYrvEuNpuuqQLAYokWJvfLZlO8P+N FCtKfqeDYXZ5vzL+mq69487lWDWC/bZys51tAq+vybkc4eASXy0rd9wLNyxPNhegSd8L W0Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=GQe9KMB2kqiw5JPO5UGD3SLSZt+HtAllRarrzvhgqqQ=; b=DIiOUQ/DuI52x4xpGsP/DW1L1jfqY2BP2LowUgsz6dRud+EhUpPcIBfhKd/0hwB+BS jx5dmfT8U0vTJOXkrwJ9naJ3ZJF5fJhNl/4/OnX4w4eiqKB32tbNC1z9rXu2UH8Ak/u4 igO6/49JfaUqLMjyaJOjCzPFfQ4MT63C1l/nTH+oEb+TlSjsKKshOXxicRqNheoR00J6 pS+HJINryQqJ9YhKM7yjgTxPSYNvDBMDjqSDeJDuXRCawmJHH+VTD9yNgVjnZL7OQ4NR DX9obSAjGr+1KONWQckhCU6cJ4mSd5fU1k5nliBJXa2PonpPlHvR4v9Q+rQhQmyqlLiA TK/Q== X-Gm-Message-State: AOAM533NIT/4gPSmgKmT37lztUsXTV59oaoVhmYIIMBPsbAsw3q/GGfq o8jdmXmXgnObibS3lyM8pVmJ X-Received: by 2002:a63:d918:: with SMTP id r24mr3875348pgg.119.1589883782939; Tue, 19 May 2020 03:23:02 -0700 (PDT) Received: from Mani-XPS-13-9360 ([157.50.251.138]) by smtp.gmail.com with ESMTPSA id s94sm1938664pjb.20.2020.05.19.03.22.58 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 May 2020 03:23:02 -0700 (PDT) Date: Tue, 19 May 2020 15:52:56 +0530 From: Manivannan Sadhasivam To: Robert Foss Cc: Vinod Koul , Bjorn Andersson , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree , linux-kernel , Nicolas Dechesne Subject: Re: [PATCH v3] arm64: dts: qcom: apq8016-sbc-d3: Add Qualcomm APQ8016 SBC + D3Camera mezzanine Message-ID: <20200519102256.GB8114@Mani-XPS-13-9360> References: <20200518082129.2103683-1-robert.foss@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200518082129.2103683-1-robert.foss@linaro.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Robert, On Mon, May 18, 2020 at 10:21:29AM +0200, Robert Foss wrote: > Add device treee support for the Qualcomm APQ8016 SBC, otherwise known as > the Dragonboard 410c with the D3Camera mezzanine expansion board. > > The D3Camera mezzanine ships in a kit with a OmniVision 5640 sensor module, > which is what this DT targets. > What is the motivation behind adding this new dts? We have been using the userspace tool [1] for applying this as an overlay for some time. But if we start adding dts for mezzanines then for sure we'll end up with some good numbers which will flood arch/{..}/qcom directory. I could understand that one of the motivation is to provide nice user experience to users but that's also taken care by the dt-update tool IMO. Thanks, Mani [1] https://github.com/96boards/dt-update > Signed-off-by: Robert Foss > --- > > Changes since v2: > - Vinod: Change copyright assignment to Linaro > > Changes since v1: > - Vinod: Changed license to GPL+BSD > - Vinod: Changed copyright year to 2020 > - Nico: Changed name of mezzanine to d3camera > > arch/arm64/boot/dts/qcom/Makefile | 1 + > .../boot/dts/qcom/apq8016-sbc-d3camera.dts | 45 +++++++++++++++++++ > 2 files changed, 46 insertions(+) > create mode 100644 arch/arm64/boot/dts/qcom/apq8016-sbc-d3camera.dts > > diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile > index cc103f7020fd..3f95b522694e 100644 > --- a/arch/arm64/boot/dts/qcom/Makefile > +++ b/arch/arm64/boot/dts/qcom/Makefile > @@ -1,5 +1,6 @@ > # SPDX-License-Identifier: GPL-2.0 > dtb-$(CONFIG_ARCH_QCOM) += apq8016-sbc.dtb > +dtb-$(CONFIG_ARCH_QCOM) += apq8016-sbc-d3camera.dtb > dtb-$(CONFIG_ARCH_QCOM) += apq8096-db820c.dtb > dtb-$(CONFIG_ARCH_QCOM) += apq8096-ifc6640.dtb > dtb-$(CONFIG_ARCH_QCOM) += ipq6018-cp01-c1.dtb > diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc-d3camera.dts b/arch/arm64/boot/dts/qcom/apq8016-sbc-d3camera.dts > new file mode 100644 > index 000000000000..752e5ec47499 > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc-d3camera.dts > @@ -0,0 +1,45 @@ > +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause > +/* > + * Copyright (c) 2020, The Linux Foundation. All rights reserved. > + */ > + > +/dts-v1/; > + > +#include "apq8016-sbc.dtsi" > + > +/ { > + model = "Qualcomm Technologies, Inc. APQ 8016 SBC w/ D3Camera Mezzanine"; > + compatible = "qcom,apq8016-sbc", "qcom,apq8016", "qcom,sbc"; > +}; > + > +&cci_i2c0 { > + /delete-node/ camera_rear@3b; > + > + camera_rear@76 { > + compatible = "ovti,ov5640"; > + reg = <0x76>; > + > + enable-gpios = <&msmgpio 34 GPIO_ACTIVE_HIGH>; > + reset-gpios = <&msmgpio 35 GPIO_ACTIVE_LOW>; > + pinctrl-names = "default"; > + pinctrl-0 = <&camera_rear_default>; > + > + clocks = <&gcc GCC_CAMSS_MCLK0_CLK>; > + clock-names = "xclk"; > + clock-frequency = <23880000>; > + > + vdddo-supply = <&camera_vdddo_1v8>; > + vdda-supply = <&camera_vdda_2v8>; > + vddd-supply = <&camera_vddd_1v5>; > + > + status = "ok"; > + > + port { > + ov5640_ep: endpoint { > + clock-lanes = <1>; > + data-lanes = <0 2>; > + remote-endpoint = <&csiphy0_ep>; > + }; > + }; > + }; > +}; > -- > 2.25.1 >