Skip to contentSkip to conversation

ARM: config: update multi_v7_defconfig

PATCH New Naveen Krishna Chatradhi 6 participants 8 messages Jul 15, 2014 – Jul 17, 2014

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

PATCH 1/1 ARM: config: update multi_v7_defconfig

Enabled S3C24XX I2C driver and MAX77686 PMIC MFD and Voltage regulator drivers used on Exynos5250 based Snow board.

---
By enabling the symbols to compile S3C24XX I2C driver, MAX77686 PMIC under MFD and REGULATOR.

http://arm-soc.lixom.net/bootlogs/next/next-20140711/snow-multi_v7_defconfig.html
The warnings by cpufreq on Snow board are fixed.

Booted and verified on on Exynos5420 based Snow board

 arch/arm/configs/multi_v7_defconfig |    3 +++
 1 file changed, 3 insertions(+)
arch/arm/configs/multi_v7_defconfig +3 -0
index 5348364..1aaf91d 100644
@@ -193,6 +193,7 @@ CONFIG_I2C_CADENCE=y
 CONFIG_I2C_DESIGNWARE_PLATFORM=y
 CONFIG_I2C_EXYNOS5=y
 CONFIG_I2C_MV64XXX=y
+CONFIG_I2C_S3C2410=y
 CONFIG_I2C_SIRF=y
 CONFIG_I2C_TEGRA=y
 CONFIG_SPI=y
@@ -231,6 +232,7 @@ CONFIG_MFD_AS3722=y
 CONFIG_MFD_BCM590XX=y
 CONFIG_MFD_CROS_EC=y
 CONFIG_MFD_CROS_EC_SPI=y
+CONFIG_MFD_MAX77686=y
 CONFIG_MFD_MAX8907=y
 CONFIG_MFD_SEC_CORE=y
 CONFIG_MFD_PALMAS=y
@@ -243,6 +245,7 @@ CONFIG_REGULATOR_AS3722=y
 CONFIG_REGULATOR_BCM590XX=y
 CONFIG_REGULATOR_GPIO=y
 CONFIG_REGULATOR_MAX8907=y
+CONFIG_REGULATOR_MAX77686=y
 CONFIG_REGULATOR_PALMAS=y
 CONFIG_REGULATOR_S2MPS11=y
 CONFIG_REGULATOR_S5M8767=y
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 ARM: config: update multi_v7_defconfig

Hello All,

Quoted 4 lines · Naveen Krishna Chatradhi

Enabled S3C24XX I2C driver and MAX77686 PMIC MFD and Voltage regulator drivers used on Exynos5250 based Snow board.

Quoted 8 lines

---
By enabling the symbols to compile S3C24XX I2C driver, MAX77686 PMIC under MFD and REGULATOR.

http://arm-soc.lixom.net/bootlogs/next/next-20140711/snow-multi_v7_defconfig.html
The warnings by cpufreq on Snow board are fixed.

Booted and verified on on Exynos5420 based Snow board

* Exynos5250 based Snow board.

Quoted 39 lines
 arch/arm/configs/multi_v7_defconfig |    3 +++
 1 file changed, 3 insertions(+)
arch/arm/configs/multi_v7_defconfig +3 -1
index 5348364..1aaf91d 100644
@@ -193,6 +193,7 @@ CONFIG_I2C_CADENCE=y
 CONFIG_I2C_DESIGNWARE_PLATFORM=y
 CONFIG_I2C_EXYNOS5=y
 CONFIG_I2C_MV64XXX=y
+CONFIG_I2C_S3C2410=y
 CONFIG_I2C_SIRF=y
 CONFIG_I2C_TEGRA=y
 CONFIG_SPI=y
@@ -231,6 +232,7 @@ CONFIG_MFD_AS3722=y
 CONFIG_MFD_BCM590XX=y
 CONFIG_MFD_CROS_EC=y
 CONFIG_MFD_CROS_EC_SPI=y
+CONFIG_MFD_MAX77686=y
 CONFIG_MFD_MAX8907=y
 CONFIG_MFD_SEC_CORE=y
 CONFIG_MFD_PALMAS=y
