From patchwork Fri Feb 5 10:44:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Foss X-Patchwork-Id: 376910 Delivered-To: patch@linaro.org Received: by 2002:a02:b18a:0:0:0:0:0 with SMTP id t10csp2124627jah; Fri, 5 Feb 2021 02:59:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJzdSjaN1VTL9PDGHkW1l1F1qnVmH94VKQ5MctJF4j/enmuPAFHdfMZLPGxccpVWxRmUNfZp X-Received: by 2002:a05:6402:138e:: with SMTP id b14mr3028507edv.10.1612522750288; Fri, 05 Feb 2021 02:59:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612522750; cv=none; d=google.com; s=arc-20160816; b=pltJCEKAY8Gz7gNmCR+gG2PcFo1jPoGQ5HLIpsrb7Znmg5BxYBBdUWy+ryX/+1j1uY gmOpgVfMSd6pM7tQfpGHVFsRRqNolgsDn5FECHCFKWZaUFjoQhadwtGgJJoxFgUD7ke8 3+gf54gVllsh+l7uObLL5W810Te6Mto7SXA+YKRfmTd7zP9LT2sVi1PZV15HDo25PJl5 z1kyiS/+1qHZRIy4fppXHgGtm9CeVGVs4owk7xOivnJuyVqbjCY53oJA3cD/axbmks0R EvL0N+YuUJ3KiRsjK8+LPi7t9lAw+S7YjAEf26+paHzjHuUL32xA2nZBiAOHsPYYKr5D YtxQ== 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=Z48QALQZNnloLscFRGlS4lHrVnbuqdryveAuWkbFikUf8XHXWl7tc7rXDS7W8lQOLJ Hz6r+XkmeoXNSdyg94lGiLSoSk7+Ho9zSuolM3ZgkQhfwdnkv0STVfd+x+y8i5V/qfPf Dh6rieg2jcrEdhcaoIsaPXrbSSvpKIFlPXXlNhCN8f+Nj+GVaub4pTxfegcw/bf6sjAI DlA38PeIcQKhefVXWDzTOiu0JIZMSjtWJJXdZNWOCxL+Q9sLAEqJnd/gMf1lUF1m4ZVd PK78Ej60BCFsQOlKNSsCx1hjRGVyohh3d1LGlnIPisn20/akel+XN39H89/lW8dC2+4N u8Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PqKERPjb; 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 y18si4960129edm.449.2021.02.05.02.59.10; Fri, 05 Feb 2021 02:59:10 -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=PqKERPjb; 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 S231666AbhBEK57 (ORCPT + 6 others); Fri, 5 Feb 2021 05:57:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231837AbhBEKzI (ORCPT ); Fri, 5 Feb 2021 05:55:08 -0500 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EACCC03542F for ; Fri, 5 Feb 2021 02:45:32 -0800 (PST) Received: by mail-wr1-x436.google.com with SMTP id d16so7081896wro.11 for ; Fri, 05 Feb 2021 02:45:32 -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=PqKERPjbhxZNjkGht1IFO5TdJeRVTxzAZGFYKkDKSrC8ellJI/LegoneY4UXNMyD9Y WhBN0TjwlegpGe5zpEn/KfmKlyZkFZA6/85Wj2xnBxatPNiMKGYPY9UWzNP6lTyuhUyq p6Da6T/uUewppG/gL/2KkLAcHB5YVJTAELWrJeka6x7W3YEMEdY1ueR6Spf9s8X/h6H5 Jz+gvbU3XiFNDMNCOOMWdTqfs+fFiBFctEyKQYBsgIts/ztYkH7RQWYrmtewt2WBy9G5 jXpUQA/jsu+2SYt4xZ/wzCEM1HqAvXpfVz1XWzT/s790M6BF+0ZfsMNZ7uQdTWj8K8cJ HYNQ== 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=OQLY8WmtAjMgvVzsP2RLMHLo6m0QtQP14v3j0WwMs/leyCOnHb6KeunGqEvjbCvl23 B9VOv0f7fQRN/3haEM/WNU4zneZe9/wykg7xKNOWVKM9B5aLkC7QR31F8pVnJxsHVH1s 3c151PukD0k6oBVF/r9TRa3MNYhEdkCc9Zc1Omqjt3KKndEfEDB7CDASbxOe818cfomj Sdmm+4wrhLir/3UKndL16F6Lr38vBzMM9B4J5QMvI13IcyZ7dAQKtwTzzx6z1cYp/IJC bRxUItdF9Imxy1AqvudE14O9f98D2MZHR9Q7SQs3W8EgtQ2XQYsHTJMRS1e/daLdxeX5 QE4Q== X-Gm-Message-State: AOAM531x2FVsTqmisw0Z05HihpqyXI+UywZUFC3YTc1FMhfdLudHfIh7 UDxzd/hGqOYhaWGgL0XS8LUD7w== X-Received: by 2002:a05:6000:188c:: with SMTP id a12mr4434247wri.105.1612521930887; Fri, 05 Feb 2021 02:45:30 -0800 (PST) Received: from localhost.localdomain ([2a02:2450:102f:d6a:38fd:e0db:ea01:afc8]) by smtp.gmail.com with ESMTPSA id u4sm11300233wrr.37.2021.02.05.02.45.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Feb 2021 02:45:30 -0800 (PST) From: Robert Foss To: robert.foss@linaro.org, todor.too@gmail.com, agross@kernel.org, bjorn.andersson@linaro.org, mchehab@kernel.org, robh+dt@kernel.org, angelogioacchino.delregno@somainline.org, linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, AngeloGioacchino Del Regno , Rob Herring , Sakari Ailus , Nicolas Boichat , Andrey Konovalov Cc: Tomasz Figa , Azam Sadiq Pasha Kapatrala Syed , Sarvesh Sridutt , Laurent Pinchart , Jonathan Marek Subject: [PATCH v4 22/22] arm64: dts: sdm845-db845c: Enable ov8856 sensor and connect to ISP Date: Fri, 5 Feb 2021 11:44:14 +0100 Message-Id: <20210205104414.299732-23-robert.foss@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210205104414.299732-1-robert.foss@linaro.org> References: <20210205104414.299732-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 --- 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>; }; }; };