summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Semkowicz <dse@thaumatec.com>2023-02-16 14:31:25 +0100
committerDaniel Semkowicz <dse@thaumatec.com>2023-02-16 14:31:25 +0100
commitc46af73474309a9fe84f631ad5c9caf51b97904d (patch)
treed9afcfe27168974dd2402d1fdebcfd81ead654de
parent7624b244784bd19b4f5100a94ea3ac2bb1f3624d (diff)
TSD: arm64: dts: puma: Set camera rotation on Haikou Video Demo
Configure the camera sensor rotation on the Haikou Video Demo adapter. Haikou Video Demo board reference system was defined basing on the following assumptions: - side with mounted adapter is the front of the device (display side), - default display position is vertical. Y-axis ^ ! FRONT VIEW ! ! ! +-------------------------------------------------+ ! |o Haikou | ! || | ! |+------------------------+ | ! || __ | | ! || / \ <-Camera | | ! || \__/ | | ! || +--------------------+ | | ! || | | | | ! || | | | | ! || | | | | ! || | | | | ! || | | | | ! || | | | | ! || | Video Demo | | | ! || | Adapter | | | ! || | | | | ! || | | | | ! || | | | | ! || | | | | ! || | | | | ! || | | | | ! || +--------------------+ | | ! |o------------------------+----------------o | ! +-------------------------------------------------+ ! 0 +--------------------------------------------------------------> 0 X-axis Set camera rotation to 180 degrees, because camera sensor is mounted upside down in reference to the board reference system. [TSD] This change will be part of the original patch series once sent upstream. Signed-off-by: Daniel Semkowicz <dse@thaumatec.com>
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3399-puma-haikou-video-demo.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-puma-haikou-video-demo.dts b/arch/arm64/boot/dts/rockchip/rk3399-puma-haikou-video-demo.dts
index 4ea2bda4aeb8..6cca9b77299c 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-puma-haikou-video-demo.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-puma-haikou-video-demo.dts
@@ -163,7 +163,7 @@
pinctrl-names = "default";
pinctrl-0 = <&cif_clkouta>;
reset-gpios = <&pca9670 6 GPIO_ACTIVE_LOW>;
-
+ rotation = <180>;
lens-focus = <&focus>;
status = "okay";