@@ -243,6 +245,7 @@ CONFIG_REGULATOR_AS3722=y
 CONFIG_REGULATOR_BCM590XX=y
 CONFIG_REGULATOR_GPIO=y
 CONFIG_REGULATOR_MAX8907=y
+CONFIG_REGULATOR_MAX77686=y
 CONFIG_REGULATOR_PALMAS=y
 CONFIG_REGULATOR_S2MPS11=y
 CONFIG_REGULATOR_S5M8767=y
--

1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
Shine bright,
(: Nav :)
#2 lore raw

PATCH 1/1 ARM: config: update multi_v7_defconfig

In reply to Naveen Krishna Chatradhi

Naveen,

Quoted 8 lines · Naveen Krishna Chatradhi

Enabled S3C24XX I2C driver and MAX77686 PMIC MFD and Voltage regulator drivers used on Exynos5250 based Snow board.

---
By enabling the symbols to compile S3C24XX I2C driver, MAX77686 PMIC under MFD and REGULATOR.

Quoted 7 lines

http://arm-soc.lixom.net/bootlogs/next/next-20140711/snow-multi_v7_defconfig.html
The warnings by cpufreq on Snow board are fixed.

Booted and verified on on Exynos5420 based Snow board

 arch/arm/configs/multi_v7_defconfig |    3 +++
 1 file changed, 3 insertions(+)

Is there a reason not to add more of the max77686 configs?

+CONFIG_RTC_DRV_MAX77686=y
+CONFIG_COMMON_CLK_MAX77686=y

I also seems like it would be nice to reconcile this with Sacin's latest patch. For starters I notice that you're missing:
CONFIG_EXYNOS5420_MCPM=y

I'll leave it up to you to look for other things that might be missing. If some of the things in exynos5_defconfig can't go into the multi-config, please explain.

-Doug

#3 lore raw

PATCH 1/1 ARM: config: update multi_v7_defconfig

Hi Doug,

Quoted 25 lines · Doug Anderson

Naveen,

Quoted 8 lines · Naveen Krishna Chatradhi

Enabled S3C24XX I2C driver and MAX77686 PMIC MFD and Voltage regulator drivers used on Exynos5250 based Snow board.

---
By enabling the symbols to compile S3C24XX I2C driver, MAX77686 PMIC under MFD and REGULATOR.

Quoted 7 lines

http://arm-soc.lixom.net/bootlogs/next/next-20140711/snow-multi_v7_defconfig.html
The warnings by cpufreq on Snow board are fixed.

Booted and verified on on Exynos5420 based Snow board

 arch/arm/configs/multi_v7_defconfig |    3 +++
 1 file changed, 3 insertions(+)

Is there a reason not to add more of the max77686 configs?

(quoted diff) +2 -0
+CONFIG_RTC_DRV_MAX77686=y
+CONFIG_COMMON_CLK_MAX77686=y
Quoted 7 lines

I also seems like it would be nice to reconcile this with Sacin's latest patch. For starters I notice that you're missing:
CONFIG_EXYNOS5420_MCPM=y

I'll leave it up to you to look for other things that might be missing. If some of the things in exynos5_defconfig can't go into the multi-config, please explain.

multi_v7_defconfig update patch, inline with exynos_defconfig is already on my TODO list. I wanted to send this one along with the next update of exynos_defconfig
(around -rc7) as Olof preferred to have a single patch updating most of the available
things. By then I believe remaining drivers like 5420/5800 regulators, display and cpufreq
drivers would have been merged.

--
Regards,
Sachin.

#4 lore raw

PATCH 1/1 ARM: config: update multi_v7_defconfig

In reply to Doug Anderson

Hello Doug

Quoted 15 lines · Doug Anderson

Naveen,

Quoted 11 lines · Naveen Krishna Chatradhi

Enabled S3C24XX I2C driver and MAX77686 PMIC MFD and Voltage regulator drivers used on Exynos5250 based Snow board.

---
By enabling the symbols to compile S3C24XX I2C driver, MAX77686 PMIC under MFD and REGULATOR.

