]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: qrb5165-rb5-vision-mezzanine: Convert mezzanine riser to dtbo
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Fri, 25 Oct 2024 15:43:23 +0000 (16:43 +0100)
committerBjorn Andersson <andersson@kernel.org>
Tue, 29 Oct 2024 20:13:43 +0000 (15:13 -0500)
Convert the navigation / camera mezzanine from its own dts to a dtso. A
small amount of additional includes / address / cell size change needs to
be applied to convert.

Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> # rb5
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20241025-b4-linux-next-24-10-25-camss-dts-fixups-v1-1-cdff2f1a5792@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/Makefile
arch/arm64/boot/dts/qcom/qrb5165-rb5-vision-mezzanine.dtso [moved from arch/arm64/boot/dts/qcom/qrb5165-rb5-vision-mezzanine.dts with 88% similarity]

index c65d19117395b02ee53c9e97f6427b8c8d9956f8..a55f275f9337df5e8786f67d793342838f95ae6b 100644 (file)
@@ -118,6 +118,9 @@ dtb-$(CONFIG_ARCH_QCOM)     += qdu1000-idp.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += qrb2210-rb1.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += qrb4210-rb2.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += qrb5165-rb5.dtb
+
+qrb5165-rb5-vision-mezzanine-dtbs      := qrb5165-rb5.dtb qrb5165-rb5-vision-mezzanine.dtbo
+
 dtb-$(CONFIG_ARCH_QCOM)        += qrb5165-rb5-vision-mezzanine.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += qru1000-idp.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += sa8155p-adp.dtb
similarity index 88%
rename from arch/arm64/boot/dts/qcom/qrb5165-rb5-vision-mezzanine.dts
rename to arch/arm64/boot/dts/qcom/qrb5165-rb5-vision-mezzanine.dtso
index edc0e42ee01735eda96b2c5c68be247ea37cd534..0603954e24d88fa203679279f01705eea15ce6c3 100644 (file)
@@ -4,8 +4,10 @@
  */
 
 /dts-v1/;
+/plugin/;
 
-#include "qrb5165-rb5.dts"
+#include <dt-bindings/clock/qcom,camcc-sm8250.h>
+#include <dt-bindings/gpio/gpio.h>
 
 &camcc {
        status = "okay";
@@ -33,6 +35,9 @@
 };
 
 &cci1_i2c0 {
+       #address-cells = <1>;
+       #size-cells = <0>;
+
        camera@1a {
                compatible = "sony,imx577";
                reg = <0x1a>;