[libcamera-devel] [PATCH 12/12] dt/dtoverlays: imx477: Set sensor rotation
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Sat Jul 4 02:40:28 CEST 2020
The sensor module is mounted-upside down, report it through the rotation
device tree property.
Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
arch/arm/boot/dts/overlays/imx477-overlay.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/overlays/imx477-overlay.dts b/arch/arm/boot/dts/overlays/imx477-overlay.dts
index bd187713939e..9fd3e4972106 100644
--- a/arch/arm/boot/dts/overlays/imx477-overlay.dts
+++ b/arch/arm/boot/dts/overlays/imx477-overlay.dts
@@ -27,6 +27,8 @@
VDIG-supply = <&imx477_vdig>; /* 1.05v */
VDDL-supply = <&imx477_vddl>; /* 1.8v */
+ rotation = <180>;
+
port {
imx477_0: endpoint {
remote-endpoint = <&csi1_ep>;
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list