devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] Enable CAMSS on non-mezzanine rb3
@ 2023-08-09 20:35 Bryan O'Donoghue
  2023-08-09 20:35 ` [PATCH 1/1] arm64: dts: qcom: sdm845: Enable CAMSS on the bare rb3 board Bryan O'Donoghue
  2023-08-11 15:20 ` (subset) [PATCH 0/1] Enable CAMSS on non-mezzanine rb3 Bjorn Andersson
  0 siblings, 2 replies; 3+ messages in thread
From: Bryan O'Donoghue @ 2023-08-09 20:35 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt,
	conor+dt
  Cc: linux-arm-msm, devicetree, linux-kernel, bryan.odonoghue

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] arm64: dts: qcom: sdm845: Enable CAMSS on the bare rb3 board
  2023-08-09 20:35 [PATCH 0/1] Enable CAMSS on non-mezzanine rb3 Bryan O'Donoghue
@ 2023-08-09 20:35 ` Bryan O'Donoghue
  2023-08-11 15:20 ` (subset) [PATCH 0/1] Enable CAMSS on non-mezzanine rb3 Bjorn Andersson
  1 sibling, 0 replies; 3+ messages in thread
From: Bryan O'Donoghue @ 2023-08-09 20:35 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt,
	conor+dt
  Cc: linux-arm-msm, devicetree, linux-kernel, bryan.odonoghue

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 <bryan.odonoghue@linaro.org>
---
 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: (subset) [PATCH 0/1] Enable CAMSS on non-mezzanine rb3
  2023-08-09 20:35 [PATCH 0/1] Enable CAMSS on non-mezzanine rb3 Bryan O'Donoghue
  2023-08-09 20:35 ` [PATCH 1/1] arm64: dts: qcom: sdm845: Enable CAMSS on the bare rb3 board Bryan O'Donoghue
@ 2023-08-11 15:20 ` Bjorn Andersson
  1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Andersson @ 2023-08-11 15:20 UTC (permalink / raw)
  To: agross, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt, conor+dt,
	Bryan O'Donoghue
  Cc: linux-arm-msm, devicetree, linux-kernel


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 <andersson@kernel.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-11 15:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-09 20:35 [PATCH 0/1] Enable CAMSS on non-mezzanine rb3 Bryan O'Donoghue
2023-08-09 20:35 ` [PATCH 1/1] arm64: dts: qcom: sdm845: Enable CAMSS on the bare rb3 board Bryan O'Donoghue
2023-08-11 15:20 ` (subset) [PATCH 0/1] Enable CAMSS on non-mezzanine rb3 Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).