summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-whistler-panel.c
diff options
context:
space:
mode:
authorTom Cherry <tcherry@nvidia.com>2010-12-13 11:15:36 -0800
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:46:19 -0800
commit529924d8c66be71ee474e72bce44bb311e7b08a6 (patch)
tree8e17753d0ccba4f79f5c662f0cecd3c2ffeced8b /arch/arm/mach-tegra/board-whistler-panel.c
parentc157acd9d0d8c3849fbe59db6eddc2e3a2fda016 (diff)
Initial Whistler support in K36
Original-Change-Id: I6fce3852aa1e5063c45caa72c53d6f095db969b7 Reviewed-on: http://git-master/r/11640 Tested-by: Thomas Cherry <tcherry@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Rb8c00a412d29ee52d6ad680af817dd1cd99fc727
Diffstat (limited to 'arch/arm/mach-tegra/board-whistler-panel.c')
-rw-r--r--arch/arm/mach-tegra/board-whistler-panel.c51
1 files changed, 51 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-whistler-panel.c b/arch/arm/mach-tegra/board-whistler-panel.c
new file mode 100644
index 000000000000..d6493f6bc27e
--- /dev/null
+++ b/arch/arm/mach-tegra/board-whistler-panel.c
@@ -0,0 +1,51 @@
+/*
+ * arch/arm/mach-tegra/board-whistler-panel.c
+ *
+ * Copyright (c) 2010, NVIDIA Corporation.
+ *
+ * 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; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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.
+ */
+
+#include <mach/dc.h>
+#include <mach/fb.h>
+
+static struct tegra_dc_mode whistler_panel_modes[] = {
+ {
+ .pclk = 216000000,
+ .h_ref_to_sync = 4,
+ .v_ref_to_sync = 2,
+ .h_sync_width = 10,
+ .v_sync_width = 3,
+ .h_back_porch = 20,
+ .v_back_porch = 3,
+ .h_active = 800,
+ .v_active = 480,
+ .h_front_porch = 70,
+ .v_front_porch = 3,
+ },
+};
+
+static struct tegra_fb_data whistler_fb_data = {
+ .win = 0,
+ .xres = 800,
+ .yres = 480,
+ .bits_per_pixel = 16,
+};
+
+int __init whistler_panel_init(void)
+{
+ return 0;
+}
+