On 12/12/12 23:02, Kyungmin Park wrote: > Hi, > > On Tue, Dec 11, 2012 at 8:01 PM, Ajay Kumar <ajaykumar...@samsung.com> wrote: >> This patch adds pinmux configuration for backlight, LCD reset >> and HPD for DP panel on Exynos5 SMDK. >> >> Signed-off-by: Ajay Kumar <ajaykumar...@samsung.com> >> --- >> arch/arm/cpu/armv7/exynos/pinmux.c | 20 ++++++++++++++++++++ >> arch/arm/include/asm/arch-exynos/periph.h | 1 + >> 2 files changed, 21 insertions(+), 0 deletions(-) >> >> diff --git a/arch/arm/cpu/armv7/exynos/pinmux.c >> b/arch/arm/cpu/armv7/exynos/pinmux.c >> index f02f441..84f52ea 100644 >> --- a/arch/arm/cpu/armv7/exynos/pinmux.c >> +++ b/arch/arm/cpu/armv7/exynos/pinmux.c >> @@ -284,6 +284,23 @@ void exynos5_spi_config(int peripheral) >> } >> } >> >> +void exynos5_lcd_config() > missing void >> +{ >> + struct exynos5_gpio_part1 *gpio1 = >> + (struct exynos5_gpio_part1 *) samsung_get_base_gpio_part1(); >> + >> + /* For Backlight */ >> + s5p_gpio_cfg_pin(&gpio1->b2, 0, GPIO_OUTPUT); >> + s5p_gpio_set_value(&gpio1->b2, 0, 1); >> + >> + /* LCD power on */ >> + s5p_gpio_cfg_pin(&gpio1->x1, 5, GPIO_OUTPUT); >> + s5p_gpio_set_value(&gpio1->x1, 5, 1); >> + >> + /* Set Hotplug detect for DP */ >> + s5p_gpio_cfg_pin(&gpio1->x0, 7, GPIO_FUNC(0x3)); > It should be SMDK5250 specific codes, it can't located at common file. >
You can use the cfg_gpio function at your board file. Thanks. Minkyu Kang. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot