Skip to content

Commit

Permalink
tegra: config: nyan-big: Enable LCD
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Tom Warren <[email protected]>
  • Loading branch information
sjg20 authored and tomcwarren committed May 13, 2015
1 parent e7e8823 commit 531eaed
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configs/nyan-big_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 14 additions & 0 deletions include/configs/nyan-big.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -37,6 +39,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
Expand Down

0 comments on commit 531eaed

Please sign in to comment.