From patchwork Fri Jan 8 12:04:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Foss X-Patchwork-Id: 358950 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp483475jai; Fri, 8 Jan 2021 04:08:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJwCJwtovYY5hTw1yuTl6qkCi/0WUQxbsWmTseyYIjivfhH92/AOY5aWrzLoJxgV4PWdr8XP X-Received: by 2002:a17:906:168f:: with SMTP id s15mr2465219ejd.180.1610107730060; Fri, 08 Jan 2021 04:08:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610107730; cv=none; d=google.com; s=arc-20160816; b=AbrtxXEs/c5uZWjNrXrj2YJmIlE6HEA4FjRPz3Au68OljF6FgaWB4qU3xvErNRbkOI WnL9pHTtisTbUfs0GhoumfNelwdTEQbSF1+5KmZRBgM/ewinMvP3dR0sX73X38ZO5Ds5 TT1m+nulMEokx26mzcAs0BctooEWNMFI6jZLT1KCH4N2j3rgqCqqMhvFsvNyNFVfkoSk v08XjqOwSxrRuMMcl9k3uIegx2jJGhXv8P8U6RWVU8mH7bIr3ipCiXgV6byQbVazmp/i 0cdfUOAHMmekz1NQKvDQ/moUb2beMzKL8r7vDw6h5aT3DDPLiPByIm8s13hpIP34RtVb IgVg== 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=3Va61gtlE6uxlap+HqL4vMBtDSl5k8JpvKXjXKVjwAk=; b=QVRUjxQTzXr9skeCjRV5nY1EbReoZeBtWdk68Lwa3w7RrcbVmT+sP1ADnJwkwMK+nF 6P+snNvw2VTigMw0iheThCM71g7novwxr91jnq4EU+Gv9BmrmHoSUaErKUQ7nUGrL+MU hsI+Qny5qO+kpYpcynEgc15JWFK3Jj11vRpGEqv6SA4E46+ucJcIHc3nxCfBulr0q3Hh xVo6tZCZwASDx8NJLViIXHTmm3+UcmQMrSLd6fpDaszkubxlbSU7VG6Gzg5ISnSl7o9y MbJH2di6YVYVk03ljiTLfFtLKjiuWhEpp5mBgZCmHONEDhwn4SLQ9uhR9yAneYLDPUd4 la0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=byPa3xtd; 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 c14si2023185edr.53.2021.01.08.04.08.49; Fri, 08 Jan 2021 04:08: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=byPa3xtd; 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 S1727971AbhAHMHV (ORCPT + 3 others); Fri, 8 Jan 2021 07:07:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727965AbhAHMHT (ORCPT ); Fri, 8 Jan 2021 07:07:19 -0500 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E664C0611CC for ; Fri, 8 Jan 2021 04:05:30 -0800 (PST) Received: by mail-ed1-x52f.google.com with SMTP id b2so10982149edm.3 for ; Fri, 08 Jan 2021 04:05:29 -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=3Va61gtlE6uxlap+HqL4vMBtDSl5k8JpvKXjXKVjwAk=; b=byPa3xtdvQ0i/tmlCxZ7vv2VnjzkRMO1OrnooifKgMBgo7QH3NG6ATLM9Pqa74puBo jBuqWezz9NjPjDw5gXB9H5SsQy5QjHKMfjAPRljHoTQF2Dd+M8IQeiIWySe35UiVbfc9 ZA+DgRFb4e/0zFzH+YsUpKCX9UxO+Bn+/S5JZ99hWwgQuu71h5Um8XFae8dc/Kd4qoSP SobPCh1eBngUMXvUoVP/JJg78m3i8Ffot9pTnPMr623iOmZhRUT/Hpd8sVYeU9fLGlkn l2OU/XZmGErwvVx/dOlxXwNjdgIdPg7dr54HlH1iVq/H/hbjBlGPXdRc40ikrbsFfobn lF0g== 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=3Va61gtlE6uxlap+HqL4vMBtDSl5k8JpvKXjXKVjwAk=; b=RSi9R0moLaUzIzICCpa/0Zx5UY2ibvIZm0AEdNZIo2FXj8NRpM30QSeYif4/Ctgj0f t5XxjbCa3T+vrYG/OdSs0WpxazIzTPII0QUHobPBbUNyaYYNjhUCTLLk0N4lCSaff1A+ 0RfXwnkTQBEsbpsp6mj/SlsQBEjEF9dEaZQtMsTbHRMngmOwuiiBsUWg+Cgv8kaG8VwV R8JySw1lP1Ii5llf51IlmQKgOf8gznmIPa1kCvEMg3rs8YZ9qvCAV0iCzCWl1TkrLW3b qyD1GLAKWmYMD15E6XxH30YZJ2qQjcKiaB2l0sgJKFVAnaDrEnpgsfZ3H/5J1PSDbP/v UMsw== X-Gm-Message-State: AOAM530Dti4hi9THt5oODF4gHmqOz4uj1/+QFxAa9TBBa3YCrwfg6owS qLMCuprqZmO3ZPY+v4ZsWKrL3Q== X-Received: by 2002:aa7:c3cf:: with SMTP id l15mr5192444edr.282.1610107528821; Fri, 08 Jan 2021 04:05:28 -0800 (PST) Received: from localhost.localdomain ([2a02:2450:102f:d6a:bb2e:8b50:322a:1b9a]) by smtp.gmail.com with ESMTPSA id i18sm3674498edt.68.2021.01.08.04.05.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 04:05:28 -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, 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 , Andrey Konovalov Cc: Tomasz Figa , Azam Sadiq Pasha Kapatrala Syed , Sarvesh Sridutt , Laurent Pinchart Subject: [PATCH v1 17/17] arm64: dts: sdm845-db845c: Enable ov8856 sensor and connect to ISP Date: Fri, 8 Jan 2021 13:04:29 +0100 Message-Id: <20210108120429.895046-18-robert.foss@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210108120429.895046-1-robert.foss@linaro.org> References: <20210108120429.895046-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 | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 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 7bad0515345e..94a15d4bd05d 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts @@ -1114,8 +1114,20 @@ &camss { vdda-csi1-supply = <&vdda_mipi_csi1_0p9>; vdda-csi2-supply = <&vdda_mipi_csi2_0p9>; - status = "disabled"; + 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 { @@ -1147,7 +1159,7 @@ camera@10 { avdd-supply = <&cam0_avdd_2v8>; dvdd-supply = <&cam0_dvdd_1v2>; - status = "disable"; + status = "ok"; port { ov8856_ep: endpoint { @@ -1155,7 +1167,7 @@ ov8856_ep: endpoint { link-frequencies = /bits/ 64 <360000000 180000000>; data-lanes = <1 2 3 4>; -// remote-endpoint = <&csiphy0_ep>; + remote-endpoint = <&csiphy0_ep>; }; }; };