Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274009
b: refs/heads/master
c: 3c76669
h: refs/heads/master
i:
  274007: 4f9a74b
v: v3
  • Loading branch information
Sachin Kamat authored and Kukjin Kim committed Oct 4, 2011
1 parent dd61cc6 commit c7ae759
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9421a76d2bfec62b89b395033d03eea44bb2a4ac
refs/heads/master: 3c76669998905afe2f8dd3f9a95c9936aaf9c4ff
13 changes: 13 additions & 0 deletions trunk/arch/arm/mach-exynos4/mach-origen.c
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,7 @@ static struct platform_device *origen_devices[] __initdata = {
&s5p_device_i2c_hdmiphy,
&s5p_device_mixer,
&exynos4_device_pd[PD_LCD0],
&exynos4_device_pd[PD_TV],
&origen_device_gpiokeys,
&origen_lcd_hv070wsa,
};
Expand All @@ -615,6 +616,14 @@ static struct platform_pwm_backlight_data origen_bl_data = {
.pwm_period_ns = 1000,
};

static void s5p_tv_setup(void)
{
/* Direct HPD to HDMI chip */
gpio_request_one(EXYNOS4_GPX3(7), GPIOF_IN, "hpd-plug");
s3c_gpio_cfgpin(EXYNOS4_GPX3(7), S3C_GPIO_SFN(0x3));
s3c_gpio_setpull(EXYNOS4_GPX3(7), S3C_GPIO_PULL_NONE);
}

static void __init origen_map_io(void)
{
s5p_init_io(NULL, 0, S5P_VA_CHIPID);
Expand Down Expand Up @@ -646,13 +655,17 @@ static void __init origen_machine_init(void)
origen_ehci_init();
clk_xusbxti.rate = 24000000;

s5p_tv_setup();
s5p_i2c_hdmiphy_set_platdata(NULL);

s5p_fimd0_set_platdata(&origen_lcd_pdata);

platform_add_devices(origen_devices, ARRAY_SIZE(origen_devices));
s5p_device_fimd0.dev.parent = &exynos4_device_pd[PD_LCD0].dev;

s5p_device_hdmi.dev.parent = &exynos4_device_pd[PD_TV].dev;
s5p_device_mixer.dev.parent = &exynos4_device_pd[PD_TV].dev;

samsung_bl_set(&origen_bl_gpio_info, &origen_bl_data);
}

Expand Down

0 comments on commit c7ae759

Please sign in to comment.