summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-enterprise-panel.c
diff options
context:
space:
mode:
authorAnimesh Kishore <ankishore@nvidia.com>2011-08-10 17:43:51 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:48:15 -0800
commite74168ddf3684ec20ca867f8b19027b44458a4fc (patch)
treeae1dfb96c333b2e24ca72aaca28cb81572e46a07 /arch/arm/mach-tegra/board-enterprise-panel.c
parent4e26afc602ee6861cb7b369f216530df70d6dca5 (diff)
ARM: tegra: enterprise: Pass chip info
Pass chip id and revision to dsi driver via platform data. Bug 837129 Original-Change-Id: I75eb9e122867594d5a1d73ba0347474eb5a9721f Reviewed-on: http://git-master/r/46350 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Re15dd7f840bcc21428a205cd2ae557794c6ca024
Diffstat (limited to 'arch/arm/mach-tegra/board-enterprise-panel.c')
-rw-r--r--arch/arm/mach-tegra/board-enterprise-panel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-enterprise-panel.c b/arch/arm/mach-tegra/board-enterprise-panel.c
index 43485d8053de..ab5c88f80e08 100644
--- a/arch/arm/mach-tegra/board-enterprise-panel.c
+++ b/arch/arm/mach-tegra/board-enterprise-panel.c
@@ -32,6 +32,7 @@
#include <mach/iomap.h>
#include <mach/dc.h>
#include <mach/fb.h>
+#include <mach/hardware.h>
#include "board.h"
#include "board-enterprise.h"
@@ -682,6 +683,9 @@ int __init enterprise_panel_init(void)
if (WARN_ON(ARRAY_SIZE(enterprise_bl_output_measured) != 256))
pr_err("bl_output array does not have 256 elements\n");
+ enterprise_dsi.chip_id = tegra_get_chipid();
+ enterprise_dsi.chip_rev = tegra_get_revision();
+
enterprise_carveouts[1].base = tegra_carveout_start;
enterprise_carveouts[1].size = tegra_carveout_size;