Re: [PATCH v2 6/6] arm64: dts: qcom: apq8016-sbc: Enable camss for non-mezzanine cases

From: Konrad Dybcio
Date: Thu Aug 10 2023 - 09:32:30 EST


On 9.08.2023 22:23, Bryan O'Donoghue wrote:
> 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@xxxxxxxxxx>
> ---
Hm.. perhaps the ports could be just defined in soc dtsi?

Konrad