diff options
author | Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com> | 2012-11-07 16:48:06 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 12:43:41 -0700 |
commit | 2f3f8e91f0684da1296f9ad2901ebc8f94375900 (patch) | |
tree | 79911ec9d399cf121ca78f8ccc71323a43680dfc /arch/arm/mach-tegra/board-panel.h | |
parent | 8a9a9fb02e1d52359dfe9fd29727bdd991fc4158 (diff) |
arm: tegra: pluto: Modularize board panel file
Bug 1166630
Change-Id: I1bf712b1b055482401310f55bd37a254d1ada3f6
Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
Reviewed-on: http://git-master/r/161999
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'arch/arm/mach-tegra/board-panel.h')
-rw-r--r-- | arch/arm/mach-tegra/board-panel.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-panel.h b/arch/arm/mach-tegra/board-panel.h new file mode 100644 index 000000000000..66412a232fb5 --- /dev/null +++ b/arch/arm/mach-tegra/board-panel.h @@ -0,0 +1,37 @@ +/* + * arch/arm/mach-tegra/board-panel.h + * + * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU General Public License, + * version 2, as published by the Free Software Foundation. + * + * This program is distributed in the hope 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, see <http://www.gnu.org/licenses/>. + */ + +#define BOARD_E1582 0x062e +#define BOARD_E1605 0x0645 +#define BOARD_E1639 0x0667 + +struct tegra_panel { + void (*init_sd_settings)(struct tegra_dc_sd_settings *); + void (*init_dc_out)(struct tegra_dc_out *); + void (*init_fb_data)(struct tegra_fb_data *); + void (*init_cmu_data)(struct tegra_dc_platform_data *); + void (*set_disp_device)(struct platform_device *); + void (*init_resources)(struct resource *, int n_resources); + int (*register_bl_dev)(void); + +}; + +extern atomic_t sd_brightness; +extern struct tegra_panel dsi_l_720p_5; +extern struct tegra_panel dsi_j_720p_4_7; +extern struct tegra_panel dsi_s_1080p_5; |