* Re: Re: [PATCH 6/8] arm: exynos: config exynos5 hdmi-hpd gpio
@ 2012-10-05 3:36 RAHUL SHARMA
0 siblings, 0 replies; only message in thread
From: RAHUL SHARMA @ 2012-10-05 3:36 UTC (permalink / raw)
To: Kyungmin Park
Cc: linux-samsung-soc@vger.kernel.org,
devicetree-discuss@lists.ozlabs.org, Kukjin Kim,
Tomasz Stanislawski, Seung-Woo Kim, In-Ki Dae, Joonyoung Shim,
PRASHANTH GODREHAL, SUNIL JOSHI, SHIRISH S, FAHAD KUNNATHADI,
Leela Krishna Amudala, r.sh.open@gmail.com
Sure Mr. park,
I will correct this in v2.
I want to request you for reviewing the other patches in the set.
regards,
Rahul Sharma
On Thu, Oct 4, 2012 at 1:45 PM, Kyungmin Park <kyungmin.park@samsung.com> wrote:
> On 10/5/12, Rahul Sharma <rahul.sharma@samsung.com> wrote:
>> This patch adds support for the configuration of exynos5 hdmi-hpd gpio.
>> It sets the gpio fucntion to EINT which is required for recieving
>> external hpd interrupt in drm hdmi driver.
>>
>> Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
>> ---
>> arch/arm/mach-exynos/mach-exynos5-dt.c | 9 +++++++++
>> 1 files changed, 9 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/arm/mach-exynos/mach-exynos5-dt.c
>> b/arch/arm/mach-exynos/mach-exynos5-dt.c
>> index 003963c..9a6d569 100644
>> --- a/arch/arm/mach-exynos/mach-exynos5-dt.c
>> +++ b/arch/arm/mach-exynos/mach-exynos5-dt.c
>> @@ -11,6 +11,7 @@
>>
>> #include <linux/of_platform.h>
>> #include <linux/serial_core.h>
>> +#include <linux/gpio.h>
>>
>> #include <asm/mach/arch.h>
>> #include <asm/hardware/gic.h>
>> @@ -18,6 +19,7 @@
>>
>> #include <plat/cpu.h>
>> #include <plat/regs-serial.h>
>> +#include <plat/gpio-cfg.h>
>>
>> #include "common.h"
>>
>> @@ -81,10 +83,17 @@ static void __init exynos5250_dt_map_io(void)
>> s3c24xx_init_clocks(24000000);
>> }
>>
>> +static void smdk_hpd_setup(void)
>> +{
>> + s3c_gpio_cfgpin(EXYNOS5_GPX3(7), S3C_GPIO_SFN(0xf));
>> + s3c_gpio_setpull(EXYNOS5_GPX3(7), S3C_GPIO_PULL_DOWN);
>> +}
> these should be described at dts file instead of here. and name is not
> good. smdk...
>
> Thank you,
> Kyungmin Park
>> +
>> static void __init exynos5250_dt_machine_init(void)
>> {
>> of_platform_populate(NULL, of_default_bus_match_table,
>> exynos5250_auxdata_lookup, NULL);
>> + smdk_hpd_setup();
>> }
>>
>> static char const *exynos5250_dt_compat[] __initdata = {
>> --
>> 1.7.0.4
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc"
>> in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-10-05 3:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-05 3:36 Re: [PATCH 6/8] arm: exynos: config exynos5 hdmi-hpd gpio RAHUL SHARMA
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).