arm64: dts: qcom: apq8016-sbc: Enable camss for non-mezzanine cases
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Fri, 11 Aug 2023 23:47:38 +0000 (00:47 +0100)
committerBjorn Andersson <andersson@kernel.org>
Mon, 14 Aug 2023 02:38:32 +0000 (19:38 -0700)
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 <bryan.odonoghue@linaro.org>
Link: https://lore.kernel.org/r/20230811234738.2859417-8-bryan.odonoghue@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/apq8016-sbc.dts

index c3cd08aa5c85bb0ddff38d97887122d38e894e69..4f5541e9be0e988d25839e70f286e1068d099f80 100644 (file)
        label = "LS-UART1";
 };
 
+&camss {
+       status = "okay";
+};
+
 &lpass {
        status = "okay";
 };