From patchwork Thu Mar 11 18:09:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Foss X-Patchwork-Id: 397562 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp536777jai; Thu, 11 Mar 2021 10:12:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJyKPd9+uFAChSbd0jNyky4JzASp8DxunxY5lTgA2iOprHaSYEzQ3sxClO8H/2YJo2QPgp4D X-Received: by 2002:a17:906:bd2:: with SMTP id y18mr4341548ejg.482.1615486328602; Thu, 11 Mar 2021 10:12:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615486328; cv=none; d=google.com; s=arc-20160816; b=ShrEBff+1TTnDof2XOornxTvykQeN7NU16cT/zNGRzHTRSfzyUkl0/dUOYEEiuQrej 09MHS70tDQSxTn2DmTB3a68UgNDbzeMOdRY5DRaKS1U8/hEuyKYiSewwfBCaqqy9+KOR +zf47avoMtM/jdGmzBahA9NAZRTP+QVyL+gHZZcLWBTMQBFIxD4T8ulH6t/JVBeUbzBa b/tCx4z3l34TmOFQnWpKa8pPcdvvkJ2VjjJzr7nELs3UI/Zpq6Ym1qu/Y+3q0B8CZMjR nIawHtmfVNOqbUV650a8NWVzPpcdEgrDNUsDQqvjTnNcdp6aGrO26Rsv1ZY2bnv/fY6a j2Ig== 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=v9ovWZgFAlWGGQ1sxyZ9+Em1R2VKteToFFiptWzU7k4=; b=J4bBQ+FPvIdx02xrr6F97FXJD5C42PuFSgshW8R5PSCXZSEz66ol/3fL0Ehyg1hcvb FAffkbKT5ckJpJcQdrSt25QERIs7sAkBtvrzCGTik0bW9sTnijTy4461wKMW2vxldv11 XZXbLUzxQOZbETNT6vj4qhUcoHdgqunIX+gZuq8IAHTWv3PIOHsckhj58k/8w15QD7/Z kmlDtBbDK94r+mtutJ6PRi3JcSrHpZ7UzhQ2bBxLTzXH9ewUdgVyqMbJZLF3v/lVvmdi dlzCaAnIZ+dbxFb5STbXz/wHnGhb/R/RyGgtc9NZt4qqcAnuLa3CbSee06W8FloFXDoF eM6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gcDGTvBu; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 dg2si1771266edb.136.2021.03.11.10.12.08; Thu, 11 Mar 2021 10:12:08 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-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=gcDGTvBu; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S231138AbhCKSLJ (ORCPT + 6 others); Thu, 11 Mar 2021 13:11:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231152AbhCKSKn (ORCPT ); Thu, 11 Mar 2021 13:10:43 -0500 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C537C061574 for ; Thu, 11 Mar 2021 10:10:42 -0800 (PST) Received: by mail-ej1-x633.google.com with SMTP id dx17so48197299ejb.2 for ; Thu, 11 Mar 2021 10:10:42 -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=v9ovWZgFAlWGGQ1sxyZ9+Em1R2VKteToFFiptWzU7k4=; b=gcDGTvBujfFZRgC/WdDFBpjH9uaBhx31fYT2zDELYY74u7Iarug+JmeDQDr9StlIZv /Vwqy5WWpWD9Mz2z8S1uw78VCaBOk4J9BiJtSwwCRt/DBg8mLdtRa5MNNYNflYwUCY53 iCPaTrdFnNti+4yV5obwLmOpVMQyjDtzVV3jS0DoTVcJceV7X2hfno5jKccoUGLVgA4Z My8iJ9UZXUFaa5QNKvDsWfpg3JdZXPOraGFQ004U0AvzOXZxXgntIjbjLpJPrgcOGGcT RjhCjmINOEqzOsvDWWU/SgxOWgGvdQOkaPoqwGtqLDvCgFEQ3Fpc9VspyZ5CL+ymnyDe bp3g== 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=v9ovWZgFAlWGGQ1sxyZ9+Em1R2VKteToFFiptWzU7k4=; b=VBtUSEdMWrMQhVM1qo1mPFHqJfpR5tRE9wDzIogw9PbxhGKxFebao1rOFtgswiWtna XovNsRT9Ehm8d1m+Q2LlhWmLuEwd5urnhckzb5rHs1IpEFowtOhcp1VxCmGuYk3x48xh 0hTfSRpxh1sVqDfyH68sGejqWkrmbdBV/ZDn2ComYek2objbjUPIMgcwiViwt0QrlEMP eqNCmamh8JgVeJ+AhiBqsMvT7iGwZs2HmvnZXlX7r90+fW2SZ+qJaY0vEIoULUK9iTzS b5cZ8wGcq1Bb6Or+fmeEfpQv41Ufx3Kd/BBrdOZ/o7ZdwE3jsm1JSYpO5JgupVVNx96s 8hFg== X-Gm-Message-State: AOAM532Zp12FGyeNybIOFxWKLBafPyIQQAei79D5zseSBeiCSmuU1A3G lgBQz8Wi2HWcE1oKlmOmIPLvCg== X-Received: by 2002:a17:907:2054:: with SMTP id pg20mr4285492ejb.213.1615486241362; Thu, 11 Mar 2021 10:10:41 -0800 (PST) Received: from localhost.localdomain ([2a02:2454:3e3:5f00:8e01:34c:da50:eb7e]) by smtp.gmail.com with ESMTPSA id a22sm1741290ejr.89.2021.03.11.10.10.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Mar 2021 10:10:40 -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, angelogioacchino.delregno@somainline.org, linux-arm-msm@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, AngeloGioacchino Del Regno , Sakari Ailus , Andrey Konovalov , Hans Verkuil Cc: Rob Herring , Tomasz Figa , Azam Sadiq Pasha Kapatrala Syed , Sarvesh Sridutt , Laurent Pinchart , Jonathan Marek Subject: [PATCH v7 22/22] arm64: dts: sdm845-db845c: Enable ov8856 sensor and connect to ISP Date: Thu, 11 Mar 2021 19:09:48 +0100 Message-Id: <20210311180948.268343-23-robert.foss@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210311180948.268343-1-robert.foss@linaro.org> References: <20210311180948.268343-1-robert.foss@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Enable camss & ov8856 DT nodes. Signed-off-by: Robert Foss Reviewed-by: Andrey Konovalov --- Changes since v5 - Andrey: Add r-b - Change CSI clock & data pins 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 7e3c9fe4955d..e5a693c8dc42 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts @@ -1110,6 +1110,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 = <7>; + data-lanes = <0 1 2 3>; + remote-endpoint = <&ov8856_ep>; + }; + }; + }; }; &cci_i2c0 { @@ -1141,7 +1156,7 @@ camera@10 { avdd-supply = <&cam0_avdd_2v8>; dvdd-supply = <&cam0_dvdd_1v2>; - status = "disable"; + status = "ok"; port { ov8856_ep: endpoint { @@ -1149,7 +1164,7 @@ ov8856_ep: endpoint { link-frequencies = /bits/ 64 <360000000 180000000>; data-lanes = <1 2 3 4>; -// remote-endpoint = <&csiphy0_ep>; + remote-endpoint = <&csiphy0_ep>; }; }; };