From patchwork Wed Feb 17 11:21:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Foss X-Patchwork-Id: 383816 Delivered-To: patch@linaro.org Received: by 2002:a02:c80e:0:0:0:0:0 with SMTP id p14csp2719742jao; Wed, 17 Feb 2021 03:30:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJy9HaoNxybmYgA/o8Lz20/yjLM4DKgd3BixWm95bId19hixR/WVIE4fMd3apv3K/SMpdRmu X-Received: by 2002:a17:906:15cc:: with SMTP id l12mr19372006ejd.280.1613561456356; Wed, 17 Feb 2021 03:30:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613561456; cv=none; d=google.com; s=arc-20160816; b=qqnUmpygkXotm81FlEBE6U7CIS4UywdokNEFk4JW+y1974I4/GLbAJEnG1KNWtr7Pi JAd+/2ADBAF1LexfGC6uMIWCJxcdheqr0PJfczV8JSQw3XkXdkJ744RENNvy/iqBX3xi P3rRGyX6LuUjpNwlTFmt0XunwRHsHOO7qQuiJkuccQPWNegJ8gFqAvNa3iO8l/Zt6eMv zdMXS7T/VbYwwqVJB9MRlzAsr6nlC09cz0InhSVi05f0VcWKv5NIHVZc/sj1iN2MQo5f VecLMHLHZXdVUtoIhP2VhI95izY9gUJ3P9U6yMR066PJAT6Di7XjGn3FxvlkIPB96cUb 8V6w== 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=sjijWu2CS7yMTPf9NU8eeAhJBb7+bRB7LViznamY/28=; b=SyM3PIraZqJjthG1N+zpybwJ10xmoROJVnE9HcJMi84HRR3RrmXgMjgcD5x4GjlYse TtvpZ8ysKBx3oFHWYLX/S9cFgjuGzBfxL9RX3o6smEL4Jm0qfJ8/kMK6+ohcZNH3hb4k ZYxvsLOk3X0fXRqMJCmQ6kvHrGFgqCvs2fWvIypH/PDP5UTCB5lZTdRBvW1i6FQ7sx7B NFbHo7Z1DXcSB+OGXa3vDDVeM9YbYN75Bas085lOXXQ+b/CY/PlV3hiV8UdWlMLJcMYV orho4aERhKfRtDtpW8z4wJGmXu74gxYTTdkQuoQhx0vg4TJznctsIniP1oODBJ4EM79p rHkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VKry+78B; 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 l11si1115725edb.238.2021.02.17.03.30.56; Wed, 17 Feb 2021 03:30:56 -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=VKry+78B; 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 S231694AbhBQL3z (ORCPT + 6 others); Wed, 17 Feb 2021 06:29:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232056AbhBQL2w (ORCPT ); Wed, 17 Feb 2021 06:28:52 -0500 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 871C4C035438 for ; Wed, 17 Feb 2021 03:22:35 -0800 (PST) Received: by mail-ej1-x62e.google.com with SMTP id f14so21441357ejc.8 for ; Wed, 17 Feb 2021 03:22:35 -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=sjijWu2CS7yMTPf9NU8eeAhJBb7+bRB7LViznamY/28=; b=VKry+78BKA4xuVWTSa0tDNkkQENThiMS14KSD9XhbYDeHNhTFvbyLpoP9QMKaFLI3w uEr8cRtndFXwd3jd6GHBNPL2r4C8wj52Wcq+Mf4Gv5SmDsCVy7FI1MdBBRZbu9g1HKhL 1f5ukkEf4uDyWk68KPyIVZ6Pw5aXNjLHpxUiscR8kFF1Gf8EMPzbVZBZmPNtHjRCSGwz ZVs76FePyV4/HvGkXchv7aOr0rZFkUtZny+7EdGofz6vUAghKgri88FuOrrfmkw/2XAG x0jeRFkH3vsGzcs4lQT87G560llSjzujzoxa4EqZDYcBUGpvcdYyZvWtu49E7Nc7iQQp YqKw== 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=sjijWu2CS7yMTPf9NU8eeAhJBb7+bRB7LViznamY/28=; b=ReF4TY2tSVzhLdu102MbfyROiot+FVHRHgclnIUTdekiWgRLSvsVQfYVdvA0PeECxX MDZlHtJWY99n5S7BS24dbbLe7I1XP/Ylun82s5IjpnpauxLgkCryg+dpWzfF9Qpuz5OK IIEmcJRUrAtwR6SBJI0CQFILzv4tdMuXT4gQukOQEbj/z5TG2ydbaDdcxKcmCBzakgKv /Qs6F+jzbtNXalOwmu5OlK0eQ9L4KPWE32NyqQoxiuwLTE9FwzHXtOckao70fgon2KU9 IAJuEeAkSsTL8yx6fYhz6JV4kACSl6MteMlxq3TL0qTIKYx7BbeveCrPs9iNaKmt2gzo 5I/A== X-Gm-Message-State: AOAM530mtHld9cG/hZYgcMAlbko/pL11yuM4S9szzJ2basQN3AiJ5Sgo VZv7ER3ZdM6DGKqhuVpJapa8/Q== X-Received: by 2002:a17:907:724a:: with SMTP id ds10mr24319729ejc.28.1613560954268; Wed, 17 Feb 2021 03:22:34 -0800 (PST) Received: from localhost.localdomain ([2a02:2450:102f:d6a:4815:d4dc:ff5a:704a]) by smtp.gmail.com with ESMTPSA id h10sm934344edk.45.2021.02.17.03.22.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Feb 2021 03:22:33 -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 , Nicolas Boichat , Andrey Konovalov Cc: Rob Herring , Tomasz Figa , Azam Sadiq Pasha Kapatrala Syed , Sarvesh Sridutt , Laurent Pinchart , Jonathan Marek Subject: [PATCH v5 22/22] arm64: dts: sdm845-db845c: Enable ov8856 sensor and connect to ISP Date: Wed, 17 Feb 2021 12:21:22 +0100 Message-Id: <20210217112122.424236-23-robert.foss@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210217112122.424236-1-robert.foss@linaro.org> References: <20210217112122.424236-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 --- Changes since v1 - Laurent: Fix subject - Laurent: Remove redundant regulator labels - Laurent: Remove empty line Changes since v3 - Fixed ordering of IRQs - Add newlines for better readability 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>; }; }; };