]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
p2360: Add dtb's for 480p resolution
authorSagar Kadamati <skadamati@nvidia.com>
Mon, 31 Aug 2015 11:56:30 +0000 (17:26 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Thu, 15 Oct 2015 06:56:06 +0000 (23:56 -0700)
* Modified default hdmi resolution as 1080p@30fps
* Added tegra124-p2360-480p-*.dtb

bug 200133460

Change-Id: I66bf44e936e177ac896dafbe12ca1a544646e9c6
Signed-off-by: Sagar Kadamati <skadamati@nvidia.com>
Reviewed-on: http://git-master/r/791765
(cherry picked from commit 9cb5adc7e4969aefa1655787b0c69e89298ac053)
Reviewed-on: http://git-master/r/794348
Reviewed-by: Vipin Kumar <vipink@nvidia.com>
Tested-by: Vipin Kumar <vipink@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/tegra124-p2360-480p-b00.dts [new file with mode: 0644]
arch/arm/boot/dts/tegra124-p2360-480p-b01.dts [new file with mode: 0644]
arch/arm/boot/dts/tegra124-p2360.dtsi

index 0a87bd15c3a334e3ae483f5cd1275e6fb9cd771e..d2c87574def3edf953f1a586a9daacd07010cc70 100644 (file)
@@ -269,6 +269,8 @@ dtb-$(CONFIG_ARCH_TEGRA) += tegra20-harmony.dtb \
        tegra124-p1889.dtb \
        tegra124-p2360-b00.dtb \
        tegra124-p2360-b01.dtb \
+       tegra124-p2360-480p-b00.dtb \
+       tegra124-p2360-480p-b01.dtb \
        tegra124-p1855.dtb \
        tegra124-vcm30t124-flashing.dtb \
        tegra124-green-arrow-p2267-base-a00.dtb
diff --git a/arch/arm/boot/dts/tegra124-p2360-480p-b00.dts b/arch/arm/boot/dts/tegra124-p2360-480p-b00.dts
new file mode 100644 (file)
index 0000000..27bc472
--- /dev/null
@@ -0,0 +1,44 @@
+/*
+ * arch/arm/boot/dts/tegra124-p2360-480p-b00.dts
+ *
+ * Copyright (c) 2014-2015, NVIDIA CORPORATION.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+ *
+ */
+
+/*
+ * Applicable to all below revisions of P2360
+ * A00, A01, A03, B00
+ */
+
+/* Include the b00 dts source and only modify edid */
+#include "tegra124-p2360-b00.dts"
+
+/ {
+       host1x {
+               hdmi {
+                       hdmi-display {
+                               nvidia,edid = [00 FF FF FF FF FF FF 00 04 21 00 00 00 00 00 00
+                                              01 00 01 03 00 00 00 00 00 00 00 00 00 00 00 00
+                                              00 00 00 00 00 00 01 01 01 01 01 01 01 01 01 01
+                                              01 01 01 01 01 01 FE 0C 20 00 31 E0 2D 10 40 40
+                                              43 00 00 00 00 00 00 00 00 00 00 10 00 00 00 00
+                                              00 00 00 00 00 00 00 00 00 00 00 00 00 10 00 00
+                                              00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10
+                                              00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 61];
+                       };
+               };
+       };
+};
diff --git a/arch/arm/boot/dts/tegra124-p2360-480p-b01.dts b/arch/arm/boot/dts/tegra124-p2360-480p-b01.dts
new file mode 100644 (file)
index 0000000..637cd59
--- /dev/null
@@ -0,0 +1,43 @@
+/*
+ * arch/arm/boot/dts/tegra124-p2360-b01.dts
+ *
+ * Copyright (c) 2014-2015, NVIDIA CORPORATION.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+ *
+ */
+
+/*
+ * Applicable to revision B01/B2 of P2360
+ */
+
+/* Include the b01 dts source and only modify edid */
+#include "tegra124-p2360-b01.dts"
+
+/ {
+       host1x {
+               hdmi {
+                       hdmi-display {
+                               nvidia,edid = [00 FF FF FF FF FF FF 00 04 21 00 00 00 00 00 00
+                                              01 00 01 03 00 00 00 00 00 00 00 00 00 00 00 00
+                                              00 00 00 00 00 00 01 01 01 01 01 01 01 01 01 01
+                                              01 01 01 01 01 01 FE 0C 20 00 31 E0 2D 10 40 40
+                                              43 00 00 00 00 00 00 00 00 00 00 10 00 00 00 00
+                                              00 00 00 00 00 00 00 00 00 00 00 00 00 10 00 00
+                                              00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10
+                                              00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 61];
+                       };
+               };
+       };
+};
index 9f9be1ef6fee148c0a2ff4e096d8ebdf40d20fb8..fd941e6fa7a8d719f678ed31d20dc71ab6594044 100644 (file)
                        nvidia,hpd-gpio = <&gpio 0xFFFFFFFF 1>; /* hotplug less HDMI */
                        hdmi-display {
                                nvidia,edid = [00 FF FF FF FF FF FF 00 04 21 00 00 00 00 00 00
-                                               01 00 01 03 00 00 00 00 00 00 00 00 00 00 00 00
-                                               00 00 00 00 00 00 01 01 01 01 01 01 01 01 01 01
-                                               01 01 01 01 01 01 FE 0C 20 00 31 E0 2D 10 40 40
-                                               43 00 00 00 00 00 00 00 00 00 00 10 00 00 00 00
-                                               00 00 00 00 00 00 00 00 00 00 00 00 00 10 00 00
-                                               00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10
-                                               00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 61];
+                                              01 00 01 03 00 00 00 00 00 00 00 00 00 00 00 00
+                                              00 00 00 00 00 00 01 01 01 01 01 01 01 01 01 01
+                                              01 01 01 01 01 01 01 1D 80 18 71 38 2D 40 58 2C
+                                              45 00 00 00 00 00 00 00 00 00 00 10 00 00 00 00
+                                              00 00 00 00 00 00 00 00 00 00 00 00 00 10 00 00
+                                              00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10
+                                              00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 07];
                                nvidia,hdmi-fpd-bridge = <TEGRA_HDMI_ENABLE>;
                        };
                };