From nobody Mon Feb 9 15:48:47 2026 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4FA3022257E for ; Tue, 8 Apr 2025 11:38:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744112336; cv=none; b=WukuZ2t/bAffZKPj/c/QLvoX3jhnQ5Kx8QOUOBbS77WEddIvdJyjUFkr8L5+vR8MtccTPJ/NGfbIPwD35T9XZgm9b/Hrxweuz5s8uHu1gn2v6ie7a4UwUy0JuFwysxEmeiBbw094hXtDyFrgMz25FSnse4N6TILrNGkOLy8pVsQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744112336; c=relaxed/simple; bh=kpZJ3p3+Ei11yz4vXSapgIwBGtEJqC036Y2YaN9pwWk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=M1Cgfl/m/yto1sVCzJOkhoFWnSTvtuAViUHNE4eOVu0NvzTENUYKy/yI5AuinQ3+gn3rqaU0e+zXYB92qYcOCc9fhF3TOcWEH7qFDEjz7TmDj0nsS/Cvf989sGV6Gqj99m30HguUayEqSmU0pbELGFQVShmDprDlZSgu9PXK58o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=M4f8Xowq; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="M4f8Xowq" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-43cf58eea0fso27985195e9.0 for ; Tue, 08 Apr 2025 04:38:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1744112332; x=1744717132; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=5/FBWzeg0+ZCf4A8fXrkY1rmJAliXUxuxCPzLRVcmGk=; b=M4f8XowqfIaqQIwwW9+P2Xy12BGVZJFJxqC2gOLUvCprllR/PO/D3ZuAgIJbu9qZgI ha5NzLYgubtPu/Hgz+h28ZFsb+vL5uMRG0LzH5Cs+TWL02NqXGJZiXVUPRLIYcz0s/l2 mwAfdAaTVmx5kMB/pjMO0duX3K8dtF4pfHIr6exYP/i5nHe66dX8bfuh+tiwWYtL8Vhv 6wEGsSiZ1+Z3PKbaoBlY9IfocomylpaDRVsWkTezLahwOL+cS1jvWD8/ngHFr+2bYBAY 0BAf1k+ruyxzC3IMEycObcMGYTL6q4GbOzyH6S3B80R0RGTeYTLS1YFQ9q126Y8c50oY gddA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744112332; x=1744717132; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5/FBWzeg0+ZCf4A8fXrkY1rmJAliXUxuxCPzLRVcmGk=; b=o8BEFJrp4FwlS0ViJ60rIHH86hM3Gl6wrmsDBK8NIBdX+KhDd/OhGbgM0c7NuHLAf2 kN6fM2Q1NZ2oRmiSCle1S5YEu9g4Al5/gRGOFqCbuJi88lbZen1qJ/AVomydYfIGFn/q laVdEEhvxdABUYos5fawxYugtZOaplmD3diGh4yh1rCxiPWSCygB0qcy0BMS4ZK2IoZA OMdu+xdBzKzA86FHVjBZVGyh2oEMEn91yOJsN7joy63scfPdJR2Qsav5SndvQsyKfFvX y8H5yxufCJLBGeHtCMe/6OCp2ZKH0nU8iahF83KUdiRgdyyZgDg3/XiMRAiAnV1ceM7b vCWg== X-Forwarded-Encrypted: i=1; AJvYcCW6AQSl8eDX6C3qx1WTZDAGM6fKVCtXLkYU/UP5MlIiPT5VcnwO1td0M9aSI+sw3llaagOwjYrW6WDBxOM=@vger.kernel.org X-Gm-Message-State: AOJu0YyhlDF+gTMQjBJqnLWA2loLwcUW2sbu4RRTPieJXL2TfwZLLwGi AfU4VrXJ3z3F9X/jlj/1WtYAKRhQGPM1X+IxhVpLXddP8aSapPoUpKuOfDsEIcbfBHgbU6wD91c P X-Gm-Gg: ASbGnculMVn0vATroMBTHc7CVgVtLgU79yNn5LOx65aUjxwUFdcvPQa8IB/IDdgLGv1 5z+Vix1vPbXLEx14XqGZamG4sOZFao4X7aoVfe6ONmITfmMAODPWVHxrULxGApkOd8qD11HW5BV fWcwMKr6vngQzROKRdYpPtbKS3svi5VjsV1pnlVmGVpE5uWWYMQlsMHsqpPP1NiuQLqE5Aedtdu KWBtIIhDh4YA/TblHS1eBFzXe80q9A9r+RIsQMvNUwE5BN4CVROkInh22yYlyWyYZ9dqgz84o+F 0PDt5JFHrk9oEdkgWUOm1C+dtr/JDvs5jtvc8VfXmDqrtAwUiDeuF0l9cshxjDJJNe6HtQ== X-Google-Smtp-Source: AGHT+IHdC8zFootrYV47QAuc493nshO5OIqjtfco256NhQOrJ/t6KiHXd7JiTKrrAZAkcejY1qH0aA== X-Received: by 2002:a05:600c:4443:b0:43c:fa24:8721 with SMTP id 5b1f17b1804b1-43ecf8d1b10mr168181105e9.17.1744112332326; Tue, 08 Apr 2025 04:38:52 -0700 (PDT) Received: from [127.0.0.2] ([2a02:2454:ff21:ef41:a515:3b2a:eb67:e90e]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43ec34bbd9csm157085715e9.20.2025.04.08.04.38.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Apr 2025 04:38:51 -0700 (PDT) From: Stephan Gerhold Date: Tue, 08 Apr 2025 13:38:42 +0200 Subject: [PATCH RESEND] arm64: dts: qcom: apq8016-sbc-d3-camera: Convert to DT overlay Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250408-apq8016-sbc-camera-dtso-v1-1-cdf1cd41bda6@linaro.org> X-B4-Tracking: v=1; b=H4sIAMEK9WcC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDI2MDSyMj3cSCQgsDQzPd4qRk3eTE3NSiRN2UkuJ83TQjE/Ok1EQTgzRLSyW g7oKi1LTMCrDJ0UpBrsGufi5KsbW1AC1TaSJxAAAA X-Change-ID: 20230922-apq8016-sbc-camera-dtso-f247bea40f99 To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Stephan Gerhold , Bryan O'Donoghue X-Mailer: b4 0.14.2 From: Stephan Gerhold Follow the example of the recently added apq8016-sbc-usb-host.dtso and convert apq8016-sbc-d3-camera-mezzanine.dts to a DT overlay that can be applied on top of the apq8016-sbc.dtb. This makes it more clear that this is not a special type of DB410c but just an addon board that can be added on top. Functionally there should not be any difference since apq8016-sbc-d3-camera-mezzanine.dtb is still generated as before (but now by applying the overlay on top of apq8016-sbc.dtb). Since dtc does not know that there are default #address/size-cells in msm8916.dtsi, repeat those in the overlay to avoid dtc warnings because it expects the wrong amount of address/size-cells. It would be nice to have a generic overlay for the D3 camera mezzanine (that can be applied to all 96Boards) but that's much more complicated than providing a board-specific DT overlay as intermediate step. Reviewed-by: Bryan O'Donoghue Signed-off-by: Stephan Gerhold Reviewed-by: Dmitry Baryshkov --- This patch was already applied by Bjorn on Sun, 28 Jan 2024 11:45:55 -0600 as commit ea689ec32bf0d885277d3f58450a85df5149c98b [1]. However, unlike the first patch in the series, this one never made it into the repository for some reason. [1]: https://lore.kernel.org/linux-arm-msm/170646395036.64610.1433320483017= 8417809.b4-ty@kernel.org/ --- arch/arm64/boot/dts/qcom/Makefile | 5 +++-- ...ra-mezzanine.dts =3D> apq8016-sbc-d3-camera-mezzanine.dtso} | 12 ++++++= ++++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/M= akefile index adb4d026bcc4b24d73de92e204db8d525b0770e6..465b3791f15e66883717ecd59a2= ade9461472df7 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -1,12 +1,13 @@ # SPDX-License-Identifier: GPL-2.0 dtb-$(CONFIG_ARCH_QCOM) +=3D apq8016-sbc.dtb =20 -apq8016-sbc-usb-host-dtbs :=3D apq8016-sbc.dtb apq8016-sbc-usb-host.dtbo +apq8016-sbc-d3-camera-mezzanine-dtbs :=3D apq8016-sbc.dtb apq8016-sbc-d3-c= amera-mezzanine.dtbo +apq8016-sbc-usb-host-dtbs :=3D apq8016-sbc.dtb apq8016-sbc-usb-host.dtbo =20 dtb-$(CONFIG_ARCH_QCOM) +=3D sar2130p-qar2130p.dtb =20 -dtb-$(CONFIG_ARCH_QCOM) +=3D apq8016-sbc-usb-host.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D apq8016-sbc-d3-camera-mezzanine.dtb +dtb-$(CONFIG_ARCH_QCOM) +=3D apq8016-sbc-usb-host.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D apq8016-schneider-hmibsc.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D apq8039-t2.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D apq8094-sony-xperia-kitakami-karin_windy.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.dtso similarity index 89% rename from arch/arm64/boot/dts/qcom/apq8016-sbc-d3-camera-mezzanine.dts rename to arch/arm64/boot/dts/qcom/apq8016-sbc-d3-camera-mezzanine.dtso index f9cbf8c1d6891108e208f4626aa7667c74ee413b..d739ece6b44ff25960f92088a40= 23ef794215712 100644 --- a/arch/arm64/boot/dts/qcom/apq8016-sbc-d3-camera-mezzanine.dts +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc-d3-camera-mezzanine.dtso @@ -5,10 +5,12 @@ */ =20 /dts-v1/; +/plugin/; =20 -#include "apq8016-sbc.dts" +#include +#include =20 -/ { +&{/} { camera_vdddo_1v8: regulator-camera-vdddo { compatible =3D "regulator-fixed"; regulator-name =3D "camera_vdddo"; @@ -38,6 +40,9 @@ &camss { status =3D "okay"; =20 ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + port@0 { reg =3D <0>; csiphy0_ep: endpoint { @@ -53,6 +58,9 @@ &cci { }; =20 &cci_i2c0 { + #address-cells =3D <1>; + #size-cells =3D <0>; + camera@3b { compatible =3D "ovti,ov5640"; reg =3D <0x3b>; --- base-commit: 7483c7cc0b2cebf842ec0f5902e354650c4a0d29 change-id: 20230922-apq8016-sbc-camera-dtso-f247bea40f99 Best regards, --=20 Stephan Gerhold