arm: arm64: boot: dts: gang_mode
Ahung Cheng [Wed, 8 Jun 2016 03:34:44 +0000 (11:34 +0800)]
Add gang_mode entry for TC358840

bug 1772273

Change-Id: Ib245d1fb1437fde8c0fce7e64dd0eed1329fdd8d
Signed-off-by: Ahung Cheng <ahcheng@nvidia.com>
(cherry picked from commit 5e9c441b7a7857d8e22cdd95e08daaf8c898b46b)
Signed-off-by: Ahung Cheng <ahcheng@nvidia.com>
Reviewed-on: http://git-master/r/1165728
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

arch/arm64/boot/dts/tegra210-platforms/tegra210-camera-imx274.dtsi

index 294ecc6..8f3c471 100644 (file)
 #include <dt-bindings/media/camera.h>
 #include <dt-bindings/platform/t210/t210.h>
 
+#define GANG_MODE_L_R 1
+#define GANG_MODE_T_B 2
+#define GANG_MODE_R_L 3
+#define GANG_MODE_B_T 4
+
 / {
        host1x {
                vi {
@@ -38,6 +43,7 @@
                                        tc358840_vi_in0: endpoint {
                                                csi-port = <2>;
                                                bus-width = <8>;
+                                               gang-mode = <GANG_MODE_L_R>;
                                                remote-endpoint = <&tc358840_out0>;
                                        };
                                };