From patchwork Thu Mar 4 12:03:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Foss X-Patchwork-Id: 392756 Delivered-To: patch@linaro.org Received: by 2002:a17:906:a383:0:0:0:0 with SMTP id k3csp6376302ejz; Thu, 4 Mar 2021 14:28:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJxnj89stZ6k88SCYNUvuL9OSDDfpPwXlsphlyOwRR7+JIjEVGmIWaKaC/BpPIAmPasblnLT X-Received: by 2002:a17:906:1386:: with SMTP id f6mr6456861ejc.45.1614896844186; Thu, 04 Mar 2021 14:27:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614896844; cv=none; d=google.com; s=arc-20160816; b=MNkaam+c7PDFIY0hzMmW4qMOcb7T6eSg69F4+Pa7JS/MceVwkolIvhq2zMl+T9zXRc FNts3AGFjKxJXj/h/pVkt0PeVK1KbW7/hf6H8dAZyQJPhp5AS3LkiF9zXtFDsxlXq9E4 6dGNgBmAvuiJQBqLvR5SrysVI+ea67f1nzgRlaKg6iAB9wB8ML/RLYz1pb5XD/gyxRyY 5N0k5UciJh7Vbe/iVvxoJGMA4+jkysPYRC+0b1L0FjIb6CBJfer68wuSWAmsnecFDcUf t474PCov7yO/lYAkvZ5Hryq20DuRaBpdCu1gKcosMJYJDnBn+4A2R4GGZDESXvcOAGGz gc+Q== 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=L6kqHVgRXcGTejXZV+UwM9uyGX3tx7DzRfC3/Q/v2WM=; b=X3cx3KiziZJxqYk2OXEjy250cW4sTT9r+I2tmO8OMGO+PwCI1NBfuKT3lUS/VI2vkS 1Y/qTklVqVGJ6mrGVm059av1p+4NJDD3DMiM0kPw7DHLrIGoOpWfEwgOuobFGjP0tE/g rlte31n+Jh/+7rV251kGh7aU2pguSdFyPvtLglZw3X81rcAmhy0PRtNRmTMq+fkjKr/c bG+8JHhBYzYXEdTF3S+b5Z6TIGE6uRl0frHnyQ6Thr/a3KxrBxCSLpQuSY5fcyOtU2jL Q9eMQWCnySzZhoTmiXOOo3lDZ9o2ImXCmt2M9S2oEP0T+392x9ex9EUiiigFUu9BYtlM Y2yQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A8YAAwJb; 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 k6si527757edj.545.2021.03.04.14.27.24; Thu, 04 Mar 2021 14:27:24 -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=A8YAAwJb; 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 S240229AbhCDMHY (ORCPT + 3 others); Thu, 4 Mar 2021 07:07:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240114AbhCDMHH (ORCPT ); Thu, 4 Mar 2021 07:07:07 -0500 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DAB6C0611BF for ; Thu, 4 Mar 2021 04:06:09 -0800 (PST) Received: by mail-ej1-x634.google.com with SMTP id hs11so48914596ejc.1 for ; Thu, 04 Mar 2021 04:06:09 -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=L6kqHVgRXcGTejXZV+UwM9uyGX3tx7DzRfC3/Q/v2WM=; b=A8YAAwJbPf/mDfZEPle56kQyjHalh7PJYSM0ijYG4qQwZk5lPRSAhvvIx8CWCahSIr gjPmVtDOkfy7eOaiDJfdJLdI2yhdyKVVTKAbNZLT9Mg4EyD9G6S2fXRT9zxqfwp9jpYT 2IXKAiwfWaucGDGv1F4q5l++eipR134GvwLn1s2Rfh0TYSFsqI0pUTDd3LSBozATZHwS XfH7ThGKIG5bAQ20eFxqutHCbtBOXiCaNYezOBt/y++QHLXO440cGmL5AAajQ2xN5c+S dN3UiLcXw1P4sMUEqyp7Ml1leVxPUx/YFhLYp0c8xT2cJ1gUAt6xdOlzfRLXltLeMxJg NZJQ== 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=L6kqHVgRXcGTejXZV+UwM9uyGX3tx7DzRfC3/Q/v2WM=; b=YTNPefAzZmwQU4xAMGPL/6bDaABjUPltGsgCsdejPATC3D9ZWN22v6xmQdbuqr5u14 aN+3d0Ek8+m4XPaloRTNxK6HxcLtPcRkVrEdFSjtiMymUxP5eRKdrsPK9gJNUUjCdDtg syAXFCwaVsDFCyg0W294dsWVnEjsF4U3vDsGRj6uokyvSCoCxTBA2N4vjgKg0ItwoGWv d7bF2qh1DrcA6ynnYWtsYYeacC4imRPk7O9Wp+xR5/g2v4zJxoZ6hb4/rLqzZ9UtZVHe 4W2qaahurQ38yoQjZ4YGg6p5xcPxeUeuFCFqibW1voFbBFF8dmKqz6Ffk6+AfWjnsg0W M5XA== X-Gm-Message-State: AOAM530elONfPsN8NgNL23iE4PrN6Q5PoL+m4Qt30AaoxaoNr8ccN6UM t9VnEyCQBfG5RJJ/mPrwa4hSLw== X-Received: by 2002:a17:906:f9db:: with SMTP id lj27mr3881177ejb.399.1614859568051; Thu, 04 Mar 2021 04:06:08 -0800 (PST) Received: from localhost.localdomain ([2a02:2450:102f:d6a:470a:340b:1b:29dd]) by smtp.gmail.com with ESMTPSA id cf6sm20464447edb.92.2021.03.04.04.06.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Mar 2021 04:06:07 -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 Cc: Rob Herring , Tomasz Figa , Azam Sadiq Pasha Kapatrala Syed , Sarvesh Sridutt , Laurent Pinchart , Jonathan Marek Subject: [PATCH v6 22/22] arm64: dts: sdm845-db845c: Enable ov8856 sensor and connect to ISP Date: Thu, 4 Mar 2021 13:03:28 +0100 Message-Id: <20210304120326.153966-23-robert.foss@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210304120326.153966-1-robert.foss@linaro.org> References: <20210304120326.153966-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 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 5842ab65789c..ca00be42fe67 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 = <7>; + data-lanes = <0 1 2 3>; + 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>; }; }; };