Similar to the apq8016 case we can run the Test Pattern Genrator (TPG) on
the rb3 absent a mezzanine or connected sensor.
Link: https://git.codelinaro.org/bryan.odonoghue/kernel/-/tree/linux-next-23-08-07-db410c-rb3-camss-dts-v2
Bryan O'Donoghue (1):
arm64: dts: qcom: sdm845: Enable CAMSS on the bare rb3 board
arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 7 +++++++
1 file changed, 7 insertions(+)
--
2.39.2
Enable CAMSS on the standard RB3 as it is possible to run the test pattern
generator (TPG) without any populated ports/endpoints.
media-ctl --reset
yavta --no-query -w '0x009f0903 9' /dev/v4l-subdev4
yavta --list /dev/v4l-subdev4
media-ctl -d /dev/media0 -V '"msm_csid0":0[fmt:SGRBG10_1X10/3280x2464]'
media-ctl -d /dev/media0 -V '"msm_vfe0_rdi0":0[fmt:SGRBG10_1X10/3280x2464]'
media-ctl -l '"msm_csid0":1->"msm_vfe0_rdi0":0[1]'
media-ctl -d /dev/media0 -p
yavta -B capture-mplane --capture=5 -n 5 -I -f SGRBG10P -s 3280x2464 --file=TPG-SGRBG10-3280x2464-000-#.bin /dev/video2
Signed-off-by: Bryan O'Donoghue <[email protected]>
---
arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts
index d6b464cb61d6f..14f9afbd75e54 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts
@@ -410,6 +410,13 @@ vreg_bob: bob {
};
};
+&camss {
+ status = "okay";
+
+ vdda-phy-supply = <&vreg_l1a_0p875>;
+ vdda-pll-supply = <&vreg_l26a_1p2>;
+};
+
&cdsp_pas {
status = "okay";
firmware-name = "qcom/sdm845/cdsp.mbn";
--
2.39.2
On Wed, 09 Aug 2023 21:35:33 +0100, Bryan O'Donoghue wrote:
> Similar to the apq8016 case we can run the Test Pattern Genrator (TPG) on
> the rb3 absent a mezzanine or connected sensor.
>
> Link: https://git.codelinaro.org/bryan.odonoghue/kernel/-/tree/linux-next-23-08-07-db410c-rb3-camss-dts-v2
>
> Bryan O'Donoghue (1):
> arm64: dts: qcom: sdm845: Enable CAMSS on the bare rb3 board
>
> [...]
Applied, thanks!
[1/1] arm64: dts: qcom: sdm845: Enable CAMSS on the bare rb3 board
commit: 5480b0c67f120a6c293cc5eff72fa1d6a74de504
Best regards,
--
Bjorn Andersson <[email protected]>