[PATCH V2 1/3] ARM: EXYNOS4: Add TVOUT support for SMDKV310

Hatim R.V. hatim.rv at gmail.com
Wed Sep 21 09:48:05 EDT 2011


Hi Sylwester,

On Wed, Sep 21, 2011 at 6:35 PM, Sylwester Nawrocki
<s.nawrocki at samsung.com> wrote:
> Hi Hatim,
>
> On 09/21/2011 07:44 AM, Hatim Ali wrote:
>> Add support for TVOUT on SMDKV310 board.
>>
>> Signed-off-by: Hatim Ali <hatim.rv at samsung.com>
>> ---
> ...
>> diff --git a/arch/arm/mach-exynos4/mach-smdkv310.c b/arch/arm/mach-exynos4/mach-smdkv310.c
>> index 7ce4d8b..50de270 100644
>> --- a/arch/arm/mach-exynos4/mach-smdkv310.c
>> +++ b/arch/arm/mach-exynos4/mach-smdkv310.c
>> @@ -239,6 +239,7 @@ static struct platform_device *smdkv310_devices[] __initdata = {
>>       &s3c_device_hsmmc2,
>>       &s3c_device_hsmmc3,
>>       &s3c_device_i2c1,
>> +     &s5p_device_i2c_hdmiphy,
>>       &s3c_device_rtc,
>>       &s3c_device_wdt,
>>       &exynos4_device_ac97,
>> @@ -262,6 +263,8 @@ static struct platform_device *smdkv310_devices[] __initdata = {
>>       &smdkv310_lcd_lte480wv,
>>       &smdkv310_smsc911x,
>>       &exynos4_device_ahci,
>> +     &s5p_device_hdmi,
>> +     &s5p_device_mixer,
>>  };
>>
>>  static void __init smdkv310_smsc911x_init(void)
>> @@ -298,6 +301,25 @@ static struct platform_pwm_backlight_data smdkv310_bl_data = {
>>       .pwm_period_ns  = 1000,
>>  };
>>
>> +static void s5p_tv_setup(void)
>> +{
>> +     int ret;
>> +
>> +     /* direct HPD to HDMI chip */
>> +     ret = gpio_request(EXYNOS4_GPX3(7), "hpd-plug");
>> +
>> +     if (!ret) {
>> +             gpio_direction_input(EXYNOS4_GPX3(7));
>
> Since you're probably going to be reworking this anyway, I think gpio_request_one
> could be used here for simplicity.

Thanks for your suggestion. Will change accordingly.


>
> --
> Regards,
> Sylwester
> --
> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



More information about the linux-arm-kernel mailing list