[PATCH 2/3] arm64: dts: ti: k3-j721e-sk: Add orientation to IMX219 sensors
From: Thorsten Lannynd
Date: Mon Nov 09 2026 - 13:14:11 EST
The IMX219 CSI2 expansion modules are externally attached. Without the
orientation property, V4L2_CID_CAMERA_ORIENTATION (0x009a0922) is not
exposed and libcamera fails with:
ERROR CameraSensor camera_sensor_raw.cpp:465 'imx219 4-0010':
Mandatory V4L2 control 0x009a0922 not available
Set orientation = <MEDIA_ORIENTATION_EXTERNAL> on both sensor nodes
to fix this.
Signed-off-by: Thorsten Lannynd <t-lannynd@xxxxxx>
---
arch/arm64/boot/dts/ti/k3-j721e-sk-csi2-dual-imx219.dtso | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-j721e-sk-csi2-dual-imx219.dtso b/arch/arm64/boot/dts/ti/k3-j721e-sk-csi2-dual-imx219.dtso
index 4eb3cffab032..c3403232d767 100644
--- a/arch/arm64/boot/dts/ti/k3-j721e-sk-csi2-dual-imx219.dtso
+++ b/arch/arm64/boot/dts/ti/k3-j721e-sk-csi2-dual-imx219.dtso
@@ -11,6 +11,7 @@
/plugin/;
#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/media/video-interface-devices.h>
#include "k3-pinctrl.h"
&{/} {
@@ -64,6 +65,7 @@ imx219_0: imx219-0@10 {
VANA-supply = <®_2p8v>;
VDIG-supply = <®_1p8v>;
VDDL-supply = <®_1p2v>;
+ orientation = <MEDIA_ORIENTATION_EXTERNAL>;
port {
csi2_cam0: endpoint {
@@ -88,6 +90,7 @@ imx219_1: imx219-1@10 {
VANA-supply = <®_2p8v>;
VDIG-supply = <®_1p8v>;
VDDL-supply = <®_1p2v>;
+ orientation = <MEDIA_ORIENTATION_EXTERNAL>;
port {
csi2_cam1: endpoint {
--
2.34.1