Thread (17 messages) 17 messages, 4 authors, 2025-07-02
STALE371d
Revisions (7)
  1. v1 current
  2. v4 [diff vs current]
  3. v6 [diff vs current]
  4. v7 [diff vs current]
  5. v8 [diff vs current]
  6. v9 [diff vs current]
  7. v11 [diff vs current]

[PATCH 5/5] arm64: dts: qcom: sdm670-google-sargo: Add front camera rotation/orientation

From: Richard Acayan <hidden>
Date: 2025-06-30 23:00:12
Also in: linux-arm-msm, linux-media
Subsystem: arm/qualcomm mailing list, arm/qualcomm support, the rest · Maintainers: Bjorn Andersson, Konrad Dybcio, Linus Torvalds

From: Robert Mader <redacted>

So it gets properly reported to clients like libcamera.

Signed-off-by: Robert Mader <redacted>
[richard: rebase onto patch series]
Signed-off-by: Richard Acayan <redacted>
---
 arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts b/arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts
index 0af6a440ecbc..fcd2f1b77679 100644
--- a/arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts
+++ b/arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts
@@ -462,6 +462,9 @@ camera@1a {
 		pinctrl-names = "default";
 		pinctrl-0 = <&cam_front_default>;
 
+		rotation = <270>;
+		orientation = <0>;
+
 		port {
 			cam_front_endpoint: endpoint {
 				data-lanes = <0 1 2 3>;
-- 
2.50.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help