Skip to content
Snippets Groups Projects
Commit 716d9439 authored by Marc Dietrich's avatar Marc Dietrich Committed by Tom Warren
Browse files

tegra: display: add board pinmux


Boards may require a different pinmux setup for DISPALY than the default one.
Add a way to call into board specific code to set this up.

Signed-off-by: default avatarMarc Dietrich <marvin24@gmx.de>
Signed-off-by: default avatarTom Warren <twarren@nvidia.com>
parent e1abca51
No related branches found
No related tags found
No related merge requests found
...@@ -41,8 +41,9 @@ void gpio_early_init(void); /* overrideable GPIO config */ ...@@ -41,8 +41,9 @@ void gpio_early_init(void); /* overrideable GPIO config */
* an empty stub function will be called. * an empty stub function will be called.
*/ */
void pin_mux_usb(void); /* overrideable USB pinmux setup */ void pin_mux_usb(void); /* overrideable USB pinmux setup */
void pin_mux_spi(void); /* overrideable SPI pinmux setup */ void pin_mux_spi(void); /* overrideable SPI pinmux setup */
void pin_mux_nand(void); /* overrideable NAND pinmux setup */ void pin_mux_nand(void); /* overrideable NAND pinmux setup */
void pin_mux_display(void); /* overrideable DISPLAY pinmux setup */
#endif #endif
...@@ -87,6 +87,12 @@ void __pin_mux_nand(void) ...@@ -87,6 +87,12 @@ void __pin_mux_nand(void)
void pin_mux_nand(void) __attribute__((weak, alias("__pin_mux_nand"))); void pin_mux_nand(void) __attribute__((weak, alias("__pin_mux_nand")));
void __pin_mux_display(void)
{
}
void pin_mux_display(void) __attribute__((weak, alias("__pin_mux_display")));
/* /*
* Routine: power_det_init * Routine: power_det_init
* Description: turn off power detects * Description: turn off power detects
...@@ -126,6 +132,7 @@ int board_init(void) ...@@ -126,6 +132,7 @@ int board_init(void)
debug("%s: Failed to init pwm\n", __func__); debug("%s: Failed to init pwm\n", __func__);
#endif #endif
#ifdef CONFIG_LCD #ifdef CONFIG_LCD
pin_mux_display();
tegra_lcd_check_next_stage(gd->fdt_blob, 0); tegra_lcd_check_next_stage(gd->fdt_blob, 0);
#endif #endif
/* boot param addr */ /* boot param addr */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment