]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
tegra: config: nyan-big: Enable LCD
authorSimon Glass <sjg@chromium.org>
Wed, 15 Apr 2015 03:03:43 +0000 (21:03 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:39:35 +0000 (22:39 +0200)
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 <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
configs/nyan-big_defconfig
include/configs/nyan-big.h

index 0d2ed5189557d081467d60a0a1853a2a34a49c4e..d447ddc56c062bb5dea7dfcab905dd712e99828c 100644 (file)
@@ -3,3 +3,5 @@ CONFIG_TEGRA=y
 CONFIG_TEGRA124=y
 CONFIG_TARGET_NYAN_BIG=y
 CONFIG_DEFAULT_DEVICE_TREE="tegra124-nyan-big"
+CONFIG_DISPLAY_PORT=y
+CONFIG_VIDEO_TEGRA124=y
index 539759991123f6c5888d1403153c33fd87c8046d..caca98b5a965799d91b8faeacfed32d90259cf45 100644 (file)
@@ -21,6 +21,8 @@
 #define CONFIG_TEGRA_ENABLE_UARTA
 #define CONFIG_SYS_NS16550_COM1                NV_PA_APB_UARTA_BASE
 
+#define CONFIG_DISPLAY_BOARDINFO_LATE
+
 /* I2C */
 #define CONFIG_SYS_I2C_TEGRA
 #define CONFIG_CMD_I2C
 #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