[libcamera-devel] [PATCH 11/12] dt/dtoverlays: imx219: Set sensor rotation
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Sat Jul 4 02:40:27 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/imx219-overlay.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/overlays/imx219-overlay.dts b/arch/arm/boot/dts/overlays/imx219-overlay.dts
index 7cdafdc3db1b..2e028bde0106 100644
--- a/arch/arm/boot/dts/overlays/imx219-overlay.dts
+++ b/arch/arm/boot/dts/overlays/imx219-overlay.dts
@@ -27,6 +27,8 @@
VDIG-supply = <&imx219_vdig>; /* 1.8v */
VDDL-supply = <&imx219_vddl>; /* 1.2v */
+ rotation = <180>;
+
port {
imx219_0: endpoint {
remote-endpoint = <&csi1_ep>;
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list