http://arm-soc.lixom.net/bootlogs/next/next-20140711/snow-multi_v7_defconfig.html
The warnings by cpufreq on Snow board are fixed.

Quoted 6 lines
Quoted 4 lines

Booted and verified on on Exynos5420 based Snow board

 arch/arm/configs/multi_v7_defconfig |    3 +++
 1 file changed, 3 insertions(+)

Is there a reason not to add more of the max77686 configs?

I was trying to address the warnings posted @
http://arm-soc.lixom.net/bootlogs/next/next-20140711/snow-multi_v7_defconfig.html

Quoted 7 lines
(quoted diff) +2 -0
+CONFIG_RTC_DRV_MAX77686=y
+CONFIG_COMMON_CLK_MAX77686=y

I also seems like it would be nice to reconcile this with Sacin's latest patch. For starters I notice that you're missing:
CONFIG_EXYNOS5420_MCPM=y

Right

Quoted 4 lines

I'll leave it up to you to look for other things that might be missing. If some of the things in exynos5_defconfig can't go into the multi-config, please explain.

Will try to bring the symbols from Sachin's patch for exynos_defconfig to multi_v7_defconfig.

Quoted 6 lines

-Doug
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
Regards,
(: Naveen :)
#5 lore raw

PATCH 1/1 ARM: config: update multi_v7_defconfig

In reply to Doug Anderson

Hello,

Review

Quoted 5 lines · Doug Anderson

Is there a reason not to add more of the max77686 configs?

(quoted diff) +2 -0
+CONFIG_RTC_DRV_MAX77686=y
+CONFIG_COMMON_CLK_MAX77686=y

AFAIK for the multi-platform defconfig we should try to build as a module as many config options as possible to keep the kernel binary size to a minimum.

In the case of the MAX77686, the mfd, regulator and clock drivers use subsys_initcall() instead of module_init() but I wonder which of these really need to be initialized at subsys init call time and which one can just be built as a module. The only MAX77686 driver that uses module_platform_driver() so it's initialized at device initcall time is the rtc-max77686 driver which ironically is the only MAX77686 driver that doesn't define a MODULE_DEVICE_TABLE() so the module won't be autoloaded.

Best regards,
Javier

#6 lore raw

PATCH 1/1 ARM: config: update multi_v7_defconfig

Quoted 4 lines · Javier Martinez Canillas

In the case of the MAX77686, the mfd, regulator and clock drivers use subsys_initcall() instead of module_init() but I wonder which of these really need to be initialized at subsys init call time and which one can just be built as a module.

I think you're making a frequently made mistake concerning module initialisation.

Having code initialised by subsys_initcall() (or indeed any other level) does not preclude it being a module:

#ifndef MODULE
...
#define subsys_initcall(fn) __define_initcall(fn, 4)
...
#else /* MODULE */
...
#define subsys_initcall(fn) module_init(fn)
...
#endif

So, subsys_initcall() automagically becomes module_init() when built as a module. There's no need to change anything here.

Signature · 2 lines
FTTC broadband for 0.8mile line: currently at 9.5Mbps down 400kbps up
according to speedtest.net.
#7 lore raw

PATCH 1/1 ARM: config: update multi_v7_defconfig

Hello Russell,

Quoted 22 lines · Russell King - ARM Linux
Quoted 4 lines · Javier Martinez Canillas

In the case of the MAX77686, the mfd, regulator and clock drivers use subsys_initcall() instead of module_init() but I wonder which of these really need to be initialized at subsys init call time and which one can just be built as a module.

I think you're making a frequently made mistake concerning module initialisation.

Having code initialised by subsys_initcall() (or indeed any other level) does not preclude it being a module:

#ifndef MODULE
...
#define subsys_initcall(fn) __define_initcall(fn, 4)
...
#else /* MODULE */
...
#define subsys_initcall(fn) module_init(fn)
...
#endif

Quoted 3 lines

So, subsys_initcall() automagically becomes module_init() when built as a module. There's no need to change anything here.

I was indeed confused, I should had looked at include/linux/init.h before. Thanks a lot for the clarification.

Best regards,
Javier