From: Simon Glass Date: Wed, 11 Feb 2015 07:52:17 -0700 Subject: [U-Boot] [PATCH v3 24/25] tegra: config: nyan-big: Enable LCD In-Reply-To: <1423666338-6946-1-git-send-email-sjg@chromium.org> References: <1423666338-6946-1-git-send-email-sjg@chromium.org> Message-ID: <1423666338-6946-25-git-send-email-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Add the PMIC, LCD settings, PWM and also show the board info at the top of the LCD when starting up. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None configs/nyan-big_defconfig | 2 ++ include/configs/nyan-big.h | 13 +++++++++++++ 2 files changed, 15 insertions(+) diff --git a/configs/nyan-big_defconfig b/configs/nyan-big_defconfig index ec79b5b..41de8e6 100644 --- a/configs/nyan-big_defconfig +++ b/configs/nyan-big_defconfig @@ -3,3 +3,5 @@ +S:CONFIG_TEGRA124=y +S:CONFIG_TARGET_NYAN_BIG=y CONFIG_DEFAULT_DEVICE_TREE="tegra124-nyan-big" +CONFIG_DISPLAY_PORT=y +CONFIG_VIDEO_TEGRA124=y diff --git a/include/configs/nyan-big.h b/include/configs/nyan-big.h index cf331ab..f46f8dc 100644 --- a/include/configs/nyan-big.h +++ b/include/configs/nyan-big.h @@ -22,6 +22,7 @@ #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE #define CONFIG_BOARD_EARLY_INIT_F +#define CONFIG_DISPLAY_BOARDINFO_LATE /* I2C */ #define CONFIG_SYS_I2C_TEGRA @@ -39,6 +40,18 @@ #define CONFIG_SYS_MMC_ENV_PART 2 #define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE) +#define CONFIG_I2C_EDID + +/* LCD support */ +#define CONFIG_LCD +#define CONFIG_PWM_TEGRA +#define CONFIG_AS3722_POWER +#define LCD_BPP LCD_COLOR16 +#define CONFIG_SYS_WHITE_ON_BLACK + +/* Align LCD to 1MB boundary */ +#define CONFIG_LCD_ALIGNMENT MMU_SECTION_SIZE + /* SPI */ #define CONFIG_TEGRA114_SPI /* Compatible w/ Tegra114 SPI */ #define CONFIG_TEGRA114_SPI_CTRLS 6 -- 2.2.0.rc0.207.ga3a616c