arm: dts: Pre-identify panel in device tree
Pankaj Dabade [Tue, 7 Apr 2015 10:45:15 +0000 (15:45 +0530)]
shim layer identifies the panel attached and updates the respective
node in the device tree. Bootloader uses this updated status bit to
identify the panel connected, therby taking the responsibility to
initialize it. In absence of DSI panel [status bit not updated]
bootloader programs DC0 for HDMI.
L4T does not use SHIM layer. Thus, If DSI panel is not pre-identifed
bootloader will initialize DC0 with HDMI.

Bug 200090075
Bug 200093426
Bug 200089633

Change-Id: I6102c951f3b61824e2aa09aa579c250c8032b185
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/728493
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Tested-by: Venkat Moganty <vmoganty@nvidia.com>

arch/arm64/boot/dts/tegra210-jetson-e-base-p2595-0000-a00.dts
arch/arm64/boot/dts/tegra210-jetson-e-p2595-0000-a00-00.dts

index f2bc02e..352f35b 100644 (file)
                        nvidia,dsi-controller-vs = <DSI_VS_1>;
                        status = "okay";
                        panel-s-wqxga-10-1 {
+                               status = "okay";
                                nvidia,panel-rst-gpio = <&gpio TEGRA_GPIO(V, 2) 0>; /* PV2 */
                                nvidia,panel-bl-pwm-gpio = <&gpio TEGRA_GPIO(V, 0) 0>; /* PV0 */
                                nvidia,dsi-te-gpio = <&gpio TEGRA_GPIO(Y, 2) 0>;
                        };
                        panel-a-wuxga-8-0 {
+                               status = "okay";
                                nvidia,dsi-dpd-pads = <DSIC_DPD_EN DSID_DPD_EN>;
                                nvidia,panel-rst-gpio = <&gpio TEGRA_GPIO(V, 2) 0>; /* PV2 */
                                nvidia,panel-bl-pwm-gpio = <&gpio TEGRA_GPIO(V, 0) 0>; /* PV0 */
index 28a3537..478223a 100644 (file)
                dt-override-status-odm-data = <0x01000000 0x01000000>;
        };
 
+       host1x {
+               dsi {
+                       panel-s-wqxga-10-1 {
+                               status = "disabled";
+                       };
+                       panel-a-wuxga-8-0 {
+                               status = "disabled";
+                       };
+               };
+       };
+
 };