From patchwork Wed Aug 9 20:23:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 13348464 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1C7EFC001B0 for ; Wed, 9 Aug 2023 20:23:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234314AbjHIUX6 (ORCPT ); Wed, 9 Aug 2023 16:23:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234277AbjHIUXy (ORCPT ); Wed, 9 Aug 2023 16:23:54 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB0552103 for ; Wed, 9 Aug 2023 13:23:53 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-3fe5695b180so1257865e9.2 for ; Wed, 09 Aug 2023 13:23:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691612632; x=1692217432; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=pSXhSoc1ZLC8x6CFKDd3P+Z0n3Gu++grubMuvWnLLxU=; b=pfQbrTBrR3ipQ0fGwVH5lV/YMQ1H0Yp0bHSGtOY1QEjzXgwf1PPS9Fc/H3nJGPvt2b EJiGuYc04lUsCL3uHlgJHJ+ybvrIRG2o75BdX0kaa7H2uehbnmoKQiMaTD/UmUH9eENO omSJenUMJVzH9xP/fA7vX2jTqL4dBlXfbhecDAyl+yo8lmep4bDPItzw1fzLdNTH8f35 aFAy7II12ENW7K32DSNZiTCb1E+yjaRi9mO28iQ5UjaaROVO0Pti4lyNtXz9wZmWJ8jJ JGmaMkmHgm5PKDHEn7F2xMaohIFE2x95D8R2RO1zqGI+F1yRIt5xVYCAYLimYhDQ39Fc o0Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691612632; x=1692217432; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pSXhSoc1ZLC8x6CFKDd3P+Z0n3Gu++grubMuvWnLLxU=; b=Nu836vTbUF32rZgSs33Egosp2aWkKGQGJRjWT/PfEoNQ1HoyzP8WPpLi3jUyMyi9Vz RGdFEtdD+Wij7dllpueuJ6FlKidZcuNi4m6C/MVsu2kZgMck4OYrYo1OlamFmFPxyEQA 04qo71UctQDdT23srNJUilLnfU0saw+zmtmtxYoSgiW5weXJ24CXjuTfDV8VEORCl83t ClYiJXp5g+FZPgnJFIq3MofKv67p0BnN7RtjQ3obm+Ac9f3uK3zSoFbuUY3ZYRdxK3p0 gZjK6ejvK8Vb9GfoBmm5FaZ/PmnTDj95u+HkZM4Mc+/Plo3lqPmjLogXUBp/ycuAaASd 0rHQ== X-Gm-Message-State: AOJu0Yzm34ggV7OEz4RPmmdObIeMy+yvGJ5VjGZHO08g13IzyRjihRhu uLYdgWdXNnDOJKiZ8XiCzVyFIQ== X-Google-Smtp-Source: AGHT+IGxbRVt3sKIPcZKf2Q8y+Lh2wSLg1qeiplEhdF/nViab8e9chFp2eQMP2PGqDbWU5I7xwyghg== X-Received: by 2002:a1c:cc0d:0:b0:3fe:2813:612c with SMTP id h13-20020a1ccc0d000000b003fe2813612cmr154358wmb.28.1691612632256; Wed, 09 Aug 2023 13:23:52 -0700 (PDT) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id 14-20020a05600c22ce00b003fba2734f1esm2927509wmg.1.2023.08.09.13.23.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Aug 2023 13:23:51 -0700 (PDT) From: Bryan O'Donoghue To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, loic.poulain@linaro.org, rfoss@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bryan.odonoghue@linaro.org Subject: [PATCH v2 1/6] arm64: dts: qcom: apq8016-sbc: Fix ov5640 regulator supply names Date: Wed, 9 Aug 2023 21:23:38 +0100 Message-Id: <20230809202343.1098425-2-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230809202343.1098425-1-bryan.odonoghue@linaro.org> References: <20230809202343.1098425-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The ov5640 driver expects DOVDD, AVDD and DVDD as regulator supply names. The ov5640 has depended on these names since the driver was committed upstream in 2017. Similarly apq8016-sbc.dtsi has had completely different regulator names since its own initial commit in 2020. Perhaps the regulators were left on in previous 410c bootloaders. In any case today on 6.5 we won't switch on the ov5640 without correctly naming the regulators. Fixes: 39e0ce6cd1bf ("arm64: dts: qcom: apq8016-sbc: Add CCI/Sensor nodes") Signed-off-by: Bryan O'Donoghue Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/apq8016-sbc.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts index f6eeb25988465..75b4e5ff7c95c 100644 --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts @@ -282,9 +282,9 @@ camera_rear@3b { clock-names = "xclk"; clock-frequency = <23880000>; - vdddo-supply = <&camera_vdddo_1v8>; - vdda-supply = <&camera_vdda_2v8>; - vddd-supply = <&camera_vddd_1v5>; + DOVDD-supply = <&camera_vdddo_1v8>; + AVDD-supply = <&camera_vdda_2v8>; + DVDD-supply = <&camera_vddd_1v5>; /* No camera mezzanine by default */ status = "disabled"; From patchwork Wed Aug 9 20:23:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 13348465 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B9FAC001E0 for ; Wed, 9 Aug 2023 20:23:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234277AbjHIUX6 (ORCPT ); Wed, 9 Aug 2023 16:23:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234296AbjHIUX4 (ORCPT ); Wed, 9 Aug 2023 16:23:56 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 961272108 for ; Wed, 9 Aug 2023 13:23:55 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-3fe4cdb724cso1486105e9.1 for ; Wed, 09 Aug 2023 13:23:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691612634; x=1692217434; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=qFvAA/v39L86qjDqi6cHkK3yiYvvs9Qa9ISV4luSpBA=; b=D5lKChg76AagnVgsfaYJZE7O/gH+nJVjPaq+sObb1dLYZhN/zLeOTBN8VhYrzaVicP FwqfPgn16teTnj+No4Xm2RklaBKqzZ3kFDvZSjkDKL/FTNjv/D/z/APWG/BZ7heO4y/6 FpfLsW7A4u8YX4wC6kDI1okckHJvAsFkvzQB6sbzI89qErFH/u2y6SubcAAYxLBIBVnw j3EWqEAac8sBL7qapy8j8N3hB+QhWGsGC47ejClZfm7wNXZffilGSW5nGyjILJjxFEHb kZwf0BDsuljRGUF87oDa37nzu0X19HlgOcwra4WJ1lNfkkDmyAyjzAMJ3CWWH1Sf2AT+ +mLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691612634; x=1692217434; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qFvAA/v39L86qjDqi6cHkK3yiYvvs9Qa9ISV4luSpBA=; b=BccdW0GbnScka5k9NgVzwLEW+FUJL+yG2bnQsW247gijOINKBEmKaiUTxVAZC5QdD7 D79lmlzpqVN02sf7CUjMcE4V2gCj36431qGEbyTzZa/elgGEzPddmrzDM8nu1rOZ2g6v KLSsAtUL22faGzAeHrBIFxNGshjyGckkfk3juiOYg8LpuL8yvkXlP9BEJuKAY4lj3IRm DZg/DeTGMJvd7MLfa3EhhYmuBKE8WZ3V0diajhaCXJmjRDDWzAiaXuT0ShdKQd6AAB+E 2qdD0nlD2Yp4kYIQ49PfF6oT2qCRH+qVcs1alX/liDlxOMtP2Wf3lgS41KfXqlyab9Fx IpbQ== X-Gm-Message-State: AOJu0Yx2BLSkNTkunwb+ycGHkgbaYJy7kO/UtIzVNxri3rwFQj/1w+bG dhJAX9sdZS1BWgPjKZIpe3Segw== X-Google-Smtp-Source: AGHT+IG3+Ou0kmNriubgr3+Ks3+xBODrP58fenVUq6bQMVGoDh3kP+GiHat/iKu11KM1Fy/ohjgxmQ== X-Received: by 2002:a7b:c4c5:0:b0:3fd:2d33:6a9c with SMTP id g5-20020a7bc4c5000000b003fd2d336a9cmr167849wmk.27.1691612634046; Wed, 09 Aug 2023 13:23:54 -0700 (PDT) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id 14-20020a05600c22ce00b003fba2734f1esm2927509wmg.1.2023.08.09.13.23.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Aug 2023 13:23:53 -0700 (PDT) From: Bryan O'Donoghue To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, loic.poulain@linaro.org, rfoss@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bryan.odonoghue@linaro.org Subject: [PATCH v2 2/6] arm64: dts: qcom: apq8016-sbc: Fix ov5640 data-lanes declaration Date: Wed, 9 Aug 2023 21:23:39 +0100 Message-Id: <20230809202343.1098425-3-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230809202343.1098425-1-bryan.odonoghue@linaro.org> References: <20230809202343.1098425-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The yaml constraint for data-lanes is [1, 2] not [0, 2]. The driver itself doesn't do anything with the data-lanes declaration save count the number of specified data-lanes and calculate the link rate so, this change doesn't have any functional side-effects. Signed-off-by: Bryan O'Donoghue --- arch/arm64/boot/dts/qcom/apq8016-sbc.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts index 75b4e5ff7c95c..0481a4a82090a 100644 --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts @@ -291,7 +291,7 @@ camera_rear@3b { port { ov5640_ep: endpoint { - data-lanes = <0 2>; + data-lanes = <1 2>; remote-endpoint = <&csiphy0_ep>; }; }; From patchwork Wed Aug 9 20:23:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 13348466 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EB86EC04FDF for ; Wed, 9 Aug 2023 20:23:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234323AbjHIUX7 (ORCPT ); Wed, 9 Aug 2023 16:23:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234304AbjHIUX6 (ORCPT ); Wed, 9 Aug 2023 16:23:58 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 185C1211B for ; Wed, 9 Aug 2023 13:23:57 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-3fe12820bffso1309735e9.3 for ; Wed, 09 Aug 2023 13:23:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691612635; x=1692217435; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ji2TAs4h2AQJPAHYaEnDbkiwKSG4NYhBKLiywXvqyCg=; b=ZkFNndjgShMJ+95nsV+qJ73ey11QPtbqtiikehNw5J+nt9G7k7yb2hCNLVC6PlCrUh PzsRvgFLqEidStYW/gUG3oEGci4a8JdSDVyDkk4HYseK5RBX02ECFk7ZyPg1pz2UpJde mhW8bY1NXmZO7/KHGOuDoh93R+6zMUsnI4CglRmZY6dmpQMgvIsj9lnSKxFoPFgcctkF Wuf6VBSHKsscIUPFRO4eKjQqBW7niFYuvV3gi9yUA7a/F8QQ8LHznMYEKwAcjvK4vdCV sNYL5WWjnJEYU+zplGiVyxLZAYueFrwgbdkGQU+mTJnMhioOqoQ23p+RQV9/Dr+HWKaF +Y3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691612635; x=1692217435; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ji2TAs4h2AQJPAHYaEnDbkiwKSG4NYhBKLiywXvqyCg=; b=CFfozoeWiKgqNmO9q5gbNBKDpQ7F/urJ6AWdRsOZ2x3GP+FrQqtakLw5ldn9U8BgeN cht8jxZiuCgnvBWt16Vn3NijW0Ji5CZNUKsGmGWTPeBXoCqgzlrcvBaUVFx7cnsrEsBB SX5R/cT7JVblkphGTHvvBptrv6WwJMvffhgxid4yuba85jYQsHocnIahFmnbhKpzx0Q+ nDorZeFy3Ytfo/I3xZpzTgvM4NhJbc+9g8ndca+XMpCi/kRIza7e/AmBz+At4JylKjH4 u09gbeKv2d9T12e8mdmxSXEGlEuaSqoefkH5v3Z0o7yCjXzzkcbSnf4MRocNXsOSMqPL Z/sg== X-Gm-Message-State: AOJu0Yy1Fg2MZ2sqv1An6gQCqrrGKwYxxoGQe2fASN3k4oejf2lS8Dw/ Np9z7GXmBX26pZ91k3VHfz4IiQ== X-Google-Smtp-Source: AGHT+IGt/Up8EqnAmJ9S6TVrVH6ObWtvMWJkO6tE+jUlXWtHFD1vmuX4/n7OPK9cgAslCd5HJqD1EA== X-Received: by 2002:a05:600c:296:b0:3fb:ef86:e30 with SMTP id 22-20020a05600c029600b003fbef860e30mr149581wmk.10.1691612635573; Wed, 09 Aug 2023 13:23:55 -0700 (PDT) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id 14-20020a05600c22ce00b003fba2734f1esm2927509wmg.1.2023.08.09.13.23.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Aug 2023 13:23:54 -0700 (PDT) From: Bryan O'Donoghue To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, loic.poulain@linaro.org, rfoss@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bryan.odonoghue@linaro.org Subject: [PATCH v2 3/6] arm64: dts: qcom: apq8016-sbc: Set ov5640 assigned-clock Date: Wed, 9 Aug 2023 21:23:40 +0100 Message-Id: <20230809202343.1098425-4-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230809202343.1098425-1-bryan.odonoghue@linaro.org> References: <20230809202343.1098425-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The driver for the ov5640 doesn't do a set-rate, instead it expects the clock to already be set at an appropriate rate. Similarly the yaml for ov5640 doesn't understand clock-frequency. Convert from clock-rate to assigned-clock and assigned-clock-rate to remediate. Signed-off-by: Bryan O'Donoghue Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/apq8016-sbc.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts index 0481a4a82090a..ada0777567623 100644 --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts @@ -280,7 +280,8 @@ camera_rear@3b { clocks = <&gcc GCC_CAMSS_MCLK0_CLK>; clock-names = "xclk"; - clock-frequency = <23880000>; + assigned-clocks = <&gcc GCC_CAMSS_MCLK0_CLK>; + assigned-clock-rates = <23880000>; DOVDD-supply = <&camera_vdddo_1v8>; AVDD-supply = <&camera_vdda_2v8>; From patchwork Wed Aug 9 20:23:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 13348467 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 04214C04FE2 for ; Wed, 9 Aug 2023 20:24:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234301AbjHIUX7 (ORCPT ); Wed, 9 Aug 2023 16:23:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234303AbjHIUX7 (ORCPT ); Wed, 9 Aug 2023 16:23:59 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 486EB2106 for ; Wed, 9 Aug 2023 13:23:58 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-3fbea14700bso1388715e9.3 for ; Wed, 09 Aug 2023 13:23:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691612637; x=1692217437; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=alTLaZ1CN41ryDvncL8WItNtcTzj0/1UjMuVGR24KJE=; b=ZoRRmsRbZ3hXLSV1fjcp0AdQn47SAUCTKhXGsGmm5qOCIP5fkJqI3yg+N2yk6g+8f9 yI7nQAY9aqmx4n856t4u7DzbOOjY5odmbS1ViN1jV2WyuXDR3CJ2JS+eyN5bq6G7+s0a VTyUe78FWl2zo6/Qet2JvRmG5G/vfGq51G2XEbreyIbKd4vNkFYqAhi22BQUcic6+MSE opLElE9Top3VaBXCOmgvGC9tBQk17c3aBdCvaotcQU/lW3mCbxn+Jg95z+SyvM3O8xXu dTOaHtCdDZnmLUNwAYfXa6PSyFoUAsNBoy0V6ha93qzzzeThpzpDD29eBlDYcLJaP86F MwcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691612637; x=1692217437; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=alTLaZ1CN41ryDvncL8WItNtcTzj0/1UjMuVGR24KJE=; b=eob/GJFGynJkPGTGBj+gYM/EfXB9vLA4x769aOrI5FH5K2ezMeRZHMbk3j1TSq94ao QEJ4KKYKry+sLuPE0in9RxntN/v3yu2giwbgG6twD8Ow6s/fhopSVsE/qh9bUS86/bq+ SH3ZP3ScctsEVhF+gvFnvnrbaOsnFMuKLfsXtk2ilmlk7gYlz781G8bCbiuJzlpEGskB HUYO8ht93Tol/sUbCToB5/lepV8KMHEF0LiWcu2VtoVgcMmmIyq5NwAee2mx1JvyNCUb xpt98jFGRMyPDIzaNw3arsiuqlv1uvcN1tyGbAR7nLfL0drGrpPr15Lzr02oqOJs8CaW mfPg== X-Gm-Message-State: AOJu0YyU9CcvVeypaCbIPuKSUC28jcavyCMWBWtPdfwgUHZcHfkud50v 8TOoc8ZlyI2rRswJyMLSnlHb5g== X-Google-Smtp-Source: AGHT+IHm//BCl1yvVcEvzZoHFT1bTNygdz716MQjVUkRCKgRn+PIIRovpYqKUBiRLidzBNkNUQQtIA== X-Received: by 2002:a05:600c:3786:b0:3fe:6640:f536 with SMTP id o6-20020a05600c378600b003fe6640f536mr137139wmr.40.1691612636799; Wed, 09 Aug 2023 13:23:56 -0700 (PDT) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id 14-20020a05600c22ce00b003fba2734f1esm2927509wmg.1.2023.08.09.13.23.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Aug 2023 13:23:56 -0700 (PDT) From: Bryan O'Donoghue To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, loic.poulain@linaro.org, rfoss@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bryan.odonoghue@linaro.org Subject: [PATCH v2 4/6] arm64: dts: qcom: apq8016-sbc: Rename ov5640 enable-gpios to powerdown-gpios Date: Wed, 9 Aug 2023 21:23:41 +0100 Message-Id: <20230809202343.1098425-5-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230809202343.1098425-1-bryan.odonoghue@linaro.org> References: <20230809202343.1098425-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org There are two control lines controlled by GPIO going into ov5640 - Reset - Powerdown The driver and yaml expect "reset-gpios" and "powerdown-gpios" there has never been an "enable-gpios". Fixes: 39e0ce6cd1bf ("arm64: dts: qcom: apq8016-sbc: Add CCI/Sensor nodes") Signed-off-by: Bryan O'Donoghue Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/apq8016-sbc.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts index ada0777567623..ddb19709a9eee 100644 --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts @@ -273,7 +273,7 @@ camera_rear@3b { compatible = "ovti,ov5640"; reg = <0x3b>; - enable-gpios = <&tlmm 34 GPIO_ACTIVE_HIGH>; + powerdown-gpios = <&tlmm 34 GPIO_ACTIVE_HIGH>; reset-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>; pinctrl-names = "default"; pinctrl-0 = <&camera_rear_default>; From patchwork Wed Aug 9 20:23:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 13348468 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6B4E4C05051 for ; Wed, 9 Aug 2023 20:24:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234386AbjHIUYC (ORCPT ); Wed, 9 Aug 2023 16:24:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234343AbjHIUYA (ORCPT ); Wed, 9 Aug 2023 16:24:00 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89E622111 for ; Wed, 9 Aug 2023 13:23:59 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-3fe1d462762so1526465e9.0 for ; Wed, 09 Aug 2023 13:23:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691612638; x=1692217438; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ZZtKCQh6Ef5pxnqhFlCIGhUnRvvp+P2JAi3dlzqJBVk=; b=kET5HhM/6IcZaz7YNMsrN4bXEOgTgRtDVDWfX9itoMJ8ijMH2VZASLDT5AhXRVghNG 7ErFLmcbowwvBoxGCZexgsfC2aDQuefwLYbYnSddAdZ59IHncfjh94F9l7X7spBQ9vDS UTzIhx2iaB+LWDdZcmD5L9WJko4j9g6eyThWNjjBYNRAB8hoiktpbGh6V/SzeiRTwsIi oQV1SR5thLg+FMZ6cWRCs8W05hjVIT5baEfqMLOOFe9vtc1Z+yvsOxQ2Ms486x9bmcY5 DfEM/pdilgKbDahSAtbGFMAFBr3aFPjtyfjD49oumxeRyj9Dc8oTdGBU2yZPRlG+B0rd MgGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691612638; x=1692217438; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZZtKCQh6Ef5pxnqhFlCIGhUnRvvp+P2JAi3dlzqJBVk=; b=EWTfJPDF3lx5kDsKhly0zqqGljlqbqJRDlvQPZ5wN2irNID8OkThTywV1ONshCISjI +ZP5ZoCpZ9oVF5nfnBjWltReulrTyHVOYYnhJtRNzHy1XAvwQ9qrcK3AuJuBQxFiPCua noKkpFdpYlW0U8+bLdWUcNI2Fp31vJEp8w2/XNJF0JzyS/9nWNQLkMrMBNC+TgRZHLZb Bjn5tiHNw7S3wO6euv0h3SDgqpHBWjs1GkXC0gkSXwzpT8Uh/d69ss4LPOxNqx8pKcwv OL9e7tImxH4Y2u8W9IN//gVkQ3j2KnEHZdet8xC+PfWZfzbKq+P7b8IAjh1iOVl4vnwj z+Hg== X-Gm-Message-State: AOJu0YwXT3MRDDnZLMguegp+jY+ngEtklbx4JwSUkhUxU1o4PMqTcB8X eLepw3gIlDQQYBUX4wbfPHa8FfGedjFDhECwcd8= X-Google-Smtp-Source: AGHT+IGly/zzwOlVaKid6HKD9uqApqVbmI8daJmbfjwS9LHzjTN8/HyjvkCfh+mchlxDhFJig2CEpg== X-Received: by 2002:a05:600c:ace:b0:3fe:21b9:806 with SMTP id c14-20020a05600c0ace00b003fe21b90806mr226444wmr.0.1691612637866; Wed, 09 Aug 2023 13:23:57 -0700 (PDT) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id 14-20020a05600c22ce00b003fba2734f1esm2927509wmg.1.2023.08.09.13.23.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Aug 2023 13:23:57 -0700 (PDT) From: Bryan O'Donoghue To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, loic.poulain@linaro.org, rfoss@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bryan.odonoghue@linaro.org Subject: [PATCH v2 5/6] arm64: dts: qcom: apq8016-sbc-d3-camera-mezzanine: Move default ov5640 to a standalone dts Date: Wed, 9 Aug 2023 21:23:42 +0100 Message-Id: <20230809202343.1098425-6-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230809202343.1098425-1-bryan.odonoghue@linaro.org> References: <20230809202343.1098425-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org At the moment we define a single ov5640 sensor in the apq8016-sbc and disable that sensor. The sensor mezzanine for this is a D3 Engineering Dual ov5640 mezzanine card. Move the definition from the apq8016-sbc where it shouldn't be to a standalone dts. Enables the sensor by default, as we are adding a standalone mezzanine structure. Signed-off-by: Bryan O'Donoghue Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/Makefile | 1 + .../qcom/apq8016-sbc-d3-camera-mezzanine.dts | 55 +++++++++++++++++++ arch/arm64/boot/dts/qcom/apq8016-sbc.dts | 49 ----------------- 3 files changed, 56 insertions(+), 49 deletions(-) create mode 100644 arch/arm64/boot/dts/qcom/apq8016-sbc-d3-camera-mezzanine.dts diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index f15548dbfa56e..19016765ba4c6 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -1,5 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 dtb-$(CONFIG_ARCH_QCOM) += apq8016-sbc.dtb +dtb-$(CONFIG_ARCH_QCOM) += apq8016-sbc-d3-camera-mezzanine.dtb dtb-$(CONFIG_ARCH_QCOM) += apq8039-t2.dtb dtb-$(CONFIG_ARCH_QCOM) += apq8094-sony-xperia-kitakami-karin_windy.dtb dtb-$(CONFIG_ARCH_QCOM) += apq8096-db820c.dtb diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc-d3-camera-mezzanine.dts b/arch/arm64/boot/dts/qcom/apq8016-sbc-d3-camera-mezzanine.dts new file mode 100644 index 0000000000000..ef0e76e424898 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc-d3-camera-mezzanine.dts @@ -0,0 +1,55 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023, Linaro Ltd. + */ + +/dts-v1/; + +#include "apq8016-sbc.dts" + +&camss { + status = "okay"; + + ports { + port@0 { + reg = <0>; + csiphy0_ep: endpoint { + data-lanes = <0 2>; + remote-endpoint = <&ov5640_ep>; + status = "okay"; + }; + }; + }; +}; + +&cci { + status = "okay"; +}; + +&cci_i2c0 { + camera_rear@3b { + compatible = "ovti,ov5640"; + reg = <0x3b>; + + powerdown-gpios = <&tlmm 34 GPIO_ACTIVE_HIGH>; + reset-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&camera_rear_default>; + + clocks = <&gcc GCC_CAMSS_MCLK0_CLK>; + clock-names = "xclk"; + assigned-clocks = <&gcc GCC_CAMSS_MCLK0_CLK>; + assigned-clock-rates = <23880000>; + + DOVDD-supply = <&camera_vdddo_1v8>; + AVDD-supply = <&camera_vdda_2v8>; + DVDD-supply = <&camera_vddd_1v5>; + + port { + ov5640_ep: endpoint { + data-lanes = <1 2>; + remote-endpoint = <&csiphy0_ep>; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts index ddb19709a9eee..84641925f3329 100644 --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts @@ -250,55 +250,6 @@ &blsp_uart2 { label = "LS-UART1"; }; -&camss { - status = "okay"; - ports { - port@0 { - reg = <0>; - csiphy0_ep: endpoint { - data-lanes = <0 2>; - remote-endpoint = <&ov5640_ep>; - status = "okay"; - }; - }; - }; -}; - -&cci { - status = "okay"; -}; - -&cci_i2c0 { - camera_rear@3b { - compatible = "ovti,ov5640"; - reg = <0x3b>; - - powerdown-gpios = <&tlmm 34 GPIO_ACTIVE_HIGH>; - reset-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>; - pinctrl-names = "default"; - pinctrl-0 = <&camera_rear_default>; - - clocks = <&gcc GCC_CAMSS_MCLK0_CLK>; - clock-names = "xclk"; - assigned-clocks = <&gcc GCC_CAMSS_MCLK0_CLK>; - assigned-clock-rates = <23880000>; - - DOVDD-supply = <&camera_vdddo_1v8>; - AVDD-supply = <&camera_vdda_2v8>; - DVDD-supply = <&camera_vddd_1v5>; - - /* No camera mezzanine by default */ - status = "disabled"; - - port { - ov5640_ep: endpoint { - data-lanes = <1 2>; - remote-endpoint = <&csiphy0_ep>; - }; - }; - }; -}; - &lpass { status = "okay"; }; From patchwork Wed Aug 9 20:23:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 13348469 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BA7B8C001DE for ; Wed, 9 Aug 2023 20:24:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234437AbjHIUYN (ORCPT ); Wed, 9 Aug 2023 16:24:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234352AbjHIUYB (ORCPT ); Wed, 9 Aug 2023 16:24:01 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D547B2113 for ; Wed, 9 Aug 2023 13:24:00 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-3fe2ba3e260so1336505e9.2 for ; Wed, 09 Aug 2023 13:24:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691612639; x=1692217439; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=HdqJgWZNg40t68LcXb+7Hqc71sK1xzdweXSJa68+4X8=; b=qlimNmWOiJYaLq+nu1wUcOggc63JmCYXBWV1mCJOkLYtE/6+BOxu/5xilLIyr9VkiI 5Vl4We9kecevx0e1xufKEWnkczBfzggPBIxWOmfUXkq9K05G4F8+xboS2eDOmnpurSRs UeTT3XqKzxQRZSlt1sNoo/mQYWq5tD5dTgolqTwX3ur7VdX10eNRmRmaRyo0kRx53O0e kBOARTbxBV6XE0PuR4D5C8EOg3GNwSFIBmZCpLel7RuP4Pzh+0HtT59Mpvu3I+lPlWl0 LCenSf4g+xsb66dLlS6rXnpN+UlRza/ImTTJFxs9CayUY6cQiPN+jfSsYYVFhKETiMWO gpNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691612639; x=1692217439; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HdqJgWZNg40t68LcXb+7Hqc71sK1xzdweXSJa68+4X8=; b=hwF1tKMLyYmojREZ+5sC9uTNMytNzQK5Qqlkwebxjo2buYVJCbVaXWWgsXGPQ02fBq jefiyzxlCWmbytuLaBrOyl9I5BoPEpExiJ6IaVEXiAVl6MhlSJE36AWRbptLl0g8yNeM 7pd7NVV0vCccH4LQqk57s7wQyqydDfvwhTAVwgV9aopvXIlxgdir9sSJux6QjamcwgaA g7m6+uBa8E1gGffOxrXNc8vKtsaj9r+Clfhxsw0O4MAQODEDCGTmkJ3a+zfOzghkj7Os FtANxWVVheHeWdbjVmQ10Ed3nrgPgXZIy4QA6um8qOClzHkNZ4EJ7c5xb9yJASWtxLC/ m5kw== X-Gm-Message-State: AOJu0YxdRFrKnJ8+MxtVKa55BYm1sJKUEBukiLtVVxDVbjCjAvU7Kh7p JdXnoDZ02Sh1dNfQQ/XfvPfs2g== X-Google-Smtp-Source: AGHT+IH/DspjALB8JxIEu+WVcA+QQjvgRfHMCJcRp84Gqn/f2HjGSn9hB8znDGCMX700goXzIpl5sQ== X-Received: by 2002:a7b:c3d6:0:b0:3fe:5501:d284 with SMTP id t22-20020a7bc3d6000000b003fe5501d284mr187431wmj.11.1691612639322; Wed, 09 Aug 2023 13:23:59 -0700 (PDT) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id 14-20020a05600c22ce00b003fba2734f1esm2927509wmg.1.2023.08.09.13.23.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Aug 2023 13:23:58 -0700 (PDT) From: Bryan O'Donoghue To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, loic.poulain@linaro.org, rfoss@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bryan.odonoghue@linaro.org Subject: [PATCH v2 6/6] arm64: dts: qcom: apq8016-sbc: Enable camss for non-mezzanine cases Date: Wed, 9 Aug 2023 21:23:43 +0100 Message-Id: <20230809202343.1098425-7-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230809202343.1098425-1-bryan.odonoghue@linaro.org> References: <20230809202343.1098425-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org When we have no camera mezzanine attached it is still possible to run the test-pattern generator of the CSID block. As an example: media-ctl --reset yavta --no-query -w '0x009f0903 1' /dev/v4l-subdev2 yavta --list /dev/v4l-subdev2 media-ctl -d /dev/media0 -V '"msm_csid0":0[fmt:UYVY8_1X16/1920x1080 field:none]' media-ctl -l '"msm_csid0":1->"msm_ispif0":0[1]' media-ctl -d /dev/media0 -V '"msm_ispif0":0[fmt:UYVY8_1X16/1920x1080 field:none]' media-ctl -l '"msm_ispif0":1->"msm_vfe0_rdi0":0[1]' media-ctl -d /dev/media0 -V '"msm_vfe0_rdi0":0[fmt:UYVY8_1X16/1920x1080]' media-ctl -d /dev/media0 -p yavta -B capture-mplane --capture=5 -n 5 -I -f UYVY -s 1920x1080 --file=TPG-UYVU-1920x1080-000-#.bin /dev/video0 Signed-off-by: Bryan O'Donoghue --- arch/arm64/boot/dts/qcom/apq8016-sbc.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts index 84641925f3329..4f9d6f6ec1157 100644 --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts @@ -250,6 +250,16 @@ &blsp_uart2 { label = "LS-UART1"; }; +&camss { + status = "okay"; + + ports { + port@0 { + reg = <0>; + }; + }; +}; + &lpass { status = "okay"; };