From: Minkyu Kang <mk7.kang@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/5] EXYNOS5: Add pinmux for LCD
Date: Thu, 13 Dec 2012 11:21:35 +0900 [thread overview]
Message-ID: <50C93BAF.2040702@samsung.com> (raw)
In-Reply-To: <CAH9JG2XF5Uiy=8N1i7LCu8-UHjCBDNphwSnfxnhmKDRq5Gkcug@mail.gmail.com>
On 12/12/12 23:02, Kyungmin Park wrote:
> Hi,
>
> On Tue, Dec 11, 2012 at 8:01 PM, Ajay Kumar <ajaykumar.rs@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.rs@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.
next prev parent reply other threads:[~2012-12-13 2:21 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-11 11:01 [U-Boot] [PATCH 1/5] EXYNOS5: Change parent clock of FIMD to MPLL Ajay Kumar
2012-12-11 11:01 ` [U-Boot] [PATCH 2/5] EXYNOS5: Add pinmux for LCD Ajay Kumar
2012-12-12 14:02 ` Kyungmin Park
2012-12-13 2:21 ` Minkyu Kang [this message]
2012-12-11 11:01 ` [U-Boot] [PATCH 3/5] video: Fix compilation dependency of exynos_dp and exynos_mipi on exynos_fb Ajay Kumar
2012-12-12 14:31 ` Simon Glass
2012-12-11 11:01 ` [U-Boot] [PATCH 4/5] EXYNOS5: Add support for FIMD and DP Ajay Kumar
2012-12-12 14:42 ` Simon Glass
2012-12-11 11:01 ` [U-Boot] [PATCH 5/5] video: Modify exynos_fimd driver to support LCD console Ajay Kumar
2012-12-12 14:46 ` Simon Glass
2012-12-12 14:31 ` [U-Boot] [PATCH 1/5] EXYNOS5: Change parent clock of FIMD to MPLL Simon Glass
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50C93BAF.2040702@samsung.com \
--to=mk7.kang@samsung.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox