Skip to contentSkip to conversation

S5P-TV support for Exynos Nuri and Universal boards

PATCH New Tomasz Stanislawski 1 participant 3 messages Jan 26, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover S5P-TV support for Exynos Nuri and Universal boards

Hello,

This patch series contains platform definitions for s5p-tv driver. It includes fixes to HDMI support on Exynos Universal. It adds S5P-TV support on Nuri board.

Please refer to patchset 'Updates to S5P-TV drivers' on linux-media where definitions of platform data for SII0234 were introduced.

Regards
Tomasz Stanislawski

Tomasz Stanislawski (2):
ARM: Exynos4: enable TV support on Nuri board
ARM: Exynos4: fix TV support on Universal_C210 board

 arch/arm/mach-exynos/Kconfig               |    2 +
 arch/arm/mach-exynos/mach-nuri.c           |   99 ++++++++++++++++++++++++++++
 arch/arm/mach-exynos/mach-universal_c210.c |   14 ++++
 3 files changed, 115 insertions(+), 0 deletions(-)
Signature · 1 line
1.7.5.4
#1 lore raw

PATCH 1/2 ARM: Exynos4: enable TV support on Nuri board

This patch adds platform devices and regulators for TV devices on Samsung Nuri board.

---
 arch/arm/mach-exynos/Kconfig     |    2 +
 arch/arm/mach-exynos/mach-nuri.c |   99 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 101 insertions(+), 0 deletions(-)
arch/arm/mach-exynos/Kconfig +2 -0
index 5d602f6..4cb5225 100644
@@ -268,12 +268,14 @@ config MACH_NURI
 	select S3C_DEV_I2C1
 	select S3C_DEV_I2C3
 	select S3C_DEV_I2C5
+	select S5P_DEV_I2C_HDMIPHY
 	select S5P_DEV_CSIS0
 	select S5P_DEV_FIMC0
 	select S5P_DEV_FIMC1
 	select S5P_DEV_FIMC2
 	select S5P_DEV_FIMC3
 	select S5P_DEV_MFC
+	select S5P_DEV_TV
 	select S5P_DEV_USB_EHCI
 	select S5P_SETUP_MIPIPHY
 	select EXYNOS4_DEV_DMA
arch/arm/mach-exynos/mach-nuri.c +99 -0

156 lines not on this page · raw message

Signature · 1 line
1.7.5.4
#2 lore raw

PATCH 2/2 ARM: Exynos4: fix TV support on Universal_C210 board

In reply to Tomasz Stanislawski

This patch adds support for HDMI platform data.

---
 arch/arm/mach-exynos/mach-universal_c210.c |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
arch/arm/mach-exynos/mach-universal_c210.c +14 -0
index 37ac93e..bec57c0 100644
@@ -45,6 +45,8 @@
 
 #include <media/v4l2-mediabus.h>
 #include <media/s5p_fimc.h>
+#include <media/s5p_hdmi.h>
+
 #include <media/m5mols.h>
 
 #include "common.h"
@@ -997,6 +999,15 @@ static void __init universal_map_io(void)
 	s3c24xx_init_uarts(universal_uartcfgs, ARRAY_SIZE(universal_uartcfgs));
 }
 
+static struct i2c_board_info s5p_hdmiphy_info = {
+	I2C_BOARD_INFO("hdmiphy", 0x70 >> 1),
+};
+
+static struct s5p_hdmi_platform_data s5p_hdmi_pdata = {
+	.hdmiphy_info = &s5p_hdmiphy_info,
+	.hdmiphy_bus = 8,
+};
+
 void s5p_tv_setup(void)
 {
 	/* direct HPD to HDMI chip */
@@ -1004,6 +1015,9 @@ void s5p_tv_setup(void)
 	s3c_gpio_cfgpin(EXYNOS4_GPX3(7), S3C_GPIO_SFN(0x3));
 	s3c_gpio_setpull(EXYNOS4_GPX3(7), S3C_GPIO_PULL_NONE);
 
+	/* setting platform data */
+	s5p_device_hdmi.dev.platform_data = &s5p_hdmi_pdata;
+
 	/* setup dependencies between TV devices */
 	s5p_device_hdmi.dev.parent = &exynos4_device_pd[PD_TV].dev;
 	s5p_device_mixer.dev.parent = &exynos4_device_pd[PD_TV].dev;
Signature · 1 line
1.7.5.4