From patchwork Wed Jan 27 14:49:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Foss X-Patchwork-Id: 371558 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp345791jam; Wed, 27 Jan 2021 07:02:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJw/Mou8U5ZxhuwQLdXXWQ5gTknhWLppRUUtlq1guE/sYt+p1rrCzi6JYi4T37KqJWolLN3f X-Received: by 2002:a17:906:b215:: with SMTP id p21mr7013353ejz.407.1611759770733; Wed, 27 Jan 2021 07:02:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611759770; cv=none; d=google.com; s=arc-20160816; b=iNyfFbFkhiMzJQ4xv8CgXcS9SXiUVuj7qiqdqGCDMKaW/uFiNQ/+EJBJIs66k6wFPq JkBWWuYtUUCpum2H1nQkR2eekgjNSXsY+jfT5QNJ7KkKGXc430/5O+ajWH+3kRWxdRZ9 hVeqKqV+G5vJUjt2+9HWNkhBibC0L1pghukfatQ2763seA16MgfStE7ljeQs7Zq8BuW+ Wut+3pI+rttZSs2Mi7ecYH6M3iE5wb81BwUO2D1HsIJp9MbEgAXmGtv1N/Idkoq8lIN/ uR7VbCh09S2z4UdU+af3d2Plf1W8yVQwcBrRYC/rZYpu1WLoxs+vRCZ5IueWXB5339Kl oyuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UlBA+jrFoLLefklW/JXu8ZcQb+a+i4EuznUW8mxqVQQ=; b=uTZ/DZcWYEON072UVvmF/sQZYbo13C14X3in63gz0sC1iQUcKBh9wWq237czeeQ/zc 9PVWWg4Omd/ZCsYeQ/B4rxjaq14aP6IXCMM24xMu793HAHv28tzmzFqbrEVUEbHZXbEq c+DeQX0Te5FrV7nM0nOLlnB2T5FTttCMwgrcNOqKjpn1jzeIq4DYal5YgsAvPjfXoR/Y 9BQ4uOX479BUiOnbzfPrxDXuYIz92XWc1m/KhdCvnQRKE3ID8pE4SpeDALuw9SmuJShy 9La4Maqhv/PMz1KjRVPXOa1vzjEA0HmqnTrcgaMHT9yq6V0xCTHQ8gm1PCQwWRpB/lQk c7gA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CGMbTvS2; spf=pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-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 v7si903823ejh.668.2021.01.27.07.02.50; Wed, 27 Jan 2021 07:02:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-media-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=CGMbTvS2; spf=pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-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 S234649AbhA0PC1 (ORCPT + 3 others); Wed, 27 Jan 2021 10:02:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235202AbhA0PAY (ORCPT ); Wed, 27 Jan 2021 10:00:24 -0500 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5F2CC0698DA for ; Wed, 27 Jan 2021 06:51:03 -0800 (PST) Received: by mail-ej1-x62e.google.com with SMTP id ke15so2993587ejc.12 for ; Wed, 27 Jan 2021 06:51:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UlBA+jrFoLLefklW/JXu8ZcQb+a+i4EuznUW8mxqVQQ=; b=CGMbTvS2lf8nsCaX9+bOJcf6KhPhbUKzlDQEG61YVY7AcLoWfIUfq9Cojl+IKn1C0F Cjnlg2EExpubmuFUTExuGUv3wbQUb97g/TWTGov3zwjwl0aM49TgymuB+f8MUX6EvOHU zRMSOV31PKgM7RzTtLVTz5iWThOjNfBzWlumITfcY60EKnSW3XquKpvyhN2hjRRdA/1H Y+QvUZfsva3jBHUFiPdsEShRkcTuDxQyXbBfT1g02oVAeLHyNJPwNy/qdRsxbia6dtzq 9skOLk8kd9JTsGiesZY3PZXRRGwITJnuFPxkq9gRG42eAGJtwC3pzqgdeeg596meSv3s WUhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UlBA+jrFoLLefklW/JXu8ZcQb+a+i4EuznUW8mxqVQQ=; b=I0SQMO/scTfb+98AsdINO2A1Xk1JwvQfyBCQ/wukeHtQGvfz4ZDg9AdglFlA7k76nl ASWoKrjesgRoeHs3IXY+2GRpv9jK1eJLVAewxbvvdtgEQbJVLF5xNQWBBnCiZq5tqIIL oyq9gnR+2JYV2rvla260v3kdL2i20SfLLbbHKFl7R9BX4JRBgw7r6nr9J4v0KPT7qoLq utVjsNUXYDp7HFKM+EoNwQG42HSJnOwD3q/K/JLwyZ7+kQkr/xF0cB6EaW9IhdTTEPXC HqyIJ/+K3Lw1TGv7DSgZ7DO63+vud/ZfvvPVW2V8h2y5xf1mecLgaF9zZ/8hmkVhbQPA PvSw== X-Gm-Message-State: AOAM5322c5jPXIA2Kw7pSaahEHbfgAzkPSPPNPKb54/qlvKYC/igAPff eR0GG6PngTptOdAgURvvzlthWw== X-Received: by 2002:a17:906:3792:: with SMTP id n18mr7002048ejc.47.1611759062601; Wed, 27 Jan 2021 06:51:02 -0800 (PST) Received: from localhost.localdomain ([2a02:2450:102f:d6a:62e7:589a:1625:7acc]) by smtp.gmail.com with ESMTPSA id ah12sm947799ejc.70.2021.01.27.06.51.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jan 2021 06:51:01 -0800 (PST) From: Robert Foss To: agross@kernel.org, bjorn.andersson@linaro.org, robert.foss@linaro.org, todor.too@gmail.com, mchehab@kernel.org, robh+dt@kernel.org, catalin.marinas@arm.com, will@kernel.org, shawnguo@kernel.org, leoyang.li@nxp.com, geert+renesas@glider.be, arnd@arndb.de, Anson.Huang@nxp.com, michael@walle.cc, agx@sigxcpu.org, max.oss.09@gmail.com, angelogioacchino.delregno@somainline.org, linux-arm-msm@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, AngeloGioacchino Del Regno , Rob Herring , Andrey Konovalov Cc: Tomasz Figa , Azam Sadiq Pasha Kapatrala Syed , Sarvesh Sridutt , Laurent Pinchart , Jonathan Marek Subject: [PATCH v3 22/22] arm64: dts: sdm845-db845c: Enable ov8856 sensor and connect to ISP Date: Wed, 27 Jan 2021 15:49:30 +0100 Message-Id: <20210127144930.2158242-23-robert.foss@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210127144930.2158242-1-robert.foss@linaro.org> References: <20210127144930.2158242-1-robert.foss@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Enable camss & ov8856 DT nodes. Signed-off-by: Robert Foss --- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) -- 2.27.0 diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts index 5842ab65789c..d89286f6aacb 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts @@ -1108,6 +1108,21 @@ &cci { &camss { vdda-supply = <&vreg_l1a_0p875>; + + status = "ok"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + port@0 { + reg = <0>; + csiphy0_ep: endpoint { + clock-lanes = <1>; + data-lanes = <1 2 3 4>; + remote-endpoint = <&ov8856_ep>; + }; + }; + }; }; &cci_i2c0 { @@ -1139,7 +1154,7 @@ camera@10 { avdd-supply = <&cam0_avdd_2v8>; dvdd-supply = <&cam0_dvdd_1v2>; - status = "disable"; + status = "ok"; port { ov8856_ep: endpoint { @@ -1147,7 +1162,7 @@ ov8856_ep: endpoint { link-frequencies = /bits/ 64 <360000000 180000000>; data-lanes = <1 2 3 4>; -// remote-endpoint = <&csiphy0_ep>; + remote-endpoint = <&csiphy0_ep>; }; }; };