* [RESEND PATCH v3 1/2] ARM: exynos_defconfig: Enable Samsung media platform drivers as modules
@ 2016-04-28 13:29 Javier Martinez Canillas
2016-04-28 13:29 ` [RESEND PATCH v3 2/2] ARM: multi_v7_defconfig: " Javier Martinez Canillas
0 siblings, 1 reply; 4+ messages in thread
From: Javier Martinez Canillas @ 2016-04-28 13:29 UTC (permalink / raw)
To: linux-kernel; +Cc: Javier Martinez Canillas
There are a bunch of media platform drivers under drivers/media/platform/
that are for Samsung SoCs but are not being built with exynos_defconfig.
This patch enables them as a module to improve build coverage for these
drivers and also to allow people use them with proper hardware if modules
are installed. The S5P MFC driver wasn't enabled since it fails to probe.
Only the boolean Kconfig symbols are enabled as built-in, since drivers
are not critical and also to keep the kernel binary image size as small
as possible.
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
Changes in v3:
- Added Krzysztof Kozlowski's reviewed by tag.
Changes in v2:
- Remove S5P G2D and GSC symbols since overlaps with Exynos DRM functionality.
Suggested by Tobias Jakobi
arch/arm/configs/exynos_defconfig | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig
index 10f49ab5328e..14bbc708f1bf 100644
--- a/arch/arm/configs/exynos_defconfig
+++ b/arch/arm/configs/exynos_defconfig
@@ -143,8 +143,18 @@ CONFIG_REGULATOR_TPS65090=y
CONFIG_REGULATOR_WM8994=y
CONFIG_MEDIA_SUPPORT=m
CONFIG_MEDIA_CAMERA_SUPPORT=y
+CONFIG_MEDIA_CONTROLLER=y
+CONFIG_VIDEO_V4L2_SUBDEV_API=y
CONFIG_MEDIA_USB_SUPPORT=y
CONFIG_USB_VIDEO_CLASS=m
+CONFIG_V4L_PLATFORM_DRIVERS=y
+CONFIG_VIDEO_SAMSUNG_EXYNOS4_IS=m
+CONFIG_VIDEO_S5P_FIMC=m
+CONFIG_VIDEO_S5P_MIPI_CSIS=m
+CONFIG_VIDEO_EXYNOS_FIMC_LITE=m
+CONFIG_VIDEO_EXYNOS4_FIMC_IS=m
+CONFIG_V4L_MEM2MEM_DRIVERS=y
+CONFIG_VIDEO_SAMSUNG_S5P_JPEG=m
CONFIG_DRM=y
CONFIG_DRM_NXP_PTN3460=y
CONFIG_DRM_PARADE_PS8622=y
--
2.5.5
^ permalink raw reply [flat|nested] 4+ messages in thread
* [RESEND PATCH v3 2/2] ARM: multi_v7_defconfig: Enable Samsung media platform drivers as modules
2016-04-28 13:29 [RESEND PATCH v3 1/2] ARM: exynos_defconfig: Enable Samsung media platform drivers as modules Javier Martinez Canillas
@ 2016-04-28 13:29 ` Javier Martinez Canillas
0 siblings, 0 replies; 4+ messages in thread
From: Javier Martinez Canillas @ 2016-04-28 13:29 UTC (permalink / raw)
To: linux-kernel; +Cc: Javier Martinez Canillas
There are a bunch of media platform drivers under drivers/media/platform/
for Samsung SoCs that are enabled in exynos_defconfig but no in multi_v7.
This patch enables them as a module to improve build coverage for these
drivers and also to allow people use them with proper hardware if modules
are installed.
Suggested-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
---
Hello,
I'm resending the patches because Krzysztof pointed out that they didn't
end in patchwork. Sorry for the noise.
Best regards,
Javier
Changes in v3: None
Changes in v2: None
arch/arm/configs/multi_v7_defconfig | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 7a4531c0eadb..253c8edf703b 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -522,7 +522,13 @@ CONFIG_V4L_PLATFORM_DRIVERS=y
CONFIG_SOC_CAMERA=m
CONFIG_SOC_CAMERA_PLATFORM=m
CONFIG_VIDEO_RCAR_VIN=m
+CONFIG_VIDEO_SAMSUNG_EXYNOS4_IS=m
+CONFIG_VIDEO_S5P_FIMC=m
+CONFIG_VIDEO_S5P_MIPI_CSIS=m
+CONFIG_VIDEO_EXYNOS_FIMC_LITE=m
+CONFIG_VIDEO_EXYNOS4_FIMC_IS=m
CONFIG_V4L_MEM2MEM_DRIVERS=y
+CONFIG_VIDEO_SAMSUNG_S5P_JPEG=m
CONFIG_VIDEO_RENESAS_JPU=m
CONFIG_VIDEO_RENESAS_VSP1=m
# CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set
--
2.5.5
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <1461850825-14571-1-git-send-email-javier@osg.samsung.com>]
[parent not found: <1461603086-21288-1-git-send-email-javier@osg.samsung.com>]
end of thread, other threads:[~2016-05-02 8:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-28 13:29 [RESEND PATCH v3 1/2] ARM: exynos_defconfig: Enable Samsung media platform drivers as modules Javier Martinez Canillas
2016-04-28 13:29 ` [RESEND PATCH v3 2/2] ARM: multi_v7_defconfig: " Javier Martinez Canillas
[not found] <1461850825-14571-1-git-send-email-javier@osg.samsung.com>
[not found] ` <1461850825-14571-2-git-send-email-javier@osg.samsung.com>
2016-05-02 8:13 ` Krzysztof Kozlowski
[not found] <1461603086-21288-1-git-send-email-javier@osg.samsung.com>
[not found] ` <1461603086-21288-2-git-send-email-javier@osg.samsung.com>
2016-04-25 20:48 ` Javier Martinez Canillas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®