Skip to content

Commit 0834510

Browse files
committed
Merge pull request #76 from gripped/xbmc-fixes
Oversun's MFC and CEC fixes
2 parents 2426712 + 8adffc9 commit 0834510

File tree

4 files changed

+37
-15
lines changed

4 files changed

+37
-15
lines changed

arch/arm/boot/dts/exynos5422_evt0.dtsi

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,6 +1159,27 @@
11591159
samsung,syscon-phandle = <&pmu_system_controller>;
11601160
status = "enabled";
11611161
};
1162+
1163+
cec@101B0000 {
1164+
compatible = "samsung,exynos5-cec_driver";
1165+
reg = <0x101B0000 0x1000>;
1166+
interrupts = <0 114 0>;
1167+
1168+
gpios = <&gpx3 6 0xf>;
1169+
pinctrl-names = "hdmi_cec";
1170+
pinctrl-0 = <&hdmi_cec>;
1171+
1172+
clock-names = "pclk_hdmi_cec";
1173+
clocks = <&clock 966>;
1174+
1175+
#address-cells = <1>;
1176+
#size-cells = <1>;
1177+
ranges;
1178+
1179+
hdmiphy-sys {
1180+
reg = <0x10040700 0x4>;
1181+
};
1182+
};
11621183

11631184
hdmiphy: hdmiphy@145D0000 {
11641185
reg = <0x145D0000 0x20>;
@@ -1273,12 +1294,11 @@
12731294
bts-status = "enabled";
12741295
};
12751296

1276-
pd_mfc0: pd-mfc@10044060 {
1277-
compatible = "samsung,exynos-pd";
1278-
reg = <0x10044060 0x20>;
1279-
bts-status = "enabled";
1280-
status = "enabled";
1281-
};
1297+
pd_mfc0: pd-mfc@10044060 {
1298+
compatible = "samsung,exynos-pd";
1299+
reg = <0x10044060 0x20>;
1300+
bts-status = "disable";
1301+
};
12821302

12831303
pd_g3d: pd-g3d@0x10044080 {
12841304
compatible = "samsung,exynos-pd";

arch/arm/configs/odroidxu3_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2369,6 +2369,7 @@ CONFIG_EXYNOS_MFC_V8=y
23692369
# CONFIG_VIDEO_EXYNOS_JPEG is not set
23702370
# CONFIG_VIDEO_EXYNOS_HX_JPEG is not set
23712371
# CONFIG_VIDEO_EXYNOS_TV is not set
2372+
CONFIG_VIDEO_EXYNOS_HDMI_CEC=y
23722373
# CONFIG_VIDEO_TIMBERDALE is not set
23732374
# CONFIG_SOC_CAMERA is not set
23742375
# CONFIG_VIDEO_SAMSUNG_EXYNOS4_IS is not set

drivers/media/platform/exynos/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,6 @@ obj-$(CONFIG_VIDEO_EXYNOS_FIMG2D) += fimg2d/
99
obj-$(CONFIG_VIDEO_EXYNOS_JPEG) += jpeg4/
1010
obj-$(CONFIG_VIDEO_EXYNOS_HX_JPEG) += jpeg_hx/
1111
obj-$(CONFIG_VIDEO_EXYNOS_TV) += tv/
12+
obj-$(CONFIG_VIDEO_EXYNOS_HDMI_CEC) += s5p-hdmi_cec.o
13+
s5p-hdmi_cec-y += tv/hdmi_cec.o tv/hdmi_cec_ctrl.o
1214
EXTRA_CLAGS += -Idrivers/media/video

drivers/media/platform/exynos/tv/Kconfig

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,6 @@ config VIDEO_EXYNOS_MIXER
7575
Say Y here if you want support for the Mixer in Samsung S5P SoCs.
7676
This device produce image data to one of output interfaces.
7777

78-
config VIDEO_EXYNOS_HDMI_CEC
79-
tristate "Samsung HDMI CEC Driver"
80-
depends on VIDEO_DEV && VIDEO_V4L2 && I2C
81-
depends on VIDEO_EXYNOS_TV
82-
help
83-
Say Y here if you want support for the HDMI CEC
84-
interface in S5P Samsung SoC. The driver can be compiled
85-
as module.
86-
8778
config VIDEO_SAMSUNG_MEMSIZE_TV
8879
int "Memory size in kbytes for TV"
8980
depends on VIDEO_EXYNOS_MIXER && VIDEOBUF2_CMA_PHYS
@@ -97,3 +88,11 @@ config VIDEO_EXYNOS_MIXER_DEBUG
9788
Enables debugging for Mixer driver.
9889

9990
endif # VIDEO_EXYNOS_TV
91+
92+
config VIDEO_EXYNOS_HDMI_CEC
93+
tristate "Samsung HDMI CEC Driver"
94+
depends on VIDEO_DEV && VIDEO_V4L2 && I2C
95+
help
96+
Say Y here if you want support for the HDMI CEC
97+
interface in S5P Samsung SoC. The driver can be compiled
98+
as module.

0 commit comments

Comments
 (0)