ARM: multi_v7_defconfig: enable MAX77686 PMIC drivers for exynos4412-prime based SoCs
Subsystems (2)
PATCH 1/1 ARM: multi_v7_defconfig: enable MAX77686 PMIC drivers for exynos4412-prime based SoCs
This patch enables the MAX77686 PMIC drivers in the multi_v7_defconfig used on exynos4412-prime family of SoCs [1]. The exynos4412-prime based boards are producing the following runtime errors only on the multi_v7_defconfig [2]:
kern.err: deviceless supply vdd_arm not found, using dummy regulator kern.err: exynos-cpufreq exynos-cpufreq: failed to set cpu voltage to 1287500 kern.err: cpufreq: __target_index: Failed to change cpu frequency: -22
I reviewed the exynos_defconfig, which does not produce these runtime errors. It was obvious that the exynos_defconfig has the PMIC drivers enabled, whereas the multi_v7_defconfig does not. This patch has been tested on a odroid-u2 and a odroid-u3 board. It has resolved the runtime errors. Therefore, I purpose we enabled these drivers in the multi_v7_defconfig.
[1] http://www.hardkernel.com/main/products/prdt_info.php?g_code=G135270682824
[2] http://storage.armcloud.us/kernel-ci/mainline/v3.18-rc7-48-g7cc78f8/arm-multi_v7_defconfig/lab-tbaker-00/boot-exynos4412-odroidu3.html
--- arch/arm/configs/multi_v7_defconfig | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm/configs/multi_v7_defconfig +4 -0
@@ -280,6 +280,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_STMPE=y
@@ -294,6 +295,7 @@ CONFIG_REGULATOR_GPIO=y CONFIG_MFD_SYSCON=y CONFIG_POWER_RESET_SYSCON=y CONFIG_REGULATOR_MAX8907=y +CONFIG_REGULATOR_MAX77686=y CONFIG_REGULATOR_PALMAS=y CONFIG_REGULATOR_S2MPS11=y CONFIG_REGULATOR_S5M8767=y
@@ -399,6 +401,7 @@ CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_AS3722=y CONFIG_RTC_DRV_DS1307=y CONFIG_RTC_DRV_MAX8907=y +CONFIG_RTC_DRV_MAX77686=y CONFIG_RTC_DRV_PALMAS=y CONFIG_RTC_DRV_TWL4030=y CONFIG_RTC_DRV_TPS6586X=y
@@ -433,6 +436,7 @@ CONFIG_NVEC_POWER=y CONFIG_NVEC_PAZ00=y CONFIG_QCOM_GSBI=y CONFIG_COMMON_CLK_QCOM=y +CONFIG_COMMON_CLK_MAX77686=y CONFIG_APQ_MMCC_8084=y CONFIG_MSM_GCC_8660=y CONFIG_MSM_MMCC_8960=y
Signature · 1 line
2.1.3
Olof Johansson
AppliedPATCH 1/1 ARM: multi_v7_defconfig: enable MAX77686 PMIC drivers for exynos4412-prime based SoCs
Quoted 8 lines · Tyler Baker
This patch enables the MAX77686 PMIC drivers in the
multi_v7_defconfigused on exynos4412-prime family of SoCs [1]. The exynos4412-prime based boards are producing the following runtime errors only on themulti_v7_defconfig[2]:kern.err: deviceless supply
vdd_armnot found, using dummy regulator kern.err: exynos-cpufreq exynos-cpufreq: failed to set cpu voltage to 1287500 kern.err: cpufreq:__target_index: Failed to change cpu frequency: -22
Quoted 9 lines
I reviewed the
exynos_defconfig, which does not produce these runtime errors. It was obvious that theexynos_defconfighas the PMIC drivers enabled, whereas themulti_v7_defconfigdoes not. This patch has been tested on a odroid-u2 and a odroid-u3 board. It has resolved the runtime errors. Therefore, I purpose we enabled these drivers in themulti_v7_defconfig.[1] http://www.hardkernel.com/main/products/prdt_info.php?g_code=G135270682824
[2] http://storage.armcloud.us/kernel-ci/mainline/v3.18-rc7-48-g7cc78f8/arm-multi_v7_defconfig/lab-tbaker-00/boot-exynos4412-odroidu3.html
FWIW, the 5250-based Samsung Chromebook also uses 77686.
Applied to next/defconfig for 3.19 after fixing up some fuzz.
-Olof
PATCH 1/1 ARM: multi_v7_defconfig: enable MAX77686 PMIC drivers for exynos4412-prime based SoCs
Quoted 15 lines · Olof Johansson
Quoted 14 lines · Tyler Baker
This patch enables the MAX77686 PMIC drivers in the
multi_v7_defconfigused on exynos4412-prime family of SoCs [1]. The exynos4412-prime based boards are producing the following runtime errors only on themulti_v7_defconfig[2]:kern.err: deviceless supply
vdd_armnot found, using dummy regulator kern.err: exynos-cpufreq exynos-cpufreq: failed to set cpu voltage to 1287500 kern.err: cpufreq:__target_index: Failed to change cpu frequency: -22I reviewed the
exynos_defconfig, which does not produce these runtime errors. It was obvious that theexynos_defconfighas the PMIC drivers enabled, whereas themulti_v7_defconfigdoes not. This patch has been tested on a odroid-u2 and a odroid-u3 board. It has resolved the runtime errors. Therefore, I purpose we enabled these drivers in themulti_v7_defconfig.
Quoted 5 lines
Quoted 3 lines
[1] http://www.hardkernel.com/main/products/prdt_info.php?g_code=G135270682824
[2] http://storage.armcloud.us/kernel-ci/mainline/v3.18-rc7-48-g7cc78f8/arm-multi_v7_defconfig/lab-tbaker-00/boot-exynos4412-odroidu3.htmlFWIW, the 5250-based Samsung Chromebook also uses 77686.
After you pointed this out, I took a look at your boot logs for snow
[1] and indeed it does show the same runtime errors described in this patch.
Quoted 2 lines
Applied to next/defconfig for 3.19 after fixing up some fuzz.
Thanks!
Quoted 3 lines
-Olof
Tyler
[1] http://arm-soc.lixom.net/bootlogs/arm-soc/v3.18-rc7-1140-g9c6e242/snow-arm-multi_v7_defconfig.html