devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Robert Foss <robert.foss@linaro.org>
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,
	vkoul@kernel.org, Anson.Huang@nxp.com, michael@walle.cc,
	agx@sigxcpu.org, max.oss.09@gmail.com,
	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 <kholk11@gmail.com>,
	Andrey Konovalov <andrey.konovalov@linaro.org>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Tomasz Figa <tfiga@chromium.org>,
	Azam Sadiq Pasha Kapatrala Syed <akapatra@quicinc.com>,
	Sarvesh Sridutt <Sarvesh.Sridutt@smartwirelesscompute.com>,
	Jonathan Marek <jonathan@marek.ca>
Subject: [PATCH v2 22/22] arm64: dts: sdm845-db845c: Enable ov8856 sensor and connect to ISP
Date: Wed, 20 Jan 2021 14:43:57 +0100	[thread overview]
Message-ID: <20210120134357.1522254-22-robert.foss@linaro.org> (raw)
In-Reply-To: <20210120134357.1522254-1-robert.foss@linaro.org>

Enable camss & ov8856 DT nodes.

Signed-off-by: Robert Foss <robert.foss@linaro.org>
---
 arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

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>;
 			};
 		};
 	};
-- 
2.27.0


      parent reply	other threads:[~2021-01-20 21:09 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-20 13:43 [PATCH v2 01/22] media: camss: Fix vfe_isr_comp_done() documentation Robert Foss
2021-01-20 13:43 ` [PATCH v2 02/22] media: camss: Fix vfe_isr comment typo Robert Foss
2021-01-20 13:43 ` [PATCH v2 03/22] media: camss: Add CAMSS_845 camss version Robert Foss
2021-01-20 13:43 ` [PATCH v2 04/22] media: camss: Make ISPIF subdevice optional Robert Foss
2021-01-20 13:43 ` [PATCH v2 05/22] media: camss: Refactor VFE HW version support Robert Foss
2021-01-20 13:43 ` [PATCH v2 06/22] media: camss: Add support for VFE hardware version Titan 170 Robert Foss
2021-01-20 13:43 ` [PATCH v2 07/22] media: camss: Add missing format identifiers Robert Foss
2021-01-20 13:43 ` [PATCH v2 08/22] media: camss: Refactor CSID HW version support Robert Foss
2021-01-20 13:43 ` [PATCH v2 09/22] media: camss: Add support for CSID hardware version Titan 170 Robert Foss
2021-01-20 13:43 ` [PATCH v2 10/22] media: camss: Add support for CSIPHY " Robert Foss
2021-01-20 13:43 ` [PATCH v2 11/22] media: camss: Remove per VFE power domain toggling Robert Foss
2021-01-20 13:43 ` [PATCH v2 12/22] media: camss: Enable SDM845 Robert Foss
2021-01-20 13:43 ` [PATCH v2 13/22] dt-bindings: media: camss: Add qcom,msm8916-camss binding Robert Foss
2021-01-20 13:43 ` [PATCH v2 14/22] dt-bindings: media: camss: Add qcom,msm8996-camss binding Robert Foss
2021-01-21 16:01   ` [PATCH v2 14/22] dt-bindings: media: camss: Add qcom, msm8996-camss binding Rob Herring
2021-01-22 16:33   ` [PATCH v2 14/22] dt-bindings: media: camss: Add qcom,msm8996-camss binding Rob Herring
2021-01-20 13:43 ` [PATCH v2 15/22] dt-bindings: media: camss: Add qcom,sdm660-camss binding Robert Foss
2021-01-20 16:17   ` AngeloGioacchino Del Regno
2021-01-21 10:40     ` Robert Foss
2021-01-21 10:35   ` Robert Foss
2021-01-21 16:01   ` [PATCH v2 15/22] dt-bindings: media: camss: Add qcom, sdm660-camss binding Rob Herring
2021-01-22 16:34   ` [PATCH v2 15/22] dt-bindings: media: camss: Add qcom,sdm660-camss binding Rob Herring
2021-01-26 15:51     ` Robert Foss
2021-01-20 13:43 ` [PATCH v2 16/22] dt-bindings: media: camss: Add qcom,sdm845-camss binding Robert Foss
2021-01-21 16:01   ` [PATCH v2 16/22] dt-bindings: media: camss: Add qcom, sdm845-camss binding Rob Herring
2021-01-20 13:43 ` [PATCH v2 17/22] MAINTAINERS: Change CAMSS documentation to use dtschema bindings Robert Foss
2021-01-20 13:43 ` [PATCH v2 18/22] media: dt-bindings: media: Remove qcom,camss documentation Robert Foss
2021-01-20 13:43 ` [PATCH v2 19/22] arm64: defconfig: Build Qcom CAMSS as module Robert Foss
2021-01-20 13:43 ` [PATCH v2 20/22] arm64: dts: sdm845: Add CAMSS ISP node Robert Foss
2021-01-20 13:43 ` [PATCH v2 21/22] arm64: dts: sdm845-db845c: Configure regulator for camss node Robert Foss
2021-01-20 13:43 ` Robert Foss [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210120134357.1522254-22-robert.foss@linaro.org \
    --to=robert.foss@linaro.org \
    --cc=Anson.Huang@nxp.com \
    --cc=Sarvesh.Sridutt@smartwirelesscompute.com \
    --cc=agross@kernel.org \
    --cc=agx@sigxcpu.org \
    --cc=akapatra@quicinc.com \
    --cc=andrey.konovalov@linaro.org \
    --cc=bjorn.andersson@linaro.org \
    --cc=catalin.marinas@arm.com \
    --cc=devicetree@vger.kernel.org \
    --cc=geert+renesas@glider.be \
    --cc=jonathan@marek.ca \
    --cc=kholk11@gmail.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=leoyang.li@nxp.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=max.oss.09@gmail.com \
    --cc=mchehab@kernel.org \
    --cc=michael@walle.cc \
    --cc=robh+dt@kernel.org \
    --cc=shawnguo@kernel.org \
    --cc=tfiga@chromium.org \
    --cc=todor.too@gmail.com \
    --cc=vkoul@kernel.org \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).