Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Side by Side Diff: include/configs/chromeos/tegra2/parts/lcd.h

Issue 6731090: Remove ChromeOS specific configs from the U-Boot repository. (Closed) Base URL: ssh://gitrw.chromium.org:9222/u-boot-next.git@chromeos-v2010.09
Patch Set: Rebase to TOT. Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7 #define CONFIG_LCD
8 #define CONFIG_TEGRA2_LCD
9 #define LCD_BPP LCD_COLOR16
10 #define LCD_FB_ADDR 0x1C022000 /* FB could be passed from bl */
11 #define CONFIG_SYS_WHITE_ON_BLACK /*Console colors*/
12
13 #define TEGRA_GPIO_BACKLIGHT_CHROMEOS_1 TEGRA_GPIO_PD4
14 #define TEGRA_GPIO_LVDS_SHUTDOWN_CHROMEOS_1 TEGRA_GPIO_PB2
15 #define TEGRA_GPIO_BACKLIGHT_VDD_CHROMEOS_1 TEGRA_GPIO_PW0
16 #define TEGRA_GPIO_EN_VDD_PNL_CHROMEOS_1 TEGRA_GPIO_PC6
17
18 #define TEGRA_GPIO_INIT_LCD_CHROMEOS_1 \
19 TEGRA_GPIO_INIT(TEGRA_GPIO_BACKLIGHT_CHROMEOS_1, true) \
20 TEGRA_GPIO_INIT(TEGRA_GPIO_LVDS_SHUTDOWN_CHROMEOS_1, true) \
21 TEGRA_GPIO_INIT(TEGRA_GPIO_BACKLIGHT_VDD_CHROMEOS_1, false) \
22 TEGRA_GPIO_INIT(TEGRA_GPIO_EN_VDD_PNL_CHROMEOS_1, true)
23
24 #define TEGRA_CLOCK_INIT_LCD_CHROMEOS_1 \
25 TEGRA_CLOCK("3d", "pll_m", 300000000, true) \
26 TEGRA_CLOCK("2d", "pll_m", 300000000, true) \
27 TEGRA_CLOCK("host1x", "pll_p", 144000000, true) \
28 TEGRA_CLOCK("disp1", "pll_p", 216000000, true) \
29 TEGRA_CLOCK("pwm", "clk_32k", 32768, true)
30
31 #define TEGRA_RESOURCE_LCD_CHROMEOS_1 \
32 TEGRA_RESOURCE("irq", 0x69, 1) \
33 TEGRA_RESOURCE("regs", TEGRA_DISPLAY_BASE, TEGRA_DISPLAY_SIZE) \
34 TEGRA_RESOURCE("fbmem", LCD_FB_ADDR, 0x4000000) \
35 TEGRA_RESOURCE("pwm", TEGRA_PWFM2_BASE, TEGRA_PWFM2_SIZE)
36
37 #define TEGRA_PANEL_MODE_CHROMEOS_1 \
38 TEGRA_PANEL(pclk, 62200000) \
39 TEGRA_PANEL(h_ref_to_sync, 11) \
40 TEGRA_PANEL(v_ref_to_sync, 1) \
41 TEGRA_PANEL(h_sync_width, 58) \
42 TEGRA_PANEL(v_sync_width, 4) \
43 TEGRA_PANEL(h_back_porch, 58) \
44 TEGRA_PANEL(v_back_porch, 4) \
45 TEGRA_PANEL(h_front_porch, 58) \
46 TEGRA_PANEL(v_front_porch, 4)
OLDNEW
« no previous file with comments | « include/configs/chromeos/tegra2/parts/i2c.h ('k') | include/configs/chromeos/tegra2/parts/mmc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698