Skip to contentSkip to conversation

enabling FIMC from default config

DISCUSSION Subash Patel 2 participants 3 messages Oct 10, 2011 Arm Samsung Exynos

lore
Share & tools
lore
#0 lore raw

Hi Sylwester,

In the file arch/arm/plat-s5p/Kconfig, why dont we change the below

config S5P_DEV_FIMC0/1/2/3
bool
help
Compile in platform device definitions for FIMC controller
0/1/2/3

as

config S5P_DEV_FIMC0/1/2/3
bool
depends on VIDEO_SAMSUNG_S5P_FIMC
default y
help
Compile in platform device definitions for FIMC controller
0/1/2/3

I find that every time I need to use FIMC, I need to make some un-necessary hacks into Kconfig, even though I choose the menu item "Samsung S5P and EXYNOS4 camera host interface driver"

Regards,
Subash

#1 lore raw

I forgot to add:

instead of choosing them through config MACH_**** in arch/arm/mach-exynos4/Kconfig

Regards,
Subash

Quoted 26 lines · Subash Patel

Hi Sylwester,

In the file arch/arm/plat-s5p/Kconfig, why dont we change the below

config S5P_DEV_FIMC0/1/2/3
bool
help
Compile in platform device definitions for FIMC controller 0/1/2/3

as

config S5P_DEV_FIMC0/1/2/3
bool
depends on VIDEO_SAMSUNG_S5P_FIMC
default y
help
Compile in platform device definitions for FIMC controller 0/1/2/3

I find that every time I need to use FIMC, I need to make some un-necessary hacks into Kconfig, even though I choose the menu item "Samsung S5P and EXYNOS4 camera host interface driver"

Regards,
Subash

#2 lore raw

Hi Subash,

Quoted 29 lines · Subash Patel

I forgot to add:

instead of choosing them through config MACH_**** in arch/arm/mach-exynos4/Kconfig

Regards,
Subash

Quoted 21 lines · Subash Patel

Hi Sylwester,

In the file arch/arm/plat-s5p/Kconfig, why dont we change the below

config S5P_DEV_FIMC0/1/2/3
bool
help
Compile in platform device definitions for FIMC controller 0/1/2/3

as

config S5P_DEV_FIMC0/1/2/3
bool
depends on VIDEO_SAMSUNG_S5P_FIMC
default y
help
Compile in platform device definitions for FIMC controller 0/1/2/3

I find that every time I need to use FIMC, I need to make some un-necessary hacks into Kconfig, even though I choose the menu item "Samsung S5P and EXYNOS4 camera host interface driver"

I'm all for automating these things, although please note plat-s5p/Kconfig is for all relevant mach-* and the number of available FIMC instances is specific to each mach-*. E.g. s5pv210 has only 3 instances, while on exynos4 there are 4. So each mach-* currently selects S5P_DEV_FIMC?. I agree the current scheme might not be the most optimal.
I'm open to any suggestions on this.

Regards,

Signature · 2 lines
Sylwester Nawrocki
Samsung Poland R&D Center